/*
** Create : 2021/08/13
*/
h4 { font-size: 18px !important; font-weight: bold !important; }
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    visibility: inherit;
    opacity: 1;
    z-index: 9999;
    display: none;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 60%;
    max-width: 700px;
    position: relative;
    font-family: 'Kanit', sans-serif !important;
    /* transition: all 5s ease-in-out; */
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: 'Kanit', sans-serif !important;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06D85F;
}

.popup .content {
    max-height: 180px;
    overflow: auto;
    margin-bottom: 10px;
}

.agree {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.agree input { 
    width: 18px;
    height: 18px;
    margin-top: 0;
}

.term_submit_btn { width: 100%; text-align: center; /*height: 32px;*/ }
.term_submit_btn button {
    width: 70px;
    padding: 5px;
    font-size: 14px;
    background-color: #19A9F7;
    border: 1px solid #19A9F7;
    border-radius: 5px;
    color: #ffffff;
    /* display: none; */
}

.list_title {
    font-size: 16px;
    padding: 5px;
    border: 1px solid #19A9F7;
    background-color: #19A9F7;
    margin-bottom: 10px;
    color: #ffffff;
    cursor: pointer;
}

.list_title:hover {
    border: 1px solid #0080c5;
    background-color: #0080c5;
    transition: all 0.2s ease-in;
}

.popup .content ul { line-height: 20px; }
.popup .content ul li { list-style-type: disc; }

.term_condition_bams::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 6px #EAEAEA; */
    background-color: #FFFFFF;
    border-radius: 10px;
}

.term_condition_bams::-webkit-scrollbar {
    width: 6px;
    background-color: #FFFFFF;
}

.term_condition_bams::-webkit-scrollbar-thumb {
    background-color: #EAEAEA;
    border-radius: 20px;
}

.cookies_policy_bams::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 6px #EAEAEA; */
    background-color: #FFFFFF;
    border-radius: 10px;
}

.cookies_policy_bams::-webkit-scrollbar {
    width: 6px;
    background-color: #FFFFFF;
}

.cookies_policy_bams::-webkit-scrollbar-thumb {
    background-color: #EAEAEA;
    border-radius: 20px;
}