/*==================================================*/
.gallery {
    margin-bottom: 30px;
    background: #f8f8f8;
    border-bottom: solid 5px #e5e5e5;
    position: relative;
}
.gallery:before{
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	right: 100%;
	border-bottom: solid 5px #00529c;
	-webkit-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}
.gallery:hover:before{
	right:0;
}
.gallery .img{
    padding-top: 65.666666%;
    position: relative;
    overflow: hidden;
}
.gallery .img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.gallery .img:before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/per.png);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.gallery:hover .img:before{
    opacity: 1;
    visibility: initial;
}
.gallery .tend {
    padding: 15px 20px;
}
.gallery .tend h3{
    display: block;
    font-size: 18px;
    line-height: 26px;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    font-weight: 600;
    overflow: hidden;
}
.gallery:hover .tend h3{
    color:#00529c;
}
.gallery .link a:first-child{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
/*===========================================*/
.designMy .fancybox-close{
    width: 45px;
    height: 45px;
    background: #00529c;
    color:#ffffff;
    border-radius: 100%;
}
.designMy .fancybox-close:before{
    content: "\f00d";
    font-family: fontAwesome;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    font-size: 20px;
    line-height: 30px;
}
/*==========================================================================*/
/*============================RESPONSIVE====================================*/
/*==========================================================================*/
@media all and (max-width: 991px){

}

@media all and (max-width: 460px){

}