/*=====img list=====*/

.img-list{
    width:830px;
    overflow:hidden;
}
.img-list>li{
    float:left;
    width:240px;
    margin:0 18px;
    margin-bottom:36px;
}
.img-list>li>a{
    display:block;
    position:relative;
    height:200px;
    overflow:hidden;
    width:240px;
    position:relative;
    transition:0.5s;
    -webkit-transition:0.5s;
    -moz-transition:0.5s;
    -ms-transition:0.5s;
    -o-transition:0.5s;
}
.img-list section{
    display:none;
    width:240px;
    height:160px;
    position:absolute;
    top:0;
    left:0;
    background:rgba(0,0,0,0.5);
    color:#fff;
    text-align:center;
    font-size:20px;
}
.img-list section>i{
    font-size:40px;
    margin-top:36px;
    margin-bottom:20px;
}
.img-list>li>a>img{
    width:100%;
    height:160px;
    transition: 0.5s;
    -moz-transition:0.5s;
    -ms-transition:0.5s;
    -o-transition:0.5s;
}
.img-list>li>a>span{
    display:block;
    width:240px;
    height:40px;
    position:absolute;
    bottom:0;
    left:0;
    background:rgba(0,0,0,.8);
    line-height:40px;
    text-align:center;
    background:#efefef;
    color:#333;
}
.img-list>li>a:hover{
    box-shadow:0 5px 20px 0 rgba(0,0,0,.8);
    -webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.8);
    -moz-box-shadow:0 5px 20px 0 rgba(0,0,0,.8);
    -ms-box-shadow:0 5px 20px 0 rgba(0,0,0,.8);
    -o-box-shadow:0 5px 20px 0 rgba(0,0,0,.8);
}
.img-list>li>a:hover img{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}
/*=====img list end=====*/

/*=====layer black=====*/
.layer{
    display:none;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.7);
    position:fixed;
    top:0;
}
.img-display{
    width:700px;
    padding:40px;
    background:#fff;
    position:absolute;
    position:relative;
    top:16%;
    left:30%;
}
.img-box{
    width:700px;
    height:483px;
    overflow:hidden;
}
.close-btn{
    position:absolute;
    top:-16px;
    right:10px;
    color:#000;
    font-size:32px;
    cursor: pointer;
}
.close-btn:hover{
    color:#bb0000;
}
.img-box>img{
    height:100%;
    display:block;
    margin:0 auto;
}
.img-display>span{
    display:block;
    text-align: center;
    font-size:24px;
    margin-top:30px;
}
/*=====layer black end=====*/