/*工程案例*/
/* 响应式图片盒子 */

.imgBox {
  position: relative;
}

.imgBox img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.imgBox img.full {
  width: 100%;
  height: 100%;
}

.imgBox img.auto {
  max-width: 100%;
  max-height: 100%;
}



.project .type {
  width: 19%;
  float: left;
}

.project .type li {
  position: relative;
  background-color: #333333;
  color: #fff;
  text-align: center;
  width: 100%;
  height: 80px;
  line-height: 80px;
  margin-bottom: 15px;
  font-size: 20px;
}

.project .type li a {
  display: block;
  color: #fff;
}

.project .imgList {
  width: 80%;
  float: right;
}

.project .imgBox {
  padding-bottom: 57.7%;
}

.project .imgBox a {
  visibility: hidden;
}

.project .type li:before {
  content: "";
  display: block;
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -10px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #b80000;
  visibility: hidden;
  z-index: 1;
}

.project .type li.on {
  background-color: #b80000;
}

.project .type li.on:before {
  visibility: visible;
}

.project .imgBox a.on {
  visibility: visible;
}
@media (max-width: 1200px) {
  .project .type li {
    height: 70px;
    line-height: 70px
  }
}
@media (max-width: 1000px) {
  .project .type li {
    height: 55px;
    line-height: 55px
  }
}
@media (max-width: 768px) {
  .project .type{
    float: none;
    width: 100%;
  }
  .project .type li{
    float: left;
    width: 33%;
    margin: 0.16%;
    height: 3em;
    line-height: 3em;
    font-size: 13px;
  }
  .project .type li:before{
    display: none;
  }
  .project .imgList{
    width: 100%;
  }
}
/*工程案例 end*/

