/*
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Khmer:wght@100;200;300;400;500;600&display=swap');
*/
* {
    margin: 0;
}

body {
    font-family: 'Century Gothic', sans-serif;
}

head {
    font-family: 'Century Gothic', sans-serif;
}

footer {
    font-family: 'Century Gothic', sans-serif;
}


/*
body{
    font-family: 'Noto Sans Khmer', sans-serif;
}
head{
    font-family: 'Noto Sans Khmer', sans-serif;
}
footer{
    font-family: 'Noto Sans Khmer', sans-serif;
}
*/
.carousel-inner>.item {
    position: relative;
    display: none;
    -webkit-transition: 0.6s ease-in-out left;
    -moz-transition: 0.6s ease-in-out left;
    -o-transition: 0.6s ease-in-out left;
    transition: 0.6s ease-in-out left;
}

.purchase {
    color: #000;
    overflow-x: hidden;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.card {
    /** padding: 30px 40px;
    margin-top: 30px;
    margin-bottom: 60px;**/
    border: none !important;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2)
}

.card-form {
    padding: 30px 40px;
    margin-top: 30px;
    margin-bottom: 60px;
    border: none !important;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2)
}

.card-form-register {
    padding: 20px 20px;
    margin-top: 30px;
    margin-bottom: 60px;
    border: none !important;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2)
}

/** News Style**/
.card-news-big {
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none !important;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.card-news-sm {
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none !important;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.card-bg-green {
    background-color: rgb(2, 110, 31);
    padding: 10px;
}

.text-golden {
    color: goldenrod;
    text-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.text-title-kh {
    color: rgb(2, 110, 31);
    font-weight: 400;
    margin-top: 8px;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-family: 'Khmer OS Battambang', sans-serif !important;
}

.text-title {
    color: rgb(2, 110, 31);
    font-weight: 400;
    margin-top: 8px;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-family: 'Century Gothic', sans-serif !important;
}

.text-subtitle-kh {
    font-weight: 200;
    font-family: 'Khmer OS Battambang', sans-serif !important;
    text-shadow: 0 1px 2px rgba(36, 35, 35, 0.2);
}

.text-subtitle {
    color: #1a1b1a;
    font-weight: 200;
    font-family: 'Century Gothic', sans-serif !important;
    text-shadow: 0 1px 2px rgba(36, 35, 35, 0.2);
}

.news-pic {
    border-top-right-radius: 8px 8px;
    border-top-left-radius: 8px 8px;
}

.auto-fit {
    text-align: center;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.pic-4-news {
    position: relative;
    text-align: center;
    color: white;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-news {
    text-decoration: none;
    opacity: 0.9;
}

.btn-news:hover {
    opacity: 1.0;
    transition: 1s;
    box-shadow: 4px 8px 12px rgb(40, 38, 38);
}

.blue-text {
    color: #05783c;
}

.text-head-kh {
    color: #05783c;
    font-weight: 520;
    font-family: 'Khmer OS Battambang', sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.text-head {
    color: #05783c;
    font-weight: 520;
    font-family: 'Century Gothic', sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

.text-head-dark {
    color: #1a1b1a;
    font-weight: 520;
    font-family: 'Century Gothic', sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.text-align-middle {
    margin: auto 0;
    text-align: left;
}

.form-control-label {
    margin-bottom: 0
}

input,
textarea,
button {
    padding: 8px 15px;
    border-radius: 5px !important;
    margin: 5px 0px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    font-size: 18px !important;
    font-weight: 300
}

input:focus,
textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #00BCD4;
    outline-width: 0;
    font-weight: 400
}

.btn-block {
    text-transform: uppercase;
    font-size: 15px !important;
    font-weight: 400;
    height: 43px;
    cursor: pointer
}

.btn-block:hover {
    color: #fff !important
}

button:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline-width: 0
}

.title-top-10 {
    margin-top: 16px;
    color: goldenrod;
    font-weight: 600;
    text-shadow: 1px 1px black;
}

.form-subtitle {
    color: #05783c;
    font-family: 500;
    text-shadow: 0.5px 0.5px gray;
}


/* News */
.news-container {
    position: relative;
    overflow: hidden;
    height: 320px;
    border-radius: 0px;
    background-color: #000;
}

.news-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.5);
    opacity: 0.1;
    transition: opacity 1s ease;
    z-index: 1;
}

.news-content {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    top: 85%;
    transform: translateY(-50%);
    transition: all 1s ease;
}

.news-content p.text-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
}

.news-container:hover .news-overlay {
    opacity: 1;
}

.news-container:hover .news-content {
    top: 50%;
}

/** Warehouse **/
.warehouse-item {
    position: relative;
    overflow: hidden;
    border: 1px solid green;
    background-color: #000;
}

.warehouse-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1s ease;
}

.warehouse-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 128, 0, 0.5);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    padding: 15px;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 2;
}

.warehouse-item:hover .warehouse-caption {
    opacity: 1;
}

.warehouse-item:hover img {
    transform: scale(1.1);
}

/* Loading Activity */
.loading-activity-item {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.loading-activity-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transform: scale(1.1);
    transition: transform 1s ease-in-out;
}

.g-0>[class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.loading-activity-item:hover img {
    transform: scale(1.2);
}

/** Load video activity **/
.loading-video-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #000;
}

.loading-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1s ease-in-out;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background-color 1s ease;
}

.video-text {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.loading-video-container:hover video {
    transform: scale(1);
}

.loading-video-container:hover .video-overlay {
    background-color: rgba(0, 0, 0, 0);
}

/* News List style */
.badge.bg-danger {
    font-size: 0.75rem;
    z-index: 10;
}

.row.border-bottom:last-child {
    border-bottom: none !important;
}

.row.position-relative:hover {
    cursor: pointer;
}

.row.position-relative .image-fluid:hover {
    transform: scale(1.1);
}

/* News picture layout */
.news-container {
    position: relative;
    overflow: hidden;
    display: block;
    height: 100%;
    min-height: 400px;
}

.grid-small {
    min-height: 196px;
}

.object-fit-cover {
    object-fit: cover;
    object-position: center;
}

.news-pic {
    transition: transform 0.5s ease;
}

.news-container:hover .news-pic {
    transform: scale(1.1);
}

/** News Details **/
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-lift {
    transition: transform 0.2s;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.news-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Report picture layout */
:root {
    --report-grid-height: 500px;
    --report-gap: 0.5rem;
}

.report-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 4px;
    transition: transform 1s ease;
}

.report-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.report-card.tall {
    height: var(--report-grid-height);
}

.report-card.square {
    height: calc((var(--report-grid-height) - var(--report-gap)) / 2);
}

.report-card img {
    transition: transform 1s ease;
}

.report-link:hover .report-card img {
    transform: scale(1.1);
}

@media (max-width: 991.98px) {

    .report-card.tall,
    .report-card.square {
        height: 300px;
    }
}

/* About */
.history {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.35s ease,
        color 0.35s ease;
    will-change: transform;
}

.history:hover {
    background-color: #d3d5d3;
    color: #000000 !important;
    transform: scale(1.03);
    position: relative;
    z-index: 5;
}

/* Report Page - Slide-shows */
.carousel-container-report {
    max-width: 100%;
    margin: 0px auto;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.carousel-item-report img {
    height: auto;
    object-fit: cover;
}

.carousel-indicators-report {
    margin-bottom: 25px;
    /* Adjust height position from the bottom */
    gap: 12px;
    /* Gap between the indicators */
}

.carousel-indicators-report [data-bs-target] {
    width: 45px;
    height: 6px;
    border: none;
    background-color: #0b7543;
    opacity: 0.4;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.carousel-indicators-report .active {
    opacity: 1;
    background-color: #429d6d;
}