*{ margin:0;}
a{ text-decoration:none;}


/*single*/
.single {
	width:24%;
	margin-right:1%;
	float:left;
}
.img {
    position: relative;
    display: block;
    overflow: hidden;
}
.img>img {
    width: 100%;
}
.hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, .9);
    transition: opacity 800ms ease, visibility 800ms ease, transform 800ms ease;
    z-index: 1;
    margin: 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-115%);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 50px;
}
.img:hover .hover {
    transform: translateY(0%);
    visibility: visible;
    opacity: 1;
}
.hover .img-popup {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #9d9482;
    color: #000000;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 500ms ease;
}
.hover .img-popup:hover {
    background-color: #fff;
}
.hover p {
    font-size: 14px;
    color: #9d9d9d;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin: 0;
    z-index: 1;
}
.hover p:before {
    position: absolute;
    bottom: 1px;
    right: 0;
    left: 0;
    content: "";
    background-color: #3e3d3d;
    z-index: -1;
    height: 6px;
}
.hover h2 {
    font-size: 25px;
	line-height:30px;
	margin-top:10px;
    color: #ffffff;
    text-transform: uppercase;
}
.hover h2 a {
    color: inherit;
    transition: all 500ms ease;
}
.hover h2 a:hover {
    color: #9d9482;
}