/* Hero Gallery — structural styles (scoped per instance via #module{id} in the view) */

.mobile-hero-content {
	display: none;
}

.hero-gallery {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #16222e;
}

.hero-gallery .carousel,
.hero-gallery .carousel-inner {
	height: 100%;
}

.hero-gallery .carousel-inner > .item {
	height: 100%;
}

.hero-gallery-bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-repeat: no-repeat;
}

.hero-gallery-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	pointer-events: none;
}

.hero-gallery-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
}

.hero-gallery .carousel-indicators {
	bottom: 14px;
	margin-bottom: 0;
	z-index: 4;
}

.hero-gallery .carousel-indicators li {
	width: 11px;
	height: 11px;
	margin: 0 5px;
	background: rgba(255, 255, 255, .55);
	border: 0;
}

.hero-gallery .carousel-indicators li.active {
	width: 11px;
	height: 11px;
	margin: 0 5px;
	background: #ffffff;
}

.hero-gallery .carousel-control {
	background-image: none;
	width: 60px;
	opacity: 0;
	z-index: 5;
	text-shadow: none;
	-webkit-transition: opacity .2s ease;
	transition: opacity .2s ease;
}

.hero-gallery:hover .carousel-control,
.hero-gallery .carousel-control:focus {
	opacity: .7;
}

.hero-gallery .carousel-control:hover {
	opacity: 1;
}

.hero-gallery .carousel-control .glyphicon {
	color: rgba(255, 255, 255, .85);
	font-size: 50px;
	top: 50%;
	margin-top: -11px;
}

@media (max-width: 767px) {
	.mobile-hero-content {
		display: block;
	}

	.hero-gallery .carousel-inner > .item:first-child .hero-gallery-content {
		display: none;
	}

	.hero-gallery .carousel-control {
		width: 48px;
		opacity: .45;
	}

	.hero-gallery .carousel-control .glyphicon {
		font-size: 20px;
		margin-top: -10px;
	}
}

.hero-gallery.carousel-fade .carousel-inner > .item {
	opacity: 0;
	-webkit-transition: opacity .7s ease-in-out;
	transition: opacity .7s ease-in-out;
	left: 0 !important;
	-webkit-transform: none !important;
	transform: none !important;
}

.hero-gallery.carousel-fade .carousel-inner > .active {
	opacity: 1;
}

.hero-gallery.carousel-fade .carousel-inner > .active.left,
.hero-gallery.carousel-fade .carousel-inner > .active.right {
	opacity: 0;
	z-index: 1;
}

.hero-gallery.carousel-fade .carousel-inner > .next.left,
.hero-gallery.carousel-fade .carousel-inner > .prev.right {
	opacity: 1;
	z-index: 2;
}

.hero-gallery-thumbs {
	position: relative;
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	font-size: 0;
	line-height:0;
	background:#000;
	padding: 4px;
}

.hero-gallery-thumbs .hero-gallery-thumb {
	display: inline-block;
	width: 132px;
	height: 80px;
	margin-right: 4px;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	opacity: .75;
	border: 2px solid transparent;
	-webkit-transition: opacity .2s ease;
	transition: opacity .2s ease;
}

.hero-gallery-thumbs .hero-gallery-thumb:hover {
	opacity: .85;
}

.hero-gallery-thumbs .hero-gallery-thumb.active {
	opacity: 1;
	border-color: #c79a3f;
}

.hero-gallery-thumbs::-webkit-scrollbar {
	height: 6px;
}

.hero-gallery-thumbs::-webkit-scrollbar-thumb {
	background: #33414f;
	border-radius: 3px;
}

@media (max-width: 767px) {
	.hero-gallery-thumbs .hero-gallery-thumb {
		width: 104px;
		height: 64px;
	}
}
