#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 .content img {
    width: 100% !important;
    height: 100% !important;
    max-height: calc(100vh - 240px);
}

.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;
}

.popup_window.popup_advertisement .XX {
    color: #fff;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

.popup_window.popup_advertisement .XX span {
    font-size: 25px;
}

.popup_advertisement .reg .top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background-color: #141621;
}

.reg .content p{
margin: 0;
}

.modal_btn_close{
    position: relative;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 50px;
    background: #141621;
    border: 1px solid #313742;
    color: #a8a8a8;
    text-align: center;
    line-height: 28px;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    border-radius: 0px;
    transition:  0.3s;
}

.modal_btn_close:hover {
    filter: brightness(115%);
}

.modal_btn_close:active {
    transform: scale(0.85);
}


@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; */
    }
}

