
/* Common style */
.img-hover-block figure {
	position: relative;
	float: left;
	overflow: hidden;
	max-width:100%;
	max-height:100%;
	
	/*	
	margin: 10px 1%;
	min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 48%;
	background: #3085a3;
	*/
	text-align: center;
	cursor: pointer;
}

.img-hover-block figure img {
	position: relative;
	display: block;
	object-fit:cover;
	height:100%;
	/*
		min-height:100%;
	width:auto;
	*/
	/*
	min-height: 100%;
	max-width: 100%;
	*/
	opacity: 1;
}

.img-hover-block figure figcaption {
	padding: 1.25rem;
	color: #fff;
	/*
	text-transform: uppercase;
	font-size: 1.25em;
	*/
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
/*
.img-hover-block figure figcaption::before,
.img-hover-block figure figcaption::after {
	pointer-events: none;
}
*/
.img-hover-block figure figcaption,
.img-hover-block 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 */
.img-hover-block figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

/*---------------*/
/***** Sarah *****/
/*---------------*/

figure.effect-sarah {
	background: #E2027E;
}

figure.effect-sarah img {
		/*
	max-width: none;
	
	width: 100%;

	width: -webkit-calc(100% + 20px);
	width: calc(100% + 20px);
	*/
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	/*
	-webkit-transform: translate3d(-10px,0,0);
	transform: translate3d(-10px,0,0);
	*/
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-sarah:hover img {
	opacity: 0.4;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-sarah figcaption {
	text-align: left;
}

figure.effect-sarah h5 {
	position: relative;
	overflow: hidden;
	padding: 0 0 .5rem 0;
	color:#ffffff;
}

figure.effect-sarah h5::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #fff;
	content: '';
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

figure.effect-sarah:hover h5::after {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-sarah p {
	padding: 1em 0;
	opacity: 0;
	color:#ffffff;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(100%,0,0);
}

figure.effect-sarah:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	
}
