body { background: #f7f7f7; }
.container { margin: 0 auto; }

/* Example wrapper */
.wrap {
	position: relative;
	margin: 3em 0;
}

/* Frame */
.frame {
	height: 90px;
	line-height: 90px;
	overflow: hidden;
}
.frame ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 20px;
}
.frame ul li {
	float: left;
	width: 100px;
	height: 100%;
	margin: 0 1px 0 0;
	padding: 0;
	background: #ff6600;
	opacity:0.5;
	color: #ddd;
	text-align: center;
	cursor: pointer;
	line-height:90px;
	color:#fff;
}
.frame ul li.active {
	color: #fff;
	background: #ff6600;
	opacity:1.0;
	margin:0 2px;
}

/* Scrollbar */
.scrollbar {
	margin: 1em 0 0 0;
	height: 1px;
	background: #d3d3d3;
	line-height: 0;
}
.scrollbar .handle {
	/*width: 100px;*/
	height: 100%;
	background: #9a9a9a;
	cursor: pointer;
}
.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 {position:absolute; top:30px; width:100%;}

a.first{display:block; position:absolute; left:-40px;}
a.prev{display:block; position:absolute; left:-20px;}
a.next{display:block; position:absolute; right:60px;}
a.last{display:block; position:absolute; right:40px;}

/* 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: 90px;
	line-height: 90px;
	/*margin-left:-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;
	/*width:600px !important;
	margin-left:-85px;*/
}
.effects ul li {
	position: relative;
	margin: 0 -6px;
	-webkit-transform: rotateY(50deg) scale(0.9);
	-ms-transform: rotateY(50deg) scale(0.9);
	transform: rotateY(50deg) scale(0.9);
	-webkit-transition: -webkit-transform 300ms ease-out;
	transition: transform 300ms ease-out;
	background:#ff6600;
	opacity:0.5
	color:#fff;
}
.effects ul li.active {
	z-index: 10;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity:1.0;
}
.effects ul li.active ~ li {
	-webkit-transform: rotateY(-50deg) scale(0.9);
	-ms-transform: rotateY(-50deg) scale(0.9);
	transform: rotateY(-50deg) scale(0.9);
}