/**
 * CSS for MainSlideshow
 * 
 * @since 2014.09.17
 */

#MainSlideshow {
	background: #fff;
	max-width: 960px;
	height: 300px;
	position: relative;
}

#MainSlideshow .Slides {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

#MainSlideshow .Slides li {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 300px;
	top: 0;
	left: 0;
	background-position: center center;
	background-size: cover;
}

#MainSlideshow .Slides li.selected {
	z-index: 3;
}

#MainSlideshow .Slides li.out {
	z-index: 2;
}

#MainSlideshow .Slides .heading {
	position: absolute;
	top: 75px;
	left: 0;
	width: 100%;
	font-family: "Oleo Script", sans-serif;
	text-align: center;
	color: #fff;
	text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}

#MainSlideshow .Slides .heading.dark {
	color: #333;
	text-shadow: -2px -4px 3px rgba(255,255,255,0.3);
}

#MainSlideshow .Slides .heading > .wrapper {
	display: inline-block;
}

#MainSlideshow .Slides .title {
	line-height: 66px;
	font-size: 60px;
}

#MainSlideshow .Slides .subtitle {
	line-height: 24px;
	font-size: 30px;
	padding-bottom: 11px;
	border-bottom: 1px solid #434439;
}

#MainSlideshow .Slides .description {
	position: absolute;
	display: table;
	top: 175px;
	left: 0;
	width: 100%;
	height: 100px;
	line-height: 30px;
	font-family: "Roboto Slab", serif;
	font-weight: 300;
	font-size: 16px;
	color: #fff;
	text-align: center;
}

#MainSlideshow .Slides .description > .wrapper {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

#MainSlideshow .Slides .description span {
	display: inline-block;
	margin: 0 0 4px 0;
	padding: 0 10px;
	background: rgba(0,0,0,.5);
}

#MainSlideshow .Slides .background {
	width: 100%;
	height: 100%;
	opacity: 0;
}

#MainSlideshow .Navigator {
	position: absolute;
	z-index: 10;
	bottom: 10px;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	font-size: 0;
	color: transparent;
}

#MainSlideshow .Navigator li {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: 0 5px;
	background: url('../img/slide-button.png') no-repeat center center;
	cursor: pointer;
}

#MainSlideshow .Navigator li:hover,
#MainSlideshow .Navigator li.selected {
	background: url('../img/slide-button.focus.png') no-repeat center center;
}

#MainSlideshow .PrevBtn,
#MainSlideshow .NextBtn {
	position: absolute;
	z-index: 10;
	top: 0;
	height: 100%;
	width: 10%;
	min-width: 30px;
	cursor: pointer;
	font-size: 0;
	color: transparent;
	opacity: .8;
	transition: opacity .2s;
}

#MainSlideshow .PrevBtn {
	left: 0;
	background: url('../img/slide-prev.png') no-repeat left center;
}

#MainSlideshow .NextBtn {
	right: 0;
	background: url('../img/slide-next.png') no-repeat right center;
}

#MainSlideshow .PrevBtn:hover,
#MainSlideshow .NextBtn:hover {
	opacity: 1;
}

/* SLIDE ANIMATIONS */

#MainSlideshow .Slides li.in {
	-webkit-animation: MainSlideshow-Slides-li-in .5s;
	animation: MainSlideshow-Slides-li-in .5s;
}

#MainSlideshow .Slides li.in .heading {
	-webkit-animation: MainSlideshow-Slides-heading-in 1s;
	animation: MainSlideshow-Slides-heading-in 1s;
}

#MainSlideshow .Slides li.in .description {
	-webkit-animation: MainSlideshow-Slides-description-in 1s;
	animation: MainSlideshow-Slides-description-in 1s;
}

@-webkit-keyframes MainSlideshow-Slides-li-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes MainSlideshow-Slides-li-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-webkit-keyframes MainSlideshow-Slides-heading-in {
	0% {
		margin-top: 50px;
		opacity: 0;
	}
	90% {
		opacity: 1;
	}
}
@keyframes MainSlideshow-Slides-heading-in {
	0% {
		margin-top: 50px;
		opacity: 0;
	}
	90% {
		opacity: 1;
	}
}

@-webkit-keyframes MainSlideshow-Slides-description-in {
	0% {
		opacity: 0;
	}
	30% {
		margin-top: 30px;
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes MainSlideshow-Slides-description-in {
	0% {
		opacity: 0;
	}
	30% {
		margin-top: 30px;
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}


/* RESPONSIVE */
/**********************************************************************/

@media screen and (max-width: 639px) {

	#MainSlideshow {
		height: 268px;
	}
	
	#MainSlideshow .Slides li {
		height: 268px;
	}

	#MainSlideshow .Slides .heading {
		top: 51px;
	}
	
	#MainSlideshow .Slides .description {
		top: 151px;
	}
}

@media screen and (max-width: 480px) {
}

