@charset "utf-8";

.g-banner {
	height: 500px;
	position: relative;
	overflow: hidden;
}

.g-banner ul {
	width: 100%;
	height: 100%;
}

.banner-slide {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-position: center 0;
	background-size: cover;
	background-repeat: no-repeat;
	display: none;
}

.banner-slide a {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.g-banner .banner-dots {
	position: absolute;
	bottom: 10px;
	text-align: center;
	left: 0;
	right: 0;
	height: 25px;
	vertical-align: middle;
}

.g-banner .banner-dots span {
	display: inline-block;
	*display: inline;
	*zoom: 1;
	_display: inline;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin: 0 5px;
	background-color: #c3c6c9;
	transition: transform .2s;
	cursor: pointer;
}

.g-banner .banner-dots span.active {
	background-color: #fff;
	transform: scale(1.1);
}

.g-banner .linedot span {
	display: inline-block;
	*display: inline;
	*zoom: 1;
	_display: inline;
	width: 34px;
	height: 4px;
	border-radius: 0;
	margin: 0 5px;
	background-color: #c3c6c9;
	transition: transform .2s;
	cursor: pointer;
}

.g-banner .linedot span.active {
	background-color: #fff;
	transform: scale(1.1);
}

.g-banner .next {
	position: absolute;
	top: 50%;
	right: 10px;
	height: 50px;
	width: 40px;
	margin-top: -25px;
	background: url(images/next.png) no-repeat center;
	background-position: center;
	display: block;
}

.g-banner .prev {
	position: absolute;
	top: 50%;
	left: 10px;
	height: 50px;
	width: 40px;
	margin-top: -25px;
	background: url(images/prev.png) no-repeat center;
	background-position: center;
	display: block;
}

.g-banner .prev:hover {
	background-image: url(images/prev_h.png);
}

.g-banner .next:hover {
	background-image: url(images/next_h.png);
}

@media only screen and (max-width:970px) {
	.g-banner .prev {
		height: 30px;
		width: 24px;
		background-size: cover;
		top: 45px;
		margin-top: 0;
	}

	.g-banner .next {
		height: 30px;
		width: 24px;
		background-size: cover;
		top: 45px;
		margin-top: 0;
	}
}

@media only screen and (max-width:768px) {
	.g-banner .banner-dots {
		height: 20px;
		bottom: 0;
	}

	.g-banner .banner-dots span {
		width: 5px;
		height: 5px;
	}
}