input {
	display: none;
}

#slide1:checked ~ #slides .inner { margin-left:0; }
#slide2:checked ~ #slides .inner { margin-left:-100%; }
#slide3:checked ~ #slides .inner { margin-left:-200%; }


#overflow {
	overflow: hidden;
	width: 585px;
}

#slides .inner {
	width: 300%; /*100% умножить на кол-во слайдов */
}

#slides article {
	width: 585px; /*100% делить на кол-во слайдов */
	float: left;
}


/* Control Setup */

#controls {
	position: absolute;
		bottom: 65px;
		right: 63px;
	width: 420px;
	height: 32px;
	text-align: center;
}

#controls label { 
	display: none;
	width: 32px;
	height: 32px;
	opacity: 0.3;
}

#active {
	position: absolute;
		bottom: 19px;
		right: 110px;
	text-align: center;
}

#active label {
	margin: 15px 0;
	border-radius: 45px;
	display: inline-block;
	width: 90px;
	height: 90px;
	opacity: 0.5;
	background: #ccc;
	margin-right: 25px;
}

#active label:last-child {
	margin-right: 0;
}
	


#active label:hover {
	opacity: 1;
	background: #ccc;
}

#controls label:hover {
	opacity: 0.8;
}

#slide1:checked ~ #controls label:nth-child(2), 
#slide2:checked ~ #controls label:nth-child(3), 
#slide3:checked ~ #controls label:nth-child(1) {
	background: url('next.png') no-repeat;
	float: right;
	margin: 0;
	display: block;
}


#slide1:checked ~ #controls label:nth-child(3),
#slide2:checked ~ #controls label:nth-child(1),
#slide3:checked ~ #controls label:nth-child(2){
	background: url('prev.png') no-repeat;
	float: left;
	margin: 0;
	display: block;
}
/* Буллеты */

#slide1:checked ~ #active label:nth-child(1),
#slide2:checked ~ #active label:nth-child(2),
#slide3:checked ~ #active label:nth-child(3){
	opacity: 1;
}

#active label:nth-child(1) {
	background: url('1.png') no-repeat;
}
#active label:nth-child(2) {
	background: url('2.png') no-repeat;
}
#active label:nth-child(3) {
	background: url('3.png') no-repeat;
}



#slider {

}


/* Animation */

#slides .inner {
    transition: all 800ms ease-out; /* easeInOutQuart */
}

#controls label{
	transition: opacity 0.2s ease-out;
}

#controls, #slider #slides, #active, #active label {
	transition: all 0.5s ease-out;
}





