.grid {
	position: relative;
	margin: 0 auto;
	max-width: 100%;
	list-style: none;
}

.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	width: 300px;
	height: 370px;
	background: #3085a3;
	text-align: center;
	border-bottom:1px dashed;
}

.grid figure img {
	position: relative;
	display: block;
	background: #FFFFFF;
	height: 300px;
	width: 100%;
	opacity: 1;
}

.grid figure figcaption {
	color: #000;
	overflow:hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 300px;
	cursor: pointer;
}

.grid figure figcaption > a {
	z-index: 5;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure .name {
	font-size:18px;
	font-weight:bold;
	text-shadow:0 0 1px #FFF, 0 0 2px #FFF, 0 0 3px #FFF, 0 0 4px #FFF, 0 0 5px #FFF, 0 0 6px #FFF, 0 0 7px #FFF, 0 0 8px #FFF, 0 0 9px #FFF, 0 0 10px #FFF, 0 0 11px #FFF, 0 0 12px #FFF, 0 0 13px #FFF, 0 0 14px #FFF, 0 0 15px #FFF, 0 0 16px #FFF, 0 0 17px #FFF, 0 0 18px #FFF, 0 0 19px #FFF, 0 0 20px #FFF, 0 0 21px #FFF, 0 0 22px #FFF, 0 0 23px #FFF, 0 0 24px #FFF, 0 0 25px #FFF, 0 0 26px #FFF, 0 0 27px #FFF, 0 0 28px #FFF, 0 0 29px #FFF, 0 0 30px #FFF;
}

.grid figure .name,
.grid figure p {
	margin: 0;
}

.grid figure p {
	font-color:#000;
}

figure.effect {
	background: #FFFFFF;
}

figure.effect img,
figure.effect .price,
figure.effect .vprice {
	opacity: 1;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect:hover img,
figure.effect:hover .price,
figure.effect:hover .vprice {
	opacity: 0.1;
}

figure.effect figcaption::before,
figure.effect figcaption::after {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect figcaption::before {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

figure.effect figcaption::after {
	border-right: 1px solid #000;
	border-left: 1px solid #000;
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
}

figure.effect .name {
	padding-top: 20px;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,-20px,0);
	transform: translate3d(0,-20px,0);
}

figure.effect p {
	padding: 20px;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect:hover figcaption::before,
figure.effect:hover figcaption::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect:hover .name,
figure.effect:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
	}
}
