#backgroundCarousel{
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 0;	
	background-color: #e1dfd2;
	overflow: hidden;
	left: 0px;
	top: 0px;
}
#backgroundCarousel>.cover{
	width: 100%;
	height: 100%;
	background-color: #e1dfd2;
	position: absolute;
	z-index: 0;
	opacity: 0.5;
	left: 0px;
	top: 0px;
}
#backgroundCarousel>ul.customCarousel{
	list-style: none;
	padding: 0px;
	margin: 0px;
	width: 100%;
	height: 100%;
}
#backgroundCarousel>ul.customCarousel>li.active{
	display: block;
}
#backgroundCarousel>ul.customCarousel>li{
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#backgroundCarousel>ul.customCarousel>li.right{
	display: block;
	left: 100%;
}
#backgroundCarousel>ul.customCarousel>li.left{
	display: block;
	left: -100%;
}


#backgroundCarousel .imgWrapper{
	position:relative;
}
#backgroundCarousel .imgWrapper .img{
	position: absolute;
}
#backgroundCarousel .imgWrapper .img>img{
	width: 100%;
	height: 100%;
}

/*Control*/
a.prevSlideButton:hover,
a.nextSlideButton:hover{
	opacity: 0.5;
}
.prevSlideButton,
.nextSlideButton{
	width: 58px;
	height: 57px;
	background-image: url('../img/btnGalleryNext.png');
	display: block;
	position: absolute;
	z-index: 1;
}
.nextSlideButton{
	right: 60px;
}
.prevSlideButton{
	background-image: url('../img/btnGalleryPrev.png');
	left: 60px;
}
@media (max-width: 980px){
	.prevSlideButton,
	.nextSlideButton{
		display: none;
	}
}

/*Gallery Index*/
.galleryBtn{
	width: 100%;
	border: 10px solid #FFCCCC;
	position:relative;
}
.galleryBtn>img{
	width: 100%;
}
.overlayText{
	width: 100%;
	height: 102%;
}
a:hover .overlayText{
	background: rgb(255, 204, 204); /* fallback color */
	background: rgba(255, 204, 204, 0.7);
	color: #FFF;
}
.overlayText .title{
	bottom: 10px;
	width: 100%;
}

/*Gallery*/
#galleryContainer{
	width: 90%;
	margin: 0 auto;
	position: relative;
}
#carousel{
/*	position: absolute;
	bottom: 0px;
	width: 100%;*/
}
#carousel li {
	margin-right: 5px;
}
#carousel img {
	display: block;
	opacity: .5;
	cursor: pointer;
}
#carousel img:hover {
	opacity: 1;
}
#carousel .flex-active-slide img {
	opacity: 1;
	cursor: default;
}
.flex-direction-nav .flex-disabled{
	display: none;
}
#carousel .flex-direction-nav a{
	width: 20px;
	height: 20px;
	margin: -11px 0 0;
}
#carousel .flex-direction-nav a:before{
	font-size: 20px;
}
