.grid {
	clear: both;
	list-style: none;
	margin: 0;
	max-width: 1000px;
	position: relative;
	text-align: center;
}

.grid figure {
	background: #000;
	float: left;
	height: auto;
	margin: 0;
	overflow: hidden;
	position: relative;
	text-align: center;
}

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

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

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

#tmpbl1 .grid figure figcaption {
	height: 244px;
	left: 0;
	position: absolute;
	top: 0;
	width: 330px;
}

#tmpbl2 .grid figure figcaption {
	height: 210px;
	left: 0;
	position: absolute;
	top: 0;
	width: 360px;
}

#tmpbl3 .grid figure figcaption {
	height: 320px;
	left: 0;
	position: absolute;
	top: 0;
	width: 760px;
}

#tmpph .grid figure figcaption, #tmpvd .grid figure figcaption, #tmpat .grid figure figcaption {
	height: 210px;
	left: 0;
	position: absolute;
	top: 0;
	width: 360px;
}

#tmprw .grid figure figcaption {
	height: 207px;
	left: 0;
	position: absolute;
	top: 0;
	width: 207px;
}

#tmpmed figure.effect-jazz {
	height: 272px;
	width: 100%;
}

#tmprw figure.effect-jazz {
	height: 251px;
	width: 100%;
}

figure.effect-jazz figcaption::after, figure.effect-jazz img, figure.effect-jazz .tmpblC-info, figure.effect-jazz .tmpph-hover, figure.effect-jazz .tmpvd-hover, figure.effect-jazz .tmpat-hover {
	transition: opacity 0.4s, transform 0.35s;
	-webkit-transition: opacity 0.4s, -webkit-transform 0.4s;
}

figure.effect-jazz figcaption::after {
	content: '';
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transform: rotate3d(0, 0, 1, 45deg) scale3d(1, 0, 1);
	transform-origin: 50% 50%;
	-webkit-transform: rotate3d(0, 0, 1, 45deg) scale3d(1, 0, 1);
	-webkit-transform-origin: 50% 50%;
	width: 100%;
}

figure.effect-jazz:hover img {
	opacity: 1;
	transform: scale3d(1.05, 1.05, 1);
	-webkit-transform: scale3d(1.05, 1.05, 1);
}

figure.effect-jazz:hover figcaption::after {
	opacity: 1;
	transform: rotate3d(0, 0, 1, 45deg) scale3d(1, 1, 1);
	-webkit-transform: rotate3d(0, 0, 1, 45deg) scale3d(1, 1, 1);
}

figure.effect-jazz:hover .tmpblC-info, figure.effect-jazz:hover .tmpph-hover, figure.effect-jazz:hover .tmpvd-hover, figure.effect-jazz:hover .tmpat-hover {
	opacity: 1;
	transform: scale3d(1, 1, 1);
	-webkit-transform: scale3d(1, 1, 1);
}

figure.effect-jazz .tmpblC-info {
	height: 42px;
	left: calc(50% - 84px);
	opacity: 0;
	position: relative;
	top: calc(50% - 21px);
	width: 168px;
}

figure.effect-jazz .tmpph-hover {
	height: 64px;
	left: calc(50% - 43px);
	opacity: 0;
	position: relative;
	top: calc(50% - 31px);
	width: 85px;
}

figure.effect-jazz .tmpvd-hover {
	height: 85px;
	left: calc(50% - 43px);
	opacity: 0;
	position: relative;
	top: calc(50% - 42px);
	width: 85px;
}

figure.effect-jazz .tmpat-hover {
	height: 70px;
	left: calc(50% - 43px);
	opacity: 0;
	position: relative;
	top: calc(50% - 35px);
	width: 85px;
}