@import url('https://fonts.googleapis.com/css2?family=Fasthand&family=Hanuman:wght@100;300;400;700;900&family=Noto+Serif+Khmer:wght@800&family=Poppins:wght@400;600;700;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');
:root {
  --border-color-grey: rgba(128, 128, 128, 0.442);
  --bg-card: #d4d4d440;
  --bg-sale: #3CB043;
  --color-green: #3CB043;
  --bg-hover-card: #bfc1be;
  --color-grey: rgba(128, 128, 128, 0.442);
  --bg-hover-card: #bfc1be;
  --bg-header: #F6F9F5;
  --overlay: rgba(0, 0, 0, 0.294);
  --navbar-tab: #FAFBFA;
  --purple-color :    #551A8B;

}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family:"Poppins", sans-serif  ,  "Fasthand", cursive;
}

.container {
  width: 1200px;
  margin: 0px auto;
}
.text-capitalize {
  text-transform: capitalize;
}
.fs-1 {
  font-size: 60px;
}
.fs-3 {
  font-size: 30px;
}
.fs-2 {
  font-size: 40px;
}
.fs-5 {
  font-size: 20px;
}
.fs-6 {
  font-size: 16px;
}
.text-muted {
  color: var(--border-color-grey);
}
.fw-bold {
  font-weight: 900;
}
.text-green {
  color: var(--color-green);
}
.text-grey {
  color: grey;
}
.text-white {
  color: white;
}
.pe-2 {
  padding-right: 20px;
}
.pe-3 {
  padding-right: 30px;
}
.pe-4 {
  padding-right: 40px;
}
.pe-5 {
  padding-right: 50px;
}
.pe-1 {
  padding-right: 10px;
}
.ps-1 {
  padding-left: 10px;
}
.ps-4 {
  padding-left: 40px;
}
.ps-3 {
  padding-left: 30px;
}
.ps-4 {
  padding-left: 40px;
}
.ps-2 {
  padding-left: 20px;
}
.px-1 {
  padding: 0px 10px;
}
.pt-3 {
  padding-top : 30px;
}
.pt-1 {
  padding-top: 10px;
}
.pt-2 {
  padding-top: 20px;
}
.p-1 {
  padding : 10px;
}
.p-2 {
  padding : 20px;
}
.pb-3 {
  padding-bottom: 30px;
}
.pt-3 {
  padding-top: 30px;
}
.pt-4 {
  padding-top: 40px;
}
.pt-5 {
  padding-top: 50px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-2 {
  margin-top: 20px;
}
.mb-1 {
  margin-bottom: 10px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}
.mb-2 {
  margin-bottom: 20px;
}
.px-2 {
  padding: 0px 20px;
}
.me-1 {
  margin-right: 10px;
}
.me-2 {
  margin-right: 20px;
}
.me-3 {
  margin-right: 30px;
}
.py-2 {
  padding: 20px 0px;
}
.text-gold {
  color: gold;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.col-12 {
  width: 100%;
}

.col-8 {
  width: 66.66%;
}
.col-3 {
  width: 25%;
}
.col-9 {
  width: 75%;
}
.col-4 {
  width: 33.33%;
}
.col-6 {
  width: 50%;
}

.col-2 {
  width: 20%;
}

.text-align-center {
  text-align: center;
}
.d-flex {
  display: flex;
}
.flex-direction-column {
  flex-direction: column;
}
.g-2 {
  gap: 20px;
}
 .align-item-start {
  align-items: start;
}
.align-item-center {
  align-items: center;
}
.align-item-end {
  align-items: end;
}
.text-decoration-none {
  text-decoration: none;
}
.justify-content-end {
  justify-content: end;
}
.justify-content-center {
  justify-content: center;
}
.justify-content-between {
  justify-content: space-between;
}


.navbar-tabs .navbar-link {
  text-decoration: none;
  color: black;
  border: 2px solid var(--border-color-grey);
  color: grey;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  cursor: pointer;
  font-size: 18px;
}



.navbar-tabs:hover .navbar-link {
  /* border: 2px solid var(--bg-sale); */
  transition: all 1.2s;
}
.navbar-tabs:hover .fa-angle-down {
  transform: rotate(180deg);
  transition: all 1.2s;
}
.navbar-tabs {
  position: relative;
  width: 260px;
}


.navbar-tabs .dropdown {
  display: block;
  position: absolute;
  top: 48px;
  display: none;
  border: 2px solid var(--border-color-grey);
  list-style-type: none;
  width: 100%;
  background: white;
  z-index: 1200;
}
.navbar-tabs .dropdown .dropdown-item .dropdown-link {
  text-decoration: none;
  display: block;
  padding: 10px;
  cursor: pointer;
  color: black;
}

.navbar-tabs .dropdown .dropdown-item:hover .dropdown-link {
  /* background: var(--grey); */
  background: var(--bg-card);
}
.navbar-tabs:hover .dropdown {
  display: block;
}
.card-technical {
    display: flex;
    flex-direction: column;
    width : 100%;
    height: 440px;
  border-radius: 2px;
    overflow: hidden;
}
.card-technical:hover {
  transform : scale(108%);
  transition: transform 0.4s;
  z-index: 20px;
}
.card-technical a {
  display: block;
  height:50% ;
}


.card-technical .video-card-trialer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}


.card-technical .video-card-trialer  .video,
.thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
 
}

.card-technical .video-card-trialer .video {
  display: none;
}

.card-technical .video-card-trialer.active {
  display: block;
}

.card-technical .video-card-trialer:hover .thumbnail {
  display: none;
}

.card-technical .video-card-trialer:hover .video {
  display: block;
  z-index: 1;
}
.card-technical .card-body-technical{
  height: 50%;
  display: flex;
  flex-direction: column;
  gap : 6px;
}
.card-technical .card-body-technical .card-date-technical {
  font-size: 14px;
  color: var(--color-grey);
}
.card-technical .card-body-technical .card-title-technical {
  font-size : 18px;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

}
.card-technical .card-body-technical .card-text-technical{
  font-size : 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-technical .card-body-technical .card-viewers {
  font-size : 12px ;
}
.card-technical .card-body-technical .card-viewers .dot-middle {
  margin: 0px 4px;
 font-size : 20px;
}
form .input-group {
  position: relative;
  width: 100%;
}
form .input-group .form-control::placeholder {
  font-size: 18px;
}
form .input-group .form-control {
  border: 2px solid var(--border-color-grey);
  color: grey;
  cursor: pointer;
  padding: 8px 10px;
  padding-right: 40px;
  outline: none;
  font-size: 18px;
  width: 100%;
}
form .input-group .icon-search {
  position: absolute;
  right: 10px;
  top: 15px;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: grey;
}

form .input-group .form-control:focus {
  border: 2px solid var(--color-green);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 20px;
  height: 300px;
  overflow: auto;
}
.sidebar-nav::-webkit-scrollbar {
  width: 7px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: var(--color-green);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.sidebar-nav  .text-title {
  font-size : 20px;
}

.sidebar-nav .sidebar-item .sidebar-link {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  color: inherit;
  font-weight: bold;
  transition: all 1.4s;
  padding-left  : 20px;
}
.sidebar-nav .sidebar-item .sidebar-link.active {
  color: var(--color-green);
}
.sidebar-nav .sidebar-item .sidebar-link i {
  font-size: 8px;
  color: var(--color-green);
}
.sidebar-nav .sidebar-item:hover .sidebar-link {
  color: var(--color-green);
}
.sidebar-nav .sidebar-item  .text-title i {
  font-size : 14px;
  margin-right : 6px;
}
/* .sidebar-nav .sidebar-item:hover i {
  font-weight: bold;
} */

.sidebar-nav .text-title {
  font-size  : 24px;
  font-weight: bold;
}
.sidebar-last-post {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 20px;
  padding-top: 10px;
}
.sidebar-last-post .sidebar-item .sidebar-link {
  display: flex;
  gap: 8px;
  align-items: start;
  text-decoration: none;
  font-size: 16px;
  color: inherit;
  font-weight: bold;
  transition: all 0.8s;
}
.sidebar-last-post .sidebar-item .sidebar-link:hover {
  color: var(--color-green);
}

.sidebar-last-post .sidebar-item .sidebar-link .sidebar-link-img {
  width: 40%;
}
.sidebar-last-post .sidebar-item .sidebar-link .sidebar-link-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-last-post
  .sidebar-item
  .sidebar-link
  .sidebar-link-img:hover
  img {
  transform: scale(90%);
  transition: all 0.8s;
}
.sidebar-last-post .text-title {
  font-size : 20px;
  /* font-weight: bold; */
}


.sidebar-last-post .sidebar-item .sidebar-link .sidebar-link-text {
  width: 60%;
  display: flex;
  flex-direction: column;
  color: inherit;
  /* background-color: red; */
  gap : 6px;
}
.sidebar-last-post .sidebar-item .sidebar-link .sidebar-link-text .text-info {
  font-weight: normal;
  font-size : 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-last-post .sidebar-item .sidebar-link .sidebar-link-text  .text-title{
  font-size : 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-last-post .sidebar-item .sidebar-link .sidebar-link-text .text-date {
  color :var(--color-grey);
  font-size : 14px;
  font-weight: normal;
  
}

.page-number {
  width: 100%;
  display: flex;
  gap: 30px;
 }
.page-number .order-page {
  text-decoration: none;
  padding: 10px 18px;
  font-size: 20px;
  color: inherit;
  border: 2px solid var(--border-color-grey);
  cursor: pointer;
}

.order-page.active {
  color: var(--grey);
  border: 2px solid var(--bg-sale);
  font-weight: bold;
}
.page-number .order-page:hover {
  border: 2px solid var(--bg-sale);
  color: var(--grey);
  font-weight: bold;
}
