@charset "UTF-8";
/*!
 * Cổng thông tin làng thông minh v1.0.0
 */
.header-banner {
  background-color: #FAFAFA;
  display: flex;
  justify-content: center;
  min-height: 1px;
}

@media screen and (max-width: 720px) {
  .header-banner {
    padding: 0;
  }
}
.background-sticky {
  display: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
  -webkit-animation: dropdown 0.6s;
          animation: dropdown 0.6s;
}

.dropdown-item:hover {
  border-left: 4px solid #28A745;
  background-color: #ECF8F2;
}

.dropdown-item {
  padding: 10px 5px;
}

.navbar {
  padding: 0;
}

#navbar-custom {
  position: relative;
}
#navbar-custom:after {
  content: "";
  display: block;
  border-bottom: 2px solid #DEDEDE;
  position: absolute;
  width: 100%;
  bottom: -1rem;
}

.nav-item {
  position: relative;
  margin: 0 0.5rem;
}
.nav-item:before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 2px;
  width: 0;
  border-bottom: 2px solid #008E5B;
  transition: all 0.2s ease-in-out;
}
.nav-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 10px;
}
.nav-item:hover:before {
  width: 50%;
}
.nav-item.active:before {
  width: 70%;
}
.nav-item.active .nav-link {
  color: #008E5B;
}

@media screen and (max-width: 700px) {
  .logoLTM {
    height: 42px;
  }

  #navbar-custom {
    position: relative;
  }
  #navbar-custom:after {
    bottom: 0;
  }
}
@-webkit-keyframes dropdown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dropdown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
#footer {
  background: #008757;
}
#footer .social-icons {
  display: flex;
}
#footer .social-icon {
  width: 36px;
  height: 36px;
  background: #0257bd;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
}
#footer .social-icon .fa, #footer .social-icon .far, #footer .social-icon .fab {
  color: white;
}
#footer .app-download {
  margin: 10px 0;
}
#footer .app-download img {
  width: 150px;
  height: 50px;
}
#footer p {
  word-break: break-word;
}

.footer-end {
  border-top: 1px solid #ffff;
  color: #ffff;
  font-size: 1rem;
}

/*
* Homepage
*/
#section-banner {
  position: relative;
}
#section-banner .banner-image {
  z-index: 1;
  width: 100%;
  height: 20vw;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#section-banner .banner-layer {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 104, 67, 0.75);
}
#section-banner .banner-title {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
}

#section-latest {
  padding: 1.5rem 0;
  background: #F9FAFA;
}
#section-latest .article-thumbnail {
  width: 100%;
}
#section-latest .feature-article {
  position: relative;
}
#section-latest .feature-article:after {
  content: "";
  position: absolute;
  display: block;
  right: -0.5rem;
  height: 100%;
  top: 0;
  border-right: 1px solid #D5DDDA;
}
@media screen and (max-width: 977px) {
  #section-latest .feature-article:after {
    display: none;
  }
}
#section-latest .small-article {
  display: flex;
}
#section-latest .small-article .small-article-dot {
  margin-top: 5px;
  color: #B9C6C1;
  font-size: 8px;
  margin-right: 0.5rem;
}
#section-latest .small-article .small-article-title {
  font-weight: 600;
}

.title {
  background-color: #008757;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 5px;
  padding-bottom: 5px;
  height: 30px;
}
.title h5 {
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  margin-left: 10px;
  margin-bottom: 0 !important;
}
.title a {
  font-size: 14px;
  color: #fff;
  margin-right: 20px;
}
@media screen and (max-width: 378px) {
  .title h5 {
    font-size: 0.85rem;
  }
  .title a {
    font-size: 13px;
  }
}

.main-banner .banner-image {
  width: 100%;
  height: 30vw;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
}
.main-banner .above-fold {
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}
.main-banner .hero-section {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  z-index: -1;
}
.main-banner .hero-section img {
  position: absolute;
  opacity: 0.45;
  margin: auto;
  width: 150%;
  top: -25%;
  right: -25%;
  bottom: -25%;
  left: -25%;
}

#section-highlight-products {
  background: #f9fafa;
  padding: 1.5rem 0;
}
#section-highlight-products .item-product {
  border: 1px solid #008757;
  background-color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  height: 320px;
  overflow: hidden;
}
#section-highlight-products .item-product .product-thumbnail {
  width: 100%;
  height: 60%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#section-highlight-products .item-product .content {
  padding: 0.8rem 1.5rem;
  height: 40%;
}
#section-highlight-products .item-product .content h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}
#section-highlight-products .item-product .content span {
  font-size: 15px;
}
#section-highlight-products .item-product .style-content:not(:first-child) {
  display: none;
}
#section-highlight-products .item-product .style-content p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
#section-highlight-products .item-product .style-content p:not(:first-child) {
  display: none;
}
#section-highlight-products .item-product:hover {
  box-shadow: 3px 3px 15px 0px rgba(82, 82, 82, 0.55);
  transform: translate(-5px, -5px);
  transition: 0.4s;
}
#section-highlight-products .item-product:hover h5 a {
  color: #008757;
}

.section-products .content {
  font-weight: 700;
  font-size: 16px;
}

.hover-effect .content {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  z-index: 1;
  opacity: 0;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.hover-effect .item:hover .overlay {
  left: -10px;
  top: -10px;
}

.hover-effect .item:hover .overlay:before {
  opacity: 0.8;
}

.hover-effect .item:hover .content {
  opacity: 0.8;
}

.hover-effect {
  text-align: center;
}

.hover-effect .item {
  background: #95e1d3;
  display: inline-block;
  width: 100%;
  height: 174px;
}

.hover-effect .item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hover-effect .item .overlay {
  height: 100%;
  display: block;
  position: relative;
  left: 0;
  top: 0;
  transition: all 0.3s ease-in-out;
}

.hover-effect .item .overlay:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  background: rgba(243, 129, 129, 0.9);
  background: linear-gradient(to bottom, rgba(243, 129, 129, 0.9), rgba(252, 227, 138, 0.9));
}

#section-video {
  padding: 1.5rem 0;
}
#section-video .feature-video iframe {
  width: 100%;
  height: 420px;
}
#section-video .small-video {
  margin-bottom: 1rem;
}
#section-video .small-video iframe {
  width: 100%;
  height: 200px;
}
#section-video .small-video h6 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* number of lines to show */
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

#section-highlight-manufactures {
  background: #F9FAFA;
  padding: 1.5rem 0;
}
#section-highlight-manufactures .item-manufacture {
  position: relative;
  background-color: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  height: 360px;
  cursor: pointer;
}
#section-highlight-manufactures .item-manufacture .top, #section-highlight-manufactures .item-manufacture .right, #section-highlight-manufactures .item-manufacture .bottom, #section-highlight-manufactures .item-manufacture .left {
  position: absolute;
  background-color: #09d73c;
  transition: all 0.2s linear;
}
#section-highlight-manufactures .item-manufacture .top {
  width: 0;
  height: 2px;
  top: -2px;
  left: 0;
}
#section-highlight-manufactures .item-manufacture .right {
  width: 2px;
  height: 0;
  top: 0;
  right: -2px;
  transition-delay: 0.3s;
}
#section-highlight-manufactures .item-manufacture .bottom {
  width: 0;
  height: 2px;
  bottom: -2px;
  right: 0;
  transition-delay: 0.6s;
}
#section-highlight-manufactures .item-manufacture .left {
  width: 2px;
  height: 0;
  bottom: 0;
  left: -2px;
  transition-delay: 0.9s;
}
#section-highlight-manufactures .item-manufacture .content {
  padding: 25px;
  height: 50%;
}
#section-highlight-manufactures .item-manufacture .manufacture-thumbnail {
  width: 100%;
  height: 55%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  margin-bottom: 0.5rem;
}
#section-highlight-manufactures .item-manufacture:hover .top, #section-highlight-manufactures .item-manufacture:hover .bottom {
  width: 100%;
}
#section-highlight-manufactures .item-manufacture:hover .left, #section-highlight-manufactures .item-manufacture:hover .right {
  height: 100%;
}
@media screen and (max-width: 768px) {
  #section-highlight-manufactures .item-manufacture {
    height: 280px;
  }
  #section-highlight-manufactures .item-manufacture .content {
    padding: 10px;
  }
}

.news {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}
.news h5 {
  font-weight: 600;
}
.news img {
  width: 100%;
  height: 100%;
}
.news:hover .news-content {
  cursor: pointer;
  background-color: rgba(41, 53, 61, 0.4);
  transform: translateY(-10px);
  transition: all 0.2s linear;
}
.news a {
  color: #fff;
}
.news .news-content {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  padding: 20px 10px;
}
.news .news-content h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news .news-content span {
  color: #E0E0E0;
}
.news-1 {
  padding-right: 5px;
}
.news-3 {
  padding-right: 2.5px;
}
.news-4 {
  padding-left: 2.5px;
}
.news-right-wrapper {
  padding-left: 5px;
}

.news-left {
  height: 500px;
}
.news-left .news-content h5 {
  font-size: 1.2rem;
}

.news-right {
  height: 247.5px;
}
.news-right .news-content h5 {
  font-size: 1.1rem;
}

@media screen and (width: 992px) {
  .news-4 {
    display: block !important;
  }
}
@media screen and (max-width: 992px) {
  .news-left {
    height: 400px;
  }
  .news-left .news-content h5 {
    font-size: 1.1rem;
  }
  .news-left .news-content span {
    font-size: 0.85rem;
  }

  .news-right {
    height: 197.5px;
  }
  .news-right .news-content h5 {
    font-size: 1rem;
  }
  .news-right .news-content span {
    font-size: 0.75rem;
  }

  .news-3 {
    padding-right: 15px !important;
  }

  .news-4 {
    display: none;
  }

  .news-wrapper .col-md-0 {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .news-1 {
    padding-right: 15px;
  }

  .news-left {
    height: 250px;
  }

  .news-1 + .col-md-12 {
    padding-left: 15px;
  }

  .news-right-wrapper {
    margin-top: 5px;
    padding-left: 15px;
  }

  .news-2 {
    padding-right: 0px;
  }
  .news-2 + .col-6 {
    margin-top: 0 !important;
    padding-left: 5px;
  }

  .news-3 {
    padding-right: 15px !important;
  }
}
@media screen and (max-width: 576px) {
  .news-left {
    height: 200px;
  }

  .news-content h5 {
    font-size: 0.92rem !important;
  }
  .news-content span {
    font-size: 0.8rem;
  }
}
.information-left {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  height: 400px;
  max-height: 400px;
  background-color: #fff;
}
.information-left img {
  width: 100%;
  height: 66.66666666%;
  max-height: 66.66666666%;
  -o-object-fit: cover;
     object-fit: cover;
}
.information-left .content a {
  height: 33.33333333%;
  padding: 0 10px;
}
.information-left .content span {
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #b3b3b3;
}
.information-left .content h5 {
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #222222;
  margin: 0.5rem 0;
}
.information-left .content p {
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #686868;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0 !important;
}

.information-left a, .information-right a {
  display: block;
  height: 100%;
}

.information-right {
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  height: 128px;
  display: flex;
}
.information-right a {
  width: 50%;
}
.information-right .information-thumbnail {
  width: 50%;
}
.information-right .information-thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.information-right .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  height: 100%;
}
.information-right .content h5 {
  padding: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 15px;
  font-weight: 550;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.information-right .content span {
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: #b3b3b3;
}

.information-left,
.information-right {
  overflow: hidden;
}
.information-left:hover h5,
.information-right:hover h5 {
  color: #008757;
}

@media only screen and (max-width: 1200px) {
  .information-left {
    max-height: 350px;
  }
  .information-left img {
    height: 60%;
  }
  .information-left .content span {
    font-size: 13px;
  }
  .information-left .content h5 {
    font-size: 17px;
    line-height: 20px;
  }
  .information-left .content p {
    font-size: 15px;
    line-height: 18px;
  }

  .information-right {
    height: 111.3333333333px;
  }
  .information-right .content h5 {
    font-size: 14px;
    line-height: 16px;
  }
  .information-right .content {
    padding: 5px;
  }
  .information-right .content span {
    font-size: 12px;
    line-height: 20px;
  }
}
@media screen and (width: 1200px) {
  .information-left {
    max-height: 440px;
  }

  .information-right {
    height: 141.3333333333px;
  }
}
@media screen and (max-width: 768px) {
  .information-right .content h5 {
    font-size: 13px;
    line-height: 16px;
  }
  .information-right .content span {
    font-size: 11px;
    line-height: 18px;
  }
}
@media screen and (max-width: 576px) {
  .info-article1 {
    padding-right: 15px !important;
  }

  .info-article1 + div {
    margin-top: 10px;
    padding-left: 15px !important;
  }

  .information-right {
    flex-direction: column;
    max-height: 180px;
    height: 180px;
  }
  .information-right .information-thumbnail {
    height: 45%;
    width: 100%;
  }
  .information-right a {
    width: 100%;
  }

  .info-article3 {
    margin: 0 !important;
    padding: 0 10px !important;
  }

  .info-article2 {
    padding-right: 5px !important;
  }

  .info-article4 {
    padding-left: 5px !important;
  }
}
@media screen and (max-width: 500px) {
  .information-right .information-thumbnail img {
    height: 80px;
  }
}
.agriculture {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  height: 400px;
  max-height: 450px;
  background-color: #fff;
}
.agriculture h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.agriculture-article-left {
  padding-right: 5px;
}
.agriculture-article-right {
  padding-left: 5px;
}
.agriculture img {
  width: 100%;
  height: 68%;
  -o-object-fit: cover;
     object-fit: cover;
}
.agriculture .content {
  height: 150px;
  padding: 10px;
}
.agriculture .content:hover h5 {
  color: #008757;
}
.agriculture .content h5 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 10px 0;
}
.agriculture .content span {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #b3b3b3;
}
.agriculture .content p {
  font-size: 16px;
  line-height: 19px;
  color: #686868;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.agriculture .content article p:not(:first-child) {
  display: none;
}
.agriculture .content article span {
  color: #686868 !important;
  font-size: 16px;
}

.agriculture-right span {
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #222222;
}
.agriculture-right h5 {
  color: #222222;
}
.agriculture-right:hover h5 {
  color: #008757;
}

.li-list {
  display: flex;
  gap: 5px;
}
.li-item {
  width: 30%;
}
.li-item img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (max-width: 992px) {
  .agriculture {
    height: 350px;
  }
  .agriculture img {
    height: 50%;
  }
  .agriculture .content span {
    font-size: 13px;
  }
  .agriculture .content h5 {
    font-size: 20px;
  }
  .agriculture .content p {
    font-size: 15px;
    line-height: 18px;
  }
}
@media screen and (max-width: 576px) {
  .agriculture-article-left, .agriculture-article-right {
    padding: 0 15px !important;
  }
  .agriculture .content h5 {
    font-size: 18px;
  }
  .agriculture .content p {
    font-size: 14px;
  }
  .agriculture-article-right {
    margin-top: 10px;
  }
}
.procedures {
  background-color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.procedures img {
  width: 100%;
  height: 266px;
  -o-object-fit: cover;
     object-fit: cover;
}
.procedures h5 {
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
  color: #222222;
  margin: 20px 0;
}
.procedures .content {
  padding: 10px;
}
.procedures .content span {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #b3b3b3;
}
.procedures .content h5 {
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  margin: 3rem 0;
}
.procedures .content article p {
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #686868;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.procedures .content article p:not(:first-child) {
  display: none;
}
.procedures .content:hover h5 {
  color: #008757;
}
.procedures .seen {
  display: block;
  width: 100%;
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  text-align: right;
  color: #008757;
  padding: 0 15px 15px 0;
}
.procedures-list {
  list-style: none;
  padding: 0 15px;
}
.procedures-item {
  border-top: 2px solid #d9d9d9;
}
.procedures-item h5 {
  font-size: 16px;
  margin: 10px 0 !important;
}
.procedures-item:hover h5 {
  color: #008757;
}

@media screen and (max-width: 1200px) {
  .procedures img {
    height: 231px;
  }
}
@media screen and (width: 1200px) {
  .procedures img {
    height: 293px;
  }
}
#detail {
  padding: 0 1rem;
}
#detail h1 {
  font-weight: 600;
  font-size: 2rem;
}
#detail article {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  #detail .row > .col-lg-8:first-child h1 {
    font-size: 1.6rem;
  }
}

.slider {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.agriculture-article {
  position: relative;
}
.agriculture-article-list {
  position: absolute;
  display: flex;
  top: 0;
  bottom: 0;
  gap: 10px;
  transition: all 0.8s linear;
}
.agriculture-article-item img {
  width: 281.11px;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

.next-btn {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 99;
  background: unset;
  border: none;
}
.next-btn i {
  font-size: 25px;
  color: #ffff;
}

.pre-btn {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  z-index: 99;
  background: unset;
  border: none;
}
.pre-btn i {
  font-size: 25px;
  color: #ffff;
}

/*
* Category
*/
#section-breadcrumb {
  background-color: #008757;
  padding: 0 15px;
  height: 32px;
  line-height: 32px;
  margin: 25px 0 10px;
}
#section-breadcrumb .root-breadcrumb {
  color: #fff;
}
#section-breadcrumb .root-breadcrumb a {
  color: #fff;
}
#section-breadcrumb .item-breadcrumb {
  color: #fff;
}
#section-breadcrumb .form-search-products .search-button:hover {
  cursor: pointer;
  background: #1c7430;
  color: #FFFFFF;
}

@media screen and (max-width: 420px) {
  #section-breadcrumb {
    display: none;
  }
}
#section-category-articles h5 {
  font-weight: 600;
}
#section-category-articles a {
  height: 100%;
  display: block;
}
#section-category-articles .article-thumbnail {
  width: 100%;
  height: 70%;
}
#section-category-articles .media-body {
  height: 30%;
}
#section-category-articles p, #section-category-articles h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
#section-category-articles .first-article {
  height: 500px;
}
#section-category-articles .first-article .media-body {
  padding: 10px;
}
#section-category-articles .second-article, #section-category-articles .three-article {
  height: 250px;
}
#section-category-articles .second-article h5, #section-category-articles .three-article h5 {
  padding-top: 10px;
  font-size: 1rem;
  margin: 10px 0;
}
#section-category-articles .first-article:hover h5, #section-category-articles .second-article:hover h5, #section-category-articles .three-article:hover h5 {
  color: #008757;
}
#section-category-articles .article-item {
  padding: 20px 0;
  display: flex;
  height: 200px;
  width: 66%;
  border-top: 1px solid #D9D9D9;
}
#section-category-articles .article-item a {
  display: flex;
}
#section-category-articles .article-item .article-thumbnail {
  width: 300px;
  height: 100%;
}
#section-category-articles .article-item .media-body {
  height: 100%;
}
#section-category-articles .article-item .media-body p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
#section-category-articles .article-item:hover h5 {
  color: #008757;
}

.article-slider {
  overflow: auto;
  scroll-behavior: smooth;
  -ms-scroll-snap-type: both;
      scroll-snap-type: both;
  position: relative;
}
.article-slider::-webkit-scrollbar {
  display: none;
}
.article-slider .slider-container {
  width: 0;
}
.article-slider-img {
  width: 100%;
  height: 60%;
}
.article-slider-img img {
  height: 100%;
}
.article-slider-title {
  height: 40%;
  padding-top: 10px;
}
.article-slider-title h5 {
  font-size: 17px;
}
.article-slider-item {
  scroll-snap-align: start;
  float: left;
  height: 100%;
}
.article-slider-item:first-child {
  padding-right: 10px;
}
.article-slider-item:last-child {
  padding-left: 10px;
}
.article-slider-item:not(:first-child), .article-slider-item:not(:last-child) {
  padding: 0 5px;
}

.slider-container {
  height: 300px;
}

.dots {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
}
.dots div {
  cursor: pointer;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D9D9D9;
}
.dots div.active {
  background-color: #008757;
}

.button-control .button {
  cursor: pointer;
  width: 25px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #ffff;
  border: none;
  background: rgba(41, 53, 61, 0.8);
}
.button-control .button:hover {
  background-color: #008757;
}
.button-control .prev-button {
  left: 30px;
}
.button-control .next-button {
  right: 30px;
}

@media screen and (max-width: 992px) {
  .article-item {
    width: 100% !important;
  }
  .article-item p {
    padding-right: 0 !important;
  }

  .article-slider-title h5 {
    font-size: 1.1rem;
  }

  .first-article p {
    padding-right: 0 !important;
  }
}
@media screen and (max-width: 768px) {
  #section-category-articles .first-article {
    height: 300px;
    margin-bottom: 80px;
  }
  #section-category-articles .article-item h5 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
@media screen and (max-width: 576px) {
  #section-category-articles .article-item {
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    height: 150px;
    border: none;
    margin-bottom: 30px;
  }
  #section-category-articles .article-item .article-thumbnail {
    width: 50% !important;
  }
  #section-category-articles .article-item h5 {
    font-size: 1rem;
    margin: 5px 0 10px !important;
  }
  #section-category-articles .article-item p {
    font-size: 0.9rem;
  }
  #section-category-articles .first-article h5 {
    margin: 10px 0 !important;
  }
}
/*
* Product
*/
#product-detail {
  margin-top: 30px;
  padding-bottom: 2rem;
  /* The Transformation */
  /* animation */
  /* Make sure z-index is higher on hover */
  /* Ensure that hover image overlapped the others */
  /* Image is position nicely under li */
}
#product-detail .product-thumbnail {
  width: 100%;
  height: 350px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
#product-detail .item-related-product {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  height: 280px;
  border-radius: 6px;
  overflow: hidden;
}
#product-detail .item-related-product .product-description {
  padding: 15px 10px 10px;
  height: 50%;
}
#product-detail .item-related-product .product-description h5, #product-detail .item-related-product .product-description span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
#product-detail .item-related-product .product-description span {
  font-size: 15px;
}
#product-detail .item-related-product .product-thumbnail {
  width: 100%;
  height: 50%;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 0.5rem;
}
#product-detail .item-related-product:hover .product-thumbnail {
  -webkit-animation: scaleImage 0.6s forwards;
          animation: scaleImage 0.6s forwards;
}
#product-detail .item-related-product:hover .product-description {
  position: absolute;
  padding: 0 25px 0 10px;
  bottom: 0;
}
#product-detail .item-related-product:hover .product-description h5, #product-detail .item-related-product:hover .product-description span, #product-detail .item-related-product:hover .product-description i {
  background-color: transparent !important;
  color: black !important;
}
#product-detail #carouselInterval {
  height: 450px;
}
#product-detail #carouselInterval .carousel-inner {
  height: 100%;
}
#product-detail #carouselInterval img {
  height: 100%;
}
#product-detail .img-hover-zoom--zoom-n-rotate img {
  transition: transform 0.5s ease-in-out;
}
#product-detail .img-hover-zoom--zoom-n-rotate:hover img {
  transform: scale(1.1) rotate(0.1deg);
}
#product-detail div.gallery {
  margin-top: 5px;
}
#product-detail div.gallery ul {
  list-style-type: none;
}
#product-detail div.gallery ul li, #product-detail div.gallery li img {
  transition: all 0.1s ease-in-out;
}
#product-detail div.gallery ul li {
  position: relative;
  float: left;
  width: 105px;
  height: 105px;
  margin: 5px;
  padding: 5px;
  z-index: 0;
}
#product-detail div.gallery ul li:hover {
  z-index: 5;
}
#product-detail div.gallery ul li:nth-child(1) {
  display: none !important;
}
#product-detail div.gallery ul li img {
  position: absolute;
  left: -46px;
  top: -10px;
  border: 1px solid #dddddd;
  padding: 2px;
  width: 100px;
  height: 100px;
  background: #f0f0f0;
}
#product-detail div.gallery ul li img:hover {
  width: 180px;
  height: 180px;
  margin-top: -130px;
  margin-left: -130px;
  top: 65%;
  left: 65%;
}
@media screen and (max-width: 768px) {
  #product-detail .item-related-product .product-description {
    padding: 0 10px !important;
  }
}

@media only screen and (min-width: 499px) and (max-width: 1212px) {
  .wrapper {
    width: 500px;
    margin-left: 20px;
  }
}
@media only screen and (max-width: 498px) {
  .wrapper {
    margin-left: 20px;
  }
  .wrapper .gallery {
    width: 100%;
  }

  div.gallery ul {
    list-style-type: none;
    margin: 0;
  }
}
/*
* Trace
*/
.trace-banner {
  height: 350px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.banner-slide {
  background-color: #fafafa;
}
.banner-slide .btn-control {
  border: none;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
}
.banner-slide .carousel-item img {
  -o-object-fit: cover;
     object-fit: cover;
}

.box-image {
  max-height: 65vh;
  aspect-ratio: 16/9;
}

.banner-slide #carouselInterva .box-image {
  max-height: 65vh;
  aspect-ratio: 16/9;
}

@media (min-width: 768px) {
  .banner-slide #carouselInterval {
    max-width: 90%;
    margin: 0 auto;
  }
  .banner-slide #carouselInterval .box-image {
    max-height: auto;
  }
}
@media (max-width: 800px) {
  .container-full {
    padding-inline: 0.5rem;
  }

  .banner-slide {
    margin-inline: -0.5rem;
  }
}
/*
* Manufacture
*/
#user-detail .user-thumbnail {
  width: 100%;
  height: 350px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
#user-detail .user-thumbnail:hover {
  transform: scale(1.01);
  transition: 0.3s;
}
#user-detail .item-highlight-product {
  height: 260px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
#user-detail .item-highlight-product .product-thumbnail {
  margin-bottom: 0.5rem;
  width: 100%;
  height: 65%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#user-detail .item-highlight-product .product-description {
  height: 50%;
  padding: 15px 10px;
}
#user-detail .item-highlight-product .product-description h5 {
  font-weight: 600;
}
#user-detail .item-highlight-product .product-description span,
#user-detail .item-highlight-product .product-description p,
#user-detail .item-highlight-product .product-description h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
#user-detail .item-highlight-product .product-description p a:not(:first-child) {
  display: none;
}
#user-detail .item-highlight-product .style-content {
  max-height: 100px;
}
#user-detail .item-highlight-product .style-content p:not(:first-child) {
  display: none;
}
#user-detail .item-highlight-product:hover .product-thumbnail {
  -webkit-animation: scaleImage 0.6s forwards;
          animation: scaleImage 0.6s forwards;
}
#user-detail .item-highlight-product:hover .product-description {
  position: absolute;
  padding: 0 25px 0 10px;
  bottom: 0;
}
#user-detail .item-highlight-product:hover .product-description h5,
#user-detail .item-highlight-product:hover .product-description span,
#user-detail .item-highlight-product:hover .product-description i {
  background-color: transparent !important;
  color: black !important;
}
#user-detail .highlight-product-title {
  color: #008757;
  padding: 15px 0;
  border-bottom: 2px solid #d9d9d9;
}
@media screen and (max-width: 992px) {
  #user-detail .item-highlight-product {
    height: 280px;
  }
}

.section-header-user {
  color: #507c6c;
  margin-bottom: 1rem;
}

#section-basic-info-user {
  padding: 1.5rem 0;
}
#section-basic-info-user .icon-info {
  border: 1px solid #677e75;
  border-radius: 100%;
  padding: 10px;
  margin-right: 1rem;
}
#section-basic-info-user .label-info {
  color: #81988f;
}

#section-user-highlight-articles .article-thumbnail {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  margin-bottom: 0.5rem;
}

#manufacture-list .item-product {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  height: 270px;
  border-radius: 4px;
  position: relative;
}
#manufacture-list .item-product .product-img {
  height: 80%;
  overflow: hidden;
}
#manufacture-list .item-product .product-name {
  height: 20%;
  padding: 10px;
}
#manufacture-list .item-product .product-thumbnail {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#manufacture-list .item-product:hover .product-thumbnail {
  transform: scale(1.1);
  transition: 0.4s;
}
#manufacture-list .item-product:hover h6 {
  color: #008757;
}

#section-user-images .owl-carousel {
  position: relative;
}
#section-user-images .owl-nav {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  width: 100%;
}
#section-user-images .owl-nav .owl-prev,
#section-user-images .owl-nav .owl-next {
  width: 40px;
  height: 40px;
  border: 1px solid #677e75;
  border-radius: 100%;
  font-size: 24px;
}
#section-user-images .owl-nav .owl-prev:hover,
#section-user-images .owl-nav .owl-next:hover {
  background: rgba(103, 126, 117, 0.3);
}
#section-user-images .owl-nav .owl-prev {
  position: absolute;
  left: -4rem;
}
#section-user-images .owl-nav .owl-next {
  position: absolute;
  right: -4rem;
}

@-webkit-keyframes scaleImage {
  0% {
    height: 50%;
    opacity: 1;
  }
  100% {
    height: 100%;
    opacity: 0.3;
  }
}

@keyframes scaleImage {
  0% {
    height: 50%;
    opacity: 1;
  }
  100% {
    height: 100%;
    opacity: 0.3;
  }
}
#section-banners-user {
  margin-top: 1.5rem;
}
#section-banners-user .banner-img {
  height: 300px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#section-banners-user .banner-item {
  position: relative;
}
#section-banners-user .layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 104, 67, 0.5);
  color: #FFFFFF;
  text-transform: uppercase;
  text-align: center;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#section-banners-user .carousel-indicators li {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 100%;
}

#highlight-section .first-highlight .thumbnail-article {
  width: 100%;
  height: 350px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#highlight-section .first-highlight .article-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #707070;
  margin-top: 1rem;
}
#highlight-section .first-highlight .article-meta .fa-clock {
  margin-top: 3px;
}
#highlight-section .second-highlight .thumbnail-article {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#highlight-section .second-highlight .article-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #707070;
  margin-top: 1rem;
}
#highlight-section .second-highlight .article-meta .fa-clock {
  margin-top: 3px;
}
#highlight-section .third-highlight .thumbnail-article {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#highlight-section .third-highlight .article-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #707070;
  margin-top: 1rem;
}
#highlight-section .third-highlight .article-meta .fa-clock {
  margin-top: 3px;
}
#highlight-section .pin-article {
  background-color: #F5F4EF;
  padding: 1rem;
  text-align: justify;
  max-height: 600px;
  overflow-y: auto;
}
#highlight-section .pin-article img {
  display: none;
}

.col-highlight + .col-highlight {
  border-left: 1.25px solid #D9D9D9;
  padding: 0 14px;
}

.owl-carousel .owl-item img {
  height: 250px;
  width: 100%;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
}

.recent-articles-block {
  margin-top: 2rem;
}

.owl-item + .owl-item:after {
  display: block;
  content: "";
  border-right: 1px solid #D9D9D9;
  position: absolute;
  height: 100%;
  top: 0;
  left: -14px;
}

.change-lang .dropdown-toggle {
  font-size: 0.5rem;
}
.change-lang .dropdown-item {
  font-size: 0.875rem;
}
.change-lang .dropdown-item > div:first-child {
  border-right: 1px solid #ccc;
}

#google_translate_element select option {
  position: relative;
}
#google_translate_element select option::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 99999;
  background-image: url("https://nongnghiep.xathongminh.com/images/languages/vn.png");
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
}

.goog-te-banner-frame {
  display: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.trace-product-images .btn-control {
  border: none;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
}
.trace-product-images .carousel-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .trace-product-images #carouselIntervalProductImages {
    max-width: 90%;
    margin: 0 auto;
  }
}
.trace-process-images .btn-control {
  border: none;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
}
.trace-process-images .carousel-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .trace-process-images #carouselIntervalProcessImages {
    max-width: 90%;
    margin: 0 auto;
  }
}
.trace-description-images .btn-control {
  border: none;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
}
.trace-description-images .carousel-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .trace-description-images #carouselIntervalProductImages {
    max-width: 90%;
    margin: 0 auto;
  }
}
.trace-certificates .btn-control {
  border: none;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
}
.trace-certificates .carousel-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .trace-certificates #carouselIntervalCertificateImages {
    max-width: 90%;
    margin: 0 auto;
  }
}
