@charset "UTF-8";
@import url("hover4.css");
.content {
	text-align:center;
	vertical-align:middle;
	padding-top:200px;
}
.view {
	width: 290px;
    height: 382px; 
    overflow: hidden;
    position: relative;
    cursor: pointer;
	margin-bottom:10px;
}
.view .mask1, .view .mask2, .view .mask3, .view .mask4, .view .content {
	width: 290px;
    height: 382px;   
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
.view img {
    display: block;
    position: relative;
}
.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    background: rgba(255,204,0,0.7);
    color: #000;
    text-transform: uppercase;
}
.view a.info:hover {
	background: #F93;
}

.view-fourth img { 
    -webkit-transition: all 0.4s ease-in-out 0.2s;
	-mos-transition: all 0.4s ease-in-out 0.2s;
	-ms-transition: all 0.4s ease-in-out 0.2s;
	-o-transition: all 0.4s ease-in-out 0.2s;
	transition: all 0.4s ease-in-out 0.2s;
    opacity: 1;
}
.view-fourth .mask1 {
	background-color: rgba(0,0,0,0.8);
	background-image:url(../Images/art1.jpg); 
    opacity: 0;
	-webkit-transform: scale(0) rotate(-180deg);
	-mos-transform: scale(0) rotate(-180deg);
	-ms-transform: scale(0) rotate(-180deg);
	-o-transform: scale(0) rotate(-180deg);
	transform: scale(0) rotate(-180deg);
	-webkit-transition: all 0.4s ease-in;
	-mos-transition: all 0.4s ease-in;
	-ms-transition: all 0.4s ease-in;
	-o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    border-radius: 0px;
}
.view-fourth .mask2 {
	background-color: rgba(0,0,0,0.8);
	background-image:url(../Images/art2.jpg); 
    opacity: 0;
	-webkit-transform: scale(0) rotate(-180deg);
	-mos-transform: scale(0) rotate(-180deg);
	-ms-transform: scale(0) rotate(-180deg);
	-o-transform: scale(0) rotate(-180deg);
	transform: scale(0) rotate(-180deg);
	-webkit-transition: all 0.4s ease-in;
	-mos-transition: all 0.4s ease-in;
	-ms-transition: all 0.4s ease-in;
	-o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    border-radius: 0px;
}
.view-fourth .mask3 {
	background-color: rgba(0,0,0,0.8);
	background-image:url(../Images/art3.jpg); 
    opacity: 0;
	-webkit-transform: scale(0) rotate(-180deg);
	-mos-transform: scale(0) rotate(-180deg);
	-ms-transform: scale(0) rotate(-180deg);
	-o-transform: scale(0) rotate(-180deg);
	transform: scale(0) rotate(-180deg);
	-webkit-transition: all 0.4s ease-in;
	-mos-transition: all 0.4s ease-in;
	-ms-transition: all 0.4s ease-in;
	-o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    border-radius: 0px;
}
.view-fourth .mask4 {
	background-color: rgba(0,0,0,0.8);
	background-image:url(../Images/art4.jpg); 
    opacity: 0;
	-webkit-transform: scale(0) rotate(-180deg);
	-mos-transform: scale(0) rotate(-180deg);
	-ms-transform: scale(0) rotate(-180deg);
	-o-transform: scale(0) rotate(-180deg);
	transform: scale(0) rotate(-180deg);
	-webkit-transition: all 0.4s ease-in;
	-mos-transition: all 0.4s ease-in;
	-ms-transition: all 0.4s ease-in;
	-o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    border-radius: 0px;
}

.view-fourth a.info { 
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
	-mos-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
} 

.view-fourth:hover .mask1, .view-fourth:hover .mask2, .view-fourth:hover .mask3,
.view-fourth:hover .mask4  { 
    opacity: 1; 
    -webkit-transform: scale(1) rotate(0deg);
	-mos-transform: scale(1) rotate(0deg);
	-ms-transform: scale(1) rotate(0deg);
	-o-transform: scale(1) rotate(0deg);
	transform: scale(1) rotate(0deg);
    -webkit-transition-delay: 0.2s;
	-mos-transition-delay: 0.2s;
	-ms-transition-delay: 0.2s;
	-o-transition-delay: 0.2s;
	transition-delay: 0.2s;
}                                 
.view-fourth:hover img    { 
    -webkit-transform: scale(0);
	-mos-transform: scale(0);
	-ms-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0); 
    opacity: 0;
    -webkit-transition-delay: 0s;
	-mos-transition-delay: 0s;
	-ms-transition-delay: 0s;
	-o-transition-delay: 0s;
	transition-delay: 0s;	
}
.view-fourth:hover a.info{
    opacity: 1;
}

@media only screen and (min-width: 768px) {
	
	.view {
	width: 170px;
    height: auto;
	}
	.view .mask1, .view .mask2, .view .mask3, .view .mask4, .view .content {
	width: 170px;
    height: auto; 
	}
	
}

@media only screen and (min-width: 481px) {
	
	.content {
	padding-top:150px;
}
	
	.view {
	width: 290px;
	height: 382px;
}
	.view .mask1, .view .mask2, .view .mask3, .view .mask4, .view .content {
	width: 290px;
	height: 382px;
}
	
}
