/* 首页产品 */

.ep-index-product {
  padding: 50px 0;
}

.product-com-text {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.product-com-title {
  font-size: 36px !important;
  color: #5a3322 !important;
  margin-bottom: 11px;
}

.product-com-line {
  width: 65px;
  height: 4px;
  background: #5a3322;
  margin: 0 auto;
}

.product-container {
  margin-bottom: 30px;
}

.product-container .swiper-slide {
  width: 25%;
}

.product-com-a {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-container .card {
  box-shadow: 0 1px 10px rgba(0, 0, 0, .15);
}

.product-com-h4 {
  color: #fff;
  font-size: 14px;
  padding: 0 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 36px;
  line-height: 36px;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.scc-title, .scc-title-group, .section-product-content {
  width: 100%;
}

.scc-tg-text {
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
}

.scc-tg-text p {
  margin: 0 0;
}

.scc-tg-text p:nth-child(1) {
  line-height: 1.3;
  font-size: 30px;
  color: #f4642b;
}

.scc-tg-text p:nth-child(2) {
  font-size: 16px;
  color: #666;
}

.product1-container .swiper-slide {
  width: 25%;
}

/* 分类 */

.scc-title-category {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0;
  padding: 0 0;
  text-align: center;
  font-size: 20px;
}

.scc-title-category-list {
  width: 13.5%;
}

.scc-tcl-group {
  cursor: pointer;
}

.scc-tcl-name {
  width: 100%;
  font-size: 18px !important;
  color: #000;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 18px;
  margin-top: 22px;
  margin-bottom: 11px;
}

.scc-group {
  width: 100%;
  float: left;
  margin: 0 0;
  margin-top: 30px;
}

.scc-group-img {
  width: 23%;
  float: left;
}

.scc-group-img img {
  width: 100%;
}

.scc-group-list-box img {
  border: 1px solid #ccc;
}

.scc-group-content {
  width: 77%;
  float: right;
  padding-left: 30px;
}

.scc-group-list {
  width: 100%;
  float: left;
}

.scc-group-list-box {
  position: relative;
}

.scc-group-list-box p {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 36px;
  line-height: 36px;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #fff;
  font-size: 14px;
  padding: 0 10px;
}

@media(max-width:768px) {
  .product-container .swiper-slide {
    width: 33%;
  }
  .product-category .swiper-slide {
    width: 16%;
  }
}

@media(max-width:767px) {
  .ep-index-product {
    padding: 50px 15px;
  }
  .scc-group-img {
    width: 100%;
    float: left;
  }
  .scc-group-content {
    width: 100%;
    float: right;
    padding-left: 0;
    margin-top: 28px;
  }
}

@media(max-width:640px) {
  .product-container .swiper-slide {
    width: 45%;
  }
  .product-category .swiper-slide {
    width: 25%;
  }
}

/* 自定义首页简介区块 */

.about {
  background: url(../images/about-bg.jpg) no-repeat center center;
  background-size: cover;
}

.about-content {
  width: 100%;
  position: relative;
}

.about-text {
  background: rgba(0, 0, 0, 0.4);
  margin-top: 100px;
  margin-bottom: 55px;
  color: #fff;
  font-size: 14px;
  float: right;
  z-index: 10;
  position: absolute;
  right: 0%;
  top: 0;
  z-index: 10;
}

.about-img {
  padding: 0 0;
  margin-top: 55px;
  margin-bottom: 100px;
  z-index: 12;
}

.about-editor {
  width: 78%;
  padding: 30px;
  max-width: 100%;
  font-size: 14px !important;
  line-height: 24px !important;
  float: right;
  text-align: justify;
  margin-top: 20px;
  height: auto;
  overflow: hidden;
  margin-bottom: 0 !important;
}

.about-editor p {
  margin: 0 0 !important;
}

@media(max-width:1199px) {
  .about-editor p:nth-child(3) {
    display: none;
  }
  .about-text {
    top: 8%;
    margin-top: 0;
  }
}

@media(max-width:991px) {
  .about-editor p:nth-child(2) {
    display: none;
  }
  .about-text {
    top: 12%;
    margin: 0 0;
  }
  .about-editor {
    width: 100%;
  }
}

@media(max-width:767px) {
  .about-img {
    display: none;
  }
  .about-text {
    position: unset;
  }
  .about-editor {
    width: 100%;
    padding: 30px 0;
  }
  .about-editor p:nth-child(2) {
    display: block;
  }
  .about-editor p:nth-child(3) {
    display: block;
  }
}

/* news */
.snc-box-group{
  width: 100%;
  padding: 20px;
}
.news-com-div {
  padding: 20px;
  margin-bottom: 2px;
}
.news-com-text {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 16px;
}
.news-time {
  font-size: 16px;
  color: #5a3322;
  margin: 0 0;
  letter-spacing: 1px;
}
 .news-title {
  width: 100%;
  font-size: 18px;
  color: #5a3322;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  letter-spacing: 2px;
}
.news-com-line {
  width: 50px;
  height: 2px;
  background: #5a3322;
  margin-top: 15px;
  margin-bottom: 10px;
}
.news-desc {
  font-size: 12px;
  color: #666;
  text-align: justify;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  line-height: 22px;
  margin: 0 0;
}

@media(max-width:1199px){
  .news-desc{
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
  }
  .news-com-text {
    text-align: left;
    margin-top: 0;
    margin-bottom: 10px;
}
}
@media(max-width:991px){
  .news-desc{
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
  }
  .news-com-text {
    text-align: left;
    margin-top: 0;
    margin-bottom: 0px;
}
}
@media(max-width:767px){
  .snc-box{
    display: flex;
    flex-wrap: wrap;
  }
  .news-desc{
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
  }
  .snc-box img{
    order: 2;
  }
}