/* CSS Document */
.grid1 {
	position: relative;
	list-style: none;
}


/* Common style */
.grid1 figure {
	position: relative;
	
	
	overflow: hidden;
	/*width: 100%;*/
	/*max-height: 400px;*/
	width: 98%;
/*	height: auto;*/
	/*background: #3085a3;*/
	text-align: center;
	cursor: pointer;
	margin:1%;
	/*border:2px solid rgba(238,238,238,0.4);*/
	border:0;
	opacity:0.9;

	-webkit-transition: all 0.8s ease;
	-moz-transition: all 0.8s ease;
	-o-transition: all 0.8s ease;
	-ms-transition: all 0.8s ease;
}
.grid1 figure:hover {
	opacity:1;
	/*border:2px solid rgba(238,238,238,1);*/

	-webkit-transition: all 0.8s ease;
	-moz-transition: all 0.8s ease;
	-o-transition: all 0.8s ease;
	-ms-transition: all 0.8s ease;
}

.grid1 figure h2
{
	text-align:center;
	width:100%;
	
}


.grid1 figure p
{
	text-align:left;
	width:100%;
	
}



.grid1 figure img {
	position: relative;
	display: block;
	height: 300px;
	/*max-width:650px;*/
	width: 100%;
	opacity: 1;
	border-radius:10px;
	
	
}

.grid1 figure figcaption {
	padding: 5px;
	text-transform: uppercase;
	
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid1 figure figcaption::before,
.grid1 figure figcaption::after {
	pointer-events: none;
}

.grid1 figure figcaption,
.grid1 figure figcaption > a {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid1 figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	opacity: 0;
}



/*-----------------*/
/***** Goliath *****/
/*-----------------*/

figure.effect-goliath {
	background-color:transparent;
	padding:0; margin:0;
}

figure.effect-goliath img{
	height:250px;
	opacity:1;
	background-color:rgba(255,255,255,0.5);
}
figure.effect-goliath img,
figure.effect-goliath h2 {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}


figure.effect-goliath p {
	position: absolute;
	bottom: 0;
	right: 0;
	padding:10px 10px 0 10px;
}

figure.effect-goliath h2
{
	position: absolute;
	bottom: 0;
	right: 0;
	padding:5px;
	/*background-color:rgba(255,255,255,0.4);*/
	color:#fff;
	min-height:80px;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	background-color:rgba(0,0,0,0.2);
}

figure.effect-goliath p {
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,-100%,0);
	transform: translate3d(0,-100%,0);
	color:#666;
}

figure.effect-goliath:hover img {
	-webkit-transform: translate3d(0,-100px,0);
	transform: translate3d(0,-100px,0);
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	opacity:0.6;
}

figure.effect-goliath:hover h2 {
	-webkit-transform: translate3d(0,-100px,0);
	transform: translate3d(0,-100px,0);
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	background-color:rgba(255,255,255,0);
}

figure.effect-goliath:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}






@media screen and (max-width: 40em) {

	.codrops-icon span {
		display: none;
	}

	.related {
	}

}