/*********************************
* Slideshow Styling
*********************************/
#gallery_slideshow {
	width: 100%;
	height: 100%;
	position: relative;
}
#gallery_slideshow.fullscreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
#gallery_slideshow .img-wrapper {
	width: 100%;
	height: 562px;
	position: absolute;
	top: 0;
	left: 0;
	margin: auto;
	overflow: hidden;
	z-index: 8;
	display: none;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}
#gallery_slideshow .img-wrapper.active {
	z-index: 10;
	display: block;
}
#gallery_slideshow .img-wrapper.last-active {
	z-index: 9;
	display: none;
}
/*********************************
	* Thumbnail Styling
	*********************************/
#gallery_slideshow .thumbs-container {
	width: 100%;
	height: 100px;
	position: absolute;
	left: 0;
	z-index: 11;
	background: transparent;
	opacity: .9;
}
#gallery_slideshow .thumbs-container.top {
	top: 0;
}
#gallery_slideshow .thumbs-container.bottom {
	bottom: 0;
}
#gallery_slideshow ul.thumbs {
	position: absolute;
	top: 0;
	height: 100px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
	text-align: center;
	width: 100%;
}
#gallery_slideshow .thumb {
	display: inline-block;
	width: 120px;
	height: 67.5px;
	margin: 10px;
	overflow: hidden;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
	opacity: 0.5;
}
#gallery_slideshow .thumb:first-of-type {
	margin-left: 0px;
}
#gallery_slideshow .thumb.active {
	border: 2px solid #FFF;
	opacity: 1;
}
#gallery_slideshow .prev,
#gallery_slideshow .next {
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	width: 25px;
    height: 52px;
	cursor: pointer;
}
#gallery_slideshow .prev {
	background-image: url('/img/control/prev.png');
}
#gallery_slideshow .next {
	background-image: url('/img/control/next.png');
}