﻿@media (max-width: 700px) {
    .cert-modal-content {
        font-family: 'Montserrat';
        font-weight: 600;
        font-style: normal;
        font-size: 18px;
        line-height: 26px;
        letter-spacing: -0.01em;
        text-align: center;
        z-index: 50;
        padding: 32px 16px 16px;
        box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #FFFFFF;
        border: 8px solid #DA291C;
        border-radius: 16px;
        overflow-x: hidden;
    }

    .certMeBackground {
        height: 100%;
    }

    .cert-mobile {
        display: none;
    }

    .cert-mobile-logic {
        display: block;
    }
}

#awaitingDate-gear {
    animation-name: ckw;
    animation-duration: 20.5s;
    /* Things added */
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    display: inline-block;
    /* <--- */
}

#awaitingRecharge-gear {
    margin-top: 3px;
    animation-name: ckw;
    animation-duration: 360s;
    /* Things added */
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    display: inline-block;
    /* <--- */
}

.certMeBackground {
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.cert-header {
    text-align: center;
}

.cert-header-top {
    margin-left: 1rem;
}

.cert-logo {
    margin-top: 0.5rem;
}

.cert-ellipse {
    width: 16px;
    height: 16px;
    left: 0px;
    margin-top: 4px;
}

.cert-qr-refreshing {
    display: inline-flex;
}

.cert-modal-mobile-small {
    height: 373px;
}

.cert-modal-mobile-medium {
    height: 400px;
}

.cert-modal-mobile-large {
    height: 932px;
}

.cert-modal-structure {
    border-bottom: 1px solid lightgrey;
    /*height: 320px;*/
}

/*    .cert-modal-structure-42 {
        border-bottom: 1px solid lightgrey;
        height: 480px;
    }*/

.cert-generate-qr-code {
    position: static;
    margin-left: 5px;
    font-weight: bold;
    font-size: 12px;
    line-height: 26px;
    letter-spacing: 0.02em;
    color: #da291c;
}

.cert-login-confirmation-header {
    align-content: center;
    margin-top: 1rem;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid #DA291C;
    background: #FFF3F2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
}

.cert-timer {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: -0.02em;
    color: #DA291C;
}

.cert-second-line {
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    letter-spacing: -0.01em;
    margin-top: 2rem;
    margin-bottom: 1.4rem;
}

.cert-third-line {
    font-size: 18px;
    line-height: 26px;
}

.cert-retry-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #DA291C;
    border-radius: 8px;
    height: 52px;
    padding: 16px;
    margin: calc(50% - 10.275rem);
}

.cert-retry-text {
    color: #FFFFFF;
    width: 343px;
    height: 52px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 8px;
}

.cert-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px;
    margin-left: 57.5px;
    gap: 8px;
    width: 343px;
    height: 52px;
    background: #DA291C;
    color: white !important;
    border-radius: 8px;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-bottom: 0.7rem;
}

.cert-porneste {
    width: 133px;
    height: 20px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.cert-qr-mobile {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    letter-spacing: -0.01em;
    color: #4D4D4D;
    margin-bottom: 0.5rem;
}

.cert-frame-22 {
    border-top: 1px solid lightgray;
}

.cert-desktop {
    display: none;
}

.cert-qr-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid lightgrey;
}

.cert-show-qr {
    display: block;
}

.cert-qr-text {
    width: 287px;
    height: 52px;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
}

.cert-text-show-qr {
    width: 287px;
    height: 52px;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    text-decoration: underline;
}

.cert-google-play {
    position: static;
    margin-bottom: 0.7rem;
}

.apple-store {
    position: static;
    margin-bottom: 0.7rem;
}

.cert-footer {
    margin-top: 0.5rem;
}

.cert-footer-text {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    width: 198px;
    height: 20px;
    left: 148.5px;
    top: 545px;
    position: static;
    text-align: center;
    letter-spacing: -0.02em;
    color: #979797;
}

@media (min-width: 701px) {
    .certMeBackground {
        height: 170%;
    }

    .cert-modal-data-rejection {
        height: 230px;
    }

    .cert-modal-32 {
        height: 370px;
    }

    .cert-modal-44-45 {
        height: 410px;
    }

    .cert-modal-close-reconfirm {
        height: 350px;
    }

    .cert-modal-small {
        height: 373px;
    }

    .cert-modal-large {
        height: 932px;
    }

    .cert-modal-medium {
        height: 400px;
    }

    .cert-modal-structure {
        border-bottom: 1px solid lightgrey;
        /*height: 320px;*/
    }

    .cert-modal-content {
        font-family: 'Montserrat';
        font-weight: 600;
        font-style: normal;
        font-size: 18px;
        line-height: 26px;
        letter-spacing: -0.01em;
        text-align: center;
        z-index: 50;
        padding: 32px 16px 16px;
        box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        width: 495px;
        left: calc(50% - 495px/2 - 0.5px);
        top: 10%;
        background: #FFFFFF;
        border: 8px solid #DA291C;
        border-radius: 16px;
        overflow-x: hidden;
    }

    .cert-header-top {
        margin-left: 1rem;
    }

    .cert-qrcode {
        border-bottom: 1px solid lightgrey;
        position: center;
        flex: none;
        order: 0;
        flex-grow: 0;
        margin: 8px 0px;
    }

    .cert-generate-qr-code {
        position: static;
        margin-left: 5px;
        font-weight: bold;
        font-size: 12px;
        line-height: 26px;
        letter-spacing: 0.02em;
        color: #da291c;
    }

    .cert-show-qr {
        display: none;
    }

    .cert-frame-22 {
        border-top: 1px solid lightgray;
    }

    .cert-qr-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        border-bottom: 1px solid lightgrey;
    }

    .cert-qr-text {
        font-size: 18px;
        line-height: 26px;
        font-weight: 400;
    }

    .cert-mobile-logic {
        display: none;
    }

    .cert-desktop {
        display: block;
    }

    .cert-button {
        display: none;
    }

    .cert-google-play {
        position: static;
        width: 146.63px;
        height: 44px;
        left: 0px;
        top: 0px;
    }

    .cert-ellipse {
        width: 16px;
        height: 16px;
        margin-top: 5px;
    }

    .cert-qr-socials {
        margin-top: 0.5rem;
    }

    .cert-second-line {
        font-size: 18px;
        line-height: 26px;
        text-align: center;
        letter-spacing: -0.01em;
        margin-top: 2rem;
        margin-bottom: 1.4rem;
    }

    .cert-third-line {
        font-size: 18px;
        line-height: 26px;
    }

    .cert-fourth-line {
        font-size: 18px;
        line-height: 26px;
        margin-top: 2rem;
    }

    .cert-retry-text {
        color: #FFFFFF;
    }

    .cert-mobile {
        display: inline-flex;
    }

    .cert-logo {
        margin-top: 0.5rem;
    }

    .cert-intermediary-line {
        text-align-last: center;
    }

    .cert-login-confirmation-header {
        align-content: center;
        margin-top: 1rem;
        width: 96px;
        height: 96px;
        border-radius: 50%;
        /*border: 2px solid #DA291C;*/
        background: #FFF3F2;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0.5rem;
    }

    .cert-timer {
        font-weight: 600;
        font-size: 24px;
        line-height: 29px;
        letter-spacing: -0.02em;
        color: #DA291C;
    }

    .cert-retry-button {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background: #DA291C;
        border-radius: 8px;
        width: 343px;
        height: 52px;
        left: 60px;
        top: 227px;
        margin-left: 60px;
    }

    .cert-footer {
        margin-top: 0.7rem;
    }

    .cert-footer-text {
        font-family: 'Montserrat';
        font-weight: 600;
        font-size: 16px;
        line-height: 20px;
        width: 198px;
        height: 20px;
        left: 148.5px;
        top: 545px;
        position: static;
        text-align: center;
        /* identical to box height */
        letter-spacing: -0.02em;
        color: #979797;
    }

    @keyframes ckw {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }
}

.cert-qr-refreshing-text {
    position: static;
    margin-left: 5px;
    font-weight: bold;
    font-size: 12px;
    line-height: 26px;
    letter-spacing: 0.02em;
    color: #da291c;
}

.cert-qr-header-title {
    position: static;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: -0.02em;
    color: #1f1f1f;
}

.cert-qr-header-text {
    position: static;
    left: 0px;
    top: 37px;
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    letter-spacing: -0.01em;
}

.cert-modal-structure {
    border-bottom: 1px solid lightgrey;
}

.cert-no-border {
    border-bottom: none;
}

.cert-modal-header {
    text-align: center;
}

.cert-modal-title {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    letter-spacing: -0.02em;
    color: #1F1F1F;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.cert-modal-body {
    text-align-last: center;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    /* or 144% */
    letter-spacing: -0.01em;
}

.cert-modal-content a {
    color: #979797 !important;
}

.cert-footer a:hover {
    color: #979797 !important
}

.cert-training-material {
    margin-top: 0.5rem;
}

.cert-training-images {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    width: 463px;
    height: 160px;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
    justify-content: center;
    border-bottom: 1px solid lightgray;
}

.cert-texts {
    width: 90px;
    height: 60px;
    flex: none;
    order: 0;
    flex-grow: 0;
    text-align: center;
    font-family: 'Montserrat';
    font-style: normal;
}

.cert-scan-text {
    width: 90px;
    height: 38px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    letter-spacing: -0.01em;
    color: #000000;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.cert-texts .cert-install-text {
    width: 90px;
    height: 38px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    letter-spacing: -0.01em;
    color: #000000;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.cert-texts .cert-video-text {
    width: 90px;
    height: 57px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    letter-spacing: -0.01em;
    color: #000000;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.cert-texts .cert-check-text {
    width: 90px;
    height: 57px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    letter-spacing: -0.01em;
    color: #000000;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.cnt-footer {
    display: none !important;
}

@media (min-width: 601px) {
    .cert-complete-with-email .cert-modal-content {
        margin-top: 168px;
        margin-bottom: 167px;
    }
}

.cert-complete-with-email .cert-modal-content {
    justify-content: center;
    padding-top: 1px;
    left: calc(50% - 795px/2 - 0.5px);
    font-family: 'Montserrat';
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.01em;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    align-items: center;
    gap: 24px;
    background: #FFFFFF;
    border: 8px solid;
    border-radius: 16px;
}

.cert-complete-with-email .cert-header {
    text-align: center;
}

.cert-complete-with-email .cert-modal-title {
    font-style: normal;
    font-weight: 600;
    font-size: 19px;
    line-height: 29px;
    text-align: center;
    letter-spacing: -0.02em;
    color: #1F1F1F;
}

.cert-complete-with-email .cert-footer {
    margin-top: 0.7rem;
}

.badge-wrapper {
    margin-top: 0.5rem;
    margin-bottom: 0.7rem;
}

.badge-area {
    display: flex;
    flex-wrap: wrap;
}

.badge-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: flex;
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    padding: 8px;
    width: fit-content;
    background: #FFF3F2;
    border-radius: 4px;
    margin: 8px 4px;
}

.badge-text {
    align-self: center;
    color: black;
}

.cert-toggle-show-view {
}

.cert-toggle-hide-view {
    display: none
}

.cert-spinner {
    margin-top: 10px;
}

svg {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.cert-circle_animation {
    stroke-dasharray: 440 440; /* this value is the pixel circumference of the circle */
    stroke-dashoffset: 440;
    /*    transition: all 1s;*/
}

.circle_animation {
    stroke-dasharray: 23 23; /* this value is the pixel circumference of the circle */
    stroke-dashoffset: 23;
    animation: dash 2s ease reverse;
    /*transition: all 1s;*/
}

.cert-spinner-text {
    position: absolute;
    margin-top: 34px;
    margin-left: -77px;
}

.cert-qr-hide {
    display: none;
}