/* CSS Document */

/* ---------- case ---------- */
.case {
  padding: 120px 0;
}

.case-tit {
  position: relative;
  padding-bottom: 20px;
  border-bottom: 1px solid #efefef;
}
.case-tit h2 {
  position: relative;
  padding-left: 32px;
  font-size: 18px;
}
.case-tit h2:before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 4px;
  background: #333;
  content: "";
  transform: translateY(-50%);
}
.case-tit h3 {
  padding-top: 10px;
  font-family: "Montserrat-Regular";
  font-size: 40px;
  font-weight: normal;
}
.case-tit .sort {
  position: absolute;
  right: 0;
  bottom: 28px;
  font-size: 14px;
}
.case-tit .sort a {
  padding-left: 48px;
  color: #999;
}
.case-tit .sort a:hover {
  color: #666;
}

.case-con {
  padding-top: 60px;
  overflow: hidden;
}

.case-btm {
  padding-top: 40px;
  text-align: center;
}
.case-btm a.more-btn {
  display: inline-block;
  padding: 0 108px 0 88px;
  height: 48px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  background: url("../img/more-arrow.png") no-repeat right 88px center;
  font-family: Arial;
  color: #999;
  line-height: 48px;
}
.case-btm a:hover.more-btn {
  border: 1px solid #cecece;
  color: #888;
}

/* responsive */
@media only screen and (max-width: 1024px) {
  .case {
    padding: 60px 0;
  }

  .case-tit {
    padding-bottom: 16px;
  }
  .case-tit h2 {
    padding-left: 28px;
    font-size: 16px;
  }
  .case-tit h2:before {
    height: 3px;
  }
  .case-tit h3 {
    padding-top: 8px;
    font-size: 20px;
  }
  .case-tit .sort {
    display: none;
  }

  .case-con {
    padding-top: 40px;
  }

  .case-btm {
    padding-top: 20px;
  }
  .case-btm a.more-btn {
    padding: 0 68px 0 48px;
    height: 40px;
    background: url("../img/more-arrow.png") no-repeat right 48px center;
    line-height: 40px;
  }
}

/* ---------- Grid ---------- */
.grid {
	position: relative;
  width: calc(100% + 40px);
}
.grid__item, .grid__sizer {
	margin: 0 40px 40px 0;
	width: calc(100% / 3 - 40px);
  overflow: hidden;
}
.grid__link {
  position: relative;
	display: block;
  overflow: hidden;
}
.grid__link img {
	width: 100%;
  transition: all 0.3s ease-in-out;
}
.grid__link .mask {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background-image: url("../img/case-arrow.png");
  background-repeat: no-repeat;
  background-position: center top calc(50% + 20px);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.grid__link:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}
.grid__link:hover .mask {
  background-position: center center;
  opacity: 1;
}

/* responsive */
@media only screen and (max-width: 1024px) {
  .grid {
    width: calc(100% + 20px);
  }
	.grid__item, .grid__sizer {
		width: calc(100% / 2 - 20px);
		margin: 0 20px 20px 0;
	}
  .grid__link .mask {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-size: 30px;
  }
}

/* ---------- service ---------- */
.service {
  padding: 120px 0 80px;
  background-position: left calc(50% - 480px) top;
  background-repeat: no-repeat;
  background-color: #f6f6f6;
}

.service-tit {
  float: left;
  color: #fff;
}
.service-tit {
  position: relative;
  padding-bottom: 20px;
}
.service-tit h2 {
  position: relative;
  padding-left: 32px;
  font-size: 18px;
}
.service-tit h2:before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 4px;
  background: #fff;
  content: "";
  transform: translateY(-50%);
}
.service-tit h3 {
  padding-top: 10px;
  font-family: "Montserrat-Regular";
  font-size: 40px;
  font-weight: normal;
}

.service-con {
  float: right;
  padding: 0 0 0 80px;
  width: 50%;
  box-sizing: border-box;
  overflow: hidden;
}
.service-con ul {
  width: calc(100% + 40px);
}
.service-con li {
  float: left;
  margin: 0 40px 40px 0;
  padding: 36px 40px 28px;
  width: calc(100% / 2 - 40px);
  box-sizing: border-box;
  background: #fff;
  text-align: center;
}
.service-con li .ico i {
  display: inline-block;
  padding: 24px;
  border-radius: 100%;
  background: #f6f6f6;
}
.service-con li .ico i img {
  width: 48px;
  filter: grayscale(1);
  transition: all 0.3s ease-in-out;
}
.service-con li h4 {
  padding-top: 20px;
  font-size: 16px;
  font-weight: normal;
}
.service-con li p {
  padding-top: 10px;
  min-height: 44px;
  font-size: 14px;
  color: #999;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.service-con li a:hover .ico i img {
  filter: none;
}

/* responsive */
@media only screen and (max-width: 1024px) {
  .service {
    padding: 60px 0 40px;
    background-position: center top;
    background-size: cover;
  }

  .service-tit {
    float: none;
  }
  .service-tit {
    padding-bottom: 16px;
  }
  .service-tit h2 {
    padding-left: 28px;
    font-size: 16px;
  }
  .service-tit h2:before {
    height: 3px;
  }
  .service-tit h3 {
    padding-top: 8px;
    font-size: 20px;
  }

  .service-con {
    float: none;
    padding: 20px 0 0 0;
    width: auto;
  }
  .service-con ul {
    width: calc(100% + 20px);
  }
  .service-con li {
    margin: 0 20px 20px 0;
    padding: 28px 16px 20px;
    width: calc(100% / 2 - 20px);
  }
  .service-con li .ico i {
    padding: 20px;
  }
  .service-con li .ico i img {
    width: 40px;
  }
  .service-con li h4 {
    padding-top: 16px;
    font-size: 15px;
  }
  .service-con li p {
    padding-top: 8px;
  }
}

/* ---------- news ---------- */
.news {
  padding: 120px 0;
}

.news-tit {
  position: relative;
  padding-bottom: 20px;
  border-bottom: 1px solid #efefef;
}
.news-tit h2 {
  position: relative;
  padding-left: 32px;
  font-size: 18px;
}
.news-tit h2:before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 4px;
  background: #333;
  content: "";
  transform: translateY(-50%);
}
.news-tit h3 {
  padding-top: 10px;
  font-family: "Montserrat-Regular";
  font-size: 40px;
  font-weight: normal;
}
.news-tit a.more-btn {
  position: absolute;
  right: 0;
  bottom: 28px;
  padding-right: 18px;
  background: url("../img/more-arrow.png") no-repeat right center;
  font-size: 14px;
  color: #999;
}
.news-tit a:hover.more-btn {
  color: #666;
}

.news-list {
  padding-top: 60px;
  overflow: hidden;
}
.news-list ul {
  width: calc(100% + 100px);
}
.news-list li {
  float: left;
  margin: 0 100px 0 0;
  width: calc(100% / 3 - 100px);
}
.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 .con {
  padding: 36px 0 28px;
  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: 20px;
  font-size: 14px;
  color: #999;
  line-height: 24px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-list li .date {
  margin-top: 20px;
  font-family: "Montserrat-Regular";
  background: url("../img/news-more-arrow.png") no-repeat right center;
  font-size: 24px;
  color: #666;
}
.news-list li a:hover .pic img {
  transform: scale(1.05);
}

/* responsive */
@media only screen and (max-width: 1024px) {
  .news {
    padding: 60px 0 20px;
  }

  .news-tit {
    padding-bottom: 16px;
  }
  .news-tit h2 {
    padding-left: 28px;
    font-size: 16px;
  }
  .news-tit h2:before {
    height: 3px;
  }
  .news-tit h3 {
    padding-top: 8px;
    font-size: 20px;
  }
  .news-tit a.more-btn {
    bottom: 18px;
  }

  .news-list {
    padding-top: 40px;
  }
  .news-list ul {
    width: auto;
  }
  .news-list li {
    float: none;
    margin: 0 0 40px 0;
    width: auto;
  }
  .news-list li .con {
    padding: 24px 0 16px;
  }
  .news-list li h4 {
    font-size: 15px;
  }
  .news-list li p {
    padding-top: 12px;
    font-size: 14px;
    line-height: 22px;
  }
  .news-list li .date {
    margin-top: 12px;
    font-size: 20px;
  }
}