/*
 * YO-SlideShow v1.0.1
 * for OpenCart 1.5.3 - 1.5.6
 *
 * Copyright 2013, iDiY
 * Support: idiy.webmaster@gmail.com
 *
 */

.yoSlideshow {
	position: relative;
	display: inline-block;
	overflow: hidden;
	margin-bottom: 20px;
	vertical-align: top;
}

.yoSlideshow.responsive {
	display: block;
}

.yoSlideshow .slide-wrapper,.yoSlideshow .thumb-wrapper {
	position: relative;
}

.yoSlideshow .thumb-wrapper {
	margin-top: 10px;
}

.yoSlideshow .thumb-wrapper .yo-slide a {
	display: block;
	margin: 2px;
	padding: 2px;
	background: #ffffff;

	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.2);
	box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.yoSlideshow ul {
	display: block;
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yoSlideshow a {
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}

.yoSlideshow ul li {
	position: relative;
	display: block;
	float: left;
}

.yoSlideshow ul li.yo-slide > a {
	display: block;
	background: transparent;
}

.yoSlideshow ul li.yo-slide img {
	display: block;
	max-width: 100%;
	border: none;
	float: left;
}

.yoSlideshow.responsive .slide-wrapper ul li.yo-slide {
	width: 100%;
}

.yoSlideshow.responsive .slide-wrapper ul li.yo-slide img {
	width: 100%;
	height: auto;
}

.yoSlideshow .clearfix {
	float: none;
	clear: both;
}

/* Arrow */
.yoSlideshow .yo-prev,.yoSlideshow .yo-next {
	position: absolute;
	top: 50%;
	z-index: 777;
	display: block;
	margin-top: -16px;
	width: 30px;
	height: 30px;
	border-radius: 2px;
	background: rgba(0,0,0,.1) url('../image/yo-arrow.png') no-repeat;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
}

.yoSlideshow .yo-prev:hover,.yoSlideshow .yo-next:hover {
	background-color: rgba(0,0,0,.25);
}

.yoSlideshow .yo-prev {
	left: 0;
	background-position: 0 0;
}

.yoSlideshow .yo-next {
	right: 0;
	background-position: -30px 0;
}

.yoSlideshow .slide-wrapper:hover .yo-prev,.yoSlideshow .thumb-wrapper:hover .yo-prev {
	left: 30px;
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
}

.yoSlideshow .slide-wrapper:hover .yo-next,.yoSlideshow .thumb-wrapper:hover .yo-next {
	right: 30px;
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
}

/*Pagination*/
.yoSlideshow .yo-nav {
	position: absolute;
	bottom: 15px;
	z-index: 777;
	width: 100%;
	text-align: center;
}

.yoSlideshow .yo-nav a {
	display: inline-block;
	margin: 2px;
	width: 6px;
	height: 6px;
	border: 1px solid rgba(255,255,255,.65);
	background-color: rgba(0,0,0,.065);
	text-indent: -9999px;
	font-size: 0;
	line-height: 0;
}

.yoSlideshow .yo-nav a:hover,.yoSlideshow .yo-nav a.selected {
	background-color: rgba(255,255,255,.65);
}

/* Caption */
.yoSlideshow .yo-caption {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: rgba(0,0,0,.35);

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.yoSlideshow .yo-caption h3,.yoSlideshow .yo-caption p {
	padding: 0 30px;
	color: #ffffff;
	text-shadow: 0 1px 1px rgba(0,0,0,.65);
}

.yoSlideshow .yo-caption h3 {
	margin: 10px 0;
	font-size: 22px;
}

@media (max-width: 767px) {
	.yoSlideshow .yo-caption {
	display: none;
	}
}

/* Timer */
.yoSlideshow .yo-timer {
	position: absolute;
	bottom: 0;
	z-index: 777;
	width: 0;
	height: 4px;
	background-color: rgba(255,255,255,.35);
}
