

/* Frame */
.frame {
	height: 220px;
	line-height: 250px;
	overflow: hidden;
}
.frame ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}
.frame ul li {
	float: left; 
	width: 300px;
	height: 100%;
	padding: 0; 
	text-align: center;
}
.frame ul li.active {
}

/* Scrollbar */
.scrollbar {
	margin: 0 auto;
	height: 4px;
	background: #a5a5a5;
	line-height: 0;
  width:870px;
}
.scrollbar .handle {
	width: 100px;
	height: 10px;
	background: #2a2a2a;
	cursor: pointer;
  position:relative;
  top:-3px;
}
.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: 14px;
	height: 14px;
	margin: 0 4px;
	text-indent: -999px;
	border-radius: 10px;
	cursor: pointer;
	overflow: hidden;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
}
.pages li:hover {
	background: #aaa;
}
.pages li.active {
	background: #666;
}

/* 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; }

@media screen and (max-width: 1400px){
	.frame ul li{width:230px;}
}

@media screen and (max-width: 1280px){
	.frame ul li{width:250px; padding:0 10px;}
}
@media screen and (max-width: 1080px){
	.scrollbar{width:80%;}
	.frame ul li{width:185px; padding:0 20px;}
}