#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: 400px;
    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;
}

.popup_window.popup_advertisement > .bottom {
    display: flex;
    margin-top:1px;
}

.popup_window.popup_advertisement > .bottom > .btn_today_noshow {
    display: flex;
    background: var(--background-color);
    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: var(--active-color);
    border:5px;
    color: var(--active-color);
    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: var(--effect-color);
    color: var(--title-color);
    transition: all 200ms;
}

.popup_window.popup_advertisement > .bottom > .btn_today_noshow > .label {
    color: var(--text-color);
    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: var(--text-color);
    width:60px;
    flex-shrink: 0;
    background: var(--background-color);
    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: var(--active-color);
    color: var(--title-color);
    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_title {
    float: left;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--background-color);
    border-radius: 2px 2px 0 0;
    position: relative;
}

.main_popup_close {
    float: left;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--background-color);
    border-radius: 0 0 2px 2px;
    cursor: pointer;
}

.close_btn_cu {
    color: rgb(212, 212, 212);
    font-size: 16px;
    font-weight: 700;
    position: absolute;
    right: 10px;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    z-index: 1000;
}


@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; */
    }
}