#carousel-wrapper {
	padding-bottom: 10px;
	position: relative;
}
#carousel{
	overflow: hidden;
}
#thumbs {
	overflow: hidden;
}
#carousel a.fancybox{
	display: block;
	float: left;
}
#carousel a.fancybox{
	display: block;
	float: left;
} 

#carousel-wrapper{
	position: relative;
}

#carousel img{
	display: block;
	float: left;
}
#thumbs a{
	display: block;
	float: left;
}
#thumbs img {
	display: block;
	float: left;
}


#carousel span{
	position: relative;
	width: 100%;
	height: 295px;
	display: block;
}

#carousel a{
	position: relative;
}

#thumbs span{
	position: relative;
}

#thumbs a {
	position: relative;
}


#carousel img{
	width: auto;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-height: 100%;
	max-width: 100%;
}

#thumbs img {
	width: auto;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	max-height: 100%;
	max-width: 100%;
	transform: translate(-50%, -50%);
	padding: 0;
}

#carousel img{margin:0px;}
#carousel img.glare{
	width: 100%;
	height: auto;	
}

#thumbs img.glare {
	width: 100%;
	height: auto;	
}


#carousel a.fancybox {
	width: 554px;
	height: 295px;
	cursor: pointer;
}
#thumbs-wrapper {
	padding: 0px 25px 0px 25px;
	position: relative;
}
#thumbs a {	
	width: 141px;
	height: auto;
	margin: 0px 5px 0px 5px !important;
	overflow: hidden; 
	-webkit-transition: all 0s ease; 
	-moz-transition: all 0s ease; 
	-ms-transition: all 0s ease; 
	-o-transition: all 0s ease; 
	transition: all 0s ease;
	border: solid 1px transparent;	
}
#thumbs a:hover{
	border: solid 1px #e7e7e7;
}

#thumbs a.selected {
	border: solid 1px #e7e7e7;
	pointer-events: none;
}

#wrapper img#shadow {
	width: 100%;
	position: absolute;
	bottom: 0;
}
#prev, #next {
	display: block;
	width: 28px;
	height: 28px;
	margin-top:-14px;
	position: absolute;
	top: 50%;
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
	background: rgba(0,0,0,0.6);
}
#prev {	
	left: 0px;
	text-align: center;
}

#prev::before {
	content: '\f104';
	font-family: 'FontAwesome';
	font-size: 20px;
	color: #fff;
}
#next {	
	right: 0px;
	text-align: center;
}

#next::before {
	content: '\f105';
	font-family: 'FontAwesome';
	font-size: 20px;
	color: #fff;
}
#next:hover{
	background-position: right -29px;	
}

@media only screen and (max-width: 480px) {
	#carousel-wrapper {
		height: auto !important;
		min-height: inherit !important;
	}
}
