#slider {
	max-width: 100%;
	margin: auto;
	position: relative;
	overflow: hidden;
	height: 100vh;
}
/*控件位置*/
.controls li {
	top: 50%;
	margin-top: -23px;
	list-style: none;
}
.controls li:nth-child(1) {
	left: 0;
}
.controls li:nth-child(2) {
	right: 0;
}
/*pagination*/
.pagination li {
	background-color: #ddd;
	transition: all 0.6s;
	-moz-transition: all 0.6s;
	-ms-transition: all 0.6s;
	-o-transition: all 0.6s;
	-webkit-transition: all 0.6s;
}
.pagination li.active {
	background-color: #fea905;
}
/*让图片自适应*/
.responsive {
	width: 100%;
	height: auto;
}

/* 轮播图样式 */
.slides {
	position: relative;
	width: 500%; /* 5张图片，每张占20% */
	height: 100vh;
}

.slides li {
	width: 20%; /* 每张图片占20% */
	float: left;
	position: relative;
	height: 100vh;
}

.slides li img {
	width: 100%;
	height: 100vh;
	display: block;
	object-fit: cover;
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}


.slides .phone{
	display: none!important;
}

/* 平板端轮播图高度调整 */
@media screen and (max-width: 1024px) and (min-width: 641px) {
	#slider {
		height: 70vh;
	}
	
	.slides {
		height: 70vh;
	}
	
	.slides li {
		height: 70vh;
	}
	
	.slides li img {
		height: 70vh;
		object-fit: cover;
	}
}

@media screen and (max-width:640px) {
	.slides .phone{
		display: block!important;
	}
	.slides .pc{
		display: none!important;
	}
	
	/* 移动端轮播图高度调整 */
	#slider {
		height: 50vh;
	}
	
	.slides {
		height: 50vh;
	}
	
	.slides li {
		height: 50vh;
	}
	
	.slides li img {
		height: 50vh;
		object-fit: cover;
	}
}