/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	width: 23%;
	height: 209px;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
	margin: 10px;
}

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

.grid figure figcaption {
	padding: 0em;
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}


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

.grid figure h2 {
	font-weight: 300;
	margin-top: 25%;
	padding: 6px 0px;
}
.grid figure h2 a{
	color: #FFFFFF;
}
figure.effect-kira:hover h2 {
	opacity: 1;
	background-color: rgba(59,62,62,0.8);
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,0px,0);
	transform: translate3d(0,0px,0);
}
figure.effect-kira img {
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	opacity: 0.5;
	
}
figure.effect-kira:hover img {
	opacity: 1;
}

figure.effect-kira figcaption {
	z-index: 1;
}




/* Media queries */
@media screen and (max-width: 1024px) {
.grid figure {
	width: 19.76%;
	height: 180px;
}
}
@media screen and (max-width: 1004px) {
.grid figure {
	width: 19.78%;
	height: 160px;
}
.grid figure figcaption {
	font-size: 9px;
}

}
@media screen and (max-width: 880px) {
.grid figure {
	width: 19.78%;
	height: 150px;
}
}
@media screen and (max-width: 880px) {
.grid figure {
	width: 19.78%;
	height: 130px;
}
}
@media screen and (max-width: 768px) {
.grid figure {
	margin-top: 10px;
}
}
@media screen and (max-width: 660px) {
.grid figure {
	width: 19.78%;
	height: 110px;
}
}
@media screen and (max-width: 600px) {
.grid figure {
	width: 19.78%;
	height: 100px;
}
}
@media screen and (max-width: 480px) {

.grid figure {
		display: inline-block;
		float: none;
		margin: 0px auto;
		width: 282px;
		height: 208px;
		margin-top: 10px;
}
.grid figure h2 {
	font-weight: 300;
	margin-top: 30%;
	padding: 6px 0px;
}
.grid figure figcaption {
	font-size: 12px;
}
}
@media screen and (max-width: 360px) {

.grid figure {
		display: inline-block;
		float: none;
		margin: 0px auto;
		width: 282px;
		height: 208px;
		margin-top: 10px;
}
.grid figure h2 {
	font-weight: 300;
	margin-top: 30%;
	padding: 6px 0px;
}
.grid figure figcaption {
	font-size: 12px;
}
}