*, *:after, *:before { 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	box-sizing: border-box; 
}
.grid {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	padding: 40px 0;
	max-width: 1200px;
	list-style: none;
}
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	/*min-width: 320px;
	max-width: 480px;
	max-height: 360px;*/
	width: 31.3%;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	/*min-height: 100%;
	max-width: 100%;*/
	min-height: 100%;
	width: 100%;
}
.grid figure h3 {
	display: block;
	background: #FFF; 
	font-size: 16px; 
	font-weight: normal; 
	color: #1B1B1B; 
	text-align: left; 
	padding: 15px 20px;
}
.grid figure figcaption {
	z-index: 10000;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 2em;
	color: #fff;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}
.grid figure .mask{
	display: block;
	z-index: 999;
	position: absolute;
	top: inherit;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	opacity: 0;
	background: #000;
	-webkit-transition: all .35s ease;
	-moz-transition: all .35s ease;
	transition: all .35s ease;
}
.grid figure:hover .mask{
	height: 100%;
	opacity: 0.5;
}
/*---------------*/
/***** Zoe *****/
/*---------------*/

figure.effect-zoe figcaption {
	top: auto;
	bottom: 0;
	padding: 1%;
	/*height: 3.75em;*/
	height: 100%;
	color: #3c4a50;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}
figure.effect-zoe a.view_detail {
	font-size: 16px;
	color: #FFFFFF;
	display: block;
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 100px;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,200%,0);
	transform: translate3d(0,200%,0);
}
figure.effect-zoe div.description {
	position: absolute;
	top: 38%;
	padding: 2em;
	color: #fff;
	text-transform: none;
	font-size: 16px;
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	-webkit-backface-visibility: hidden; /* Fix for Chrome 37.0.2062.120 (Mac) */
}

figure.effect-zoe:hover div.description {
	opacity: 1;
}
figure.effect-zoe:hover figcaption,
figure.effect-zoe:hover a.view_detail{
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
figure.effect-zoe:hover a.view_detail {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

@media screen and (max-width: 900px) {
	.grid figure {
		width: 48%;
	}
}

@media screen and (max-width: 680px) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
}