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

#main_products .nav-pills::-webkit-scrollbar {
  height: 8px;
}

#main_products .nav-pills::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #52c5c1;
}

#main_products .nav-pills::-webkit-scrollbar-thumb {
  background-color: #006564;
}

#main .dropdown-menu {
  max-height: 300px !important;
}

#banner .detail {
  width: 500px;
}

#main_products .nav-pills .nav-item::after {
  content: '';
  border-right: 1px solid #717071;
  height: 50%;
  margin: 0 0.5rem;
}

#main_products .nav-pills .nav-item:last-child::after {
  content: '';
  border-right: 0px solid #717071;
  height: 50%;
  margin: 0 0rem;
}

#main_products .tab-pane .card {
  border: 1px solid transparent;
  padding: 1rem;
}

#main_products .tab-pane .card button {
  display: none;
}

#main_products .tab-pane .card:hover {
  border: 1px solid #6c757d;
}

#main_products .tab-pane .card:hover button {
  display: block;
}

#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 img:first-child {
  width: 400px;
}

#company_profile .content .article {
  display: none;
}

#company_profile .content .article.show {
  display: block;
}

#company_profile .content .article p {
  margin-bottom: 0rem;
}

#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;
}

#company_profile .profile-wrapper{
  text-align: center;
  position: relative;
  max-width: 400px;
  margin: 0 auto; /* Centering */
}
#company_profile .ribbon-wrapper {
  text-align: center;
  position: relative;
  max-width: 245px;
  margin: 0 auto; /* Centering */
}

#company_profile .ribbon-content {
  position: relative;
  display: block;
  width: 245px;
  height: 40px;
  z-index: 1;
  border: 1px solid #cc3241;
  text-align: center;
  font: normal 20px/36px 'Roboto,sans-serif';
  color: white;
  background: #dc3545;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,.15) inset, 0 6px 10px rgba(0,0,0,.15);
}

#company_profile .ribbon-start {
  content: '';
  position: absolute;
  z-index: 0;
  width: 55px;
  height: 0;
  left: -34px;
  margin-top: 15px;
  border: 20px solid #dc3545;
  border-right: 20px solid #b42b39;
  border-bottom-color: #dc3545;
  border-left-color: transparent;
  transform: rotate(-5deg);
}

#company_profile .ribbon-end {
  content: '';
  position: relative;
  top: -24px;
  left: 224px;
  z-index: 0;
  width: 55px;
  height: 0;
  border: 20px solid #dc3545;
  border-right: 20px solid #b42b39;
  border-bottom-color: #dc3545;
  border-left-color: transparent;
  transform: rotate(175deg);
}

#blog .content {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
}

#videos .slick-prev:before {
  content: '';
}

#videos .slick-next:before {
  content: '';
}

#videos .slick-prev,
#videos .slick-next {
  width: 25px;
  height: 60px;
}

#videos .slick-prev,
#videos .slick-prev:hover,
#videos .slcik-prev:active {
  background: url(/image/bt_left_1.jpg) no-repeat !important;
}

#videos .slick-next,
#videos .slick-next:hover,
#videos .slick-next:active {
  background: url(/image/bt_right_1.jpg) no-repeat !important;
}

#videos .video_img {
  width: 220px;
  height: 140px;
}

#videos .video_text {
  width: 220px;
  height: 60px;
  overflow: hidden;
}

#contact_us iframe {
  height: 300px;
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 575.98px) {
  #banner img {
    padding-bottom: 50px;
  }
  #banner .detail {
    height: 50px;
  }
}

@media (max-width: 991.98px) {
  #banner img {
    padding-bottom: 50px;
  }
  #banner .detail {
    width: 100%;
  }
}

@media (max-width: 1199.98px) {
  #main_products .tab-pane .card {
    border: 1px solid transparent;
    padding: 0;
  }
  #main_products .tab-pane .card button {
    display: block;
  }
  #main_products .tab-pane .card:hover {
    border: 1px solid #6c757d;
  }
  #main_products .tab-pane .card .card-body {
    font-size: 0.875em;
  }
  #videos .video_img {
    width: auto;
  }
  #videos .video_text {
    width: auto;
  }
}

.product-tag::before {
  content: attr(data-ribbon);
  position: absolute;
  font-size: var(--f);
  top: 0;
  right: 0;
  transform: translate(29.29%, -100%) rotate(45deg);
  color: #fff;
  text-align: center;
  border: 1px solid transparent;
  border-bottom: 0;
  transform-origin: bottom left;
  padding: 5px 35px calc(var(--d) + 5px);
  background: linear-gradient(rgba(0, 0, 0, 0.5) 0 0) bottom/100% var(--d)
    no-repeat var(--c);
  background-clip: padding-box;
  clip-path: polygon(0 0,100% 0,100% 100%,calc(100% - var(--d)) calc(100% - var(--d)),var(--d) calc(100% - var(--d)),0 100%);
  -webkit-mask: linear-gradient(135deg,transparent calc(50% - var(--d) * 0.707),#fff 0) bottom left,
    linear-gradient(-135deg, transparent calc(50% - var(--d) * 0.707), #fff 0)bottom right;
  -webkit-mask-size: 300vmax 300vmax;
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}

.product-tag.left::before {
  left: 0;
  right: auto;
  transform: translate(-29.29%, -100%) rotate(-45deg);
  transform-origin: bottom right;
}

#company_profile .anniversary-wrapper{
	gap: 7px;
	font-size: 24px;
}
.anniversary-wrapper .anniversary-contour{
	position: relative;
    border-radius: 20px;
    background: #dc3545;
    padding-left: 15px;
    padding-right: 5px;
    height: 30px;
    margin-bottom: 3px;
    box-shadow: 1px 1px 2px 0px #772121;
	display: flex;
	align-items: center;
	justify-content: center;
}
.anniversary-contour span{
	color: #fff;
	font-size: 0.8em;
}
.anniversary-contour span.unit{
	display: block;
    position: relative;
    -webkit-transform: scale(.7);
    transform: scale(.7);
    -webkit-transform-origin: left top;
    transform-origin: left top;
    font-size: 14px;
    margin-left: 3px;
}