@charset "utf-8";
/* CSS Document */


.slider{
	width: 640px; /*Same as width of the large image*/
	position: relative;
	/*Instead of height we will use padding*/
	padding-top: 320px; /*That helps bring the labels down*/
	border-bottom: 3px solid white;
}


/*Last thing remaining is to add transitions*/
.slider>a img{
	position: absolute;
	left: 0; top: 0;
	transition: all 0.5s;
}

.slider input[name='slide_switch'] {
	display: none;
}

.slider label {
	margin: 20px 0 0 45px;
	border: 1px solid black;
	float: left;
	cursor: pointer;
	transition: all 0.5s;
	opacity: 0.85;
}

.slider label a img{
	display: block;
}

/*Time to add the click effects*/
.slider input[name='slide_switch']:checked+label {
	border-color: sienna;
	opacity: 1;

}
/*Clicking any thumbnail now should change its opacity(style)*/
/*Time to work on the main images*/
.slider input[name='slide_switch'] ~ a img {
	opacity: 0;
	transform: scale(0.1);
	
}
/*That hides all main images at a 110% size
On click the images will be displayed at normal size to complete the effect
*/
.slider input[name='slide_switch']:checked+label+a img {
	opacity: 1;
	transform: scale(1);
}
