#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;

    justify-content: center;
;
    flex-wrap: wrap;
    overflow-y: scroll;
    height: 100%;
    /* margin: 15px; */
    align-items: center;
    gap: 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:#FFFFFF;
    color: #FFFFFF;
    height:50px;
    line-height:50px;
    font-size:14px;
    flex-grow: 1;
    cursor:pointer;
    box-shadow: inset 0px 0px 1px 1px #cfaa74;
}

.popup_window.popup_advertisement > .bottom > .btn_today_noshow:hover{
    background-color: #fcf1e3;
}

.popup_window.popup_advertisement > .bottom > .btn_today_noshow > .check {
    display:block;
    margin:17px;
    background:#cfaa74;
    border:5px;
    color:#cfaa74;
    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:#FFFFFF;
    transition: all 200ms;
}

.popup_window.popup_advertisement > .bottom > .btn_today_noshow > .label {
    color:#cfaa74;
    transition: all 200ms;
}

.popup_window.popup_advertisement > .bottom > .btn_today_noshow.active > .label {
    color:#d8840a;
    transition: all 200ms;
}


.popup_window.popup_advertisement > .bottom > .modal_btn_close {
    color:#cfaa74;
    width:60px;
    flex-shrink: 0;
    background:#FFFFFF;
    font-size:14px;
    line-height:50px;
    text-align: center;
    margin-left:1px;
    cursor:pointer;    
    transition: all 300ms;
    box-shadow: inset 0px 0px 1px 1px #cfaa74;
}


.popup_window.popup_advertisement > .bottom > .modal_btn_close:hover {
    background:#fcf1e3;
    color:#d8840a;
    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;
}


@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; */
    }
}

 /***************************????*****************************************/


.popup_advertisement .XX {
    position: absolute;
    right: -10px;
    top: -10px;
    cursor: pointer;
    transition: all 0.2s ease-out 0s;
    background-color: var(--opacity);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.8;
    z-index: 2;
}

.popup_window .XX span {
    font-size: 20px;
    font-weight: 700;
    /* color: var(--txtColor12); */
    color: #050505!important;
}

.popup_advertisement .reg {
    border-radius: 0px;
    overflow: hidden;
}

.popup_advertisement .reg .top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
}

.popup_advertisement .reg .top img {
    width: 30%;
    max-width: 60px;
}

.popup_advertisement .reg .content {
    /* border-radius: 0px 0px 10px 10px; */
    overflow: hidden;
}

.popup_advertisement .reg .content p{
    margin: 0;
}

.popup_advertisement .reg .content img {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 140px);
}

.popup_advertisement .reg .btnZone {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    margin-top: -4px;
}

.blueLBtn01, .greyBtn {
    background: #1095cd;
    color: #fff;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    border-radius: 5px;
    text-align: center;
    float: left;
    transition: all 0.4s ease 0s;
    border: 1px solid #ffffff;
}
.btnZone .greyBtn:hover {
    filter: brightness(115%);
} 


.popup_advertisement .reg .btnZone .btnP {
    /* font-size: 0.8vw; */
    font-size: 15px;
    width: 60%;
    padding: 7px 0;
}