
@font-face {
  font-family: "gotham-light";
  src: url("gotham-light.ttf") format("truetype");
}

.gridZ {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 0;
	max-width: 1170px;
	list-style: none;
	text-align: center;
}

/* Common style */
.gridZ figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 5px;
    width: 32.4555%;
    height: auto;
    background: none repeat scroll 0% 0% #3085A3;
    text-align: center;
    cursor: pointer;
}

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

.gridZ figure figcaption {
    padding: 0;
    color: #FFF;
    text-transform: uppercase;
    font-size: 1.25em;
    backface-visibility: hidden;
}

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

.gridZ figure figcaption,
.gridZ 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 */
.gridZ figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.gridZ figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
    background: none;
}

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


.gridZ figure p {
	margin: 0;
}

.gridZ figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}



/*-----------------*/
/***** Apollo *****/
/*-----------------*/

figure.effect-apollo {
	background: #000;
}

figure.effect-apollo img {
	opacity: 0.95;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.05,1.05,1);
	transform: scale3d(1.05,1.05,1);
}

figure.effect-apollo figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
	content: '';
	-webkit-transition: -webkit-transform 0.6s;
	transition: transform 0.6s;
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
	transform: scale3d(2.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -100%, 0px);
}

figure.effect-apollo p {
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin: 0em;
    padding: 9px 1em;
    max-width: 273px;
    border-right: 4px solid #FFF;
    text-align: right;
    opacity: 0;
    transition: opacity 0.35s ease 0s;
    color: #FFF;
    background: none repeat scroll 0% 0% #A334D6;
    font-family: arial;
    font-size: 12px;
    font-weight: bold !important;
    text-transform: capitalize;
    line-height: 17px;
}
figure.effect-apollo:hover p {
    font-weight: bold;
    }

figure.effect-apollo h2 {
    text-align: left;
    color: #FFF;
    font-size: 12px;
    line-height: 0px;
    font-family: "arial";
    font-weight: bold;
    width: auto;
    text-transform: capitalize;
    text-shadow: 3px 5px 25px #000;
    background: #b7007a;
    float: right;
    margin-top: 46%;
    letter-spacing: 0px!important;
    line-height: 1px;
}
.gridZ figure h2, {
    bottom: 0px;
    margin: 46% 0px -21px 14%;
    float: right;
}

figure.effect-apollo:hover img {
	opacity: 0.6;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-apollo:hover figcaption::before {
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
}

figure.effect-apollo:hover p {
	opacity: 1;
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
    
}



/* Media queries */
@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.gridZ figure {
		display: inline-block;
		float: none;
		margin: 0 auto;
		width: 100%;
	}
}