html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
@font-face {
    font-family: "Marianne";
    src: url('/fonts/Marianne-Regular.woff2') format('woff2'), url('/fonts/Marianne-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Marianne";
    src: url('/fonts/Marianne-Regular.woff2') format('woff2'), url('/fonts/Marianne-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "Marianne";
    src: url('/fonts/Marianne-Bold.woff2') format('woff2'), url('/fonts/Marianne-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
html {
    position: relative;
    min-height: 100%;
}


body {
    font-family: 'Marianne', 'Siemreap', 'Moul', sans-serif !important;
}

.MsoTableGrid {
    width: 100% !important;
}


.fr-collapse {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

    .fr-collapse[aria-hidden="false"] {
        opacity: 1;
        height: auto; /* important to avoid display: none */
    }

    .fr-collapse[aria-hidden="true"] {
        opacity: 0;
        height: 0 !important;
    }

.fr-header__logo img {
    max-height: 120px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.fr-fi-arrow-down-s-line {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.fr-nav__btn[aria-expanded="true"] .fr-fi-arrow-down-s-line {
    transform: rotate(180deg);
}
.fr-translate .fr-link {
    cursor: pointer !important;
}
.fr-header__brand:after {
    content :none!important;
}
.fr-translate__menu {
    scroll-behavior: smooth; /* smooth scrolling */
}
.fr-nav__btn:after {
    display:none;
}
    .fr-nav__btn[aria-expanded=true]:after {
    display:none!important;
}


.centered-flex {
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    height: 100%; /* fill parent height */
    text-align: center;
    padding: 0 1rem;
}

.deco-hero {
    position: relative;
}
    .deco-hero:before {
        aspect-ratio: 356 / 452;
        background-image: url(../images/Kbach-2.png);
        background-size: contain;
        height: calc(100% + 2rem);
        left: 0;
    }
.deco-hero:after, .deco-hero:before {
    background-repeat: no-repeat;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    z-index: 2;
}
    .deco-hero:after {
        aspect-ratio: 356 / 452;
        background-image: url(../images/Kbach-1.png);
        background-position: 100%;
        background-size: contain;
        height: calc(100% + 2rem);
        right: 0;
    }
    .deco-hero:after, .deco-hero:before {
        background-repeat: no-repeat;
        content: "";
        display: block;
        position: absolute;
        top: 0;
        z-index: 2;
    }
.fade-text-container {
    max-height: 40px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

    .fade-text-container.expanded {
        max-height: 1000px; /* large enough to show all text */
    }

    .fade-text-container::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: .5rem;
        background: linear-gradient(to bottom, rgba(255,255,255,0), white);
        pointer-events: none;
        transition: opacity .5s ease;
    }

    .fade-text-container.expanded::after {
        opacity: 0;
    }
.highlight-news{
    position:relative;

}
.highlight-news__container {
    position: relative;
    z-index: 10;
}
@media only screen and (min-width: 992px) {
    .highlight-news:before {
        background-color: #fef6e3;
        content: "";
        display: block;
        height: 330px;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 5;
    }
}
.fr-tabs__list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.fr-tabs__tab {
    min-width: 104px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    box-sizing: border-box;
    word-break: break-word;
    white-space: normal;
    padding: 0.5rem;
    cursor: pointer; 
}

@media screen and (max-width: 768px) {
    .fr-tabs__list {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .fr-tabs__tab {
        flex: 0 0 auto;
        min-width: 100px;
    }
}
a.no-underline {
    text-decoration: none !important;
}

.fade-out {
    opacity: 0;
}


:root {
    --bs-primary: #0055a4;
    --bs-primary-rgb: 0, 85, 164;
    --bs-btn-color: #0055a4!important;
    --bs-btn-border-color: #0055a4;
    --bs-warning-bg-subtle: #fef6e3;
}
