/*********************************
* Slideshow Styling
*********************************/
#slideshow {
	width: 100%;
	height: 100%;
	margin: 100px auto;

    position:relative;

    overflow: hidden;
}
	#slideshow.fullscreen {
		position: fixed;
		top: 0;
		left: 0;

		width: 100%;
		height: 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: 649px;
		height: 65px;
		position: absolute;
		left: 50%;
		z-index: 11;
		opacity: .9;
		border:1px solid #ccc;
		margin-left:-320px;
	}
		.thumbs-container.top {
			top: 0;
		}
		.thumbs-container.bottom {
			bottom: 0;
		}
		.prev, .next {
			background-color: #f3f3f3;
            border: 1px solid #ccc;
            color: #004d99;
            cursor: pointer;
            height: 65px;
            line-height: 65px;
            min-width: 23px;
            text-align: center;
            width:21px;
		}
		.prev { float: left; }
		.next { float: right; }
			.prev:hover, .next:hover {
				color: #555555;
			}
		ul.thumbs {
			position: absolute;
			top: 0;
			left: 5%;
			right: 5%;
			height: 65px;
			padding: 0;
			margin: 0 1%;
			overflow: hidden;
			white-space: nowrap;
			text-align: center;			
			-webkit-transition: all 0.4s  ease-out;-moz-transition: all 0.4s  ease-out;-ms-transition: all 0.4s  ease-out;-o-transition: all 0.4s  ease-out;transition: all 0.4s  ease-out;
		}
			.thumb {
				display: inline-block;
				width: 86px;
				height: 47px;
				margin: 8px 4px;
				overflow: hidden;
				background-size: cover;
	    		background-position: center center;
	    		cursor: pointer;
	    		border:1px solid #ccc;
	    		opacity: 0.4;filter: alpha(opacity=40);
			}
				.thumb:first-of-type {
					margin-left: 0px;
				}
			.thumb.active {								
				opacity: 1;filter: alpha(opacity=100);
			}