.case_bg {
    background: #fff;
    overflow: hidden;padding-bottom: 3%
}
.gy2 {
    overflow: visible;
  	width: 1200px;
    margin:0 auto;
}

.n_case_list {
    min-height: 500px;
    margin-top: 50px;
}
.n_case_list ul li {
    /* float: left; */
    width: 32.2%;
    overflow: hidden;
    /* margin-right: 2%; */
    vertical-align: top;
    display: inline-block;
    margin-right: 1.7%;
    background: #f5f5f5;
    position: relative;
    transition: all 0.5s;
    margin-bottom: 2%;
}
.n_case_list ul li:before {
    content: "";
    display: block;
    position: absolute;
    left: 0%;
    right: 0%;
    bottom: 0px;
    height: 2px;
    opacity: 1;
    background-color: #dcdcdc;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}
.n_case_list ul li .imgs {
    overflow: hidden;
    position: relative;
}

.n_case_list ul li img {
    /* display: block; */
    height: 100%;
    width: 100%;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
.n_case_list ul li .txts {
    font-weight: normal;
    color: #fff;
    font-size: 16px;
    line-height: 36px;
    height: 100%;
    overflow: hidden;
    transition: all 0.4s;
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
}
.n_case_list ul li .txts h2 {
    color: #fff;
    font-weight: normal;
    font-size: 24px;
    height: 76px;
    line-height: 76px;
    overflow: hidden;
    margin-top: 25%;
}
.n_case_list ul li a .txts {
    color: #fff;
    display: inline-block;
    font-size: 16px;
}
.n_case_list ul li a .txts i {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
    transition: all 0.4s;
}
.n_case_list ul li a .txts i.bgs1 {
    background: url(../images/i_pic1.png) center top no-repeat;
}

.n_case_list ul li .allist-cnt {
    width: 96%;
    margin: 0 auto;
    text-align: center;
    line-height: 32px;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
}
.n_case_list ul li:after {
    content: "";
    display: block;
    position: absolute;
    left: 0%;
    right: 100%;
    bottom: 0px;
    height: 2px;
    opacity: 0;
    background-color: #17181B;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}
.n_case_list ul li .allist-cnt h5 {
    font-weight: normal;
    font-size: 20px;
    color: #000;
    line-height:36px;
    height: 36px;
    overflow: hidden;
}
.n_case_list ul li:nth-child(3n+0) {
    margin-right: 0;
}
.n_case_list ul li:hover:after{left:0%;right: 0%;opacity: 1;}
.n_case_list ul li:hover{-webkit-box-shadow: 0 5px 25px rgba(0,0,0,0.1); box-shadow: 0 5px 25px rgba(0,0,0,0.1);-webkit-transform: translate3d(0, -5px, 0); transform: translate3d(0, -5px, 0); }
.n_case_list ul li:hover .imgs img{-webkit-transform:scale(1.02, 1.02); -moz-transform:scale(1.02, 1.02); -o-transform:scale(1.02, 1.02); -ms-transform:scale(1.02, 1.02); transform:scale(1.02, 1.02);}
.n_case_list ul li:hover .txts{ bottom:0;}
.n_case_list ul li a .txts i:hover{margin-bottom:6%;transform:rotate(360deg);}

@media (max-width: 767px) {
   
    .case_bg .gy2{width:100%;}
    .n_case_list{padding:0 10px;margin-top: 30px;}
    .n_case_list ul li{width:100%;float: none;}
    .n_case_list ul li:nth-child(3n+0) {
    	margin-right: 0%;
	}
    .n_case_list ul li:nth-child(2n+0) {
    	margin-right: 0;
	}
    .n_case_list ul li .allist-cnt{
    	padding-top:5px;
        padding-bottom:5px;
    }
  
}
