.he-style7 .he-box{
    border:3px solid #333;
    overflow: hidden;
    position:relative;
}
.he-style7 .he-box .box-img img{
    width:100%;
    height: auto;
}
.he-style7 .he-box .box-img:before{
    content: "";
    position: absolute;
    top: 5%;
    left: 4%;
    width: 92%;
    height: 90%;
    opacity: 0;
    z-index:1;
    transform: scale(0,1);
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transition:all 0.90s ease 0s;
}
.he-style7 .he-box .box-img:after{
    content: "";
    position: absolute;
    width: 92%;
    height: 90%;
    top: 5%;
    left: 4%;
    opacity: 0;
    transform: scale(1,0);
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    transition:all 0.90s ease 0s;
}
.he-style7 .he-box:hover .box-img:before,
.he-style7 .he-box:hover .box-img:after{
    opacity:1;
    transform: scale(1);
}
.he-style7 .he-box .box-img .he-over-layer{
    position: absolute;
    display:block;
    width:100%;
    height:100%;
    opacity:0;
    background:rgba(114, 124, 182,0.8);
    transition:all 0.90s ease 0s;
}
.he-style7 .he-box:hover .he-over-layer{
    opacity:1;
}
.he-style7 .he-box .he-over-layer ul{
    list-style: none;
    position: relative;
    top: 30%;
    padding: 0;
    text-align: center;
    z-index: 1;
    transition:all 0.6s ease 0s;
}
.he-style7 .he-box:hover .he-over-layer ul{
    top: 42%;
}
.he-style7 .he-box .he-over-layer ul li{
    display: inline-block;
}
.he-style7 .he-box .he-over-layer ul li a{
    border: 2px solid #fff;
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    color:#fff;
    font-size: 15px;
    margin-right: 10px;
    transition: all 0.5s ease 0s;
}
.he-style7 .he-box .he-over-layer ul li a:hover{
    background: #fff;
    color:#333;
}
@media only screen and (max-width: 990px) {
    .he-style7 .he-box{
        margin-bottom:20px;
    }
}