/* CSS Document */
.grid2 {
	position: relative;
	list-style: none;
	text-align: center;
}


/* Common style */
.grid2 figure {
	position: relative;
	
	
	overflow: hidden;
	/*width: 100%;*/
	/*max-height: 400px;*/
	width: 100%;
/*	height: auto;*/
	/*background: #3085a3;*/
	text-align: center;
	cursor: pointer;
	margin:0;
	/*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;
}
.grid2 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;
}

.grid2 figure img {
	position: relative;
	display: block;
	height: 300px;
	/*max-width:650px;*/
	width: 100%;
	opacity: 1;
	
	
}

.grid2 figure figcaption {
	padding: 5px;
	color: #fff;
	text-transform: uppercase;
	
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid2 figure figcaption::before,
.grid2 figure figcaption::after {
	pointer-events: none;
}

.grid2 figure figcaption,
.grid2 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 */
.grid2 figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	opacity: 0;
}

.grid2 figure h2 {
	text-align:center;
}

.grid2 figure h2 span {
	
}

.grid2 figure h2,
.grid2 figure p {
	margin: 0;
	text-align:left;
}

.grid2 figure p {
	
}

/* Individual effects */

/*---------------*/
/***** Chico *****/
/*---------------*/






figure.effect-ming {
	background: #030c17;
}


figure.effect-ming img{
	height:200px;
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 30px;
	left: 30px;
	bottom: 30px;
	right: 30px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h2 {
	margin: 20% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-ming p i {
	font-size:40px;
	opacity:0.6;
}
figure.effect-ming p {
	padding: 1em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
	margin-top:60px;
}

figure.effect-ming:hover h2 {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-ming:hover img {
	opacity: 0.4;
}



@media screen and (max-width: 40em) {

	.codrops-icon span {
		display: none;
	}

	.related {
	}

}