@import url('https://fonts.googleapis.com/css2?family=Koulen&family=Moul&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans Khmer", sans-serif;
}
body{

    font-weight: bold;
    list-style-type: none;
}
div button span{
    display: none;
}
.nav{
    position: fixed;
    z-index: 999;
    background-color: rgb(118, 0, 0);
}

/* General Pagination Styling */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 0;
}
.pagination .page-link:focus{
    box-shadow: none;
}
/* Pagination Item Styling */
.pagination .page-item {
    border-radius: 50px; /* Rounded corners */
    margin: 0 8px; /* Space between items */
}
.pagination .page-item .page-link {
    background: none;

}


.pagination .page-link {
    border-radius: 50rem;
    padding: 4px 12px;
    outline: 0;
    border: 0px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;


}
/* .newImage{
    aspect-ratio: 3/2;
} */

.pagination .page-item.active .page-link {
    background-color: rgb(118, 0, 0);
    color: white;
    outline: none;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 50rem;
    padding: 4px 13px;
    margin: 0;
}
.pagination .page-item .page-link {
    color: rgb(126, 126, 126);
}







.navItems ul li a{
    font-family: "Moul", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
    color: rgb(255, 255, 255);
}
.showw{
    position: fixed;
    z-index: 999;
    background-color: rgb(118, 0, 0);
    color: white;
}
div a{
    text-decoration: none;
    color: white;
}
.category{
    aspect-ratio: 3/2;
}
.category-descrition{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1rem;
}
@font-face {
    font-family: 'Khmer OS Metalchrieng';
    src: url('KhmerOSMetalchrieng.woff2') format('woff2'),
        url('KhmerOSMetalchrieng.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.category-descrition-new{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.2rem;
}
.new-description{
    font-family: "Arimo", sans-serif;
    /* font-family: "Siemreap", serif; */
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.9rem;
}
.category-name{
    font-family: "Noto Sans Khmer", sans-serif;


}
.story{
    color: black;
    border-bottom: 1px solid red;
}
.title-categories{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.4rem;
}
.search-input{
    width: 90%;
    height: 10vh;
    font-size: 1.4rem;
}
.search-icon-nav{
    font-size: 1.4rem;
}
.search-icon{
    font-size: 1.4rem;
}
nav div div .ul-hover{
    display: flex;
    align-items: center;
    justify-content: center;
}
.ul-hover li{
    list-style-type: none;
}
.ul-hover li a{
    color: white;
}
.ul-hover li a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
}
.title-categories{

}
.description-categories{

    font-size: 1rem;

}
.button-show{
    border: none;
    background: none;
    position: absolute;
    top: 0;
    right: 0;
}
/* .offcanvas-body li{
    position: relative;
    transition: .3s;
}
.offcanvas-body li a{
    font-family: sans-serif;
    font-weight: bold;
    color: rgb(0, 0, 0);
}
.offcanvas-body li:hover{
    background-color: rgb(255, 0, 0);
    cursor: pointer;
}
.offcanvas-body li:hover a{
   color: white;
} */

.tamplate .txt .updates{
    font-size: 1.2rem;
    border-bottom: 1px solid red;

}
.off li{
    list-style-type: none;
}
.showw {
    z-index: 999;
    opacity: 1;
}
.tamplate{
    display: flex;
    align-items: flex-end;
    justify-self: center;
}
.button-show i{
    margin: 10px 20px;
    font-size: 2rem;
}
div .menubar{
    display: none;
}
div .menubar button{
    border: none;
    background: none;
}

@media screen and (max-width:1250px) {
    .ul-hover li{
        display: none;
    }
    div .menubar{
        display: block;
   }
}

@media screen and (max-width:1100px) {
    .ul-hover .ul-2{
        display: none;
    }
}
@media screen and (max-width:990px) {
    .ul-hover .ul-3{
        display: none;
    }
}
@media screen and (max-width:850px) {


}
@media screen and (max-width:799px) {
   div .menubar{
        display: block;
   }
}
@media screen and (max-width:1150px) {
    .img-fluid-1{
    font-size: 0.8rem;
   }
}
@media screen and (max-width:450px) {
    .footer-menu{
        font-size: 0.8rem;
    }
    .scrol-footer{
        font-size: 0.2rem;
    }
    .footer-aboutMIT{
        font-size: 0.8rem;
    }
    .footer-conent-end{
        font-size: 0.8rem;
    }
    .subscribe-hover{
        font-size: 0.8rem;
    }
    .education-footer-content-description{
        font-size: 0.8rem;
    }

}
.ul-hover li a{
    position: relative;
}
.ul-hover li a::after{
    content: "";
    position: absolute;
    background-color: rgb(255, 0, 0);
    height: 3px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}
.offcans-hover li a{
    position: relative;
    font-weight: bold;
    font-family: "Arimo", sans-serif;
}
.offcans-hover li a::after{
    content: "";
    position: absolute;
    background-color: red;
    height: 3px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s;

}
.offcans-hover li a:hover::after{
    width: 100%;
}
.ul-hover li a:hover:after{
    width: 100%;
}
.title-carousel{
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
}
.description-carousel{
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
}
.footer-carousel{
    border-bottom: 1px solid red;
}
.footer-carousel:hover{
    background-color: rgba(255, 0, 0, 0.543);
}
.link-carousel a{
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
}


/*============================================================================ bodey==========================================================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
/* .sider-footer{
    height: 20vh;
} */
.sider-search i{
    margin-top: 3vh;
    margin-left: 1vh;
    position: absolute;
}
.sider-footer ul{
    width: 100%;
    height: 3vh;
    position: relative;
    display: flex;
}
.sider-footer .massa:hover{
    text-decoration: underline;
}
.sider-menu div ul li{
    list-style-type: none;
}
.sider-menu div ul li a{
    color: black;
}
.sider-menu div ul li:hover{
    text-decoration: underline;
}
.sider-footer .menu{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.scrol-text .tamplate-text a{
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: underline;
}
.sider-footer ul li{
   list-style-type: none;
}
.sider-footer ul li a{
    font-size: 15px;
    text-decoration: underline;
}
.sider-footer ul li a:hover{
    color: red;
}
.sider-footer ul li a{
    border-bottom: 1px solid red;
}
.menu{
    width: 100%;
    height: 20vh;
}
.menu ul li a{
   color: black;
}
.scrol-down {
    width: 100%;
}
.scrol-down{
    width: 100%;
    top: 0;
    left: 0;
}
.education-text h5{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.4rem;
}
.education-text-footer{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.1rem;

}
.education-text{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1rem;
}
.contnet-title-txt h2{
    font-family: 'Khmer OS Metalchrieng';
    font-size: 1.5rem;
}
.category-title h3{
    font-family: "Bayon", sans-serif;
    font-size: 1.8rem;
}
.category-title h2{
    font-family: "Bayon", sans-serif;
    font-size: 1.8rem;
}
.category-title strong{
    font-family: "Noto Sans Khmer", sans-serif;
}

.tamplate-text{
    width: 100%;
}
.josth-us{
    width: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid red;
}
.josth-us i{
    margin-left: 11.5vh;
    margin-bottom: 4vh;
    position: absolute;
}
.tamplate .tamplate-text a{
    color: rgb(59, 56, 56);
}
.josth-us{
    padding: 1vh;
    position: relative;
}
.josth-us:hover{
    background-color: red;
    cursor: pointer;
    color: white;
}
.search-input{
    outline: none;
}
.search-category{
    width: 100%;
    min-height: 25vh;
    background-color: rgb(241, 241, 241);
}
@media screen and (max-width:2000px) {
    .spac-contetn{
        width: 96px;
    }
    .search-more{
        padding-left: 1.5rem;
        width: 90%;
    }
    .tamplate{
        height: 180px;
    }
    .footer-new-content-rac{
        font-size: 1rem;
    }
    .footer-menu{
        font-size: 1re,;
    }
    #sider-footer-menu{
        display: flex;
        align-self: start;
        flex-direction: column;
        justify-content: end;
        min-height: 33vh;
    }


    /* #results {
        display: none;
    } */

    div .search-icon{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .search-data-categoru{
        width: 40%;
    }


    .sider-box{
        text-align: start;
        height: 0;
        position: sticky;
        position: -webkit-sticky;
        top:10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        background-color: rgb(255, 255, 255,0.1);
    }
    .sider-menu{
        display: block;
    }
    .scrol-ul{
        display: flex;
    }
    /* .sider-menu, .menu-b,.josth-us,.sider-footer{
        display: none;
    }
    .twitter{
        display: none;
    } */
}
@media screen and (max-width:1400px) {
    .spac-contetn{
        width: 0;
    }

}

.link-search:hover{
    text-decoration: underline;
}
.date{
    font-family: "Battambang", serif;
    font-weight: 100;
    font-style: normal;
}
.link-h1{
    font-size: 1rem;
    font-weight: bold;
}
.siderbar-search{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.1rem;
}
.output-database-item{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.1rem;
}
.footer-title{
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.footer-description{
    display: flex;
    font-family: "Noto Sans Khmer", sans-serif;

    cursor: pointer;
}
.input-icon{
    font-family: "Noto Sans Khmer", sans-serif;
}
#searchInputCate{
    font-family: "Noto Sans Khmer", sans-serif;
}

@media screen and (max-width:991px) {
    .sider-footer{
        display: none;
    }

    .search-more{
        padding-left: 0rem;
        padding-right: 1.5rem;
        width: 100%;
    }
    .tamplate{
        height: auto;
    }
    .scrol-footer{
        height: auto;
    }
    .footer-new-content-rac{
        font-size: 0.8rem;
    }
    .about-footer-contetn{
        font-family: 0.8rem;
    }
    .education-text h5{
        font-family: "Noto Sans Khmer", sans-serif;
        font-size: 1.2rem;
    }
    .category-title h2{
        font-family: "Bayon", sans-serif;
        font-size: 1.5rem;
    }
    #sider-footer-menu{
        display: none;
        align-self: start;
        flex-direction: column;
        justify-content: end;
        min-height: 0vh;
    }

    .search-data-categoru{
        width: 70%;
    }
    .sider-box{
        padding-left: 2rem;
        height: 100%;
        padding-bottom: 2rem;
        padding-top: 2rem;
    }
    .siderbar-search{
        padding-left: 2rem;
    }
     .sider-menu{
        display: none;
        height: auto;
    }
    .sider-menu, .menu-b,.josth-us,.sider-footer{
        display: none;
        height: auto;
    }
    .twitter{
        display: none;
        height: auto;
    }
}
@media screen and (max-width:320px){
    .image-updates{
        display: none;
    }
    .tamplate{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .scrol-ul{
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width:400px){
   .footer-description{
    display: block;
   }
   .footer-menu-more-content{
    display: flex;
    gap: 2rem;
   }
}
/*--------------------------------------- content--------------------------------------------*/
.scrol-ul li{
    list-style-type: none;
}
.scrol-ul li a{
    position: relative;
}
.scrol-ul li a:hover{
    color: rgb(255, 0, 0);
}
.img-text-hover:hover{
    cursor: pointer;
    text-decoration: underline;

}
.subscribe-hover:hover{
    background-color: red;
    cursor: pointer;
}
.scrol-footer{
    height: 20vh;
    background-color: rgb(80, 0, 0);
    color: white;
}
.span-about:hover{
    color: red;
    cursor: pointer;
}

/*============================================================================================ footer ===============================================================*/
.show-footer div div ul li a{
    color: black;
}
.show-footer div div ul li a{
    color: black;
}
.footer-menu-mit .row div p{
    text-decoration: underline;
    cursor: pointer;
}
.footer-menu-mit .row div ul li a{
   border-bottom: 1px solid red;
}
.footer-menu-mit .row div ul li a:hover{
   color: red;
}
.paragrab:hover{
    cursor: pointer;
    text-decoration: underline;

}
.footer-box007:hover{
    background-color: red;
    color:white;
    cursor:pointer;
}
.footer-box-content:hover{
    background-color: red;
    color: rgb(255, 255, 255);
    cursor: pointer;
}
@media screen and (max-width:2500px){
    .home-footer{
        display: none;
    }

}
@media screen and (max-width:991px){
    .home-footer{
        display: block;
    }
    .footer-logo{
        display: none;
    }

}
@media screen and (max-width:360px){
    .screen-360{

        font-size: .9rem;
    }
}
.screen-360{
    font-family: "Noto Sans Khmer", sans-serif;
}
.archive{
    border-bottom: 1px solid red;
    cursor: pointer;
    display: inline-block;
    font-family: "Noto Sans Khmer", sans-serif;
}
.archive span:hover{
    color: red;
}
.category-title .title-all-category{
    border-top: 3px solid red;
    font-family: "Noto Sans Khmer", sans-serif;
}
.custom-border-top {
    display: inline-block;
    border-top: 2px solid rgba(82, 78, 78, 0.2);
}
/* .title-all-category{
    font-size: 1.9rem;
} */
.education-ul h5{
    /* font-family: "Noto Sans Khmer", sans-serif; */
    font-family: Arial, Helvetica, sans-serif;

    font-weight: bold;
}
/*-----------------------------------------------Enducation ----------------------------------------------*/
.education-footer{
    background-color: rgb(232, 227, 237);
}
.footer-menu div div p:hover{
    cursor: pointer;
    text-decoration: underline;
}
.education-footer li a{
    border-bottom: 1px solid red;
    color: black;
}
.education-footer li a:hover{
    color: red;
}
@media screen and (max-width:1550px) {
    .footer-menu-item{
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width:2000px) {
   .footer-menu-2{
        display: flex;
        justify-content: start;
   }
   .scrol-footer{
    height: 200px;
}
   .about-footer-contetn{
    font-family: 1rem;
}
   .education-footer-content-description{
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width:991px) {
    .education-footer-content-description{
        display: flex;
        justify-content: start;
    }

}
.ul-enducation-footer ul li a{
    list-style-type: none;
    color: black;
}
li{
    list-style-type: none;
}
.education-imgae  div div div div img{
    cursor: crosshair;
    position: relative;
}
.Education-sidebar{
    width: 100%;
    height: 100%;
}
.education-ul li a{
    color: black;
    border-bottom: 1px solid red;
}
.education-ul li  span{
    color: rgb(255, 0, 0);
}
.education-ul li a:hover{
    color: rgb(255, 0, 0);
}
.education-shcool{
    width: 20vh;
    border: 1px solid red;
}
.education-shcool:hover{
    cursor: pointer;
    background-color: red;
    color: white;
}
/*-------------------------------------------------news -------------------------------------------------*/
.news-4{
    font-family: sans-serif;
    font-weight: bold;
}
.news-p{
    font-weight: 300;
}
.carousel-control-prev span{
    color: black;
}
.news-hover-h4:hover{
   cursor: pointer;
   text-decoration: underline red;
   font-family: "Noto Sans Khmer", sans-serif;
   font-weight: bold;
}
  .news-hover-h4{
   cursor: pointer;
   font-family: "Noto Sans Khmer", sans-serif;
   font-weight: bold;
}

.input-hover:hover{
    background-color: red;
}
.new-ul li a{
    border-bottom: 1px solid red;
    font-size: 1.2rem;
    color: black;
}
.new-menu-description{
    font-family: 'Khmer OS Metalchrieng';
    font-size: 1rem;
}
.new-description{
    /* font-family: 'Khmer OS Metalchrieng'; */
    font-family: "Noto Sans Khmer", sans-serif;
    font-size: 1.5rem;
}
.category-descrition-new{
    font-family: "Noto Sans Khmer", sans-serif;

}
.new-ul li{
    font-size: 1.2rem;
    color: black;
}
.footer-menu-txt-category li {
    border-left: 1px solid black;
    padding-left: 1rem;
}

.carousel-text-h1{
    font-size: 2.5rem;
    font-family: 'Khmer OS Metalchrieng';
    font-family: Arial, Helvetica, sans-serif;
}
.carousel-text-p{
    font-size: 1.3rem;
    font-family: 'Khmer OS Metalchrieng';
    font-family: Arial, Helvetica, sans-serif;
}
.text-linke-carousel{
    font-size: 1.3rem;
    font-family: 'Khmer OS Metalchrieng';
    font-family: Arial, Helvetica, sans-serif;
}

.swiper {
    width: 100%;
    height: 60vh;
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
  }
.carsole-container{
    width: 400px;
    height: 500px;
    display: flex;
    position: relative;
    background-color: antiquewhite;
}
.carsole-1{
    width: 400px;
    padding: 15px 25px;
    background-color: red;
    position: absolute;
    left: 0px;
}
.carsole-2{
    width: 400px;
    padding: 15px 25px;
    background-color: red;
    position: absolute;
    left: 420px;
}
.carsole-3{
    width: 400px;
    padding: 15px 25px;
    background-color: red;
    position: absolute;
    left: 840px;
}
.icon-carosle{

    display: flex;
    align-items: end;
    justify-content: start;
}





















.new-ul li a:hover{
    background-color: red;
}
.ul-hover-4{
    border-bottom: 3px solid red;
    cursor:pointer;
}
.ul-hover-4:hover{
    color: red;
}
/*---------------------------------------------------------------- educartion  --------------------------------------*/
.img {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    /* aspect-ratio: 3/2; */
}
.img:hover {
    transform: scale(1.03);
    opacity: 0.5;
    cursor: crosshair;
}
.trel{
    width: 1.1vh;
    background-color: red;
    height: 1px;
}

















.search-category-navbar{
    width: 35%;
}
@media screen and (max-width:500px){
    .search-category-navbar{
        min-width: 100%;
        padding: 3rem;
    }
}
@media screen and (max-width:1200px){
    .search-category-navbar{
        min-width: 60%;
        padding: 3rem;
    }
}

@media screen and (max-width:991px){
    .search-category-navbar{
        min-width: 100%;
        padding: 3rem;
    }
    .title-all-category{
        font-size: 0.3rem;
    }
}
@media screen and (max-width:700px){
    #searchInput{
        max-width: 100%;
    }
}
