@font-face {
    font-family: inter-regular;
    src: url(../fonts/Inter_24pt-Regular.ttf);
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: inter-bold;
    src: url(../fonts/Inter_28pt-Bold.ttf);
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: KantumruyPro-Regular;
    src: url(../fonts/KantumruyPro-Regular.ttf);
    font-weight: normal;
    font-style: normal
}

/* @font-face {
    font-family: inter-bold;
    src: url(../fonts/Inter_28pt-Bold.ttf);
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: inter-semi-bold;
    src: url(../fonts/Inter_24pt-SemiBold.ttf);
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: KantumruyPro-Bold;
    src: url(../fonts/KantumruyPro-Bold.ttf);
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: KantumruyPro-Medium;
    src: url(../fonts/KantumruyPro-Medium.ttf);
    font-weight: normal;
    font-style: normal
} */

body:lang(km),
p:lang(km),
li:lang(km),
a:lang(km),
b:lang(km),
strong:lang(km),
div:lang(km),
span:lang(km),
input:lang(km),
th:lang(km),
td:lang(km),
h1:lang(km),
h2:lang(km),
h3:lang(km),
h4:lang(km),
h5:lang(km),
h6:lang(km) {
    font-family: 'KantumruyPro-Regular', sans-serif;
}

body:lang(en),
p:lang(en),
li:lang(en),
a:lang(en),
b:lang(en),
strong:lang(en),
div:lang(en),
span:lang(en),
input:lang(en),
th:lang(en),
td:lang(en),
h1:lang(en),
h2:lang(en),
h3:lang(en),
h4:lang(en),
h5:lang(en),
h6:lang(en) {
    font-family: 'inter-regular', sans-serif;
}

/* Control Font Size & Line-Hight */
h1:lang(en),
h1:lang(km) {
    font-size: 3rem;
    /*48px*/
    line-height: 3.5rem;
}

h2:lang(en),
h2:lang(km) {
    font-size: 2.25rem;
    /*36px*/
    line-height: 2.5rem;
}

h3:lang(en),
h3:lang(km) {
    font-size: 1.875rem;
    /*30px*/
    line-height: 2.25rem;
}

h4:lang(en),
h4:lang(km) {
    font-size: 1.5rem;
    /*24px*/
    line-height: 2rem;
}

h5:lang(en),
h5:lang(km) {
    font-size: 1.25rem;
    /*20px*/
    line-height: 1.75rem;
}

h6:lang(en),
h6:lang(km) {
    font-size: 1.125rem;
    /*18px*/
    line-height: 1.75rem;
}

html,
body {
    margin: 0;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.block-important {
    display: block !important;
}

/* Loader screen */
#loading-animation {
    width: 100%;
    height: 100%;
    background: white;
    position: fixed;
    z-index: 9999;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loading-animation img {
    max-width: 100%;
}
.loader-wing {
	width: 150px;
	aspect-ratio: 1;
	display: grid;
	border: 4px solid #0000;
	border-radius: 50%;
	border-right-color: #07f;
	animation: l15 1s infinite linear;
}
.loader-wing::before,
.loader-wing::after {
	content: "";
	grid-area: 1/1;
	margin: 2px;
	border: inherit;
	border-radius: 50%;
	animation: l15 2s infinite;
}
.loader-wing::after {
	margin: 8px;
	animation-duration: 3s;
}
@keyframes l15{
	100%{transform: rotate(1turn)}
}
/* end */

.youtube-iframe iframe {
    width: 100% !important;
    height: 100% !important;
}

/* CKEditor reset css */
.ck-content img {
    display: unset !important;
    padding: 3px;
}

.active-item {
    color: var(--blue) !important;
}

/* Page Container */
.rich-text-content a {
    color: var(--blue) !important;
}
.rich-text-content iframe {
    width: 100% !important;
    max-width: 100% !important;
}
.rich-text-content p,
.rich-text-content li {
    font-size: 1.125rem;
}

.rich-text-content td strong {
    font-size: 1.25rem;
}

.dark .page-wrapper p,
.dark .page-wrapper li {
    color: #fff;
}

.dark .rich-text-content * {
    color: #D8DBE5;
}

.rich-text-content ol {
    list-style: decimal;
    padding-left: 25px;
}

.rich-text-content ul {
    list-style: disc;
    padding-left: 25px;
}

.rich-text-content li {
    margin-bottom: 10px;
}

.rich-text-content table {
    width: 100%;
    background: #F2F3F7;
    margin-top: 20px;
    margin-bottom: 20px;
}

.dark .rich-text-content table {
    background: #18181A;
}

.rich-text-content .table,
.rich-text-content table {
    width: 100%;
    display: block;
    overflow: auto;
    border-radius: 20px;
}

.rich-text-content .table td,
.rich-text-content table td {
    padding: 10px;
    border: 3px solid #fff;
    width: 1%;
}

.dark .rich-text-content .table td,
.dark .rich-text-content .table td {
    border: 3px solid #2E2F30;
}

.rich-text-content .alignnone {
    width: 49.5%;
    display: inline-block !important;
}

/* End Page Container */

:root {
    --main: #A9CF38;
    --main-light: #BAD55F;
    --main-extra-light: #fafcf5;
    --blue: #0077FF;
    --gray: #F2F3F7;
    --gray-bold: #6D6E71;
    --red: #D22229;
}

.dark #file-list .file-item {
    color: #D8DBE5;
}

.wing-pagination span .text-gray-500 {
    color: var(--blue);
}

.title-big {
    font-size: 3.50rem;
    line-height: 5rem;
}

.remove-outline:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Typing animation */
.typing {
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    position: relative;
}

/* Blinking cursor */
.typing::after {
    content: '';
    position: absolute;
    right: 0;
    border-right: 2px solid;
    animation: blink 0.7s step-end infinite alternate;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Action Collection */
.action-menu-toggle {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top: 3px solid;
    border-bottom: 3px solid;
    color: var(--gray-bold);
    font-size: 0;
    transition: all 0.25s ease-in-out;
}

.action-menu-toggle:before,
.action-menu-toggle:after {
    content: "";
    display: block;
    width: 95%;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease-in-out;
}

.action-menu-toggle.is-active {
    border-color: transparent;
}

.action-menu-toggle.is-active:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.action-menu-toggle.is-active:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* End Action Collection */

.animate-block {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Style for the toggle panels */
.panel-collapse {
    display: none;
}

.panel-collapse.open {
    display: block;
}

/* End style for the toggle panels */

/* CSS to rotate the chevron icon */
i.fa-chevron-down {
    transition: transform 0.3s ease;
}

i.rotate {
    transform: rotate(-90deg);
}

i.fa-chevron-right {
    transition: transform 0.3s ease;
}

i.rotate-down {
    transform: rotate(90deg);
}

/* End CSS to rotate the chevron icon */

#open-search.is-active i {
    color: #0077FF;
}

.set-dark-mode img svg path {
    fill: red;
}

.wing-small-icon {
    width: 20px;
    height: 20px;
    background: url(https://www.wingbank.com.kh/wp-content/uploads/2023/06/wing-icon.png) no-repeat;
    background-size: 100%;
    display: inline-block;
    position: absolute;
    top: 4px;
    left: -5px;
}

/* Custom active tab */
.ex-rate .active-tab {
    background: var(--blue) !important;
    color: #fff !important;
}

.wing-card .active-tab {
    border: 2px solid var(--blue) !important;
    color: var(--blue) !important;
}

.sp-menu .active-tab {
    background: var(--gray) !important;
    color: var(--blue) !important;
}

.dark .sp-menu .active-tab {
    background: #000 !important;
    color: #fff !important;
}

/* End */

.bg-section-map {
    background-image: url(/images/map.svg);
    background-size: cover;
}
.res-none {
    display: block;
}

.scrollable {
    max-height: 260px;
    overflow-y: scroll;       /* allow vertical scroll */
    scrollbar-width: none;    /* Firefox */
    -ms-overflow-style: none; /* IE & old Edge */
}

.scrollable::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (max-width: 1280px) {
    .bg-section-map {
        background: none;
        background-size: contain;
        background-repeat: no-repeat;
    }
}

@media (max-width: 1024px) {
    /* Control Font Size & Line-Hight */
    h1:lang(en),
    h1:lang(km) {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }

    h2:lang(en),
    h2:lang(km) {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    h3:lang(en),
    h3:lang(km) {
        font-size: 1.5rem;
        line-height: 1.875rem;
    }

    h4:lang(en),
    h4:lang(km) {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    h5:lang(en),
    h5:lang(km) {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    h6:lang(en),
    h6:lang(km) {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

@media (max-width: 768px) {
    .title-big {
        font-size: 2.25rem;
        line-height: 3rem;
    }
    #scrollToTop {
        display: none !important;
    }

    .rich-text-content td strong {
        font-size: 1.125rem;
    }
}

@media (max-width: 767px) {
    .title-big {
        font-size: 1.5rem;
        line-height: 1.875rem;
    }
}

@media (max-width: 1023px) {
    .res-none {
        display: none !important;
    }
}
