/* Light Carousel v1.0.0 | (c) 2015 Taisuke J | This project is released under the MIT license. */

/*-------------------------------------------------------------------------------------------*/
/* Settings (tweek it for your use) */
/*-------------------------------------------------------------------------------------------*/

.caption {	
	color: #fff;
	text-shadow: 2px 2px 2px #222;
}

.thumbnails li {
	width: 10%;
	padding: 3px;
}
@media screen and (max-width: 767px) {
	.thumbnails li {
		width: 20%;
		padding: 3px;
	}
}
.thumbnails .selected div:before {
	border-color: #e57649;
	background: #e57649;
}


/*-------------------------------------------------------------------------------------------*/
/* Core CSS */
/*-------------------------------------------------------------------------------------------*/
@font-face {
	font-family: 'Font Awesome';
	src: url('../fonts/fontawesome/fontawesome-webfont.eot');
	src: url('../fonts/fontawesome/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/fontawesome/fontawesome-webfont.woff') format('woff'),
		url('../fonts/fontawesome/fontawesome-webfont.ttf') format('truetype'),
		url('../fonts/fontawesome/fontawesome-webfont.svg#svgFontName') format('svg');
}

.carousel {
	position: relative;
	overflow: hidden;	
	-webkit-transition: 0.3s;
	transition: 0.3s;
	height: 550px;
}
.carousel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.carousel li {
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	
	-webkit-transition: 0.4s linear;
	transition: 0.4s linear;
}
.carousel li:first-child {
	opacity: 1;
	filter: alpha(opacity=100);
}
.carousel li.current {
	opacity: 1;
	filter: alpha(opacity=100);
}
.carousel img {
	display: block;
	width: 100%;
	min-height: 550px;
	object-fit: cover;
	object-position: left;
	border: none;
	vertical-align: bottom;
}
.caption {
	opacity: 0;
	-webkit-transform: translate3d(-70px, 0px, 0px);
	transform: translate3d(-70px, 0px, 0px);
	position: absolute;
	left: 5%;
	top: 30%;
	width: auto;
	padding: 10px;
	font-size: 52px;
	-webkit-transition: 0.6s 0.7s;
	transition: 0.6s 0.7s;
}

.caption span {
	display: block;
	opacity: 0;
	-webkit-transform: translate3d(0, 0px, 0);
	transform: translate3d(0, 0px, 0);
	-webkit-transition: 0.6s 0.7s;
	transition: 0.6s 0.7s;
}
.current .caption,
.current .caption span {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.mobile .controls {
	display: none;
}
.carousel:hover .prev,
.carousel:hover .next {
	opacity: 0.8;
	filter: alpha(opacity=80);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.carousel:hover .prev:hover,
.carousel:hover .next:hover {
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.prev {
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	left: 10px;
	top: 50%;
	line-height: 1;
	margin-top: -35px;
	font-size: 70px;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	-webkit-transform: translate3d(-10px, 0, 0);
	transform: translate3d(-10px, 0, 0);
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.prev:before {
	display: block;
	color: #fff;
	font-family: Font Awesome, sans-serif;
	content: "\f104";
}
.next {
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	right: 10px;
	top: 50%;
	line-height: 1;
	margin-top: -35px;
	font-size: 70px;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	-webkit-transform: translate3d(10px, 0, 0);
	transform: translate3d(10px, 0, 0);
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.next:before {
	display: block;
	color: #fff;
	font-family: Font Awesome, sans-serif;
	content: "\f105";
}

.thumbnails {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.thumbnails ul {
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 3px;
}
.thumbnails li {
	float: left;
}
.thumbnails div {
	position: relative;
	background: #fff;
}
.thumbnails .selected div:before {
	display: block;
	position: absolute;
	left: -6px;
	top: -6px;
	width: 100%;
	height: 100%;
	border-width: 6px;
	border-style: solid;
	content: "";
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
.thumbnails img {
	display: block;
	position: relative;
	z-index: 10;
	width: 100%;
	height: auto;
	border: none;
	vertical-align: bottom;
	cursor: pointer;
	-webkit-transform: translateZ(0); /* bug fix for chrome */
	-webkit-transition: 0.4s;
	transition: 0.4s;
}
.thumbnails img:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}
.thumbnails .selected img {
	cursor: default;
}
.thumbnails .selected img:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

@media screen and (max-width: 1400px) {
.carousel {	
	height: 450px;
}
.carousel img {	
	min-height: 450px;	
}
.caption {	
	font-size: 50px;
	
}
}
@media screen and (max-width: 1200px) {
.caption {	
	font-size: 42px;
	
}
}
@media screen and (max-width: 1023px) {
.carousel {	
	height: 370px;
}
.carousel img {	
	min-height: 370px;	
}
.caption {	
	left: 2%;
	top: 18%;
	width: auto;
	padding: 10px;
	font-size: 32px;	
}
}
@media screen and (max-width: 767px) {
	.carousel {	
	height: 300px;
}
.carousel img {	
	min-height: 300px;
	
}
.caption {	
	left: 2%;
	top: 15%;
	width: auto;
	padding: 10px;
	font-size: 30px;	
}
}
@media screen and (max-width: 639px) {
	.carousel {	
	height: 250px;
}
.carousel img {	
	min-height: 250px;
	
}
.caption {	
	left: 2%;
	top: 15%;
	width: auto;
	padding: 10px;
	font-size: 26px;	
}
}
@media screen and (max-width: 479px) {
	.carousel {	
	height: 200px;
}
.carousel img {	
	min-height: 200px;
}
.caption {	
	left: 2%;
	top: 15%;
	width: auto;
	padding: 10px;
	font-size: 22px;	
}
}