.gallery-overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	_top: absolute;
	top: 0;
	left: 0;
	z-index: 99;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr='#B2000000', endColorstr='#B2000000');
	background-color: rgba(0, 0, 0,.8);
}

 :root .gallery-overlay {
	filter: none;
}

.gallery-close,
.gallery-prev,
.gallery-next {
	position: absolute;
	color: #fff;
	text-decoration: none;
}

.gallery-prev,
.gallery-next {
	top: 40%;
	font: bold 80px/80px simsun;
}

.gallery-prev {
	left: 50px;
}

.gallery-next {
	right: 50px;
}

.gallery-close {
	width: 30px;
	height: 30px;
	top: 30px;
	right: 30px;
	background: url(../img/gb.png) no-repeat;
	text-indent: -9999em;
}

.gallery-photo {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50px;
	vertical-align: middle;
	text-align: center;
}

.gallery-photo span {
	height: 100%;
	display: inline-block;
	vertical-align: middle;
}

.gallery-photo img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
	cursor: pointer;
}

.gallery-thumb {
	width: 100%;
	height: 56px;
	position: absolute;
	bottom: 50px;
	text-align: center;
	font-size: 0;
}

.gallery-thumb a {
	width: 50px;
	height: 50px;
	overflow: hidden;
	margin: 0 2px;
	display: inline-block;
	*zoom: 1;
	border: 3px solid transparent;
	opacity: .6;
	filter: alpha(opacity:60);
}

.gallery-thumb img {
	max-width: 100px;
	max-height: 100px;
	min-width: 50px;
	min-height: 50px;
	border: none;
}

.gallery-thumb .selected {
	border-color: #f60;
	opacity: 1;
	filter: alpha(opacity:100);
}

.img,
.img1,
.img2 {
	margin-top: 20px;
	overflow: hidden;
	padding-left: 9px;
}

.img img,
.img1 img,
.img2 img {
	display: block;
	float: left;
	margin-bottom: 13px;
	width: 164px;
	height: 114px;
}

.img a,
.img1 a,
.img2 a {
	display: block;
	float: left;
	margin-right: 10px;
}