/* index.css */
.index-banner {
  padding-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url('../images/banner1.jpg');
  background-size: cover;
  background-position: top center;
  height: 560px;
}
.index-banner .search-container {
  display: flex;
  justify-content: center;
}


.index-banner .search-container .form-control {
  width: 510px;
  height: 60px;
  font-size: 18px;
  border-color: #ed7902;
}

.index-banner .search-container .btn {
  height: 60px;
  border-radius: 0;
  background-color: #ed7902;
  color: #fff;
  font-size: 18px;
  margin-left: -2px;
  border-color: #ed7902;
  /* box-shadow: 0 .0625rem .125rem 0 rgba(60, 64, 67, .3), 0 .125rem .375rem .125rem rgba(60, 64, 67, .15); */
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}

.index-banner .slogon {
  font-size: 36px;
  font-weight: 600;
  margin-top: 150px;
  margin-bottom: 3rem;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.index-banner .company-intro {
  color: #333;
  font-size: 18px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.index-banner .company-intro p {
  margin-bottom: 1rem;
}



.index-product-category {
  display: flex;
}

.index-product-category .category-1 {
  width: 30%;
  margin-bottom: 2rem;
}

.index-product-category .category-2 {
  width: 70%;
}

.index-product-category .category-1 .nav-item {
  border-radius: 0;
  background-color: rgba(31, 51, 116, 0.05);
  margin-top: 1px;
  position: relative;
}

.index-product-category .nav-item .icon-arrow-right {
  position: absolute;
  top: 5px;
  right: 20px;
  transition: transform 0.3s ease;
}

/* 鼠标悬停时箭头向右移动 */
.index-product-category .nav-item .icon-arrow-right:hover {
  transform: translateX(5px);
  /* 向右移动 5px */
}

/* 产品标题样式 */
.category-1 .category-title {
  font-size: 1.2rem;
}

/* 产品描述样式 */
.category-1 .category-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

/* .index-product-category .tab-content {
    border-top: none;
    padding: 0 1rem;
  } */

.index-product-category .nav-pills .nav-link {
  border-radius: 0;
}

.index-product-category .nav-pills:last-child .nav-link {
  border-bottom: none;
}

.index-product-category .nav-link.active,
.index-product-category .nav-link.active:hover {
  background-color: #196ca2;
  color: white;
  border-bottom: none;
}

.index-product-category .nav-link:hover {
  background-color: rgba(25, 108, 162, 0.1);
}

.index-product-category .nav-link.active .category-title,
.index-product-category .nav-link.active .category-description {
  color: white;
}

.index-product-category .nav-item .nav-link {
  display: flex;
  width: 100%;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  align-items: center;
}
.index-product-category .nav-item .nav-link img{
  border-radius: 5px;
  margin-right: 10px;
}

.section-container {
  margin: 0 auto;
}

.section-container-gray-bg {
  background: #f8f8f8;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

.section-container-image-bg,
.section-container-image-bg h2,
.section-container-image-bg h3 {
  color: #fff;
  text-align: center;
}

.divider-1 span {
  display: inline-block;
  width: 200px;
  height: 1px;
  background: #ddd;
}

.card-img-top {
  height: 160px;
  width: 160px;
  object-fit: cover;
  object-position: center;
}

.card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.list-product-categoriy .list-group-item {
  display: flex;
}

.list-product-categoriy .category-featured-image {
  height: 80px;
  width: 80px;
  border-radius: 5px;
  margin-right: 10px;
}

.section-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.section-more a {
  width: 200px;
  line-height: 50px;
  background-color: #196ca2;
  color: #fff !important;
  transition: all 0.5s;
  font-weight: bold;
  text-align: center;
  border-radius: 0.25rem;
  box-shadow: 0 0.0625rem 0.125rem 0 rgba(60, 64, 67, 0.3),
    0 0.125rem 0.375rem 0.125rem rgba(60, 64, 67, 0.15);
}

.section-more a:hover {
  width: 260px;
  transition: width 0.5s;
  text-decoration: none;
}

.index-quality {
  padding: 2rem 0;
}

.index-quality-control {
  position: relative;
  padding-bottom: 2rem;
}

.quality-control-img {
  width: 50%;
}

.carousel-item h3 a {
  font-family: 'Oswald';
  color: #fff;
}

.quality-control-intro {
  color: #333;
}

.quality-control-intro p {
  margin-bottom: 1rem;
}

.quality-control-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.quality-control-list li {
  width: 12%;
  position: relative;
}

.quality-control-list li h3  {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.index-quality .section-desc {
  text-align: left;
}

.index-hoist-category {
  display: flex;
  padding-bottom: 2rem;
  flex-wrap: wrap;
}

.home .hoist-item {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.home .hoist-item .wrap_thumb {
  padding-bottom: 75%;
}

.index-hoist-category .hoist-item .category-title {
  font-size: 18px;
}

.index-hoist-category.app {
  display: none;
}

.home .subcategory-container {
  padding-left: 1rem;
}

.home .blog-container {
  display: flex;
  flex-wrap: wrap;
}

.home .blog-container article {
  width: 25%;
  padding: 10px;
}

.home article .wrap_thumb {
  padding-bottom: 75%;
}

/* .home .article_title {
  padding-top: 10px;
} */

.home .article_title {
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.home .index-friendship {
  padding: 2rem 0;
}

.home .index-friendship img {
  height: 50px;
  width: auto;
}
.new_articles{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.new_articles .article_item{
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    background: #fff;
    
}

.new_articles .article_item .article_thumb{
  width: 30%;
  margin-right: 1rem;
}
.new_articles .article_item .article_content{
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color:#333;
}
.new_articles .article_excerpt{
  font-size: 0.9rem;
  color:#888;
  
}


#carouselBlogCaptions .carousel-caption{
  background: rgba(0, 0, 0, 0.5);
  left:0;
  right:0;
  bottom:0;
  text-align: left;
  padding: 20px 1rem;
}
#carouselBlogCaptions .white-text{
  color:#fff;
  font-size: 1.2rem;
}

.images{
  display: flex;
}

.parent-category-list{
  display: flex;
}
.index-products .products-section{
  display: flex;
}
.index-section{
  padding: 2rem 0;
}

.section-title {
  padding: 1.5rem 0;
  text-align: center;
}
.index-section-intro .section-content {
  padding-bottom: 1rem;
}
.index-section-intro .section-content p{
  margin-bottom: 1rem;
}
.index-section-intro .section-title .auto-con {
  text-transform: none;
  font-size: 1.928571429em;
  text-align: center;
  border-bottom: 1px solid #b4975a;
  padding-bottom: 20px;
  position: relative;
  font-weight: 300;
}
.index-section-intro .section-title .auto-con:after {
  content: url(../images/brown-caret.png);
  position: absolute;
  width: 30px;
  left: -15px;
  bottom: -19px;
  margin-left: 50%;
}
.index-section-intro .section-title p{
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 200;
  color: #777;
}
.product-item{
  position: relative;
  padding: 7px;
}
.product-item .icon-inquiry {
  position: absolute;
  top: 5px;
  right: 0.5rem;
  font-size: 1.2rem;
  color:#999;
}
.product-item figure {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 15px 30px 15px 10px;
  height: 100%;
  border: 1px solid #ededed;
  border-radius: 2px;
  flex-wrap: nowrap;
}

.product-item figure:hover{
  border: 1px solid #d92121;
  background: #f8f8f8;
}
.product-item .icon-inquiry {
  color:#e64545;
  cursor: pointer;
}
.product-item figure:hover .icon-inquiry {
  color:#d92121;
}
.product-item figure .img {
  margin-right: 15px;
  width: 100px;
  cursor: pointer;
  flex: 0 0 100px;
  text-align: center;
}

.product-item figure .img img {
  height: 80px;
  width: 80px;
}

.product-item figcaption {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-item figcaption a{
  font-size: 1.1rem;
}
.product-item figcaption h2 {
  position: relative;
}

.product-item figcaption h2 a {
  position: relative;
  display: block;
  color: #1E4290 ;
  font-size: 1rem;
  line-height: 1.2rem;
}

.product-item .global_tags {
  top: 10px;
  left: 10px;
}
@media screen and (max-width: 768px) {
  .index-banner{
    height: 300px;
  }
  .home .index-friendship{
    display: none;
  }
  .new_articles{
    margin-top: 1.5rem;
  }
  .new_articles .article_item{
    margin-bottom: 1rem;
  }
  .index-product-category.pc {
    display: none;
  }

  .index-hoist-category.app {
    display: flex;
  }

  .company-intro {
    padding: 0;
  }

  .index-top-main .search-container .form-control {
    width: 75%;
  }

  .index-top-main .search-container .btn {
    margin-top: 0 !important;
  }

  .index-top .site-header .main-navbar {
    height: auto;
  }

  .index-top .site-header .navbar-nav {
    height: auto;
    background: #111;
  }

  .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-title .more-link {
    display: inline-flex;
    position: relative;
  }

  .section-desc {
    display: none;
  }

  .quality-control-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .subcategory-container .subcategory-item {
    width: 100% !important;
  }

  .quality-control-list li {
    width: 49% !important;
  }

  /* .blog-container article {
    width: 100% !important;
  } */
}

@media (max-width: 991px) {
  .navbar-nav .nav-item.active {
    background-color: transparent;
  }

  .navbar-nav .nav-item.active .nav-link,
  .dropdown-menu .menu-item.active .dropdown-item {
    color: rgb(25, 108, 162);
  }
}