.grid {
	position: relative;
	margin: 0 auto;
	line-height:0;
	list-style: none;
	/*text-align: center;*/
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	
	width: 100%;
	height: auto;
	background: #000000;
	/*text-align: center;*/
	cursor: pointer;
	/*border: 5px solid white;*/
	box-sizing: border-box;
	
    
}

.grid figure img {
	position: relative;
	display: block;
	height: 100%;
	width: 100%;
opacity: 0.5;
}



.grid figure figcaption {
	padding: 2em;
	color: #fff;
	/*font-size: 1.25em;*/
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

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

.grid figure figcaption,
.grid figure figcaption > a {
	
	  right: 0;
	left: 0;
	
	
}

.grid figure figcaption {
	position: absolute;
	height: 100%!important;
  top: 0;

  
}

/* 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 h3 {
	/*word-spacing: -0.15em;*/
	color: white;
	line-height: 1.2em;
	color: white;
	
}

.grid figure h2 a {
	color: white!important;}

div.grid figure.effect-duke figcaption hr { height: 5px; background: white; width: 40px; margin: 15px auto 0px; padding: 0px; }

.grid figure h2 span {

}

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

.grid figure p {

}

/*---------------*/
/***** Duke *****/
/*---------------*/

figure.effect-duke {
    background: #000000;
    backface-visibility: hidden;
}

figure.effect-duke img,
figure.effect-duke p {
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    backface-visibility: hidden;
	display: block;
}

figure.effect-duke img {
    transition: transform 0.1s, opacity 0.3s;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	display: block;
}

figure.effect-duke:hover img {
    opacity: 0.8;
    -webkit-transform: scale3d(1.1,1.1,1);
    transform: scale3d(1.1,1.1,1);
	display: block;
}


/*figure.effect-duke h2 {
	position: absolute;
  top: 50%;
  transform: translateY(-50%);
}*/

/*figure.effect-duke p {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 20px;
	padding: 30px;
	
}*/







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