.service-list li{
  width: 25%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 10px;
  float: left;
    list-style: none;
    position: relative;
}
.service-list li:nth-child(4n+1){
    clear: left;
}
.service-list .box{
  max-width: 305px;
  margin: 5px auto 40px;
  overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    padding: 10px;
    border: solid 1px #ddd;
    border-radius: 10px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    position: relative;
}
.service-list .box:hover{
    -webkit-transform: translate(0,-5px);
    transform: translate(0,-5px);
    -webkit-box-shadow: 0 3px 4px rgba(0,0,0,0.2);
    box-shadow: 0 3px 4px rgba(0,0,0,0.2);
}


.service-list .inter{
  display: block;
  position: relative;
}
.service-list .inter .pic{
  position: relative;
  -webkit-transition: all .4s;
  transition: all .4s;
  height:250px;
  overflow:hidden;
}
.service-list .inter .pic img{
    display: block;
    margin: 0 auto; 
}
.service-list a.inter .pic:before{
  content: '';
  display: block;
  width: 0%;
  height: 0%;
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  margin: auto;
  background: -webkit-gradient(linear, right top, left top, from(#17a0fc), to(#17fcd9));
  background: linear-gradient(-90deg, #17a0fc, #17fcd9);
    opacity: 0;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.service-list a.inter:hover .pic:before{
  height: 100%;
  width: 100%;
    opacity: 0.8;
}
.service-list a.inter .pic:after{
    content: '';
    background: url(../img/service/hover.png) no-repeat 50% 50%;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: -150px;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.service-list a.inter:hover .pic:after{
    bottom: 0;
    opacity: 1;
}

.service-list .txt{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px 10px 10px;
}
.service-list .name{
  font-size: 18px;
  line-height: normal;
  color: #444;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    margin: 7px 0 24px;
    position: relative;
    min-height: 20px;
}
.service-list .box:hover .name{
    font-weight: bold;
    color: #255ca7;
   
}
.service-list .name:after{
    content: '';
    display: block;
    background: url(../img/service/deco.png) no-repeat;
    width: 37px;
    height: 5px;
    position: absolute;
    left: 0;
    bottom: -15px;
}
.service-list .description{
   font-size: 14px;
    color: #6e6c6c;
     -webkit-line-clamp: 2;
      -webkit-box-orient: vertical; 
      max-height: 60px;
    min-height: 16px;
}

/*detail*/
.detil-title{
  color: #255ca7;
  font-size: 28px;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 1px dashed #777;
  display: block;
  margin-bottom: 10px;
}

.detail-main {
  display: inline-block;
  width: 100%;
}
.service-detail-editor{
    line-height: 1.8;
}
.detail-main .col{
  float: left;
  width: 47%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 15px;
}
.detail-main .col2{
     width: 53%;
  float: right;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.detail-main .col1 .pic{
  max-width: 580px;
  margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    border: solid 1px #ddd;
}
.detail-main .editor{
  margin-bottom: 15px;
}
.detail-main .col  .btn.pdf{
  margin: 5px;
  float: left;
}
ul.s-d-ul{
    padding: 20px 15px;
    list-style: none;
    display: block;
    width: 100%;
    background: rgba(255,255,255,0.9);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 25px;
    -webkit-box-shadow: 0 4px 4px rgba(144,144,144,0.2);
    box-shadow: 0 4px 4px rgba(144,144,144,0.2);
}
ul.s-d-ul li{
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px 0;
    border-bottom: solid 1px #ccc;
}
ul.s-d-ul li b{
    font-weight: bold;
    color: #000;
    display: inline-block;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-left: solid 4px #cecece;
}
.detail-box{
  clear: both;
  margin: 25px 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 15px;
  border-top: solid 1px #999;
}
.detail-box .title{
  font-size: 24px;
  font-weight: bold;
  color: #111;
  text-align: left;
  margin-bottom: 15px;
}
.basicebtn.snd i{
  margin-right: 5px;
  font-size: 13px;
}

.relate-box .title{
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 5px;
  margin-bottom: 30px;
  border-bottom: solid 1px #7ab0af;
  margin-top: 30px;
  text-align: center;
}
.relate-box i{
    display: block;
    margin: 0 auto 5px;
    color: #149ffc;
}
.relate-list li{
  width: 25%;
    list-style: none;
}
/*more-box*/
.more-box{
    position: relative;
    background:#fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px;
    margin: 50px auto 15px;
    border-radius: 20px;
}

.lenth {
  width: 100%;
  height: auto;
    position: relative;
}
.lenth:before{
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    top: 38px;
    background: -webkit-gradient(linear, left top, right top, from(#17a0fc) , to(#17fcd9));
    background: linear-gradient(to right, #17a0fc , #17fcd9);
}
.lenth section {
  display: none;
  padding: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  height: auto;
}
.lenth section  img{
    display: block;
    width:100%;
    height: auto;
    margin: 0 auto;
}
.lenth input[type="radio"] {
  display: none;
}
.lenth label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 8px 15px;
  font-weight: 600;
  text-align: center;
    background: #d1d3d5;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.lenth label:hover {
  cursor: pointer;
    background: #149ffc;
    color: #fff;
}
.lenth input[type="radio"]:checked + label {
  color:#fff;
     background: #149ffc;
}
.lenth #tab3:checked ~ #content3,
.lenth #tab1:checked ~ #content1,
.lenth #tab2:checked ~ #content2 {
  display: block;
}
.video-box{
    width: 100%;
    max-width: 300px;
}

.gallery .slick-slide img{
    width: 100%;
    height: auto;
    margin:auto;
}
.gallery .slick-dots li button{
    width: 10px;
    margin: 0 3px;
}
.video-boxs{
    max-width: 450px; 
    float:left;
    display:block;
}
@media screen and (max-width:981px){
  .service-list li{
    width: 50%;
  }
    .service-list li:nth-child(4n+1){
        clear: none;
    }
    .service-list li:nth-child(2n+1){
        clear: left;
    }
  .detail-main .col{
    float: none;
    width: 100%;
    margin: 34px 0 15px;
  }
  .relate-list li{
    width: 50%;
  }
  .detil-title{
    width: 100%;
    float: none;
  }
    .lenth section{
        padding: 15px;
    }
}
@media screen and (max-width:480px){
  .service-list li{
    width: 100%;
  }
  .relate-list li{
    width: 100%;
  }
    .lenth:before{display: none;}
    .lenth label{
        width: 100%;
        border-radius: 0;
    }
}
