
.grideffect {
	position: relative;
	margin: 0 auto;
	padding: 0;
	max-width: 100%;
	list-style: none;
	text-align: center;
	}

/* Common style */
.grideffect figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 5px 0.1%;
	min-width: 120px;
	max-width: 800px;
	max-height: 160px;
	width: 16.4%;
	background: #141414;
	text-align: left;
	cursor: pointer;
	}

.grideffect figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.7;
	}

.grideffect figure figcaption {
	padding: 1.6rem 2.0rem;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 1.0rem;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	}

.grideffect figure figcaption::before,
.grideffect figure figcaption::after {
	pointer-events: none;
	}

.grideffect figure figcaption,
.grideffect figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grideffect figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
	}

.grideffect figure h2 {
	text-align: left;
	font-size: 1.1rem;
	line-height: 1.3rem;
	color: #ffffff;
	font-family: "foco";
	font-style: normal;
	font-weight: 700;
	margin: 0 0 1.6rem 0;
	padding: 0;
	text-transform: uppercase;	
	letter-spacing: 0.15rem;
	}
@media (max-width: 768px) {
	.grideffect figure h2 {	
	font-size: 1.35rem;
	line-height: 1.65rem;
	}
}



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

.grideffect figure p {
	text-align: left;
	color: #ffffff;
	font-size: 1.0rem;
	line-height: 1.3rem;	
	font-family: "foco";
	font-weight: 300;
	font-style: normal;
	text-transform: none;
	}
.grideffect figure p i {
	font-size: 0.9rem;
	}
.grideffect figure p a:link, .grideffect figure p a:visited {
	color:#ffffff;
	text-decoration:none;
	font-family: "foco";
	font-weight: 400;
	font-style: normal;
	font-size: 1.0rem;
	line-height: 1.3rem;
	}	
.grideffect figure p a:active, .grideffect figure p a:hover {
	color:#25282a;
	text-decoration:none;
	border-bottom: 1px solid #25282a;
	font-family: "foco";
	font-weight: 400;
	font-style: normal;
	}	
	





figure.effect-marley figcaption {
	text-align: left;	
	}


figure.effect-marley h2,
figure.effect-marley p {
	position: absolute;
	right: 20px;
	left: 20px;
	padding: 0 0 10px 0;
	}


figure.effect-marley p {
	bottom: 20px;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	}

figure.effect-marley h2 {
	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-marley:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	}

figure.effect-marley h2::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 3px;
	background: #ffffff;
	content: '';
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
	}

figure.effect-marley h2::after,
figure.effect-marley p {
	opacity: 0;
	-webkit-transition: opacity 0.55s, -webkit-transform 0.55s;
	transition: opacity 0.55s, transform 0.55s;
	}

figure.effect-marley:hover h2::after,
figure.effect-marley:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	}


@media screen and (max-width: 768px) {
	.content {
		padding: 0;
		text-align: left;
	}
	.grideffect figure {
		max-height: 140px;
	}
	.grideffect figure {
		display: inline-block;
		float: left;
		margin: 2px;
		width: 49%;
	}
	.grideffect figure p {
		display: none;
	}
	.grideffect figure figcaption {
		padding: 1rem 2rem;
	}
	figure.effect-marley h2 {
		position: absolute;
		right: 20px;
		left: 20px;
	}
	
	.grideffect figure h2 {
		font-size: 1.2rem;
		line-height: 1.5rem;
	}

}