/* ---- SLIDESHOWS ---- */

.slideshow {
	width: 100%;
	margin-bottom: 1em;
}

.slide {
	height: auto;
	position: relative;
	text-align: center;
	width: 100%;	
}

.slide-img {
	display: block;
	width: 100%;
	height: auto;
}

.slideshow-prev,
.slideshow-next {
	width: 31px;
	height: 36px;
	background-image: url(../images/arrows-e.png?1);	
	position: absolute;
	top: 50%;
	margin-top: -18px;
	cursor: pointer;
	opacity: 0;
	-moz-transition: opacity .2s;
	-webkit-transition: opacity .2s;
	transition: opacity .2s;
	text-indent: -9999em;
}

.slideshow-prev {
	left: 12px;
	background-position: left top;
}

.slideshow-next {
	right: 12px;
	background-position: right top;
}

.slide:hover .slideshow-prev,
.slide:hover .slideshow-next {
	opacity: 1;
}

.slideshow-caption {
	min-height: 4.5em;
	background: #252323;
	color: #ffffff;
	padding: 15px;
	font-weight: 500;
	display: none;
}

.thumbnails-container * {
	white-space: nowrap;	
	line-height: 0;
	vertical-align: top;		
}

.thumbnails-container {
	margin: 10px auto 0 auto;
	width: 100%;
	height: 90px;
	line-height: 0;
	overflow: hidden;
	position: relative;
	display: block;
}

.thumbnails-rows-container {
	width: 100%;
	text-align: center;
	vertical-align: top;
	display: inline-block;
}

ul.thumbnails {
	width: 100%;	
	list-style-type: none;
	display: inline-block;
	padding: 0;
	margin: 0;
	height: 90px;
	text-align: center;
}

ul.thumbnails li {
	vertical-align: top;
	position: relative;
	display: inline-block;
	margin: 0 1%;
	padding: 0;
	height: 90px;
	width: 20%;
	text-align: center;
}

ul.thumbnails li:first-child {
	margin-left: 0;
}

ul.thumbnails li:last-child {
	margin-right: 0;
}


ul.thumbnails li a {
	display: inline-block;
	width: 100%;
}

ul.thumbnails li a img {
	display: block;
	width: 100%;
	height: auto;
}

ul.thumbnails li a:hover,
ul.thumbnails li.slide-current a {
	background: #ffffff;
}

.thumbnails-next,
.thumbnails-prev {
	width: 4.5%;
	height: 90px;
	position: absolute;
	top: 0;
	background-size: 60% 60%;
	background-position: center center;
	background-repeat: no-repeat;
	text-indent:-99999em;
	cursor: pointer;
}

.thumbnails-next {
	right: 0;
	background-image: url(../images/arrows-d-right-2x.png);
}

.thumbnails-prev {
	left: 0;
	background-image: url(../images/arrows-d-left-2x.png);
}

.thumbnails-next:active {
	right: -1px;
}

.thumbnails-prev:active {
	left: -1px;
}

.thumbnail-overlay {
	background: rgba(0,0,0,.5);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 9999;
	line-height: 90px;
	vertical-align: middle;
	color: #fff;
}

.thumbnail-loading .thumbnail-overlay {
	text-indent:-999999em;
	background-image: url(../images/loading.gif);
	background-position: center center;
	background-repeat: no-repeat;
}



