.banner {
  background: url(../images/banner-case.png) no-repeat center center;
}
#banner {
  background: #f0f0f0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
/** 如果屏幕大于840px才设置header的高度，小于让图片撑开 **/
@media (min-width: 840px) {
  #banner {
    height: 200px;
  }
}
/** 设置img banner的宽度100% **/
#banner > img {
  width: 100%;
}
.title p {
  padding-top: 50px;    padding-bottom: 20px;
  font-size: 36px;
  color: rgba(51, 51, 51, 1);
}
.case-data,
.case-service {
  width: 65%;
  text-align: center;
  margin: 0 auto;
}

.case-data ul {
  margin: 0;
  padding: 0;
}

.case-data ul li {
  list-style-type: none;
  display: inline-block;
  /* width: 30%; */
  border-radius: 20px;
  padding: 0;
  box-sizing: border-box;
}

.bg {
  /*
  width: 96%;
  padding-top: 100%; */
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  /* overflow: auto; */
  position: relative;
}
.bg>img {
  width: 100%;height:280px;
  position: absolute;
  top:0;
  left: 0;
}
.bg .mask {
  position: absolute;
  top:0;
  left: 0;width: 100%;
    height: 280px;
  position: relative;
  background: transparent;
}
/* .case-suzhou {
  background: url("../images/case-suzhou.png") no-repeat center center fixed;
}
.case-sz {
  background: url("../images/case-sz.png") no-repeat center center fixed;
}
.case-xc{
  background: url("../images/case-xc.png") no-repeat center center fixed;
} */

.case-data .title {
  margin-top: 80px;
  margin-bottom: 75px;
  font-size: 36px;
  font-weight: 400;
}

.bg .product-title {
  position: absolute;
  width: 72%;
  top: 68%;
  left: 9%;
  color: rgba(255, 255, 255, 1);
  font-size: 20px;
  opacity: 1;
}

.bg .product-title p {
  text-align: left;
}

.case-data ul li:not(:first-child) {
  margin-left: 0%;
}
.bg .mask:hover {
  background: #000;
  opacity: 0.5;
  padding: 0;
}
.bg .mask:hover .product-title{
  top: 64%;
  opacity: 0;
}
.bg .hoveblock {
  display: none;
}
.bg .hovenone {
  display: block;
}
.bg .mask:hover .hoveblock {
  display: block;
}
.bg .mask:hover .hovenone {
  display: none;
}
/* .bg .mask {
  width: 98%;
  padding-top: 98%;
  background-color: rgb(0, 0, 0);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 0;
  margin-top: -99%;
  margin-left: 1%;
} */

.case-data ul li:hover .bg .mask {
  opacity: 0.5;
  transition: all 0.3s ease-in-out;
}

.case-data ul li:hover .product-title {
  margin-top: -35%;
  transition: all 0.3s ease-in-out;
}

.case-data ul li:hover .bg {
  background-size: 120%;
}
.case-service-title {
  margin-top: 90px;
  margin-bottom: 50px;
  font-size: 36px;
}

.case-service {
  background: #f4f5f7;
}

.case-service .item {
  width: 25%;
  display: inline-block;
}

.case-service-content {
  height: 400px;
  width: 100%;
  background-color: rgba(244, 245, 247, 1);
}

.case-service {
  width: 65%;
}

.case-service .item {
  width: 20%;
}

.case-service .item.active {
  width: 30%;
  background-color: rgba(255, 105, 0, 1);
}
.case-service-body {
  background: #f4f5f7;
  width: 100%;
  min-height: 400px;
  cursor: pointer;
}

.case-service-body ul li {
  width: 100%;
  height: 60px;
  font-size: 20px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  line-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-service-body ul li p {
  width: 100%;
  height: 60px;
  font-size: 16px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  line-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 840px) {
  .case-service-body ul.ServiceCase li {
    height: 400px;
    width: 100%;
    padding: 48px 0 68px 20px;
    text-align: left;
    border-radius: 0;
    list-style: none;
  }
  .case-service-body ul.ServiceCase li:active {
    width: 100%;
    color: white;
  }

  .case-service-body ul.ServiceCase li.case2:hover,
  .case-service-body ul.ServiceCase li.case2.active {
    width: 100%;
    background: url("../images/case2.png") no-repeat;
    background-size: 100% 100%;
    color: white;
  }
  .case-service-body ul.ServiceCase li.case3:hover,
  .case-service-body ul.ServiceCase li.case3.active {
    width: 100%;
    background: url("../images/case3.png") no-repeat;
    background-size: 100% 100%;
    color: white;
  }
  .case-service-body ul.ServiceCase li.case4.active,
  .case-service-body ul.ServiceCase li.case4.active {
    width: 100%;
    background: url("../images/case4.png") no-repeat;
    background-size: 100% 100%;
    color: white;
  }
  .case-service-body ul.ServiceCase li.case1:hover,
  .case-service-body ul.ServiceCase li.case1.active {
    width: 100%;
    background: url("../images/case1.png") no-repeat;
    background-size: 100% 100%;
    color: white;
  }
}
@media (min-width: 840px) {
  .case-service-body ul.ServiceCase li {
    height: 400px;
    width: 22%;
    padding: 48px 20px 68px 20px;
    text-align: left;
    border-radius: 0;
    list-style: none;
  }
  .case-service-body ul.ServiceCase li:active {
    width: 32%;
    color: white;
  }

  .case-service-body ul.ServiceCase li.case2:hover,
  .case-service-body ul.ServiceCase li.case2.active {
    width: 32%;
    background: url("../images/case2.png") no-repeat;
    background-size: cover;
    color: white;
    transition: all 0.3s ease-in-out;

  }
  .case-service-body ul.ServiceCase li.case3:hover,
  .case-service-body ul.ServiceCase li.case3.active {
    width: 32%;
    background: url("../images/case3.png") no-repeat;
    background-size: cover;
    color: white;
    transition: all 0.3s ease-in-out;

  }
  .case-service-body ul.ServiceCase li.case4.active,
  .case-service-body ul.ServiceCase li.case4.active {
    width: 32%;
    background: url("../images/case4.png") no-repeat;
    background-size: cover;
    color: white;
    transition: all 0.3s ease-in-out;

  }
  .case-service-body ul.ServiceCase li.case1:hover,
  .case-service-body ul.ServiceCase li.case1.active {
    width: 32%;
    background: url("../images/case1.png") no-repeat;
    color: white;
    background-size: cover;
    transition: all 0.3s ease-in-out;

  }
}
/* .case-service-body ul.ServiceCase li {
  height: 400px;
  width: 20%;
  padding: 48px 0 68px 20px;text-align: left;
  border-radius:0;
  list-style: none;
}
.case-service-body ul.ServiceCase li:active{
  width: 40%;
} */

.anquan > li {
  display: flex;
  justify-content: space-between;
}

.bottomText {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-family: MicrosoftYaHei;
  color: #333333;
  line-height: 42px;
}
.bottomText P {
  font-size: 20px;
  color: #333333;
  line-height: 34px;
}
.bottomImage {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.caImgae {
  font-size: 20px;
  line-height: 0;
  margin-bottom: 30px;

}
.caseBt:hover{
  background: #FFFFFF;
  box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.caseBt .bottomTextSpan{
  color: #333333;
  opacity: 0;
}
.caseBt:hover .bottomTextSpan{
  color: #333333;
  opacity: 1;
}




.product-list{
    margin: 75px auto 75px auto;

}

.product-list ul{
    margin-bottom: 0;
    margin-top: -20px;
}

.product-list ul li{
    list-style-type: none;
    display: inline-block;
    height: 336px; overflow: hidden;
     border-radius: 4px;
}

.product-list .bg{
    background-repeat: no-repeat;
    /* width: 380px; */
    height: 380px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-size: 100%;
     border-radius: 4px;
     overflow: hidden;
}

.product-list .product-data0{
    background-image: url("../images/product-data.png");
     border-radius: 4px;
}
.product-list .product-data1{
    background-image: url("../images/product-farm.png");
     border-radius: 4px;
}
.product-list .product-data2{
    background-image: url("../images/product-safe.png");
     border-radius: 4px;
}
.product-list .product-farm{
    background-image: url("../images/product-farm.png");
     border-radius: 4px;
}
.product-list .product-safe{
    background-image: url("../images/product-safe.png");
     border-radius: 4px;
}
.product-list .bg .product-content{
    padding-left: 26px;
    padding-right: 26px;
    height: 100%;
     border-radius: 4px;
     overflow: hidden;
}

.product-list .bg:hover {
    background-size: 120%;
     border-radius: 4px;
}
.product-list .bg:hover  .product-title{
     top: 180px;
}
.product-list .bg .product-title{
    z-index: 99;
    color: rgba(255, 255, 255, 1);
    font-size: 23px;
    position: relative;
    top: 182px;
    transition: all 0.3s ease-in-out;
    display: block;
}

.product-list .bg .product-title p{
    text-align: left;
}
.product-list .bg .product-desc{
    z-index: 99;
    position: relative;
    top: 180px;
    text-align: left;
    opacity: 0;
     border-radius: 4px;
}
.product-list .bg .product-desc p{
    font-size: 24px;
    color: rgba(255, 255, 255, 1);
    text-align: left;
}
.product-list .bg .product-desc button{
    width: 98px;
    height: 32px;
    font-size: 14px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 1);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 1);
    margin-top: -20px;
}

.product-list .bg .mask{
    /* width: 375px; */
    height: 375px;
    box-sizing: border-box;
    background-color: rgb(0,0,0);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    margin-top: -375px;
    margin-left: 5px;
    z-index: 0;
     border-radius: 4px;
}

.product-list ul li:hover .bg .product-title{
    top: 140px;
    /* transition: all 0.3s ease-in-out; */
     border-radius: 4px;
     height: 0;
     /* opacity: 0; */
     display: none;
}

.product-list ul li:hover .bg .product-desc{
    opacity: 1;
    transition: all 1s ease-in-out;
     border-radius: 4px;
}

.product-list ul li:hover .bg .mask{
    opacity:0.5;
    transition: all 0.3s ease-in-out;
     border-radius: 4px;
}

.product-list ul li:not(:first-child){
    /* margin-left: 20px; */
}
