
.grid figure {
	overflow: hidden;
	background: #000000;
	text-align: center;
}

.grid figure img {
	position: relative;
	display: block;
}

.grid figure figcaption {
	pointer-events: none;
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	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 {
	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;
}


/* Individual effects */


figure.effect-capsule-thumb img {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}
figure.effect-capsule-thumb img {
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-capsule-thumb:hover img {
	opacity: 0.5;
}

figure.effect-capsule-thumb figcaption {
	padding: 3em;
}


figure.effect-capsule-thumb p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	text-align: center;
}

figure.effect-capsule-thumb p {
	margin: 0 auto;
	width:200px;
	max-width: 200px;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	
	position:absolute;
	bottom: 1em;
	text-align: center;
}

figure.effect-capsule-thumb:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

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