

/* Example wrapper */
.wrap {
	position: relative;
	margin: 3em 0;
}

/* Frame */
.frame {
	height: 220px;
	overflow: hidden;
	width:100%;
	
}
@media only screen and (max-width: 1080px) {
	        .frame {
			width:735px;
			margin:auto;
			}
}
@media only screen and (max-width: 780px) {
	        .frame {
			width:490px;
			margin:auto;
			}
			.scrollbar{ display:none;}
}
@media only screen and (max-width: 560px) {
	        .frame {
			width:245px;
			margin:auto;
			}
			
}


.frame ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	
}
.frame ul li {
	float: left;
	width: 245px;
	height: 100%;
	margin: 0 0px 0 0;
	padding: 0;
	background: #ccc;
	color: #ddd;
	text-align: center;
	cursor: pointer;
	position:relative;
}


.frame ul li .scroll_image{ display:block; position: absolute; z-index:1; height:100%; width:100%;}
.frame ul li .scroll_image img{ display:block;  height:100%; width:100%;}
.frame ul li .scroll_info{ background-color:#fff;; width:90%; display:block; padding:5%; position:absolute; bottom:0px; z-index:2; height:60px; text-align:left;}
.frame ul li a{ text-decoration:none; color:#333;}
.frame ul li h3{ text-decoration:none; color:#ccc; font-size:17px; font-weight:100px;text-transform: uppercase;}


.frame ul li.active {
	color: #fff;
	background: #666;
}

/* Scrollbar */
.scrollbar {
	margin:10px 0px;
	height:10px;
	background: rgba(0,0,0,0.1);
	line-height: 0;
	-webkit-border-radius: 80px;
    border-radius: 80px;
	
}
.scrollbar .handle {
	width: 100px;
	height: 100%;
	background: #F90;
	cursor: pointer;
	-webkit-border-radius: 80px;
    border-radius: 80px;
}
.scrollbar .handle .mousearea {
	position: absolute;
	top: -9px;
	left: 0;
	width: 100%;
	height: 20px;
}

/* Pages */
.pages {
	list-style: none;
	margin: 20px 0;
	padding: 0;
	text-align: center;
}
.pages li {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 4px;
	text-indent: -999px;
	border-radius: 10px;
	cursor: pointer;
	overflow: hidden;
	background: #ccc;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}
.pages li:hover {
	background: #aaa;
}
.pages li.active {
	background:#F90;
}

/* Controls */
.controls { margin: 25px 0; text-align: center; }

/* One Item Per Frame example*/
.oneperframe { height: 300px; line-height: 300px; }
.oneperframe ul li { width: 1140px; }
.oneperframe ul li.active { background: #333; }

/* Crazy example */
.crazy ul li:nth-child(2n) { width: 100px; margin: 0 4px 0 20px; }
.crazy ul li:nth-child(3n) { width: 300px; margin: 0 10px 0 5px; }
.crazy ul li:nth-child(4n) { width: 400px; margin: 0 30px 0 2px; }

/* Effects */
.effects {
	height: 200px;
	line-height: 200px;
	-webkit-perspective: 800px;
	-ms-perspective: 800px;
	perspective: 800px;
	-webkit-perspective-origin: 50% 50%;
	-ms-perspective-origin: 50% 50%;
	perspective-origin: 50% 50%;
	overflow-y: show;
}
.effects ul {
	-webkit-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
.effects ul li {
	position: relative;
	margin: 0 -20px;
	-webkit-transform: rotateY(60deg) scale(0.9);
	-ms-transform: rotateY(60deg) scale(0.9);
	transform: rotateY(60deg) scale(0.9);
	-webkit-transition: -webkit-transform 300ms ease-out;
	transition: transform 300ms ease-out;
}
.effects ul li.active {
	z-index: 10;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}
.effects ul li.active ~ li {
	-webkit-transform: rotateY(-60deg) scale(0.9);
	-ms-transform: rotateY(-60deg) scale(0.9);
	transform: rotateY(-60deg) scale(0.9);
}