#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;
    /* max-width: 2200px; */
    /* min-width: 1400px; */
    padding-right: 20px;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    /* width: fit-content; */
    transform: translate(-50%, -50%);
    justify-content: 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(#111111, #222222);
    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: 80px;
    line-height: 80px;
    text-align: center;
    background-color: #272727;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.close_btn_cu {
    color: rgb(212, 212, 212);
    font-size: 30px;
    font-weight: 700;
    position: absolute;
    right: 20px;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    z-index: 1000;
}

.close_btn_cu i {
    transition: all 0.3s ease 0s;
}

.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: #272727;
    border-radius: 0 0 5px 5px;
    cursor: pointer;
}

.main_popup_close a {
    background: linear-gradient(#ee280c 30%, #c11510 80%);
    /* text-shadow: 1px 1px 1px rgb(255 255 255 / 70%); */
    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: #ee4242 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: #131313f0;
    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: start!important;
        left: 0;
        width: 100%;
        transform: translate(0%, -50%);
        max-width: unset;
        min-width: unset;
        overflow: auto;
    }
    .popup_window.popup_advertisement.active {
        /* min-width: 220px; */
    }
}