#container {
	width: 100%;
	height: 100%;
    position:relative;
}
#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;
    z-index: 9999;
}
.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;
}

.thumbs-container
{
	width: 100%;
	position: absolute;
	top:45%;
	left: 0;
	z-index: 11;
}
.thumbs-container.top {
			top: 0;
}
.thumbs-container.bottom
{
	bottom: 0;
}
.prev, .next
{
	padding: 0 3%;
	color: #fff;
	cursor: pointer;
	font-size: 60px;
}
.prev
{
	float: left;
	text-align:center;
}
.next
{
	float: right;
	text-align:center;
}
.prev:hover, .next:hover
{
	color: #000;
}
ul.thumbs
{
	position: absolute;
	top: 0;
	left: 5%;
	right: 5%;
	height: 140px;
	padding: 0;
	margin: 0 5%;
	overflow: hidden;
	white-space: nowrap;
	text-align: center;
	display:none;

}
.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;
}
.close
{
	position:absolute;
	top:30px;
	right:30px;
	z-index:99999;
	text-align:center;
}
.close a
{
	width:30px;
	height:30px;
	background:rgba(0, 0, 0, 0.6);
	padding:5px;
	border-radius:2px;
    color: #fff;
    font-size: 16px;
	display:block;
}
.gallery-icon
{
	position:absolute;
	top:75px;
	right:30px;
	z-index:99999;
	text-align:center;
}
.gallery-icon a
{
	width:30px;
	height:30px;
	background:rgba(0, 0, 0, 0.6);
	padding:5px;
	border-radius:2px;
    color: #fff;
    font-size: 16px;
	display:block;
}