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

    position:relative;

    overflow: hidden;
}
	#slideshow.fullscreen {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 100000000000;
}
	.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;
		display:none;
	}
		#slideshow .img-wrapper.active {
		    z-index:10;
			display:block;
		}

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

	/*********************************
	* Thumbnail Styling
	*********************************/
.thumbs-container {
    width: 100%;
    height: 140px;
    position: absolute;
    left: 0;
    z-index: 11;
    background: #22222200;
    opacity: .9;
    bottom: 30px;
}
		.thumbs-container.top {
			top: 0;
		}
.thumbs-container.bottom {
    bottom: 45px;
}
.prev, .next {
    width: auto;
    min-width: 40px;
    height: 48px;
    padding: 46px 1%;
    color: #ffffff;
    cursor: pointer;
}
		.prev { float: left; width:auto;}
		.next {
			float: right;
			margin: 0;
			width:auto;
		}
			.prev:hover, .next:hover {
				color: #fff;
			}
		ul.thumbs {
			position: absolute;
			top: 0;
			left: 0%;
			right: 0%;
			height: 140px;
			padding: 0;
			margin: 0 5%;
			overflow: hidden;
			white-space: nowrap;
			text-align: center;
		}
			.thumb {
				display: inline-block;
				width: 120px;
				height: 120px;
				margin: 10px;

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

	    		cursor: pointer;
			}
				.thumb:first-of-type {
					margin-left: 0px;
				}
			.thumb.active {
				width: 116px;
				height: 116px;
				border: 2px solid #FFF;
			}
			
			a.page-numbers {
				background: #050091;
				padding: 10px 15px;
				color: #fff;
				font-size: 20px;
			}
			span.page-numbers.current {
				background: #db241b;
				padding: 10px 15px;
				font-size: 20px;
				color: #fff;
			}
			a.prev.page-numbers {
			width: auto;
			float: right;
		}
		a.prev.page-numbers {
			float: right;
			position: absolute;
			right: 75px;
			width: auto;
			height: auto;
		}
		nav.pagnav {
    position: relative;
}