/* CSS Document */

/* ---------- 侧边链接 ---------- */
.side-bar {
  position: absolute;
  top: 320px;
  right: 0;
  width: 80px;
  height: 560px;
  background: #d9ad5e;
  z-index: 10;
}
.shop-link {
  padding: 20px;
}
.shop-link li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.shop-link li a {
  display: block;
  padding: 8px;
}
.scroll-down {
  position: absolute;
  width: 80px;
  bottom: 40px;
  text-align: center;
}

/* responsive */
@media only screen and (max-width: 1024px) {
  .side-bar {
    top: 200px;
    height: 480px;
  }
}

@media only screen and (max-width: 912px) {
  .side-bar {
    display: none;
  }
}

/* ---------- 产品中心 ---------- */
.product {
  padding: 100px 0 40px;
  border-bottom: 1px solid #efefef;
}

.product-tit {
  position: relative;
}
.product-tit h2 {
  font-size: 28px;
  font-weight: normal;
  color: #333;
}
.product-tit h3 {
  padding-top: 4px;
  font-family: "DIN-Light";
  font-size: 20px;
  font-weight: normal;
  color: #999;
  text-transform: uppercase;
}
.product-tit a.more-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  padding-right: 36px;
  background: url("../img/more-arrow.png")/*tpa=https://mb.tdjweb.com/moban/4/img/more-arrow.png*/ no-repeat right center;
  font-size: 14px;
  color: #ccc;
}
.product-tit a:hover.more-btn {
  color: #d9ad5e;
}

.product-list {
  padding-top: 40px;
  overflow: hidden;
}
.product-list ul {
  width: calc(100% + 40px);
}
.product-list li {
  float: left;
  margin: 0 40px 40px 0;
  width: calc(100% / 3 - 40px);
}
.product-list li a {
  display: block;
  border: 2px solid #f6f6f6;
  background: #f6f6f6;
}
.product-list li .pic {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.product-list li .pic img {
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.product-list li a:hover .pic img {
  transform: scale(1.05);
}
.product-list li .con {
  padding: 24px;
  background: url("../img/more-arrow.png")/*tpa=https://mb.tdjweb.com/moban/4/img/more-arrow.png*/ no-repeat right 24px bottom 28px;
}
.product-list li .con h4 {
  font-size: 16px;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-list li .con p {
  padding-top: 12px;
  font-size: 14px;
  color: #999;
}
.product-list li a:hover {
  border: 2px solid #d9ad5e;
  background: #d9ad5e;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.product-list li a:hover h4, .product-list li a:hover p {
  color: #fff;
}

/* responsive */
@media only screen and (max-width: 912px) {
  .product {
    padding: 48px 0 24px;
  }
  
  .product-tit h2 {
    font-size: 20px;
  }
  .product-tit h3 {
    font-size: 16px;
  }

  .product-list {
    padding-top: 36px;
  }
  .product-list ul {
    width: auto;
  }
  .product-list li {
    margin: 0 0 16px 0;
    width: 50%;
    box-sizing: border-box;
  }
  .product-list li:nth-of-type(odd) {
    padding-right: 8px;
  }
  .product-list li:nth-of-type(even) {
    padding-left: 8px;
  }
  .product-list li .pic {
    width: auto;
    height: auto;
  }
  .product-list li .con {
    padding: 16px;
    background: none;
  }
  .product-list li .con h4 {
    font-size: 15px;
  }
  .product-list li .con p {
    padding-top: 8px;
  }
}

/* ---------- 产品分类 ---------- */
.product-sort {
  padding: 100px 0 280px;
  background-repeat: repeat-x;
  background-position: bottom;
  overflow: hidden;
}
.product-sort ul {
  width: calc(100% + 20px);
}
.product-sort li {
  float: left;
  position: relative;
  margin-right: 20px;
  width: calc(100% / 5 - 20px);
}
.product-sort li img {
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.product-sort li .con {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 50px 30px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease-in-out;
}
.product-sort li .con h3 {
  font-size: 18px;
  font-weight: normal;
  color: #fff;
}
.product-sort li .con h4 {
  padding-top: 12px;
  font-family: Arial;
  font-size: 14px;
  font-weight: normal;
  color: #d9ad5e;
}
.product-sort li .con .more-arrow {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 50px;
  width: 24px;
  height: 8px;
  transition: all 0.3s ease-in-out;
}
.product-sort li a:hover img {
  filter: brightness(0.5);
}
.product-sort li a:hover .con {
  border: 1px solid rgba(255,255,255,0.2);
}
.product-sort li a:hover .more-arrow {
  left: 98px;
}

/* responsive */
@media only screen and (max-width: 912px) {
  .product-sort {
    padding: 48px 0 160px;
    background-size: auto 360px;
    overflow-x: auto;
  }
  .product-sort ul {
    width: 804px;
  }
  .product-sort li {
    margin-right: 16px;
    width: 144px;
  }
  .product-sort li .con {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 40px 20px;
  }
  .product-sort li .con h3 {
    font-size: 16px;
  }
  .product-sort li .con .more-arrow {
    left: 20px;
    bottom: 40px;
  }
  .product-sort li a:hover .more-arrow {
    left: 50px;
  }
}

/* ---------- 新闻中心 ---------- */
.news {
  padding: 100px 0;
}

.news-tit {
  position: relative;
}
.news-tit h2 {
  font-size: 28px;
  font-weight: normal;
  color: #333;
}
.news-tit h3 {
  padding-top: 4px;
  font-family: "DIN-Light";
  font-size: 20px;
  font-weight: normal;
  color: #999;
  text-transform: uppercase;
}
.news-tit a.more-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  padding-right: 36px;
  background: url("../img/more-arrow.png")/*tpa=https://mb.tdjweb.com/moban/4/img/more-arrow.png*/ no-repeat right center;
  font-size: 14px;
  color: #ccc;
}
.news-tit a:hover.more-btn {
  color: #d9ad5e;
}

.news-list {
  padding-top: 40px;
  overflow: hidden;
}
.news-list ul {
  width: calc(100% + 40px);
}
.news-list li {
  float: left;
  margin-right: 40px;
  width: calc(100% / 3 - 40px);
}
.news-list li .pic {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.news-list li .pic img {
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.news-list li .date {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(255,255,255,0.8);
  font-family: "DIN-Light";
  font-size: 14px;
  color: #333;
}
.news-list li .con {
  padding: 32px 0;
  border-bottom: 1px solid #efefef;
}
.news-list li h4 {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list li p {
  padding-top: 16px;
  font-size: 14px;
  color: #888;
  line-height: 24px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-list li .btm {
  padding-top: 20px;
}
.news-list li .more-btn {
  padding-right: 32px;
  background: url("../img/more-arrow.png")/*tpa=https://mb.tdjweb.com/moban/4/img/more-arrow.png*/ no-repeat right center;
  font-size: 12px;
  color: #ccc;
  transition: all 0.3s ease-in-out;
}
.news-list li a:hover .pic img {
  transform: scale(1.05);
}
.news-list li a:hover .more-btn {
  padding-right: 48px;
}

/* responsive */
@media only screen and (max-width: 912px) {
  .news {
    padding: 48px 0 24px;
  }

  .news-tit h2 {
    font-size: 20px;
  }
  .news-tit h3 {
    font-size: 16px;
  }

  .news-list {
    padding-top: 36px;
  }
  .news-list ul {
    width: auto;
  }
  .news-list li {
    float: none;
    margin-right: 0;
    padding-bottom: 32px;
    width: auto;
  }
  .news-list li .pic {
    width: auto;
    height: auto;
  }
  .news-list li .con {
    padding: 16px 0;
  }
  .news-list li h4 {
    font-size: 15px;
  }
  .news-list li p {
    padding-top: 8px;
  }
  .news-list li .btm {
    padding-top: 12px;
  }
}

/* ---------- 工程案例 ---------- */
.case {
  padding: 100px 0;
  background-position: center top;
  background-size: cover;
}

.case-tit {
  position: relative;
}
.case-tit h2 {
  font-size: 28px;
  font-weight: normal;
  color: #333;
}
.case-tit h3 {
  padding-top: 4px;
  font-family: "DIN-Light";
  font-size: 20px;
  font-weight: normal;
  color: #999;
  text-transform: uppercase;
}
.case-tit a.more-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  padding-right: 36px;
  background: url("../img/more-arrow.png")/*tpa=https://mb.tdjweb.com/moban/4/img/more-arrow.png*/ no-repeat right center;
  font-size: 14px;
  color: #ccc;
}
.case-tit a:hover.more-btn {
  color: #d9ad5e;
}

.case-list {
  padding-top: 40px;
  overflow: hidden;
}
.case-list ul {
  width: calc(100% + 80px);
}
.case-list li {
  float: left;
  margin-right: 80px;
  width: calc(100% / 2 - 80px);
}
.case-list li a {
  display: block;
}
.case-list li .pic {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.case-list li .pic img {
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.case-list li a:hover .pic img {
  transform: scale(1.05);
}
.case-list li .con {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  background: url("../img/more-arrow.png")/*tpa=https://mb.tdjweb.com/moban/4/img/more-arrow.png*/ no-repeat right center;
}
.case-list li .con h4 {
  height: 40px;
  font-size: 16px;
  line-height: 40px;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* responsive */
@media only screen and (max-width: 912px) {
  .case {
    padding: 48px 0;
  }
  .case-tit h2 {
    font-size: 20px;
  }
  .case-tit h3 {
    font-size: 16px;
  }

  .case-list {
    padding-top: 36px;
  }
  .case-list ul {
    width: auto;
  }
  .case-list li {
    float: none;
    margin-right: 0;
    margin-bottom: 24px;
    width: auto;
  }
  .case-list li .pic {
    width: auto;
    height: auto;
  }
  .case-list li .con {
    padding: 16px 0;
  }
  .case-list li .con h4 {
    height: 20px;
    font-size: 15px;
    line-height: 20px;
  }
}