/*********************************
* Slideshow Styling
*********************************/
#slideshow {
	width: 100%;
	height: 100%;
	margin: 100px auto;

    position:relative;

    overflow: hidden;
}
	#slideshow.fullscreen {		
		top: 0;
		left: 0;
		height: 833px;
		width: 100%;		
		margin: 0;
		padding: 0;

		overflow: hidden;
	}
	.img-wrapper {
	    min-width: 100%;
	    min-height: 100%;
		
		position: absolute;
		top: 0;
	    bottom: 0;
	    left: 0;
	    right: 0;

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

	    background-size: cover;
	    background-position: center center;
	}
		#slideshow .img-wrapper.active {
		    z-index:10;
		}

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

	/*********************************
	* Thumbnail Styling
	*********************************/
	.thumbs-container {
		width: 900px;
		height: 165px;
		position: absolute;
		left: 0;
		right: 0;
		z-index: 11;
		background: #ffffff;
		opacity: .9;
		margin: 0 auto;
	}
		.thumbs-container.top {
			top: 0;
		}
		.thumbs-container.bottom {
			bottom: 0;
			border-bottom: 1px solid gray;
		}
		.prev, .next {
			width: 3%;
			min-width: 40px;
			height: 48px;			
			position: absolute;
			right: 0;
			bottom: 180px;
			color: #999999;
			cursor: pointer;
		}
		.prev { float: left;right: 61px;bottom: 160px; }
		.next { float: right;bottom: 160px;right: 11px; }
			.prev:hover, .next:hover {
				color: #555555;
			}
		ul.thumbs {
			position: absolute;
			top: 0;
			width: 820px;
			left: 5%;			
			height: 140px;
			padding: 0;			
			overflow: hidden;
			white-space: nowrap;
			text-align: center;
			margin-top: 10px;
		}
			.thumb {
				display: inline-block;
				width: 180px;
				height: 120px;
				margin: 10px;
				margin-bottom: 0;
				overflow: hidden;
				background-size: cover;
	    		background-position: center center;

	    		cursor: pointer;
			}
				.thumb:first-of-type {
					margin-left: 0px;
				}
			.thumb.active {
				width: 200px;
				height: 130px;
				border: 2px solid #FFF;
				padding: 3px;				
				box-shadow: 1px 1px 10px gray;
				margin-top: -1px;
				margin-bottom: 15px;
			}