#popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.flexbox_popupadvertisement {
    display: flex;
    padding-right: 20px;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
    z-index: 10001;
    overflow: auto;
    padding: 10px;
}

.popup_window.popup_advertisement {
    display: none;
}

.popup_window.popup_advertisement.active {
    display: block;
    max-width: 300px;
    max-height: 100%;
    min-width: 250px;
    margin-left: 20px;
    position: relative;
}

.popup_window.popup_advertisement .adv_banner {
    display: block;
    max-width: 100%;
}

.popup_window.popup_advertisement .adv_banner img {
    width: 100% !important;
    height: 100% !important;
    max-height: calc(100vh - 110px);
}

.popup_window.popup_advertisement>.bottom {
    display: flex;
    margin-top: 1px;
}

.popup_window.popup_advertisement>.bottom>.btn_today_noshow {
    display: flex;
    background: #171c2e;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    flex-grow: 1;
    cursor: pointer;
}

.popup_window.popup_advertisement>.bottom>.btn_today_noshow>.check {
    display: block;
    margin: 17px;
    background: #29324b;
    border: 5px;
    color: #29324b;
    line-height: 16px;
    margin-right: 10px;
    text-align: center;
    font-size: 12px;
    width: 16px;
    flex-shrink: 0;
    border-radius: 5px;
    transition: all 200ms;
}

.popup_window.popup_advertisement>.bottom>.btn_today_noshow.active>.check {
    background: #070a0f;
    color: #ef7c00;
    transition: all 200ms;
}

.popup_window.popup_advertisement>.bottom>.btn_today_noshow>.label {
    color: #888888;
    transition: all 200ms;
}

.popup_window.popup_advertisement>.bottom>.btn_today_noshow.active>.label {
    color: #efefef;
    transition: all 200ms;
}

.popup_window.popup_advertisement>.bottom>.modal_btn_close {
    color: #cccccc;
    width: 60px;
    flex-shrink: 0;
    background: #161c2e;
    font-size: 14px;
    line-height: 48px;
    text-align: center;
    margin-left: 1px;
    cursor: pointer;
    transition: all 300ms;
}

.popup_window.popup_advertisement>.bottom>.modal_btn_close:hover {
    background: #29324b;
    color: #ffffff;
    transition: all 300ms;
}

.modal_btn_close {
    position: relative;
    right: 0px;
    top: 0px;
    width: 30px;
    height: 100%;
    background: radial-gradient(#0a1220, #0e1a30);
    border: 1px solid #313742;
    color: #a8a8a8;
    text-align: center;
    line-height: 28px;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    border-radius: 0px;
}

.main_pop_box {
    float: left;
    margin: 5px;
}

.main_pop_title {
    float: left;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #101c30;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.close_btn_cu {
    color: rgb(212, 212, 212);
    font-size: 20px;
    font-weight: 700;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    height: 28px;
    width: 28px;
    line-height: 28px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    z-index: 1000;
}

.close_btn_cu i {
    transition: all 0.3s ease 0s;
    line-height: 1;
    font-size: 18px;
}

.fa-solid, .fas {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
}

.main_pop_con {
    float: left;
    width: 100%;
}

.popup_window.popup_advertisement .adv_banner {
    display: block;
    max-width: 100%;
}

.main_popup_close {
    float: left;
    width: 100%;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: #101c30;
    border-radius: 0 0 5px 5px;
    cursor: pointer;
}

.main_popup_close a {
    background: linear-gradient(#2b6fff 30%, #1a4fd4 80%);
    box-shadow: rgb(0 0 0 / 0%) 2px 2px 2px -1px;
    min-width: 200px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    font-family: EsaManru;
    font-weight: 300;
    font-size: 14px;
    color: #ffffff;
}

.main_popup_close a:hover {
    animation: mouseover03 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
    border-radius: 2px;
    box-shadow: #2b6fff 1px 1px 15px -1px;
}

.check_letters {
    width: 60%;
    height: 75%;
    min-width: 320px;
    max-width: 640px;
    max-height: 90%;
    overflow: auto;
    display: block;
    background-color: #080e1cf0;
    padding: 15px;
    padding-bottom: 30px;
    border-radius: 15px;
}

.check_letters {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 24px;
    }
    h5 {
        font-size: 20px;
    }
    h6 {
        font-size: 24px;
    }
}

@media (max-width:991px) {
    .check_letters {
        width: 90%;
    }
}

@media (max-width: 800px) {
    .flexbox_popupadvertisement {
        justify-content: center !important;
        align-items: center;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        transform: none;
        max-width: unset;
        min-width: unset;
        overflow: hidden;
        padding: 10px;
        display: flex !important;
    }
    .popup_window.popup_advertisement.active {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin-left: 0;
        max-width: 90vw;
        min-width: 260px;
        width: 90vw;
        z-index: 1;
    }
    .main_pop_title {
        height: 36px;
        line-height: 36px;
    }
    .close_btn_cu {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        height: 24px;
        width: 24px;
        line-height: 24px;
        font-size: 16px;
    }
    .close_btn_cu i {
        font-size: 16px;
    }
    .main_popup_close {
        height: 56px;
        line-height: 56px;
    }
    .main_popup_close a {
        min-width: 160px;
        height: 36px;
        line-height: 36px;
        font-size: 13px;
    }
    .popup_window.popup_advertisement .adv_banner img {
        max-height: calc(100vh - 120px);
    }
}