* {
    margin: 0;
    box-sizing: border-box;
}

html {
    height: 100%;

}

.container-fluid {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 61% !important;
    padding: 10px 0;
}

.header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.header .logo img {
    height: 120px;
}

.icon i {
    padding: 5px;
    background-color: #42592E;
    color: white;
    border-radius: 50%;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    width: 100%;
    height: 50px;
    background-color: #42592E;
}

.container {
    position: relative;
}

.menu ul {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 5px;

}

.menu ul li {
    list-style: none;
    height: 100%;
    padding: 10px;
    align-items: center;

    position: relative;
    display: inline-block;
}

.menu ul li i {
    font-size: 20px;
}

.menu ul li button {
    background-color: #435930;
    border: none;
    color: white;

}

.menu ul a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-weight: 100;
}

.menu ul {
    position: relative;
}

.menu ul li {
    align-items: center;
    justify-content: center;
    color: white;
    display: flex;

}

.menu-mobile {
    display: none;
}

.menu ul a li:hover {
    border-bottom: 3px solid rgb(255, 253, 253);
}

.hide {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

}

.menu ul ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    min-width: 150px;
    background-color: #435930;
    z-index: 999;
}

.menu ul ul li {
    width: 100% !important;
    padding: 15px;
}

.menu ul ul li i {
    position: absolute;
}

.hide {
    display: none;
}

.lastest {
    background-color: #42592E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 3px;
    margin: auto 0;
    margin-top: 10px;
}

.colspan-2 {
    height: 400px;
    grid-column: span 2;
    grid-row: span 2;
    overflow: hidden;
    position: relative;


}

.colspan-1 {
    height: 200px;
    overflow: hidden;
    position: relative;
    font-size: 10px;


}

.colspan-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.colspan-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.colspan-1 .text {


    z-index: 21;
}

.colspan-2:hover img {
    transform: scale(1.1);
    filter: blur(1px);

}

.blur {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 20;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.801));
}

.colspan-1:hover img {

    transform: scale(1.1);
    filter: blur(1px);
}

.content-grid .colspan-1 .text,
.content-grid .colspan-2 .text {
    position: absolute;
    z-index: 21;
    color: rgb(255, 255, 255);

    bottom: 10px;
    left: 10px;
}

.colspan-2 .title-box h4 {
    font-size: 18px;

}

.colspan-1 .title-box h4 {
    font-size: 12px;


}

.colspan-2 .text p {
    margin-top: 5px;
    font-size: 14px;

}

.colspan-1 .text p {

    font-size: 10px;

}

.text p,
.text h4,
.text h3 {
    margin: 0;
    padding: 0;
}

.comment {
    background-color: rgba(0, 0, 0, 0.603);
    height: auto;
    width: auto;
    z-index: 3;
    position: absolute;
    top: 0;
}

.comment i {
    height: 2%;
    color: white;
    padding: 5px;
}

.category-label {
    top: 0;
    right: 0;
    padding: 2px;
    position: absolute;
    background-color: #1B66E6;
    color: white;
    text-transform: uppercase;
    height: auto;
}

.type-label {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rebeccapurple;
}

.category-label p {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.all-news {
    width: 25%;
    border-radius: 10px;
    padding: 3px;
    border: 2px #136463 solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: 0.5s;
}

.allnews {
    color: black;
    text-decoration: none;
}

.all-news:hover {
    background-color: #42592E;
    color: white;
}

.content-by-category {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.content-by-category .popular {
    width: 33%;
}
.content-by-category .popular2 {
    width: 33%;
    padding: 0;
}
.content-by-category .in-brief {
    width: 33%;

}

.content-by-category .internal-news {
    width: 33%;
}

.label-category {
    padding: 5px;
    background-color: #42592E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-content a {
    margin: 10px 0px;
    width: 100%;
    height: 100px;
    display: flex;
    color: black;
    text-decoration: none;
    overflow: hidden;

}

.box-content a:hover img {
    filter: grayscale(10%);
    transform: scale(1.1);

}

.box-content a:hover {
    color: black;
    background-color: rgba(0, 0, 0, 0.041);
}

.img {
    width: 40%;
    height: 100%;
    overflow: hidden;
    
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.5s;
}

.text-content {
    padding: 5px 5px;
    width: 60%;
    height: 100px;
    font-size: 12px;
    font-weight: bold;

    position: relative;
}

.category-text {
    display: flex;

}

.category-text .stamp {
    font-size: 8px;
    border-radius: 2px;
    margin-right: 5px;
    padding: 2px;
    border: #1565C0 solid 1px;
    color: #1565C0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.text-content .date-text {
    position: absolute;
    bottom: 0;
    left: 8px;
    height: 20%;
}

.title-text span {
    padding: 1px;
    height: 59%;
    width: 100%;
    object-fit: cover;
    font-size: 12px;
}

.label-company {
    width: 100%;
}

.associated-company {
    width: 100%;
    background-color: #42592E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-top: 20px;
}

.logo-bottom {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.logo-bottom img {
    height: 100px;
    margin: 10px 20px;

}

.footer {
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;


}

.footer-detail {
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #F5F5F5;
}

.hr {
    padding-top: 30px;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #DBE8EB;
    background-color: #F5F5F5;
}

.all-footer {
    width: 100%;
    margin: 0 auto;

}

.embed {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embed .video {
    width: 100%;
    height: 600px;
}

.embed .video iframe {
    width: 100%;
    height: 100%;

}

/* SHOP */
.category {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 0;
    object-fit: cover;
}

.category span {
    position: absolute;
    bottom: 10px;
    left: 10%;
    z-index: 99;
    font-size: 23px;
    /* font-weight:700; */
    color: white;
    text-shadow: -1px -1px 10px rgb(32, 32, 32), 1px 1px 10px rgb(2, 2, 2);
    margin: 0;
    padding: 0;
}

.khmer {
    position: absolute;
    bottom: 10px;
    left: 10%;
    z-index: 99;
    font-size: 23px;
    /* font-weight: 0 !important; */
    color: white;
    text-shadow: -1px -1px 10px rgb(32, 32, 32), 1px 1px 10px rgb(2, 2, 2);
    margin: 0;
    padding: 0;
}

.category marquee {
    width: 90%;
    z-index: 99;
    margin: 0;
    padding: 5px 0;
    background-color: rgba(0, 0, 0, 0.192);
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    padding: 0;
    margin: 0;
}

.category .logo {
    width: 110px;
    height: 70px;
    position: absolute;
    bottom: 10px;
    left: 5px;
    z-index: 100;
}

.category .logo img {

    width: 100%;


}

/* Product */
.cont-fluid {
    background-color: rgb(233, 233, 233);
    min-height: 100%;
    padding-bottom: 50px;
}

.detail-product {
    margin-top: 0px;
    padding: 40px;
    height: 100%;
    background-color: white;
}

.detail-product h1 {
    line-height: 1.5; 
    font-size: 35px;
    margin-top: 10px;
}
.font-adjusted span {

    font-size: 20px;
     font-family: 'Noto Serif Khmer', serif !important;
} 
.font-adjusted p{
    font-size: 20px;
     font-family: 'Noto Serif Khmer', serif !important; 
}

.detail-product img {
    width: 100%;
}

.cont {
    background-color: #F5F5F5;
}

.description {
    padding-left: 0;
}
.description img {
    height: auto !important;
    width : 100% !important;
    
}
.description::first-line {
    padding-left: 20px;
}

.frame {
    width: 100%;
    height: auto;

}

.frame span {

    font-size: 24px;
    font-weight: bold;
}

.frame .box-video {

    /* background-color: #d3d3d3; */
    box-shadow: -1px -1px 30px rgba(0, 0, 0, 0.205), 1px 1px 30px rgba(0, 0, 0, 0.205);
    padding: 40px 20px;
}

.box-video .video {
    width: 80%;
    height: 500px;
    margin-top: 15px;
}

.box-video a {
    text-decoration: none;
}

.box-video hr {
    margin-bottom: 50px;
}

.frame .box-all-news {

    /* background-color: #d3d3d3; */
    box-shadow: -1px -1px 30px rgba(0, 0, 0, 0.205), 1px 1px 30px rgba(0, 0, 0, 0.205);
    padding: 5px 20px 20px 20px;
    position: relative;
}

.box-all-news span {
    font-size: 12px;
    padding: 0;
    margin: 0;
}

.box-all-news h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0 0 0;
    padding: 0;
}

.filter {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: right;
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
}

.filter ul {
    height: 100%;
    background-color: #42592E;
    padding: 0;
    margin: 0;
    list-style: none;
    border-radius: 5px;
    display: flex;
}

.filter ul li {
    padding: 5px;
    color: white;
    display: flex;
    flex-direction: column;
}

.filter-form select {
    background-color: #2C7641;
    color: white;
    border: none;
    border-radius: 5px;
}

.filter button {
    background-color: white;
    border-radius: 50%;
}

.row-news:hover img {
    transform: scale(1.1);
    transition: 0.5s;
}


.more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    border-radius: 10px;
    width: 15%;
    padding: 5px 8px;
    background-color: #42592E;
    color: white;
}

.outside-viewer {
    margin-top: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer {
    width: 80%;
}

.pagination {
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.pagination ul li {
    padding: 1px 5px;
    background-color: rgb(110, 112, 0);
    margin-right: 5px;
    color: rgb(0, 0, 0);
    border-radius: 3px;
    font-size: 12px;
}

.box-all-news a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.box-all-news a:hover {
    color: rgb(0, 0, 0);
}
.row-news{
    height: 250px;
}
.row-news .sub-box-all-news{
    width: 100%;
    height: 100%;
    margin-top: 10px;
}
.sub-box-all-news  .all-news-img{
    width: 100%;
    height: 60%;
    overflow: hidden;
}
.sub-box-all-news img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.all-news-text {
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 5px;
}

.green-btn {
    background-color: #000000 !important;
    color: white !important;
}
.detail-product2 {
    box-sizing: border-box;
    background-color: white;
}
.detail-product-relate{
    display: flex;
    justify-content: space-around;
}
.relate-box{
    width: 100%;
    height: 280px;
}
.relate-box img{
    width: 100%;
    height: 60%;
    object-fit: cover;
}
.text-detail-relate{
    width: 100%;
    height: 40%;
    padding: 15px 5px 20px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.detail-product-relate a{
    text-decoration: none;
    color: black;
}
.relate-box:hover img{
    
    box-shadow: -1px -1px 10px, 1px 1px 10px rgba(0, 0, 0, 0.151) ;
}
.relate-box:hover{
    transform: translateY(5px);
    color:  black;
    font-weight: bold;
}
@media print {
    .container {
        width: 100% !important;
        margin: 0;
        padding: 0; 
      }
    .footer-print {
      display: none !important;
    }
  }

/* Smart Phone */
@media (max-width: 767.98px) {

    .font-adjusted span {

        font-size: 15px;
         font-family: 'Noto Serif Khmer', serif !important;
    } 
    .font-adjusted p{
        font-size: 15px;
         font-family: 'Noto Serif Khmer', serif !important;
    }
    .detail-product-relate{
        font-size: 15px;
    }
    .container-fluid {
        padding: 0 !important;

    }

    .icon i {
        padding: 2px 5px;
        background-color: #42592E;
        color: white;
        border-radius: 50%;
    }

    .container {
        width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;

    }

    .menu {
        height: 30px;
        display: none;
    }

    .menu-mobile {
        display: block;

        display: flex;
        flex-direction: column;
    }

    .menu-mobile ul {
        display: flex;
        align-items: center;
    }

    .menu-mobile ul li {
        font-size: 12px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu ul li {
        list-style: none;
        height: 100%;
        padding: 5px !important;
        align-items: center;

        position: relative;
        display: inline-block;
    }

    .lastest {
        height: 30px;
        margin: 8px 0;
    }

    .title {
        margin: 10px 7px 0 7px;

    }

    .title h1 {
        padding: 0;
        margin: 0 !important;
        font-size: 20px !important;
    }

    .description {
        margin: 25px 7px 0 7px;
        font-size: 14px !important;
    }

    .associated-company {
        height: 30px;
    }

    .label-category {
        height: 30px;
    }

    .container {
        width: 100%;
        padding: 3px;
    }

    .container-fluid {
        padding: 0px !important;
    }

    .content-grid {

        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 5px;
    }
    .colspan-1{
        height: 200px !important;
        overflow: hidden;
    }
    .colspan-2 {
        height: 200px !important;
        grid-column: span 1;
        grid-row: span 1;
        position: relative;
        height: auto;
    }

    ul button {
        height: 100%;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
    }

    ul button i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 15px !important;
    }

    .content-by-category {
        display: flex;
        flex-direction: column;
    }

    .content-by-category .popular {
        min-width: 100% !important;
        height: auto !important;

    }

    .header {
        margin-top: 5px;
        display: flex;
        align-items: flex-start;
        justify-content: space-around;
    }

    .menu {
        width: 100%;

    }

    .menu ul a li {
        font-size: 15px;
    }

    .category {
        width: 100%;
    }

    .category img {
        width: 100%;
    }

    .category .logo {
        width: 50px;
        height: 30px;
    }

    .category .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .all-news {
        width: 60%;
    }

    .embed {
        width: 100%;
        background-color: #435930;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .embed .video {
        width: 100%;
        height: 250px;
    }

    .embed .video iframe {
        width: 100%;
        height: 100%;

    }

    .detail-product {
        margin-top: 1px;
        padding: 10px 0px;

    }

    .footer-detail h4 {
        font-size: 15px !important;
        font-weight: bold !important;
    }

    .logo a img {
        height: 80px !important;
    }

    .colspan-2:hover img {
        transform: scale(1.1);
        filter: blur(0px);
    }

    .colspan-1:hover img {

        transform: scale(1.1);
        filter: blur(0px);
    }

    .colspan-1 .title-box h4 {
        font-size: 18px;
    }

    .colspan-2 .title-box h4 {
        font-size: 18px;
    }

    .label-company img {
        height: 25px;
    }
    .box-video {
        padding: 0 5%;
    }
    .box-video .video {
        width: 80%;
        height: 500px;
        margin-top: 15px;
    }

    .box-video a {
        text-decoration: none;
    }

    .box-video .video {
        width: 100%;
        height: 250px;
        margin-top: 15px;
    }

    .box-video hr {
        margin-bottom: 30px;
    }

    .box-video span {
        font-size: 14px;
    }

    .box-video p {
        font-size: 12px;
    }

    .more {
        font-size: 12px;
    }

    .outside-viewer {
        margin-top: 10px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .viewer {
        width: 100%;
    }

    .viewer p {
        font-size: 12px;
        padding: 0;
        margin: 0;
    }

    .colspan-2 {
        height: auto;
    }

    .colspan-1 {
        height: auto;
    }

    .category span {
        font-size: 14px;
    }
    .category {
        height: 150px;
    }

    .col-4 {
        width: 100% !important;
    }
    .pagination ul a li{
        padding: 5px 10px;
    }
  
    .publish-date{
        margin: 0px 7px; 
        font-size: 12px;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {

    .container {
        width: 80% !important;
        padding: 0px !important;
        margin: 0 !important;

    }

    .content-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);


    }

    .all-news {
        width: 60%;
    }

    .content-by-category {
        display: flex;
        flex-direction: column;
    }

    .content-by-category .popular {
        min-width: 100% !important;
        height: auto !important;

    }

    .category-text .stamp {
        font-size: 10px;
        font-weight: bold;
        border-radius: 2px;
        margin-right: 5px;
        padding: 1px;
        border: #1565C0 solid 2px;
        color: #1565C0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .label-company img {
        height: 70px;
    }

    .box-video .video {

        height: 500px;
        margin-top: 15px;
    }
    .category {
        width: 100%;
        height: 250px;
    }
    
    .category span {
        font-size: 17px;
    }

    .img {
        width: 40%;
        height: 150px;
        overflow: hidden;

    }
    .relate-box{
        height: 240px;
        font-size: 14px;
    }
    .relate-box img{
        height: 50%;
    }
    .text-detail-relate{
        height: 50%;
    }
    .font-adjusted p, .font-adjusted span{
        font-size: 15px;
    }
    .detail-product-relate{
        font-size: 15px;
    }
    .menu{
        display: none;
    }
    .menu-mobile{
        display: block;
    }
    .language a img{
        height: 30px;
    }
    .row-news{
        height: 200px;
    }
    .sub-box-all-news  .all-news-img{
        width: 100%;
        height: 50%;
        overflow: hidden;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

}

@media (min-width: 1199.98px) and (max-width: 1399.98px) {
    .container {
        width: 84% !important;
        padding: 0px !important;
        margin: 0 !important;

    }
}
