.popup{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
}

.img_popup_box {

    text-align: center;

    width: 37%;
    height: 44%;

    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 60px 45px;
    box-sizing: border-box;

    border-radius: 30px;
}

.img_popup_box img{
    width: auto;
}

.img_popup_box .f_inner{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}


.pop_close {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 5%;
    right: 4%;
}

.popup .title{
    margin : 40px 0 15px;   
}

.popup .btns{
    margin-top: 40px;

    display: flex;
    gap: 10px;
    justify-content: center;
}

.popup .btns .btn{
    width: 250px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--red);
    border : 1px solid var(--red);
    border-radius : 64px;

    cursor: pointer;
}

.popup .btns .btn.on{
    color: white;
    background-color: var(--red);
}







/* mobile */
@media screen and (max-width: 767px) {
    .popup{
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999999;
        background-color: rgba(0, 0, 0, 0.6);
        display: none;
    }


    i.close_btn{
        font-size: 26px;
        position: absolute;
        top: 18px;
        right: 20px;
        cursor: pointer;
        color: #fff;
    }

 

    i.close_btn{
        font-size: 20px;
        position: absolute;
        top: 18px;
        right: 20px;
        cursor: pointer;
        color: #fff;
    }

    .img_popup_box img{
        width: 100%;
    }

    .img_popup_box {
        width: 90%;
        height: 50%;
        padding: 20px;
    }

    .close{
        right: 5%;
    }

    .sub2_1_d_section table {
        margin-bottom: 20px;
    }






}


/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .f_agree_popbox{
        width: 90%;
    }

    .f_agree_popbox h1{
        font-size: 20px;
        padding: 25px 0;
    }

    .agree_content{
        font-size: 16px;
    }

    i.close_btn{
        top: 20px;
        right: 20px;
    }
}



