
pre {
	margin: 0 0 15px;
	padding: 5px 10px;
	color: #444;
	display: block;
	border: 1px solid #eee;
	background: #fff;
}
.gallery {
	
	width: 789px;
	position: relative;
	overflow: hidden;
}
.gallery .holder {
	width: 100%;
	position: relative;
	overflow: hidden;
	z-index: 2;
}
.gallery .holder ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 30000px;
}
.gallery .holder ul li {
	float: left;
	width: 200px;
	border:1px solid #ccc;
	height:190px;
	margin-left:6px;
	margin-right:6px;
	text-align:center;
	
}
.gallery .holder ul li:hover{
border:1px solid #F00;
}

.gallery .holder ul li a {
color:#0059A6;
font-weight:bold;
}
.gallery .holder ul li a span {
color:#F00;
line-height:25px;
font-weight:bold;
}

.gallery .holder ul li img { display: block; }
/* vertical mode */
.gallery-vert { width: 240px; }
.gallery-vert .holder { height: 362px; }
.gallery-vert .holder ul { width: auto; }
.gallery-vert .holder ul li { float: none; }
.gallery-vert .holder ul li img {
	vertical-align: top;
	display: inline;
}
/* one item */
.gallery-one,
.gallery-vert-one { width: 240px; }
.gallery-vert-one .holder { height: 180px; }
.gallery-vert-one .holder ul { width: auto; }
.gallery-vert-one .holder ul li { float: none; }
.gallery-vert-one .holder ul li img {
	vertical-align: top;
	display: inline;
}
/* fade */
.gallery-fade { width: 240px; }
.gallery-fade .holder ul {
	width: 100%;
	height: 180px;
}
.gallery-fade .holder ul li {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 190px;
	padding: 0;
}
.paging {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	z-index: 100;
}
.paging ul {
	margin: 0;
	padding: 0;
}
.paging li {
	padding: 0 10px 0 0;
	float: left;
	list-style: none;
}
.paging li a {
	width: 14px;
	height: 14px;
	display: block;
	background-color: red;
	text-align: center;
	text-decoration: none;
	color: #fff;
}
.paging li a.active {
	background-color: yellow;
	color: red;
}
.next,
.prev {
	position: absolute;
	right: -10px;
	top: 50%;
	margin-top: -30px;
	width: 40px;
	height: 40px;
	background: url(../images/btn-next.png) no-repeat;
	z-index: 20;
	overflow: hidden;
	text-indent: -9999px;
	outline: none;
	cursor: pointer;
}
.next-disable { background: url(../images/btn-next-disable.png) no-repeat; }
.prev {
	background: url(../images/btn-prev.png) no-repeat;
	right: auto;
	left: -3px;
}
.prev-disable { background: url(../images/btn-prev-disable.png) no-repeat; }
.stop,
.start {
	background: url(../images/btn-pause.png) no-repeat;
	overflow: hidden;
	text-indent: -9999px;
	width: 30px;
	height: 30px;
	float: left;
	margin: 0 0 0 10px;
	outline: none;
	cursor: pointer;
}
.stopped .start { background: url(../images/btn-play.png) no-repeat; }
.start,
.no-active .start {
	margin: 0;
	background: url(../images/btn-play-disable.png) no-repeat;
}
.stopped .stop { background: url(../images/btn-pause-disable.png) no-repeat; }
.control {
	font-size: 18px;
	line-height: 21px;
	padding: 5px 0 0;
}
