html.with--no_scroll {
    overflow: hidden;
    margin-right: 0 !important;
}

.popup__layout {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    will-change: top;
    opacity: .75;
    visibility: visible;
}

.popup__container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-perspective: 600px;
    perspective: 600px;
    z-index: 1001;
    text-align: center;
    visibility: visible;
    overflow-y: scroll;
    padding: 50px 0;
}

.popup__container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.popup__body {
    display: inline-block;
    background-color: #2B2E41;
    pointer-events: auto;
    position: relative;
    min-width: 380px;
    max-width: 650px;
    vertical-align: middle;
    margin: 0 auto 0;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    padding: 40px 15px 15px;
    font-size: 14px;
    line-height: 16px;
    border-radius: 5px;
    overflow: hidden;
}

.popup__close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 18px;
    height: 18px;
    padding: 0;
    font-size: initial;
    color: #fff;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.popup__body:not(.modal__subscribe) > .popup__close {
    background: none;
}

.popup__close:hover {
    background-color: transparent;
}

.popup__close:hover img {
    opacity: .6;
}

.popup__close img {
    width: 100%;
    height: 100%;
}

.popup__heading {
    font-size: 16px;
    line-height: 18px;
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-bottom: 0;
}

.popup__heading-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
    color: #1B1F2F;
    background-color: var(--khi-base-color);
    border-radius: 30px;
}

.popup__content {
    font-size: 16px;
    color: #86878E;
}

.popup__body.modal-promocode {
    max-width: 500px;
    padding: 0;
}

.modal-promocode .popup__content {
    color: #fff;
}

.promo__text {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    line-height: 16px;
    color: var(--khi-base-color);
}

.promo__image {
    display: block;
    margin: 15px auto 20px;
    min-height: 270px;
    max-height: calc(100vh - 380px);
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 0;
    padding: 8px 30px;
    font-size: 18px;
    line-height: 18px;
    font-weight: 500;
    color: #1B1F2F;
    background-color: var(--khi-base-color);
    box-shadow: 0 5px 8px rgba(0, 0, 0, .25);
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
}

.promo__button:hover {
    background-color: var(--khi-base-color-dark);
}

/* Trap Override */
#iam18 {
    margin: 30px 20px 0;
}

.btn-trap {
    color: #1B1F2F;
    background-color: var(--khi-base-color) !important;
}

.btn-trap:hover {
    color: #1B1F2F;
    background-color: var(--khi-base-color-dark) !important;
}

.noUi-handle:before,
.noUi-handle:after {
    background-color: #1B1F2F;
}

.noUi-value-horizontal {
    color: #FFF;
}

@media (min-width: 360px) {
    #iam18 {
        margin: 30px 20px 0;
    }
}

/* Q Auth Override */
.auth-popup__wrapper {
    background-color: #2B2E41;
    border-radius: 5px;
}

.auth-popup__wrapper .h3 {
    color: white;
    border-bottom: 1px solid #2B2F45;
}

.auth-popup__form-row_social-text,
.auth-popup__form-row_social a {
    color: #FFF;
}

.auth-popup__form-row_separator:before {
    background-color: #1C1F31;
}

.auth-popup__form-row_separator span {
    background-color: #2B2E41;
}

.auth-popup__form-row input[type="text"],
.auth-popup__form-row input[type="email"],
.auth-popup__form-row input[type="password"] {
    font-size: 16px;
    line-height: 22px;
    color: #86878E;
    border: 0;
    background-color: #383A48;
}

.auth-popup__form-row input[type="checkbox"] {
    border: 0;
}

a.auth-popup-btn,
input[type="submit"].auth-popup__submit {
    color: #1B1F2F;
    background-color: var(--khi-base-color);
    text-decoration: none;
    border-radius: 30px;
}

a.auth-popup-btn:hover,
input[type="submit"].auth-popup__submit:hover {
    color: #1B1F2F;
    background-color: var(--khi-base-color-dark);
}

.auth-popup__remember {
    display: flex;
    align-items: center;
}

.auth-popup__remember {
    margin-left: auto;
    color: white;
    text-decoration: underline;
}

.auth-popup__remember:hover {
    text-decoration: none;
}

/* hide modal */
.popup__body.modal-time {
    padding: 0;
}

.modal-time-head {
    display: flex;
    align-items: center;
    padding: 20px 46px 20px 15px;
    gap: 10px;
    height: 90px;
    background: var(--khi-base-color);
    text-align: left;
}

.modal-time-head-link {
    display: flex;
    width: 71px;
    height: 50px;
}

.modal-time-head-img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    object-fit: contain;
    background-color: #003c6a;
}

.modal-time-head-text {
    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
    color: #000;
}

.modal-time-head-time {
    font-size: 12px;
    line-height: 14px;
    color: #65656c;
    margin: 2px 0 0;
    font-weight: 400;
}

.modal-time .promo__image {
    padding: 10px 0 0;
    max-width: 400px;
}

.modal-time-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 10px 0 15px;
    font-size: 11px;
    background: #404564;
    padding: 20px;
    line-height: 1.3;
}

.modal-time .modal-time-bottom {
    width: calc(100% + 40px);
    margin-left: -20px;
}

.btn-search-engine {
    color: #fff;
    background: #ff2d55;
    padding: 8px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.btn-search-engine:hover {
    background: #e9274c;
}

.modal-time-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px 20px;
    color: #fff;
}

.modal-time-check-text {
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #fff;
}

.modal-time-timer {
    position: relative;
}

.modal-time-val {
    font-weight: 800;
    font-size: 32px;
    line-height: 24px;
    color: #7ED7FF;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-spinner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: conic-gradient(from 56deg at 50% 50%, #7ED7FF 90deg, #2B2E41 290deg, #7ED7FF 122deg);
    position: relative;
    animation: modalSpin 2.5s linear infinite;
    transform: translateZ(0);
}

.modal-spinner::after {
    background: #2B2E41;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.modal-time-result {
    padding: 0 20px;
    color: #fff;
}

.modal-time-it-copy,
.modal-time-ok {
    line-height: 19px;
    color: #78e556;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 20px 0;
}

.modal-time-ok:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.638 2.527a1.005 1.005 0 0 0-1.48.158l-5.822 7.942L6.9 7.657A1.007 1.007 0 0 0 5.344 8.93L8.6 12.907l.029.028.808.99 1.207-1.678L16.08 4.83a8 8 0 0 1 1.902 5.173c0 4.403-3.582 7.985-7.985 7.985-4.403 0-7.985-3.582-7.985-7.985 0-4.403 3.582-7.986 8.04-7.987a6.09 6.09 0 0 1 1.99.311 1.007 1.007 0 1 0 .637-1.91C11.24-.063 9.994.001 9.999.004 4.485.004 0 4.49 0 10.002 0 15.515 4.486 20 9.998 20c5.513 0 9.998-4.485 9.998-9.998 0-2.853-1.224-5.577-3.359-7.475Z' fill='%237ED7FF'/%3E%3C/svg%3E");
    width: 20px;
    height: 20px;
    filter: hue-rotate(-90deg);
}

.modal-time-it-copy {
    margin: -10px 0 20px;
}

.modal-time-bttn {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 60px;
    border: 3px solid var(--khi-base-color);
    border-radius: 35px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 24px;
    color: var(--khi-base-color);
    justify-content: space-between;
    margin: 10px 20px 30px;
    cursor: pointer;
}

.modal-time-bttn-promo {
    flex-grow: 1;
    pointer-events: none;
}

.modal-time-bttn-text {
    border-radius: 35px;
    font-size: 18px;
    color: #1B1F2F;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    height: 60px;
    background: var(--khi-base-color);
    flex-basis: 40%;
    pointer-events: none;
    margin-right: -1px;
    position: relative;
}

.modal-time-bttn:hover {
    opacity: .9;
}

.simple-copy-code-text {
    margin: 30px 60px;
}

.simple-copy-code:hover {
    cursor: pointer;
    text-decoration: underline;
}

@keyframes modalSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 1024px) {
    .popup__heading,
    .popup__heading-code {
        font-size: 20px;
        line-height: 20px;
    }

    .promo__text {
        font-size: 16px;
        line-height: 20px;
    }
}
@media (max-width: 768px) {
    .popup__container {
        padding: 50px 0;
    }

    .popup__body {
        min-width: auto;
    }

    .modal-time-bttn-text {
        font-size: 0;
        max-width: 60px;
        text-indent: -9999px;
    }

    .modal-time-bttn-text:before {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_3210_259051)' fill='%231B1F2F'%3E%3Cpath d='M22.964 0H5.66c-.58 0-1.035.455-1.035 1.036V18.34c0 .581.454 1.036 1.035 1.036h17.305c.581 0 1.036-.454 1.036-1.036V1.037C24 .455 23.545 0 22.964 0Zm-1.036 17.305H6.695V2.07h15.233v15.234Z'/%3E%3Cpath d='M18.34 21.928H2.073V5.659c0-.58-.455-1.036-1.036-1.036S0 5.078 0 5.66v17.305C0 23.544.455 24 1.036 24H18.34c.581 0 1.036-.455 1.036-1.036s-.454-1.036-1.035-1.036ZM10.282 10.736h2.981v3.007c0 .58.455 1.035 1.036 1.035s1.036-.454 1.036-1.035v-3.007h3.006c.581 0 1.036-.454 1.036-1.035s-.455-1.036-1.036-1.036h-3.006V5.659c0-.581-.455-1.036-1.036-1.036s-1.036.454-1.036 1.036v3.006h-2.98c-.582 0-1.037.454-1.037 1.036-.025.555.455 1.035 1.036 1.035Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_3210_259051'%3E%3Cpath fill='%23fff' d='M0 0h24v24H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        width: 24px;
        height: 24px;
        position: static;
    }
}

@media screen and (min-width:768px){
    .modal-time-head-link {
        width: 86px;
        height: 60px;
    }

    .modal-time-head-text {
        font-size: 22px;
    }

    .modal-time-head-time {
        font-size: 14px;
        margin: 6px 0 0;
    }
}

@media (max-width: 360px) {
    .popup__body {
        max-width: 300px;
    }

    .popup__content {
        font-size: 14px;
    }
}

@media (min-width: 360px) {
    .popup__container {
        padding: 50px 15px;
    }

    .popup__heading {
        font-size: 18px;
        line-height: 22px;
    }

    .popup__heading-code {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    .popup__body {
        padding: 40px 10px 15px;
    }
}
