﻿.content-box {
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    border-radius:6px;
    background: #fff;
}

.content-box > img {
    width: 100%;
    height: auto;
}
.file-list-box {
    border-radius: 25px;
    padding: 5px 15px 5px 15px;
    background: rgb(0 0 0 / 5%);
    margin-top:5px;
    border: 1px solid #e0e0e06b;
    width: 100%;
}
.menu-active-mobile-main {
/*    background: #f8f9fa !important;*/
    border-radius: 0px !important;
    padding-left:5px !important;
    padding-right:5px !important;
    line-height: 2 !important;
}
.menu-active-mobile-main > .mud-nav-link > .mud-nav-link-text, .menu-active-mobile-main > .mud-button-label {
    color: rgb(26 41 129) !important;
    font-weight: bold !important;
}
.menu-active-mobile {
/*    background: #e1e7f1 !important;*/
    border-radius: 0px !important;
    line-height: 2 !important;
    color: rgb(26 41 129) !important;
}
.menu-active-mobile > .mud-nav-link > .mud-nav-link-text{
    font-weight: bold !important;
}
.bottom-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
    box-shadow: 0 -10px 30px rgba(0,0,0,.2);
}
.bottom-sheet.show {
    transform: translateY(0);
}
.sheet-header {
    display: flex;
    justify-content: center;
    padding: 10px;
    font-weight: bold;
    background: #3949ab;
    font-size: 15px;
    color: white;
}
.registration-button {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Khmer OS Battambang', sans-serif;
    /* Box Shadow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.registration-button:has(:hover) {
    background: #dee2e6 !important;
}
.button-text:has(:hover) {
    color: red !important;
}
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}
.icon-circle img {
    width: 52px;
    height: 44px;
}
.button-text {
    flex-grow: 1;
    color: #333;
    font-weight: 500;
}
.arrow-icon {
    color: #283891;
    /* font-size: 1.5rem; */
    font-weight: bold;
    margin-left: 10px;
}
.es-custom-button > .align-self-auto > .align-self-end{
    display:none !important;
}
.card-mobile {
    box-shadow: 0 6px 20px rgba(21, 101, 192, .16);
}
.plr-5{
    padding-left:5px !important;
    padding-right:5px !important;
}
.dis-time {
    position: absolute;
    top: 34px;
    right: 34px;
    background: #6c757d;
    z-index: 100;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    color: white;
}
.main-slide-image {
    position: relative;
    bottom: -10px;
    height: 100%;
}
.font-download{
    font-size:12px !important;
}
.slide-image {
    object-fit: contain;
    width: 80%;
    height: 100%;
}
.gradient-text {
    background: linear-gradient(to right, #e0e0e052, #dee2e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: white;
    font-size: 80px !important;
    padding: 10px 20px;
    position: absolute;
    top: -60px;
    left: 24%;
    font-size: 35px;
    font-weight: bold;
}
.img-custom {
    object-fit: cover;
    width: 100%;
    border-radius: 6px;
    height: 200px
}
.sh {
    display: block;
}
.mud-list-item-gutters {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.mud-list-subheader {
    color: rgb(65 72 169);
    font-size: .875rem;
    box-sizing: border-box;
    list-style: none;
    font-weight: 500;
    padding-top: 15px;
    border-bottom: 1px solid #e0e0e0;
    background: #f5f5f5;
    text-align: center;
    padding-bottom: 5px;
}
.menu-content-active {
    background: rgb(244 244 250) !important;
    border-radius: 0px !important;
    line-height: 2 !important;
    color: #252979 !important;
}
.box-head {
    font-family: 'Bokor' !important;
    width: 100%;
    border-bottom: 1px dotted #4148a9 !important;
    color: #4148a9;
    padding-left: 0px;
    padding-right: 00px;
    font-weight: bold !important;
}
.kbach-footer {
    background: url('/images/khmer-border.png') repeat-x left center;
    height: 26px;
    background-size: 100px;
}
.content-br-width {
    max-width: 100% !important;
    flex-basis: 100% !important;
}
.mud-expand-panel-content {
    font-size: .9375rem !important;
    line-height: 2 !important;
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* Keep it above other content */
    transition: all 0.7s ease; /* Smooth transition */
}
.cl-blog-logo {
    border-radius: 47px;
    width: 110px;
    display: flex;
    justify-content: center;
    padding: 10px;
}
.cl-main-text-logo {
    color: rgba(57,73,171,1);
    font-family: 'Khmer-OS-Muol-Light';
    /*font-weight: bold;*/
    font-size: 16px;
}
.cl-sub-text-logo {
    color: rgba(57,73,171,1);
    font-family: 'Khmer-OS-Muol-Light';
    /*font-weight: bold;*/
    font-size: 16px;
}
.btn-custom-link {
    padding: 10px;
    margin-bottom: 2px;
    width: 100%;
    text-align: left !important;
    justify-content: flex-start !important;
}
.cs-min-height {
    min-height: 1000px !important;
    background: white;
}
.cs-min-height-none-bg {
    min-height: 1000px !important;
}
.align-text-bottom-responsive {
    text-align: end;
}
.btn-only-label {
    background: #e9ecef;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}
.full-height-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 475px;
}
.mud-dialog .mud-dialog-title {
    display: none;
}
.mud-dialog .mud-dialog-actions {
    display: none;
}
.preview-active {
    border-radius: 0px !important;
    background: #dee2e6 !important;
}
.blog-doc-width {
    width: 282px;
}
#frame {
    width: 100%;
}
.cus-pa-res {
    padding-top: 10px !important;
}
.padding-top-10 {
    padding-top: 10px !important;
}
.mud-grid-cus {
    width: 100% !important;
    margin-left: -5px !important;
    /* margin-right: -5px !important; */
}
.box-image-size {
    width: 100%;
    height: 130px;
}
.content {
    width: 100% !important;
    padding-top: 160px; /* Adjust to header height */
}

.b-h-slide {
    height: 330px;
}
.mud-ripple-icon {
    /*background: #24369e !important;*/
    padding: 5px !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    /*color:white !important;*/
}
.block-search{
    padding-top:30px;
}
.breadcrumb-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}
.custom-res-small {
    display: none !important;
}

.custom-res-larg {
    display: block !important;
}

.cl-main-text-logo-white {
    color: white;
    text-transform: uppercase;
    font-family: 'Khmer-OS-Muol-Light';
    /*font-weight: bold;*/
    font-size: 16px;
}

.news-card {
    width: 100%;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    border-radius: 6px;
}

    .news-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f5f5f5;
        display: block;
    }

.b-filter-small {
    display: none;
}

.b-filter-large {
    display: block;
}

.block-small {
    display: none;
}

.cus-hf-box {
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.banner-skeleton {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

.no-border .mud-input-outlined-border {
    border: none !important;
}
.post-image {
    object-fit: cover;
    height: 200px;
}
.news-title {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maximum 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 3);
}
.block-bg {
    background: #f5f5f5;
}
/* 2. Styles apply to 13-inch laptops AND larger (e.g., 15-inch) */
@media screen and (min-width: 1280px) and (max-width: 1535px) {
    .bg-relative {
        min-height: 32vh !important;
    }

    .b-h-slide {
        height: 28vh !important;
        margin-top:10px !important;
        border-radius: 12px !important;
    }

    .icon-circle {
        width: 40px !important;
        height: 40px !important;
    }

        .icon-circle img {
            width: 50px !important;
            height: 42px !important;
        }
}
/* 3. Styles apply ONLY once you hit 15-inch laptops and larger */
@media screen and (min-width: 1536px) {
    .container {
        max-width: 1400px;
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Styles for mobile phones (typical range) */
@media (max-width: 480px) {
    .b-h-slide {
        height: 25vh !important;
    }

    .bg-relative {
        min-height: 25vh !important;
    }

    .text-custom-response {
        font-size: 16px !important;
    }

    .custom-arraw > .align-self-auto > button {
        background: #ffffff !important;
        color: #1e31a1 !important;
        margin-top: -79px !important;
    }

    .es-custom-button > .align-self-auto > .align-self-end {
        position: relative
    }
    .es-custom-button > .align-self-auto > .align-self-end > .d-flex {
        position: absolute;
        left: 35%;
        top: 0px;
    }
    .es-custom-button > .align-self-auto > .align-self-end > .d-flex > button {
        color: black !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        padding: 1px !important;
        cursor: pointer !important;
    }
}
/* Styles for tablets and large phones ipad mini*/
@media (min-width: 481px) and (max-width: 768px) {
    .custom-arraw {
        height: 488px !important;
    }
    .custom-arraw > .align-self-auto > button {
        background: #415cfd !important;
        color: white !important;
        margin-top: -38px !important;
    }
    .es-custom-button > .align-self-auto > .align-self-end {
        position: relative
    }
    .es-custom-button > .align-self-auto > .align-self-end > .d-flex {
        position: absolute;
        left: 42%;
        top: -10px;
    }
    .es-custom-button > .align-self-auto > .align-self-end > .d-flex > button {
        color: black !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        padding: 1px !important;
        cursor: pointer !important;
    }
    .post-image {
        object-fit: cover;
        height: 400px !important;
    }
    MudButton, .btn-ann{
        display:block !important;
    }
    .app-bar {
        padding: 8px !important;
    }

    .b-h-slide {
        height: 30vh;
    }

    .text-custom-response {
        font-size: 16px !important;
    }
}
@media screen and (max-width: 1440px) {
    /* Styles for 13" screens and smaller */
    .content {
        padding-top: 170px !important; /* Adjust to header height */
    }
}
@media (min-width: 1280px) {
    .main-slide-image {
        bottom: -20px !important;
    }

    .slide-image {
        width: 80% !important;
    }

    .gradient-text {
        background: linear-gradient(to right, #e0e0e052, #dee2e6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        color: white;
        font-size: 80px !important;
        padding: 10px 20px;
        position: absolute;
        top: -60px;
        left: 24%;
        font-size: 35px;
        font-weight: bold;
    }

    .content > .screen-fit {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .mud-container-maxwidth-lg {
        max-width: 1298px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .content {
        width: 100% !important;
        /*background:white !important;*/
        padding-top: 168px !important;
    }
}
@media screen and (width: 1300px) {
    .app-bar {
        padding: 8px !important;
    }

    .img-custom {
        object-fit: cover;
        width: 100%;
        height: 90px !important;
    }

    .content {
        padding-top: 172px !important; /* Adjust to header height */
    }
}
/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 767px) {
    .menu-hide {
        display: none;
    }

    .btn-menu {
        display: block;
    }

    .img-custom {
        object-fit: cover;
        width: 100%;
        height: 90px !important;
    }

    .content {
        padding-top: 197px !important; /* Adjust to header height */
    }

    .res-cus-padding {
        padding: 5px !important;
    }

    .iframe-allow {
        display: none;
    }

    .MudButton, .btn-HN {
        margin-bottom: 10px;
        margin-right: 10px;
        display: flex;
        flex-direction: row;
    }

    MudButton, .btn-ann {
        width: 100%;
        /* max-width: 85%;*/
    }
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    .app-bar {
        padding: 1px !important;
    }

    .breadcrumb {
        /*margin-top: 65px !important;*/
        width: 100% !important;
        display: block !important;
    }

    .content > .screen-fit {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .iframe-allow {
        display: none;
    }

    MudButton, .btn-ann {
        width: 100%;
    }

    .mt-res {
        margin-top: 18px !important;
    }

    .box-image-size {
        width: 100% !important;
        height: 200px !important;
    }

    ol, ul {
        padding-left: 1rem !important;
    }

    .pa-cus-0 {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .content-br-width {
        width: 100% !important;
    }

    .cs-btn > button {
        padding: 0px 0px !important;
    }

    .mud-pagination .mud-pagination-item > * {
        height: 25px !important;
        min-width: 25px !important;
    }

    .cus-pa-res {
        padding: 5px !important;
    }

    .mud-container--gutters {
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-doc-width {
        width: 290px;
    }

    .full-height-container {
        width: 100% !important;
        height: 230px !important;
    }

    .mud-button-label {
        font-size: 14px;
    }

    .align-text-bottom-responsive {
        text-align: left !important;
    }

    .align-text-bottom-responsive > button {
        width: 100%;
        margin-bottom: 4px;
    }

    .align-text-bottom-responsive > a {
        width: 100%;
        margin-bottom: 4px;
    }

    .img-ex {
        height: 100%;
    }

    .cl-blog-logo {
        border-radius: 47px;
        width: 85px;
        display: flex;
        justify-content: center;
        padding: 10px;
    }

    .assa-logo {
        padding-top: 10px !important;
        width: 70px;
        height: 75px;
    }

    .nssf-logo {
        width: 80px;
        height: 65px;
    }

    .text-custom-response {
        font-size: 16px !important;
    }

    .text-custom-response-sub {
        font-size: 16px !important;
    }


    .btn-menu > button {
        padding: 0px !important;
    }

    figure .image > img {
        width: 100% !important;
    }

    .p-response-cus {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .pa-custom-10 {
        padding: 10px !important;
    }

    .p-sub {
        font-size: 14.5px !important;
    }

    .bg-relative {
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .img-banner-show {
        width: 100%;
        height: auto !important;
    }

    .md-container-cus {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .cus-padding-b-0 {
        padding-bottom: 0px !important;
    }

    .cus-padding-t-0 {
        padding-top: 0px !important;
    }

    .bg-sub-blog {
        height: auto;
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
    }

    .bg-over-blog {
        position: absolute;
        height: auto;
        background: #6c757da1;
        width: 100%;
    }

    .bg-sub-blog-2 {
        width: 100%;
        height: 30px !important;
        background: #3949abb8;
    }

    .text-custom-header {
        padding: 54px 0px;
        font-weight: bold;
        color: white;
        font-family: 'Khmer OS Muol Light';
        text-transform: uppercase !important;
        text-shadow: 1px 1px 2px black, 0 0 1em #3949ab, 0 0 0.2em #0a58ca;
    }

    .bg-image {
        padding: 10px !important;
    }


    .header-app-bar {
        padding: 10px !important;
    }

    .custom-margin-top-responsive {
        margin-top: 0px !important;
    }

    .marquee-custom-style {
        font-size: 12px;
        margin-top: 0px !important;
    }
}
/* Small devices (portrait tablets and large phones, 600px and up) ipaid air */
@media only screen and (min-width: 600px) and (max-width: 1200px) {
    .icon-circle img {
        width: 61px !important;
        height: 50px !important;
    }

    .icon-circle {
        width: 38px !important;
        height: 46px !important;
    }
    .custom-arraw > .align-self-auto > button {
        background: #415cfd !important;
        color: white !important;
        margin-top: -38px !important;
    }

    .es-custom-button > .align-self-auto > .align-self-end {
        position: relative
    }

    .es-custom-button > .align-self-auto > .align-self-end > .d-flex {
        position: absolute;
        left: 42%;
        top: -10px;
    }

    .es-custom-button > .align-self-auto > .align-self-end > .d-flex > button {
        color: black !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        padding: 1px !important;
        cursor: pointer !important;
    }
    .app-bar {
        padding: 8px !important;
    }

    .menu-hide {
        display: none;
    }

    .btn-menu {
        display: block;
    }

    .content {
        padding-top: 170px !important; /* Adjust to header height */
    }

    .pa-cus-0 {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .cus-pa-res {
        padding: 5px !important;
    }

    .full-height-container {
        width: 100% !important;
        height: 500px !important;
    }

    figure.image > img {
        width: 100% !important;
    }

    .bg-relative {
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .img-banner-show {
        width: 100%;
        height: auto !important;
    }

    .md-container-cus {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .bg-sub-blog {
        height: auto;
        position: relative;
        /*background: url('/images/banner1.png');*/
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
    }

    .bg-over-blog {
        position: absolute;
        height: auto;
        background: #6c757da1;
        width: 100%;
    }

    .bg-sub-blog-2 {
        width: 100%;
        background: #3949abb8;
        /*position: absolute;
            bottom: 0;
            left: 0;*/
    }

    .text-custom-header {
        padding: 65px 0px;
        font-weight: bold;
        color: white;
        font-family: 'Khmer OS Muol Light';
        text-transform: uppercase !important;
        text-shadow: 1px 1px 2px black, 0 0 1em #3949ab, 0 0 0.2em #0a58ca;
    }

    .img-size {
        width: 100% !important;
        padding-bottom: 0px !important;
        border-radius: 6px !important;
        margin-bottom: 5px !important;
    }

    .bg-image {
        padding: 15px !important;
    }
    .assa-logo {
        padding-top: 10px !important;
        width: 80px;
        height: 85px;
    }

    .nssf-logo {
        width: 84px;
        height: 81px;
    }
    .res-pa {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .custom-margin-top-responsive {
        margin-top: 30px !important;
    }

    .mud-button {
        font-size: 14px !important;
    }

    .mud-typography-body1 {
        font-size: 14px !important;
    }

    .h5, h5 {
        font-size: 1rem !important;
    }
}
/* iPad Mini Landscape */
/*Mackbook Air*/
@media only screen and (width: 1280px) {
    .main-slide-image > img {
        height: 300px !important;
    }
    .b-h-slide {
        height: 330px !important;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1194px) {
    .custom-res-small {
        display: none !important;
    }
    .custom-res-larg {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        display: block !important;
    }
    .res-pa {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .block-search {
        padding-top: 40px !important;
        padding-right: 10px !important;
    }
    .btn-s {
        min-width: 40px !important;
        color: white !important;
        border-radius: 50px !important;
        margin-right: 3px !important;
        margin-top: 0px !important;
    }
    .main-slide-image > img {
        height: 300px !important;
    }

    .b-h-slide {
        height: 310px !important;
    }
}
/* Mobile */
@media (max-width: 767px) {
    .block-small {
        display: block !important;
    }
    .cus-hf-box {
        padding-top: 10px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .block-search {
        padding-top: 0px;
    }
    .custom-res-small {
        display: block !important;
    }
    .custom-res-larg {
        display: none !important;
    }
    .bg-relative {
        min-height: 20vh !important;
    }
    .block-bg {
        background: none !important;
    }
    .slide-image {
        width: 100% !important;
    }
    .main-slide-image {
        position: relative;
        bottom: -7px !important;
        height: 100%;
    }
    .banner-skeleton {
        height: 22vh !important;
    }
    .b-h-slide {
        height: 22vh !important;
    }
    .main-slide-image > img {
        height: 200px !important;
    }
    .ml-custom{
        padding-top:15px !important;
        margin-left:0px !important
    }
    .res-pa {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .dis-time {
        top: 20px;
        right: 20px;
    }

    body {
        background: white;
    }
    .app-card {
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12), 0 0px 0px rgba(0, 0, 0, 0.08);
        border-radius: 6px !important;
    }
    .btn-ann1 {
        width: 100%;
        border-style: solid;
        border-color: #4148a9;
        border-width: 0px 0px 0px 4px;
        background: #f4f4fa !important;
    }
    .btn-ann {
        background: rgb(244 244 250) !important;
    }
    .btn-new-box {
        background-color: rgba(255,255,255,1);
    }
    .blog-res {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    .white-input {
        width: 100% !important;
    }
    .text-custom-response {
        font-size: 0.80rem !important;
    }
    .text-custom-response-sub {
        font-size: 0.82rem !important;
    }
    .btn-s {
        min-width: 40px !important;
        color: white !important;
        border-radius: 50px !important;
        margin-right: 3px !important;
        margin-top: 6px !important;
    }
    .b-filter-small {
        display: block !important;
    }
    .b-filter-large {
        display: none !important;
    }
    .mud-pagination {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 1px !important;
        align-items: center;
        margin: 0;
        list-style: none;
        margin-right: 1px !important;
    }
}

/* Tablet (includes iPad Mini) */
@media (min-width: 768px) and (max-width: 1023px) {
    .banner-skeleton {
        height: 240px !important;
    }

    .icon-circle img {
        width: 50px !important;
        height: 40px !important;
    }

    .b-filter-small {
        display: block !important;
    }

    .b-filter-large {
        display: none !important;
    }
    .main-slide-image > img {
        height: 300px !important;
    }

    .b-h-slide {
        height: 310px !important;
    }
    .cus-hf-box {
        padding-top: 10px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}