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

/* Common style */
.grideffect figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 4px 0.25%;
	max-width: 900px;
	height: 200px;
	width: 24.5%;
	text-align: center;
	cursor: pointer;
	background-color: #1b5a7d;
	}

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

.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: center;
	font-size: 1.15rem;
	line-height: 1.3rem;
	color: #ffffff;
	font-family: "Cosmos Medium";
	font-style: normal;
	font-weight: normal;
	margin: 0 0 2.0rem 0;
	padding: 0;
	text-transform: uppercase;	
	}
@media (max-width: 768px) {
	.grideffect figure h2 {	
	font-size: 1.35rem;
	line-height: 1.55rem;
	}
}



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

.grideffect figure p {
	text-align: center;
	color: #ffffff;
	font-size: 0.9rem;
	line-height: 1.2rem;	
	font-family: "Cosmos Medium";
	font-weight: normal;
	font-style: normal;
	text-transform: none;
	}
.grideffect figure p i {
	font-size: 2.0rem;
	color: #ffffff;
	}
.grideffect figure p a:link, .grideffect figure p a:visited {
	font-size: 0.7rem;
	line-height: 0.7rem;
	font-family: "Cosmos Light";
	font-weight: normal;
	font-style: normal;	
	padding: 0.7rem 2.0rem 0.4rem 2.0rem;
	text-decoration:none;
	color: #ffffff;
	background: none;
	display: inline-block;
	text-align: center;
	margin: 0;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	border: 1px solid #ffffff;	
	-webkit-border-radius: 30px;
	border-radius: 30px;
	}	
.grideffect figure p a:active, .grideffect figure p a:hover {
	color: #480e67;
	background: #ffffff;
	}	
	






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





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


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

figure.effect-marley h2 {
	top: 25px;
	-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: 1px;
	background: rgba(255, 255, 255, .25);
	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.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	}

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








@media screen and (max-width: 960px) {
	.content {
		padding: 0;
		text-align: left;
	}

	
	.grideffect figure figcaption {
		padding: 1rem 2rem;
	}
	figure.effect-marley h2 {
		position: absolute;
		right: 20px;
		left: 20px;
	}
	
	.grideffect figure p i {
		font-size: 1.6rem;
		color: #ffffff;
		}
	
	.grideffect figure h2 {
		font-size: 0.95rem !important;
		line-height: 1.25rem;
	}
	
	.grideffect figure {
		position: relative;
		float: left;
		overflow: hidden;
		margin: 2px 0.5%;
		max-width: 900px;
		height: 200px;
		width: 48%;
		text-align: center;
		cursor: pointer;
		}

}





@media screen and (max-width: 640px) {
	.grideffect figure {
		position: relative;
		float: left;
		overflow: hidden;
		margin: 2px 0;
		max-width: 100%;
		height: 170px;
		width: 100%;
		text-align: center;
		cursor: pointer;
		}

}




