body { /*background: #e8e8e8;*/ }
.container { margin: 0 auto;
border-top:solid #d2d2d2 1px; }

/* Example wrapper */
.wrap {
	position: relative;
/*	margin: 5px 0 5px 0px;*/
border-bottom:solid #d2d2d2 1px;
height:140px;
padding:10px 0px 10px 0px;

}

/* Frame */
.frame {
height:145px;
/*	line-height: 250px;
*/	overflow: hidden;

}
.frame ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 50px;
}
.frame ul li {
	float: left;
	width: 80px;
	height: auto;
	margin: 0 5px 0 0;
	padding: 5px;
	background-color: #E7E9EB;
	color: #ddd;
	text-align: center;
	cursor: pointer;
	border:solid #A4A4A4 1px;
}
.frame ul li.active {
	color: #fff;
	background: #cccccc;
}

/* Scrollbar */
.scrollbar {
	margin: 0 0 5px 0;
	height: 2px;
	background: #ccc;
	line-height: 0;
}
.scrollbar .handle {
	width: 100px;
	height: 100%;
	background: #cc0000;
	cursor: pointer;
}
.scrollbar .handle .mousearea {
	position: absolute;
	top: 1px;
	left: -3px;
	width: 100%;
	height: 20px;
}

/* Pages */
.pages {
	list-style: none;
	margin: 10px 0px 0px 0px;
	padding:0px 0px 15px 0px;
	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: #cccccc;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
	text-align:center;
	list-style-type:none;
		float:left;

}
.pages li:hover {
	background: #cccccc;
}
.pages li.active {
	background: #0099ff;
}

/* 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);
}
