#slide {
	position: relative;
	overflow: hidden;
	padding: 70px 0 30px 0 ;
}

#slide ul {
	position: relative;
	width: 150%;
	z-index: 0;
}

#slide li {
	float: left;
	width: 18%;
	margin: 0 0.5%;
	border-radius: 10px;
	background: #ddd;
}
#slide li a:hover {
	opacity: 0.7;
}
#slide li img {
	width: 100%;
    height: 100%;
    border-radius: 18px 18px 0 0;
	padding: 10px;
}
#slide li .cap {
	color: #fff;
	font-size: 12px;
	line-height: 32px;
	text-align: center;
	height: 30px;
	overflow: hidden;
	background: #069;
	border-radius: 0 0 10px 10px;
}

#slide button {
	position: absolute;
	top: 55%;
	width: 50px;
	height: 100%;
	transform: translate(0, -50%);
	font-size: 20px;
	background: transparent;
	padding: 0 5px;
}

#prev_bt {
	left: 0;
}
#slide button p {
	color: #fff;
	padding: 5px;
	background: #333;
	border-radius: 50%;
}

#next_bt {
	right: 0;
}

#dotted {
	margin-bottom: 40px;
}
#prev_bt img:hover , #next_bt img:hover  {
	background-color: #4a4a4a;
	border-radius: 5px;
}
#dotted ul { 
	display: flex;
	justify-content: center;
}

#dotted ul li a {
	text-indent: -99999px;
	text-decoration: none;
	display: block;
	width: 14px;
	height: 14px;
	background: #444;
	border-radius: 7px;
	margin: 0 5px;
}

@media screen and (max-width: 540px) {
	#slide ul {
		width: 250%;
	}
	#slide ul li:nth-child(4) {
		display: none;
	}
	#slide ul li:nth-child(5) {
		display: none;
	}
	#slide li img {
		padding: 5px;
		border-radius: 10px 10px 0 0;
	}
}