@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700");
@font-face {
    font-family: Geomanist;
    src:
            url("../fonts/geomanist-light-webfont.woff2") format("woff2"),
            url("../fonts/geomanist-light-webfont.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Geomanist;
    src:
            url("../fonts/geomanist-regular-webfont.woff2") format("woff2"),
            url("../fonts/geomanist-regular-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Geomanist;
    src:
            url("../fonts/geomanist-medium-webfont.woff2") format("woff2"),
            url("../fonts/geomanist-medium-webfont.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Geomanist;
    src:
            url("../fonts/geomanist-bold-webfont.woff2") format("woff2"),
            url("../fonts/geomanist-bold-webfont.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@media print {
    @page {
        size: A4 landscape !important;
        margin: 0 !important;
    }
    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    [data-user-agent="safari"] .certificate-wrapper {
        transform: scale(0.88);
        transform-origin: top left;
    }
}

:root {
    --certificates-text-color: #040506;
}

body.certificate {
    background: var(--pgn-rg-color-body-bg);
    font-family: var(--pgn-rg-typography-font-family-base, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
}
body.certificate .wrapper-view {
    background: inherit;
}
body.certificate .wrapper-about,
body.certificate .wrapper-footer {
    color: var(--pgn-color-black);
}
.btn-link,
.copy-meta a {
    color: var(--pgn-color-link-base, var(--pgn-rg-color-primary, #006a00));
    border: none;
}
.btn-link:hover,
.btn-link:focus,
.copy-meta a:hover,
.copy-meta a:focus {
    color: var(--pgn-color-link-hover, var(--pgn-color-primary-600, #005f00));
    background: none;
    text-decoration: none;
    border: none;
}
.wrapper-banner-user {
    margin-top: 0;
}
.wrapper-banner-user .banner-user .message-actions .action {
    font-family: var(--pgn-rg-typography-font-family-base, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
}
.wrapper-banner-user .banner-user .wrapper-copy-and-actions .message-actions .action .fa {
    vertical-align: top;
}
.wrapper-banner-user .banner-user .wrapper-copy-and-actions .message-actions .action svg {
    display: inline-block;
    vertical-align: top;
    width: 16px;
    height: 16px;
    margin-top: 1px;
}
.layout-accomplishment .wrapper-introduction {
    text-align: center;
    margin-bottom: 2rem;
}
.layout-accomplishment .wrapper-introduction h2 {
    width: 100%;
    margin: 0;
}
.layout-accomplishment .wrapper-about .about-item a,
.layout-accomplishment .footer-app-nav .list .action {
    color: var(--pgn-rg-color-primary, #006a00);
}
.layout-accomplishment .accomplishment-rendering {
    top: 0;
}
.certificate-scroll-container {
    max-width: 100%;
    overflow: auto;
    height: 21cm;
    page-break-inside: avoid;
}
.certificate-wrapper {
    position: relative;
    width: 29.7cm;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) and (stroke-color: transparent) {
        @media print {
            .certificate-wrapper {
                zoom: 84%;
            }
        }
    }
}
.main-bg {
    display: block;
    width: 29.7cm;
    height: 100%;
}
.certificate-body {
    position: absolute;
    left: 0;
    top: 0;
    width: 29.7cm;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}
.certificate-logo {
    display: inline-block;
    margin: 126px 0 72px;
    height: 42px;
}

.certificate-dot {
    display: none;
}

.ribbon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}

.ribbon-text {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    width: auto;
    padding: 0;
    height: auto;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--pgn-rg-color-primary, #006a00);
    letter-spacing: 1%;
    z-index: 1;
}

.ribbon-text b {
    color: inherit;
    font-weight: inherit;
    line-height: inherit;
    z-index: 100;
    position: relative;
    font-variant-ligatures: none;
}

.general-text {
    display: block;
    text-align: center;
    color: var(--certificates-text-color);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    margin: 7px auto 0;
}

.inner {
    max-width: initial;
}

.user-name {
    min-width: 370px;
    border-bottom: 2px solid var(--pgn-rg-color-primary, #006a00);
    color: var(--certificates-text-color);
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    display: inline-block;
    padding: 0 15px 14px;
    margin: 0;
    word-break: break-word;
}

.course-name {
    display: block;
    color: var(--certificates-text-color);
    font-size: 40px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -3%;
    margin: 16px 0 0;
}

.certificate-text {
    max-width: 420px;
    text-align: center;
    color: var(--certificates-text-color);
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -2%;
    margin: 63px auto 0;
}
.certificate-bottom {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 66px;
}

.date,
.signature {
    min-width: 180px;
}

.date {
    text-align: center;
    margin-top: 20px;
}

.signature span,
.date strong,
.date span {
    display: block;
    font-size: 16px;
    line-height: 1.4;
    color: var(--certificates-text-color);
}
.date strong {
    border-bottom: 2px solid var(--pgn-rg-color-primary, #006a00);
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    margin-bottom: 8px;
}

.medal {
    display: flex;
    align-items: flex-end;
    text-align: center;
    margin: 0;
    position: relative;
}

.medal:before {
    content: '';
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABwCAMAAACKGsa1AAAAOVBMVEUAAACtra2tra2tra2vr6+tra2tra2urq6tra2urq6vr6+srKyurq6srKyurq6srKytra2rq6utra3AEj2CAAAAEnRSTlMAYIDfIK9Av58wEM+QUO+QcHBa0ltIAAABo0lEQVRYw63YQbLbIBAA0QGEZJDlOLn/YbNxVVc2Yn7a7wAseqbAVnz8yfoVt2b6oD1ujew5r7h3ZQ/qce+dPajEvZo9aIt7PXnOGQuHGz6aGz7c8LG54WN3w8flho/qho+nGz66Gz5ON3y83PDhho/xk+H7fWyxVFIHPWKpuuHjkToooK61I9ZON3y44WO64WO44eNyw8fbDR81P3x/rb3jS/s4IqGlh+/38SwrPLNO5VpTGvvoFNZIefDMOhtrpFSuNaXxzDqFa03gJR/fKe33sfLMKm3GR9WleWZ9ab+PGwedrjR06Y/pSmN3pXHZ0utnNv9HQF5rbYsIdFna7+MZ/2quNOq9c1E6rS9Kpx2L0mltUTptUTptutIYrjR2Vxpl8TswrYrSy7vhEf+hu9I4XGk0VxquNKYrjeFKY3elUVxpVFcaT1ca3ZXG4UqjudJwpTFdaQxXGrsrjeJKo7rSeLrS6Ko0WOzf4TRKO3yqcSalnUFpZ6e0UyjtVEo7T0o7ndLOQWmnUVov9hVfMCltF/tFabfYNb6iUNqplHZG/MRfLLz7s3EWJ9gAAAAASUVORK5CYII=);
    background-size: contain;
    display: block;
    width: 36px;
    height: 56px;
}

.medal img {
    display: none;
    visibility: hidden;
}
.signature {
    text-align: center;
    margin-top: 20px;
}

.signature * {
    display: block;
}
.signature strong {
    position: relative;
    border-bottom: 2px solid var(--pgn-rg-color-primary, #006a00);
    height: 25px;
    line-height: 25px;
    margin-bottom: 8px;
}
.signature img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: auto;
    width: auto;
    max-width: 85px;
    max-height: 85px;
}
.signature span {
    min-width: 80px;
}
.certificate-number {
    display: none;
    visibility: hidden;
    position: absolute;
    left: 0;
    bottom: 75px;
    font-size: 13px;
    width: 100%;
    text-align: center;
}
@media screen and (max-width: 767px) {
    .footer-app {
        flex-direction: column;
    }
}
