/* ------ Slide ------ */


#slidesho {
	position: relative;
	width: 602px;
	height: 302px;
	padding: 15px;
	margin: 0 auto 2em;
	border: 1px solid #ddd;
	background: #FFF;
	/* CSS3 effects */
	background: linear-gradient(#FFF, #FFF 20%, #EEE 80%, #DDD);
	border-radius: 2px 2px 2px 2px;
	box-shadow: 0 0 3px rgba(0,0,0, 0.2);
}
 
/* avanced box-shadow
 * tutorial @
 * http://www.creativejuiz.fr/blog/les-tutoriels/ombre-avancees-avec-css3-et-box-shadow 
*/
#slidesho:before,
#slidesho:after {
	position: absolute;
	bottom:16px;
	z-index: -10;
	width: 50%;
	height: 20px;
	content: " ";
	background: rgba(0,0,0,0.1);
	border-radius: 50%;
	box-shadow: 0 0 3px rgba(0,0,0, 0.4), 0 20px 10px rgba(0,0,0, 0.7);
}
#slidesho:before {
	left:0;
	transform: rotate(-4deg);
}
#slidesho:after {
	right:0;
	transform: rotate(4deg);
}

/* gestion des dimensions et débordement du conteneur */
#slidesho .container {
	position:relative;
	width: 602px;
	height: 302px;
	overflow: hidden;
}
	
/* on prévoit un petit espace gris pour la timeline */
#slidesho .container:after {
	position:absolute;
	bottom: 0; left:0;
	content: " ";
	width: 100%;
	height: 1px;
	background: #999;
}
/* 
   le conteneur des slides
   en largeur il fait 100% x le nombre de slides
*/
#slidesho .slider {
	position: absolute;
	left:0; top:0;
	width: 800%;
	height: 302px;
}

/* annulation des marges sur figure */
#slidesho figure {
	position:relative;
	display:inline-block;
	padding:0; margin:0;
}
/* petit effet de vignette sur les images */
#slidesho figure:after {
	position: absolute;
	display:block;
	content: " ";
	top:0; left:0;
	width: 100%; height: 100%;
	box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;
}

@-webkit-keyframes slider {
	0%, 7.5%, 100%		{ left: 0 }
	12.5%, 20%			{ left: -100% }
	25%,   32.5%		{ left: -200% }
	37.5%, 45%			{ left: -300% }
	50%,   57.5%		{ left: -400% }
	62.5%, 70%			{ left: -500% }
	75%,   82.5%		{ left: -600% }
	87.5%, 95%			{ left: -700% }
}
@-moz-keyframes slider {
	0%, 7.5%, 100%		{ left: 0 }
	12.5%, 20%			{ left: -100% }
	25%,   32.5%		{ left: -200% }
	37.5%, 45%			{ left: -300% }
	50%,   57.5%		{ left: -400% }
	62.5%, 70%			{ left: -500% }
	75%,   82.5%		{ left: -600% }
	87.5%, 95%			{ left: -700% }
}
@-o-keyframes slider {
	0%, 7.5%, 100%		{ left: 0 }
	12.5%, 20%			{ left: -100% }
	25%,   32.5%		{ left: -200% }
	37.5%, 45%			{ left: -300% }
	50%,   57.5%		{ left: -400% }
	62.5%, 70%			{ left: -500% }
	75%,   82.5%		{ left: -600% }
	87.5%, 95%			{ left: -700% }
}
@keyframes slider {
	0%, 7.5%, 100%		{ left: 0 }
	12.5%, 20%			{ left: -100% }
	25%,   32.5%		{ left: -200% }
	37.5%, 45%			{ left: -300% }
	50%,   57.5%		{ left: -400% }
	62.5%, 70%			{ left: -500% }
	75%,   82.5%		{ left: -600% }
	87.5%, 95%			{ left: -700% }
}


/* complétez le sélecteur : */
#slidesho .slider {
	/* ... avec la propriété animation */
	animation: slider 40s infinite;
}

#timelin {
	position: absolute;
	background: #999;
	bottom: 15px;
	left: 15px;
	height: 1px;
	background: rgb(236,67,46);
	background: rgba(236,67,46,1);
	width: 0;
	/* fonction d'animation */
	animation: timeliner 40s infinite;
}

@-webkit-keyframes timeliner {
	0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, 100%		{ width: 0;		}
	7.5%, 20%, 32.5%, 45%, 57.5%, 70%, 82.5%, 95%			{ width: 602px;	}
}
@-moz-keyframes timeliner {
	0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, 100%		{ width: 0;		}
	7.5%, 20%, 32.5%, 45%, 57.5%, 70%, 82.5%, 95%			{ width: 602px;	}
}
@-o-keyframes timeliner {
	0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, 100%		{ width: 0;		}
	7.5%, 20%, 32.5%, 45%, 57.5%, 70%, 82.5%, 95%			{ width: 602px;	}
}
@keyframes timeliner {
	0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, 100%		{ width: 0;		}
	7.5%, 20%, 32.5%, 45%, 57.5%, 70%, 82.5%, 95%			{ width: 602px;	}
}