/*############################ popup ###################################*/
.mfp-bg,
.mfp-wrap .mfp-content,
.mfp-wrap .mfp-container {
    opacity: 0;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    --transition: all 300ms ease;
}
.mfp-container:before {
  display: block !important;
  height: 0 !important;
}
.mfp-wrap.mfp-ready .mfp-container {
    opacity: 1;
    padding: 0;
}

.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
    visibility: visible;
}

.mfp-close-btn-in .mfp-close {
    width: 30px;
    height: 30px;
    background-color: #00A950;
    color: #fff;
    top: -15px;
    right: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 1;
    font-size: 0px;
    transition: var(--transition);
    position: absolute;
}

#popup-qr-code .mfp-close {
    top: -15px;
    right: -15px;
    position: absolute;
}

.mfp-close-btn-in .mfp-close:before,
.mfp-close-btn-in .mfp-close:after {
    content: '' !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 18px;
    height: 2px;
    background-color: #111;
    margin: auto;
    transition: var(--transition);
}

.mfp-close-btn-in .mfp-close:before {
    transform: rotate(45deg);
}

.mfp-close-btn-in .mfp-close:after {
    transform: rotate(-45deg);
}

.mfp-close-btn-in .mfp-close:hover:before {
    background-color: #111;
}

.mfp-close-btn-in .mfp-close:hover:after {
    background-color: #111;
}


.mfp-wrap.mfp-close-btn-in.mfp-auto-cursor.mfp-ready {
    background: rgba(0, 0, 0, 0.8);
    z-index: 100001;
}

@media screen and (max-width: 1024px) {
    .mfp-close-btn-in .mfp-close {
        top: -50px;
        right: -15px;
    }

    .icw .table-style2 tbody tr td {
        min-width: unset !important;
    }
}

@media screen and (max-width: 767px) {
    .icw .a-center-mb {
        text-align: center !important;
    }
    .mfp-wrap.mfp-ready .mfp-content:has(.splash-popup-theme) {
        padding: 40px 51px 0px 51px;
    }
    .mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme .mfp-close {
        top: -8px;
        right: -16px;
    }

    #popup-qr-code .mfp-close {
        /* top: -76px; */
        top: -36px;
        right: 16px;
    }

    .icw .compn-overflow .compn-overflow-wrapper .compn {
        min-width: 750px !important;
    }

}

.mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme {
    padding: 0;
    background: transparent;
    /* max-width: 365px; */
    min-height: auto;
    margin: auto;
    position: relative;
}
.mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme img {
    top: 0;
    position: relative;
    border-radius: 8px;
}
.content-line {
    position: absolute;
    bottom: -10%;
    left: 0;
    right: 0;
    /* bottom: 0; */
    margin: auto;
    display: block;
    height: fit-content;
    max-width: 220px;
    display: flex;
    justify-content: center;
}
.mb-16-24 {
    margin-bottom: 24px !important;
}
.f-18 {
    font-size: 18px !important;
}

.mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme .btn.btn-secondary {
    width: 100%;
}
.text-greenlight {
    color: #00F86C !important;
}

.mfp-wrap.mfp-ready .mfp-content {
    background: transparent !important;
    overflow: auto;
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: unset;
    padding: 0px 24px 36px 24px;
}

.mfp-bg.mfp-ready {
    opacity: 0 !important;
}

.icw .btn.btn-secondary {
    color: var(--cr-green) !important;
}

.icw .btn.btn-secondary:hover {
    color: #111 !important;
}

body.has-sticky {
    padding-top: 0 !important;
}

@media screen and (min-width:768px) {
    .mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme {
        padding: 0;
        background: transparent;
        max-width: 900px;
        width: 93%;
    }
    
    .mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme img {
        top: -40px;
        position: relative;
    }

    .mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme .btn.btn-secondary {
        width: 227px;
    }    
    .content-line {
        /* top: -50px; */
        /* left: auto; */
        /* right: auto; */
        /* left: 0; */
        bottom: -6%;
        max-width: 100%;
        width: 100%;
    }
    .icw .btn.btn-primary {
        /* padding: 8px 16px; */
    }
    .mb-16-24 {
        margin-bottom: 16px !important;
    }
}


@media screen and (min-width:1024px) {
    .content-line {
        top: auto;
        left: auto;
        /* right: auto; */
        /* left: 48px; */
        bottom: -3%;
        max-width: 100%;
    }    
    .icw .btn.btn-primary {
        padding: 8px 32px;
    }

    .mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme img {
        top: -50px;
        position: relative;
        border-radius: 8px;
    }

    .mfp-wrap.mfp-ready .mfp-content .sc-thumb-box.splash-popup-theme {
        width: 100%;
    }
    
    .mfp-close-btn-in .mfp-close {
        width: 40px;
        height: 40px;
        top: 55px !important;
        right: 167px !important;
    }
}

.show-desktop { display: block; }
.show-mb { display: none; }

@media (max-width: 768px) {
  .show-desktop { display: none; }
  .show-mb { display: block; }
}
.splash-popup-theme .show-desktop{
  width: 900px;
}
@media screen and (max-width: 767px) {
    .mfp-content:has(.splash-popup-theme) {
        margin-top: 0;
    }
}

.splash-popup-theme {
    position: relative !important;
    overflow: visible !important; 
}

.splash-popup-theme .mfp-close {
    position: absolute !important;
    top: -20px !important;       
    right: -20px !important;    
    z-index: 100;          
}