#main_products .nav, #agent .nav {
  overflow: hidden;
  overflow-x: auto;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}

#main_products .nav::-webkit-scrollbar, #agent .nav::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

#main_products .nav::-webkit-scrollbar-track, #agent .nav::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.1);
}

#main_products .nav::-webkit-scrollbar-thumb, #agent .nav::-webkit-scrollbar-thumb {
  border-radius: 100px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #d1d5db;
}

.mxh-350 {
  max-height: 350px;
}

.mxh-300 {
  max-height: 300px;
}

.bg-black-8 {
  background-color: rgba(0, 0, 0, 0.8);
}

.hover-shadow:hover {
  -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
          box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
}

img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

#banner img {
  -o-object-position: top;
     object-position: top;
}

#main_products .slider img {
  height: 250px;
}

#main_products .slider .card-title {
  height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#company_profile .content img:first-child {
  height: 300px;
  width: 500px;
  display: block;
  float: left;
  margin: 0.5rem 1rem 0.5rem 0;
}

#company_profile ul {
  padding-left: 1rem;
}

#company_profile ul li {
  list-style: disc;
}

#company_profile ol {
  padding-left: 1rem;
}

#company_profile ol li {
  list-style: decimal;
}

#company_profile .content {
  overflow: hidden;
  -webkit-transition: max-height .5s;
  transition: max-height .5s;
}

#company_profile .content.hide {
  max-height: 316px !important;
  -webkit-transition: max-height .5s;
  transition: max-height .5s;
}

#company_profile .more_btn {
  display: none;
}

#company_profile .more_btn.show {
  display: inline-block;
}

#company_profile .less_btn {
  display: none;
}

#company_profile .less_btn.show {
  display: inline-block;
}

#videos .slider img {
  height: 250px;
}

#videos .card-img {
  position: relative;
}

#videos .card-img .hover-opacity {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #212529;
  opacity: 0;
  -webkit-transition: opacity .5s ease;
  transition: opacity .5s ease;
}

#videos .card-img:hover .hover-opacity {
  opacity: 0.6;
}

#videos .card-title {
  height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#news img {
  height: 200px;
}

#news .row .col-lg-6:first-child img {
  height: auto;
}

#news .row .col-lg-6:nth-child(2) h4 {
  height: 80px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#agent .nav-link {
  white-space: nowrap;
}

#agent img {
  width: 30px;
}

#e_catalog .more_btn {
  display: none;
}

#e_catalog .more_btn.show {
  display: inline-block;
}

#e_catalog .less_btn {
  display: none;
}

#e_catalog .less_btn.show {
  display: inline-block;
}

#e_catalog .col-lg-6:nth-child(n+5) {
  display: none;
}

#e_catalog .col-lg-6.show {
  display: block;
}

#contact_us .left_content {
  padding-right: 1.5rem;
}

#contact_us .right_content {
  padding-left: 1.5rem;
  border-left: 1px solid #dee2e6;
}

@media (max-width: 991.98px) {
  #contact_us .left_content {
    padding-right: 0;
  }
  #contact_us .right_content {
    padding-left: 0;
    border-left: 0px solid #dee2e6;
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
  }
}

#contact_us iframe {
  width: 100%;
  height: 300px;
  border: 0px;
  padding: 0 1.5rem;
}

#side {
  position: fixed;
  top: 30%;
  left: 0;
  -webkit-transition: left .3s ease-in-out;
  transition: left .3s ease-in-out;
  display: none;
}

#side.close {
  left: -160px;
}

#side .content {
  width: 160px;
}

#side .nav-link {
  color: #fff;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

#side .nav-link:hover {
  background-color: #f8f9fa;
  color: #212529;
}

#side .open_btn {
  border-radius: 0 50% 50% 0;
}

@media (max-width: 991.98px) {
  #side {
    display: none;
  }
  #company_profile .content img:first-child {
    height: auto;
    width: 360px;
  }
}

@media (max-width: 767.98px) {
  #videos .slider img {
    height: auto;
  }
  #company_profile .content img:first-child {
    height: auto;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  #news img {
    height: 300px;
  }
}
