.gallery {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin-bottom: 40px;
	cursor: help;
}
.gallery .progress {
	animation-duration: 5s;
}
.gallery .overlay {
	z-index: 10;
	filter: alpha(opacity=0);
	opacity: 0;
	transition: opacity 0.1s ease-in-out;
}
.gallery:hover .overlay {
	filter: alpha(opacity=70);
	opacity: 0.7;
}
.gallery:hover figure.active figcaption {
	filter: alpha(opacity=100);
	opacity: 1;
}
.gallery .feature-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: url("../../../img/bg-features-shadow.png") bottom left repeat-x;
	background-size: contain;
	transition: opacity 0.2s ease;
	opacity: 1;
}
.gallery .feature-caption {
	position: absolute;
	bottom: 30px;
	left: 40px;
	right: 90px;
	color: #fff;
	font-size: 18px;
	font-family: "AvenirNextDemi", Arial, sans-serif, Arial, sans-serif;
	opacity: 1;
	transition: opacity 0.2s ease-in-out;
	z-index: 11;
}
.gallery figure {
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	filter: alpha(opacity=0);
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
	float: left;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 320px;
}
.gallery figure.active {
	filter: alpha(opacity=100);
	opacity: 1;
	position: relative;
}
.gallery figcaption {
	position: absolute;
	bottom: 30px;
	left: 40px;
	right: 90px;
	color: #fff;
	font-size: 18px;
	font-family: "AvenirNextDemi", Arial, sans-serif, Arial, sans-serif;
	filter: alpha(opacity=0);
	opacity: 0;
	transition: opacity 0.1s ease-in-out;
	z-index: 11;
}
.gallery .prev {
	left: 10px;
}
.gallery .next {
	right: 10px;
}
.gallery .pagination-btn {
	position: absolute;
	top: 50%;
	margin-top: -12px;
	z-index: 12;
	display: none;
}
.gallery .pagination-btn svg {
	fill: #fff;
}
.gallery.with-pagination .pagination-btn {
	display: block;
}

.gallery.zoomable {
	cursor: default;
}

.gallery .zoom {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 11;
}

.regular-cursor {
	cursor: default;
}

@media screen and (max-width: 1023px) {
	.gallery figure {
		height: 350px;
	}
}
@media screen and (max-width: 639px) {
	.gallery {
		margin: 0 -20px 20px;
		width: calc(100% + 40px);
	}
	.gallery figure {
		height: 240px;
	}
	.gallery figcaption {
		bottom: 20px;
		left: 20px;
		right: 20px;
		font-size: 16px;
	}
}