﻿/*
 | ------------------------------------------
 | Glide styles
 | ------------------------------------------
 | Here are slider styles
 | 
*/

.slider {
	position: relative;
	width: 100%;
   margin:0 auto;
	overflow: hidden;
}
.slider img{width:100%;}
/*盒子带容器*/
.slides {
	height: auto;
	/* Simple clear fix */
	overflow: hidden;
	/**	
		 * Prevent blinking issue
		 * Not tested. Experimental.
		 */
	-webkit-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
	/**
		 * Here is CSS transitions 
		 * responsible for slider animation in modern broswers
		 */
	-webkit-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
	-moz-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
	-ms-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
	-o-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
	transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
}
.slide {
	height: auto;
	float: left;
	clear: none;
}
.slider-arrows {
}
.slider-arrow {
	position: absolute;
	display: block;
	margin-bottom: -20px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-decoration: none;
	text-align: center;
	color: #fff;
	font-size: 2em;
	background-color: #fff;
	background-color: rgba(50,50,50,.3);
	border-radius: 50%;
}/*左右按钮样式及放置位置*/
.slider-arrow--right {
	bottom: 50%;
	right: 30px;
}
.slider-arrow--left {
	bottom: 50%;
	left: 30px;
}
/*
background:url(img/.png) no-repeat;
*/

.slider-nav {
	position: absolute;
	bottom: 30px;
}
.slider-nav__item {  /*nva样式*/
	width: 30px;
	height: 5px;
	float: left;
	clear: none;
	display: block;
	margin: 0 5px;
	background: #ccc;
	
}
.slider-nav__item:hover {
	background: #fff;
}
.slider-nav__item--current {
	background: #fff;
} /*被选中后的样式*/

.slider-arrow--right{
	   position:absolute;
	   width:30px;height:60px;top:50%;margin-top:-30px;right:10%;
	   background:url(../images/next.png) center center no-repeat;
	}
	.slider-arrow--left{
		position:absolute;
	   width:30px;height:60px;top:50%;margin-top:-30px;left:10%;
	   background:url(../images/prev.png) center center no-repeat;
	}