/*********************************
* Slideshow Styling
*********************************/
#slidecontainer{
	width: 800px;
	height: 670px;
	left: 50%;
	margin-left: -400px;
    position:absolute;
	background:#ffffff;
}
#slideshow {
	overflow:hidden;
}
#slideshow.fullscreen {
	width: 800px;
	height: 533px;
	margin: 0;
	padding: 0;

	overflow: hidden;
	display:none;
}
.img-wrapper {
	max-width: 800px;
	max-height: 533px;
	
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	margin: 20px auto;
	overflow: hidden;
	
	z-index:8;

	background:#ffffff;
	text-align:center;
	/*background-size: cover;
	background-position: center center;*/
}
.img-wrapper img	{width:auto;height:533px;margin:0px auto;}

	#slideshow .img-wrapper.active {
		z-index:10;
	}

	#slideshow .img-wrapper.last-active {
		z-index:9;
	}

	.prev, .next {
		width: 3%;
		min-width: 40px;
		height: 39px;
		padding: 35px 0%;
		position: absolute;
		top: 570px;
		z-index: 100;
		margin:0px 0px;

		color: #999999;
		cursor: pointer;
	}
	.prev { left:0; }
	.next { right:0; }
		.prev:hover, .next:hover {
			color: #555555;
		}
/*********************************
* Thumbnail Styling
*********************************/
.thumbs-container {
	width: 715px;
	height: 100px;
	position: absolute;
	left: 50%;
	margin-left:-357px;

	z-index: 11;

	background: #ffffff;
	overflow:hidden;
}
.thumbs-container.top {
	top: 0;
}
.thumbs-container.bottom {
	bottom: -10px;
}
ul.thumbs {
	height: 120px;
	padding: 0;
	margin: 0 15px;
	overflow: hidden;
	white-space: nowrap;
	text-align: center;
	display:none;
}
	.thumb {
		display: inline-block;
		width: 140px;
		height: 90px;
		margin: 0px;

		overflow: hidden;
		background-size: cover;
		background-position: center center;

		cursor: pointer;
		background-size:150px 100px;
	}
		.thumb:first-of-type {
			margin-left: 0px;
		}
	.thumb	> div {
		width:100%;
		height:100%;
		background:rgba(18,18,18,0.7);
	}
	.thumb.active {
		width: 136px;
		height: 86px;
		border: 2px solid #33a8dd;
	}
	.thumb.active > div {
		display:none;
	}