.grid {
	position: relative;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 600px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 4%;
	width: 150px;
	height: 170px;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
    margin: auto;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-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: 23px;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
    position: absolute;
    top: -20px;
    left: 3px;
    display: inline-block;
    height: 100%;
    width: 96%;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

/* Individual effects */
/*---------------*/
/***** Romeo *****/
/*---------------*/

figure.effect-romeo {
	-webkit-perspective: 1000px;
	perspective: 1000px;
}

figure.effect-romeo.image1 img {
    margin-top: 9px;
}

figure.effect-romeo figcaption::before,
figure.effect-romeo figcaption::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80%;
	height: 1px;
	background: #000;
	content: '';
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-50%,-50%,0);
	transform: translate3d(-50%,-50%,0);
}

figure.effect-romeo:hover figcaption::before {
/*	opacity: 0.8;*/
/*
	-webkit-transform: translate3d(-50%,-50%,0) rotate(45deg);
	transform: translate3d(-50%,-50%,0) rotate(45deg);*/
}

figure.effect-romeo:hover figcaption::after {
/*	opacity: 0.9;*/
/*
	-webkit-transform: translate3d(-50%,-50%,0) rotate(-45deg);
	transform: translate3d(-50%,-50%,0) rotate(-45deg);
	*/
}

figure.effect-romeo h2 {
	position: absolute;
	top: 89px;
	left: 0;
	width: 100%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
    font-size: 14px;
    font-family:lato; font-weight:700;
    color: #000000;
}

figure.effect-romeo p {
	position: absolute;
	top: 69%;
	left: 0;
	width: 100%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
    color: #fec602;
    display: none;
    font-family:lato; font-weight:700;
    font-size: 15px;
}

figure.effect-romeo p {
	padding: 0;
	-webkit-transform: translate3d(0,-50%,0) translate3d(0,150%,0);
	transform: translate3d(0,-50%,0) translate3d(0,150%,0);
}

figure.effect-romeo:hover h2 {
    color: #cccccc;
}

figure.effect-romeo:hover p {
    display: block;
	-webkit-transform: translate3d(0,-50%,0) translate3d(0,100%,0);
	transform: translate3d(0,-50%,0) translate3d(0,100%,0);
}

figure.effect-romeo hr{
    display: none;
    border: 0;
    padding: 0;
    margin: 0;
}

figure.effect-romeo p {padding: 0; position: absolute; top: 86px; transform: translate3d(0px, -50%, 0px) translate3d(0px, 150%, 0px); }