/* khmer font */
@font-face {
    font-family: 'Battambang';
    font-style: normal;
    font-weight: 400;
    src: local('Battambang'), url(../fonts/Battambang.woff2) format('woff2');
    unicode-range: U+1780-17FF, U+200B-200C, U+25CC;
}
@font-face {
    font-family: 'Battambang';
    font-style: normal;
    font-weight: 700;
    src: local('Battambang Bold'), local('Battambang-Bold'), url(../fonts/Battambang-Bold.woff2) format('woff2');
    unicode-range: U+1780-17FF, U+200B-200C, U+25CC;
}
@font-face {
    font-family: 'Niradei';
    font-style: normal;
    font-weight: 400;
    src: local('Battambang'), url(../fonts/Niradei-Regular.woff2) format('woff2'),
    url(../fonts/Niradei-Regular.woff) format('woff'),
    url(../fonts/Niradei-Regular.ttf) format('truetype'),
    url(../fonts/Niradei-Regular.otf);
}
@font-face {
    font-family: 'Niradei';
    font-style: normal;
    font-weight: 700;
    src: local('Niradei Bold'), local('Niradei-Bold'), url(../fonts/Niradei-Bold.woff2) format('woff2'),
    url(../fonts/Niradei-Bold.woff) format('woff'),
    url(../fonts/Niradei-Bold.ttf) format('truetype'),
    url(../fonts/Niradei-Bold.otf);
}


/* custom */
body {
    font-family: 'Niradei', 'Battambang', Serif, "Helvetica-Neue", Helvetica, Arial, sans-serif !important;
    line-height: 1.9;
    overflow-y: scroll;
}
#container ol > li, #container ul > li {
    margin-bottom: 5px;
}
.navbar {
    margin-bottom: 10px;
}
#container .panel-heading {
    font-weight: bold;
    font-size: 16px;
}

.frontend-title {
    margin-top: 0;
    font-size: 18px;
}
.cadt-logo {
    /*margin-top: -10px;*/
    height: 40px;
}
@media only screen and (min-width: 470px) and (max-width: 768px) {
    .cadt-logo {
        /*margin-top: -5px;*/
        height: 30px;
    }
}
@media only screen and (max-width: 470px) {
    .cadt-logo {
        /*margin-top: 0;*/
        height: 20px;
    }
}


.required > label {
    font-weight: bold;
}
.required > label:after, label.required:after {
    content: ' *';
    color: #C3232D;
}

th a.asc:after {
    content: ' ⇣';
}
th a.desc:after {
    content: ' ⇡';
}

.dropdown-custom .dropdown-menu li a {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}
.dropdown-custom .dropdown-menu li:first-child a {
    border-top: 1px solid #eee;
}

/* Custom Bootstrap */
.label {
    display: inline-block;
    line-height: 2;
}
.navbar-no-margin {
    margin-bottom: 0;
}
.well-white {
    background-color: #ffffff;
}
.well-primary {
    background-color: #afd9ee;
}
.well-success {
    background-color: #dff0d8;
}
.well-info {
    background-color: #d9edf7;
}
.well-warning {
    background-color: #fcf8e3;
}
.well-danger {
    background-color: #f2dede;
}
.form-control {
    height: auto;
    line-height: 2;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 2;
}
.bg-white {
    background-color: #ffffff;
}
.text-bold {
    font-weight: bold;
}
.spin {
    -webkit-animation-name: spin;
    -webkit-animation-duration: 1000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;

    -moz-animation-name: spin;
    -moz-animation-duration: 1000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;

    -ms-animation-name: spin;
    -ms-animation-duration: 1000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;

    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

/* custom use for help page by Tha Rithyvuth */
.help-step-num{
    /*width: 50px;*/
    height: auto;
    min-height: 100px;
    border-radius: 20px 0 0 20px;
    background-color: #1C2B64;
    color: #fff;
    font-size: 30px;
    text-align: center;
    /*padding-top: 10px;*/
    display: flex;
    align-items: center;
    justify-content: center;
}
.help-step-text{
    height: auto;
    min-height: 100px;
    border-radius: 0 20px 20px 0;
    background-color: #D9D9D9;
    color: #000;
    /*padding-top: 10px;*/
    padding-left: 20px;
    display: flex;
    align-items: center;
    /*text-align: left;*/
}

.bg-cadt{
    background-color: #15204A !important;
    color: #fff !important;
}
.bg-cadt *{
    color: #fff !important;
}

/*Navbar custom*/
.navbar-toggler-icon {
    color: white;
}
.navbar-nav li.nav-item{
    padding: 0 20px;
    height: 60px !important;
}
.navbar-nav li.nav-item{
    margin-right: 20px;
}
.navbar-nav li.nav-item:last-child{
    margin-right: 0;
}
@media only screen and (max-width: 992px) {
    .navbar-nav li.nav-item{
        margin-right: 0;
    }
}

label.control-label {
    font-weight: bold !important;
}

.bg-white{
    background-color: #fff !important;
    color: #000 !important;
}

.text-cadt{
    color: #15204A !important;
}
.bg-cadt-footer{
    padding: 2.5rem;
}
*:not(i){
    font-family: 'Niradei' !important;
}
.icon-center-text{
    position: relative;
    top: 0.3rem;
}

.only-pc{
    display: none;
}
.font-kh-cadt{
    font-family: 'Niradei' !important;
}

@media only screen and (min-width: 1024px) {
    .custom-nav{
        height: 120px !IMPORTANT;
    }
    .no-border{
        padding: 0px !important;
        margin-bottom: 0px !important;
    }
    .navbar-nav{
        height: 100%;
        display: flex;
        align-content: center;
    }
    .navbar-nav .nav-item.active{
        background-color: #FFFFFF;
        border-radius: 5px;

    }
    .navbar-nav .nav-item:hover{
        background-color: #FFFFFF;
        border-radius: 5px;

    }
    .navbar-nav .nav-item:hover *{

        color: #14204a !important;

    }
    .navbar-nav .nav-item.active * {
        color: #14204a !important;
    }
    .only-pc{
        display: block;
    }

    .navbar-nav .nav-item.active {
        background-image: linear-gradient(135deg,#ffffff 93%,rgba(255,255,255,0) 93%) !important;
        background-color: RGBA(255,255,255,0) !important;
        border-radius: 0 !important;
    }
    .navbar-nav .nav-item.active *{
        color: #15204A;
    }
    .navbar-nav .nav-item:hover { /* Added the :hover pseudo-class */
        background-image: linear-gradient(135deg,#ffffff 93%,rgba(255,255,255,0) 93%) !important;
        background-color: RGBA(255,255,255,0) !important;
        border-radius: 0 !important;
    }
}
/*CSS Apply for CADT Style*/
.btn-success{
    background-image: linear-gradient(135deg,#14204a 93%,rgba(255,255,255,0) 93%) !important;
    background-color: RGBA(255,255,255,0) !important;
    border-radius: 0 !important;
    border: none;
}
.text-cadt{
    color: #14204a;
}
.text-behind-box{
    position: absolute;
    z-index: 0;
    opacity: 0.2;
    cursor:pointer;
}
.hidden{
    display: none;
}
::placeholder {
    color: red !important;
    opacity: 0.2 !important; /* Firefox */
}
.my-3{
    margin: 2rem auto !important;
}
.w-50{
    width: 50% !important;
}
.text-sm{
    font-size: 12px;
}
.cadt-bg-id{
    background-image: linear-gradient(135deg,rgba(255,255,255,0) 96%,#14204a 96%) !important;
    height: 59px;
    width: 100%;
}

#pointer {
    width: calc(100% - 20px);
    height: 40px;
    position: relative;
    background: red;
}
#pointer::before {
    content: "";
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 20px solid red;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

#pointerFQA {
    width: calc(100% - 20px);
    height: 100px;
    position: relative;
    background: #14204a;
}
#pointerFQA::before {
    content: "";
    position: absolute;
    right: -50px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 50px solid #14204a;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
}

#pointerFQA-2 {
    width: calc(100% - 20px);
    height: 100px;
    position: relative;
    background: #14204a;
    right: -50px;
}
#pointerFQA-2::before {
    content: "";
    position: absolute;
    left: -50px;
    bottom: 0;
    width: 0;
    height: 0;
    border-right: 50px solid #14204a;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
}

.border-step{
    border: 2px red solid !important;
    border-radius: 5px;
    margin: 2rem 0;
}
#faq-banner{
    background: #d2d2d2;
    position: relative;
    left: 30px;
    width: calc(100% - 60px);
}

#faq-banner::before {
    content: "";
    height: 100%;
    width: 30px;
    background-color: #14204a;
    position: absolute;
    right: -25px;
    border-radius: 5px;
}

#faq-banner-2{
    background: #d2d2d2;
    position: relative;
    left: 60px;
    width: calc(100% - 60px);
}

#faq-banner-2::after {
    content: "";
    height: 100%;
    width: 30px;
    background-color: #14204a;
    position: absolute;
    left: -25px;
    border-radius: 5px;
}
#faq-banner-2::before {
    content: "";
    height: 100%;
    width: 30px;
    background-color: #14204a;
    position: absolute;
    left: -25px;
    border-radius: 5px;
}

h5.pointerTitle{
    color: #ff9814 !important;
}
#icpj9nolhd4g1701239727072.widget-visible{
    display: none !important;
}
.widget-visible{
    display: none !important;
}