@import url("https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&family=DM+Serif+Text:ital@0;1&family=Hanuman:wght@100;300;400;700;900&family=Koulen&family=Noto+Sans+Khmer:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Odor+Mean+Chey&family=Rubik:ital,wght@0,300..900;1,300..900&family=Siemreap&family=Taprom&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Battambang", serif;
    font-weight: 600;
    font-style: normal;
}

h1 {
    font-family: "Noto Sans", serif;
}
h2 {
    color: #010053;
    font-size: 30px !important;
    font-weight: 900;
    font-family: "Battambang", serif !important;
}
h3 {
    font-family: "Battambang", serif !important;
}
a {
    text-decoration: none;
}
i {
    line-height: 29.1px !important;
    font-family: "Battambang", serif !important;
}
.bx-stop {
    display: flex !important;
    color: #424547;
}

p {
    font-size: 16px;
    line-height: 29.1px !important;
    color: #373636e0;
}
.detail img {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.header-logo {
     display: flex;
    background: #fff;
    justify-content: center;
    align-items: center;
}
.header-logo img {
    width: 100%;
}

.language {
    width: 35px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 20px;
}
.language img {
    width: 100%;
}
.bxs-calendar:before {
    content: "\ed00";
    color: #a19797;
    font-size: 21px;
}
.date {
    font-size: 19px;
    color: #989797;
    font-weight: 500;
}
.navbar {
    position: sticky;
    top: 0;
    right: 0;
    height: auto;
    z-index: 1035;
    width: 100%;
}
.navbar-brand {
    width: 150px;
    display: none;
}
.navbar-brand img {
    width: 189%;
}
.nav-item {
    font-size: 18px;
}
.bxs-file-pdf:before {
    content: "\edbc";
    font-size: 38px;
}
.box {
    width: 100%;
    height: 1000px;
}

.navbar-expand-lg {
    position: sticky;
}
/*==============================style swiper==============*/

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    /* text-align: center; */
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*------------------home---------------------------------*/
.service {
    text-align: center;
    color: #ffc107;
    margin-top: 40px;
    font-weight: 800;
}
.sv {
    padding-bottom: 60px;
}
.service-img {
    text-align: center;
}
.bd {
    background: #ffffff;
    padding: 7px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.video {
    background: #ffffff;
    padding: 0px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.footer {
    background-color: #fff;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    position: relative;
}
.footer .sosmed-icon a {
    font-size: 20px;
    margin-left: 5px;
    margin-right: 5px;
}
.footer .sosmed-icon a {
    color: #6791a6;
}
.footer .sosmed-icon a:hover {
    color: #ff8800;
}
.footer .footer-item .logo-bottom {
    margin-bottom: 10px;
}
.footer .footer-item .footer-title {
    font-size: 21px;
    padding: 20px 0 30px 0;
    margin-bottom: 0;
    position: relative;
    color: #fbfbfb;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    border-bottom: 1px solid #6791a6;
    margin-bottom: 30px;
    position: relative;
}
.footer .footer-item .footer-title:before {
    content: "";
    display: block;
    width: 150px;
    border-top: 3px solid #ff8800;
    position: absolute;
    left: 0;
    bottom: -3px;
}
.footer .footer-item .list {
    margin: 0;
    padding: 0;
}
.footer .footer-item .list li {
    list-style: none;
    padding-bottom: 5px;
    padding-top: 5px;
}
.footer .footer-item .list li:first-child {
    padding-top: 0;
}
.footer .footer-item .list li a {
    position: relative;
    color: #ffffff;
    padding-left: 25px;
    text-decoration: auto;
}
.footer .footer-item .list li a:before {
    content: "\f178";
    font-family: FontAwesome;
    left: 0;
    position: absolute;
    color: #6791a6;
}
.footer .footer-item .list li a:hover {
    color: #6791a6;
}
.footer .footer-item .footer-subscribe {
    position: relative;
}
.footer .footer-item .footer-subscribe input[type="email"] {
    width: 100%;
    background: #fff;
    padding: 10px 57px 10px 17px;
    min-height: 38px;
    max-width: 480px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    border: 0;
}
.footer .footer-item .footer-subscribe input[type="email"]:focus {
    background: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 0 0 2px #2b3f49;
    -moz-box-shadow: 0 0 0 2px #2b3f49;
    box-shadow: 0 0 0 2px #2b3f49;
    border-color: transparent;
}
.footer .footer-item .footer-subscribe input[type="submit"] {
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
}
.footer .footer-item .footer-subscribe label {
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    width: 40px;
    height: 38px;
    line-height: 40px;
    padding: 0;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    background: none;
    color: #ffffff;
    outline: 0 !important;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
    background: #2b3f49;
}
.footer .footer-item .footer-subscribe .icon {
    font-size: 18px;
}
.footer .footer-item .footer-subscribe p {
    font-size: 13px;
    margin-top: 16px;
}
.footer .footer-item .recent-post {
    margin: 0;
    padding: 0;
}
.footer .footer-item .recent-post li {
    list-style: none;
    margin: 0 0 30px;
}
.footer .footer-item .recent-post li a {
    color: #ffffff;
    line-height: 20px;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 14px;
    text-decoration: auto;
}
.footer .footer-item .recent-post li a:hover {
    color: #6791a6;
}
.footer .footer-item .recent-post li .date {
    display: block;
    font-size: 12px;
    padding: 0;
    color: #6791a6;
}
.footer .footer-item .recent-post li .date i {
    margin-right: 5px;
}
.footer .fcopy {
    padding: 20px 0;
    font-size: 14px;
    background-color: #223139;
}
.footer-item img {
    margin-top: 48px;
}
.list li a {
    color: #182329 !important;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
.new {
    background-color: #f6f6f6;
    padding-bottom: 60px;
}
.news {
    text-align: center;
}
.btn-secondary a {
    color: #fff;
}
.text-new p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.service-img img {
    
    width: 100%;
    height: 287px;
    display: block;
    margin: 0 auto;
}
.service-img {
    text-align: center;
}

.text-new-limit p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.tab {
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.tablinks {
    flex: 1;
    padding: 9px;
    cursor: pointer;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-right: 10px;
    color: white;
}

.tablinks:last-child {
    margin-right: 0;
}
.tablinks:hover {
    background-color: #010053;
}
.bxs-chevron-right:before {
    content: "\ed3b";
    font-size: 22px;
    position: absolute;
    margin-top: -16px;
    color: #908f8b;
}
.tabcontent {
    display: none;
    padding: 15px;
    border-radius: 5px;
    background-color: #fff;
}
.read {
    color: #ffc107c9;
    font-weight: 500;
}
.tab button.active {
    background-color: #010053;
}
.new-title {
    padding: 10px;
}
.bxs-image:before {
    content: "\edf0";
    font-size: 70px;
    color: #aaa7a7;
}
.hide {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.hide-vd {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin-top: 8px;
}
.vd-hide {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.latest-hover {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical;
}
.nav-item.dropdown:hover.dropdown-menu {
    display: block;
}
.latest {
    padding-top: 40px;
}
.latest-bt {
    background: #ffc107;
    padding: 3px;
    color: white;
    border-radius: 3px;
    font-size: 14px;
}
.detail-bt {
    background: #ffc107;
    padding: 6px;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}
.border img {
    height: 327px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
/* .border {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
} */
/*----------------------------Service---*/
.service-backgroung {
    background-color: #f6f6f6;
    padding-bottom: 20px;
}
.partner {
    padding-bottom: 40px;
    padding-top: 40px;
    text-align: center;
}
.my-card img {
    border-radius: 5px;
}
.my-card {
    background: #ffffff;
    padding: 5px;
    border-radius: 5px;
}
.bxl-facebook-circle:before {
    content: "\e930";
    color: #045486;
    font-size: 38px;
    background: #ffffff;
    margin: 5px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.bxl-youtube:before {
    content: "\e992";
    color: #ea072d;
    margin: 5px;
    font-size: 38px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.bxl-instagram:before {
    content: "\e942";
    color: #fff;
    margin: 5px;
    font-size: 38px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-image: linear-gradient(45deg, #f58529, #f77737, #f77737, #d62976, #dd246b, #962fbf, #4c68d7);
}
.bxl-telegram:before {
    content: "\e97b";
    color: #00bcd4;
    font-size: 38px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    margin: 5px;
    background: white;
}
.bxl-tiktok:before {
    content: "\e97c";
    color: #1d1d1d;
    font-size: 38px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    margin: 5px;
    background: white;
}

.border-news {
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.border-news:hover {
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.nw {
    padding-bottom: 20px;
}
.border-news img {
    border-radius: 5px;
}
.line-new1{
    height: 2px;
    background: #ffc107a1;
}
.line-new {
    width: 66%;
    height: 2px;
    background: #ffc107a1;
}
.line-new-vd {
    width: 100%;
    height: 2px;
    background: #ffc107a1;
}
.line-new1 {
    height: 2px;
    background: #ffc107a1;
}
.news-title span {
    font-size: 15px;
    padding-top: 12px !important;
}
.list-text {
    display: flex;
    align-items: center;
    padding: 8px 0; /* space above and below the whole item */
}

.info-icon {
    margin-right: 10px; /* space between icon and text */
    font-size: 20px;
    color: #f8f8f7; /* or any color you like */
}

.info-text.footer-p {
    padding: 0; /* no extra padding inside the text, keep it clean */
    font-size: 16px;
}

.date-new {
    font-size: 16px;
    color: #989797;
}
.bxs-calendar:before {
    content: "\ed00";
    font-size: 15px;
    margin: 1px 2px;
}
.news-page h2 {
    font-weight: 600;
    padding-top: 50px;
}
.detail {
    background: #fff;
    border-radius: 5px;
    padding: 10px;
}
.pw {
    text-align: center;
    padding: 10px;
    color: #fff;
    font-weight: 700;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #dddddd;
    background: #010053;

}
.scrollable-news-container {
    max-height: 420px; /* Set the height you want */
    overflow-y: auto;
}

.scrollable-news-container::-webkit-scrollbar {
    width: 5px; /* Width of the scrollbar */
}

.scrollable-news-container::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the thumb */
    border-radius: 10px; /* Rounded corners */
}

.scrollable-news-container::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Hover color of the thumb */
}

.scrollable-news-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background of the scrollbar track */
    border-radius: 10px;
}

.bd-border {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.detail-news h3 {
    font-weight: 600;
    color: #ffc107;
    line-height: 43px;
}
.bd-detail {
    background-color: #f6f6f6;
}
.latest-hover:hover {
    color: #ffc107c2;
}
.video-line {
    border: 1px solid #ffc107;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}
.vd {
    padding-bottom: 60px;
}
.img-chart {
    text-align: center;
    background: white;
    border-radius: 5px;
}
.img-chart img {
    width: 80%;
}
.chart-page {
    padding-top: 40px;
}
.line-chart {
    width: 100%;
    height: 2px;
    background: #ffc107a1;
}
.chart-page {
    padding-bottom: 40px;
}
.footer {
    position: relative;
    background-image: url("../img/cambodia.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 18, 5, 0.6);
    z-index: 1;
}
.latest-vd {
    background: #ffc107;
    padding: 4px;
    color: white;
    border-radius: 4px;
    font-size: 10px;
    float: inline-end;
    margin-top: 4px;
}
.all-video-detail {
    border: 1px solid #a8a5a5;
    padding: 0px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.laws {
    position: relative;
    display: block;
    padding: 8px 12px;
    margin-bottom: -1px;
    border-top: 1px solid #ddd;
    border-left: none;
    border-right: none;
    padding-bottom: 20px;
}
.content-wrap {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
}

.vision-lerdser p {
    background: #ffc107;
    margin-bottom: 1px;
    color: white;
    font-size: 21px;
    width: max-content;
    padding: 10px;
    border-radius: 5px;
}
.vision h3 {
    margin-top: 20px;
    font-weight: 600;
    color: #010053;
    font-size: 22px;
}
/* .text-brief{
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    padding: 20px;
    margin-top: 26px;
    border-radius: 5px;
} */
/*------------------leaders-----------*/
.leaders {
    background: white;
    /* padding: 10px; */
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.leader-image img {
    border-radius: 5px;
}
.leader-head h3 {
    font-size: 30px;
    padding-top: 3px;
    font-weight: 600;
    color: #807d7d;
}
.lead-name h2 {
    color: #807d7d;
    font-weight: 600;
}
.technical-inspection h4 {
    font-size: 20px;
    line-height: 32px;
    text-align: justify;
}

.lead-img img {
    border-top-left-radius: 5px !important;
}
.lead-title span {
    color: #807d7d;
}
.lead-title h3 {
    font-weight: 600;
}
.lead-title {
    text-align: center;
}
.inspection-video h2 {
    text-align: center;

    font-family: "Battambang", serif;
}
.contact-text p {
    font-size: 27px;
    color: #ffc107;
}
.contact-lg {
    display: flex;
}

.bx-home-alt:before {
    content: "\eb13";
    font-size: 32px;
    color: #ffc107;
}
.bx-phone-call:before {
    content: "\ebb3";
    font-size: 32px;
    color: #ffc107;
}
.bxs-map:before {
    content: "\ee17";
    font-size: 32px;
    color: #ffc107;
}
.contact-icon {
    border: 1px solid;
    border-radius: 24px;
    padding: 8px;
    height: 48px;
    margin-top: 10px;
}
.let {
    color: #ffc107;
}
.let-text {
    color: #010053;
    font-weight: 800;
    font-size: 22px;
}
.contact-title {
    margin-left: 15px;
}
.download-pdf {
    float: inline-end;
    display: flex;
    padding: 8px 16px;
    display: flow;
}
.btn-warning a {
    color: white !important;
}
.footer-p {
    color: white;
}
.bg-search {
    background-color: #fff;
    padding: 9px;
    border-radius: 8px;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.bg-pw{
    background: #fff;
    padding: 10px;
    border-radius: 5px;
}
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 1s ease-in-out;
}

#preloader img {
    width: 100px; /* Adjust size as needed */
    height: auto;
    animation: bounce 1.5s infinite;
}

/* Fade-out effect */
.fade-out {
    animation: fadeOut 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-input {
    flex-grow: 1;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.search-btn {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.search-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}
input[type="text"],
select,
textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 1px;
    margin-bottom: 12px;
    resize: vertical;
}
input[type="submit"] {
    background-color: #ffc107;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 20%;
}
input[type="submit"]:hover {
    background-color: #45a049;
}
.map {
    background: white;
    border-radius: 5px;
    padding: 6px 6px 0px 6px;
    width: 100%;
}
.dropdown-menu {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.dropdown-item:hover {
    background-color: #e9ecef;
}
.dropdown-item.active {
    background-color: #007bff;
    color: white;
}
.read-more p {
    color: #ffc107;
    margin-top: 4px;
    font-size: 17px;
    float: inline-end;
}
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
    }
}
@media (max-width: 600px) {
    .tab {
        flex-direction: column;
    }
    .tablinks {
        margin-right: 0;
        width: 100%;
    }
}
@media (max-width: 1200px) {
    .header-logo {
        margin-left: -3px;
        padding: 1px;
    }
    .detail img {
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }
    .vision-lerdser p {
        background: #ffc107;
        margin-bottom: 1px;
        color: white;
        font-size: 21px;
        width: max-content;
        padding: 10px;
        border-radius: 5px;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .lead-name h2 {
        color: #807d7d;
        font-weight: 600;
        margin-top: 10px;
    }
    .header {
        width: 100%;
    }
    /* .header {
    width: 76%;
    height: 125px;
    background: url(../img/15344514001.png) no-repeat center center / cover;
} */
}
@media (max-width: 768px) {
    .language {
        margin-left: 0;
        margin-top: 10px;
    }
    .navbar-brand {
        display: block;
    }
    .header {
        display: none;
    }
}

.hide-search {
    display: flex;
}
@media (min-width: 1023px) and (max-width: 1185px) {
    .hide-search {
        display: none;
    }
}
