/*********************************
* Slideshow Styling
*********************************/
#slideshow {
    overflow: hidden;
}
	#slideshow.fullscreen {
    position: relative;
    padding-bottom: 102px;
    margin-bottom: 20px;
}
	.img-wrapper {
		opacity: 0 !important;
		position: absolute;
	    top: 0px;
	    width: 100%;
	    text-align:center;
	    z-index:8;

	    background-size: cover;
	    background-position: center center;
	}

	.img-wrapper img {
		position: ;
		top: 0px;
	}
		#slideshow .img-wrapper.active {
		    z-index:10;
		    opacity: 1!important;
		}

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

	/*********************************
	* Thumbnail Styling
	*********************************/
	.thumbs-container {
    position: absolute;
    left: 0;
    z-index: 11;
    background: #ffffff;
    opacity: .9;
    width: 100%;
    border-radius: 6px;
}
		.thumbs-container.top {
			top: 0;
		}
		.thumbs-container.bottom {
			bottom: 0;
		}
		.prev, .next {
    width: auto;
    min-width: auto;
    height: 90px;
    padding: 0px 20px;
    color: #999999;
    cursor: pointer;
    line-height: 92px;
}
		.prev { float: left; }
		.next { float: right; }
			.prev:hover, .next:hover {
				color: #555555;
			}
ul.thumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 92px;
    padding: 0;
    margin: 0 5%;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    z-index: 999;
}
			.thumb {
				display: inline-block;
				width: 74px;
				height: 74px;
				margin: 10px;

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

	    		cursor: pointer;
			}
				.thumb:first-of-type {
					margin-left: 0px;
				}
			.dummy{
				opacity: 0;
			}
			.thumbnails {
    margin-left: -0px;
}
.thumbnail {
    padding: 1px;
}
.thumbs img{
	max-width: 100%;
}
.thumb.active img{
	border: 2px solid #ddd; 
}
.thumb.active img {
    border: 2px solid #849cbd;
}
@media (max-width: 767px){
	.prev, .next {
    	padding: 0px 10px;
	}
	ul.thumbs {
    	margin: 0 10%;
	}
}