/**
	Juizy Slideshow
*/

/* gestion du positionnement, des dimensions et du décors du slideshow */

#slideshow {
	position: relative;
	width: 960px;
	height: 540px;
	top:15px;
	margin: 0 auto;
	background:#808080;
}

/* gestion des dimensions et du débordement du conteneur */

#slideshow .container {
	position:relative;
	width: 960px;
	height: 540px;
	overflow: hidden;
}

/* gestion de l'animation (glisse) du slider, 9 étapes (100 / 9 = environ 11) de environ 8s (11% de 72s) avec un arrêt de environ 6.5 s (9% de 72s) */

@-webkit-keyframes slider {
	0%, 9%, 100%	{ left: 0 }
	12%, 21%		{ left: -100% }
	23%, 32%		{ left: -200% }
	34%, 43%		{ left: -300% }
	45%, 54%		{ left: -400% }
	56%, 65%		{ left: -500% }
	67%, 76%		{ left: -600% }
	78%, 87%		{ left: -700% }
	89%, 98%		{ left: -800% }
}
@-moz-keyframes slider {
	0%, 9%, 100%	{ left: 0 }
	12%, 21%		{ left: -100% }
	23%, 32%		{ left: -200% }
	34%, 43%		{ left: -300% }
	45%, 54%		{ left: -400% }
	56%, 65%		{ left: -500% }
	67%, 76%		{ left: -600% }
	78%, 87%		{ left: -700% }
	89%, 98%		{ left: -800% }
}
@keyframes slider {
	0%, 9%, 100%	{ left: 0 }
	12%, 21%		{ left: -100% }
	23%, 32%		{ left: -200% }
	34%, 43%		{ left: -300% }
	45%, 54%		{ left: -400% }
	56%, 65%		{ left: -500% }
	67%, 76%		{ left: -600% }
	78%, 87%		{ left: -700% }
	89%, 98%		{ left: -800% }
}

/* gestion des dimensions du conteneur des slides, en largeur, il fait 100% x le nombre de photo */

#slideshow .slider {
	position: absolute;
	left:0;
	top:0;
	width: 900%;
	height: 540px;
	
	-webkit-animation: slider 72s infinite;
	-moz-animation: slider 72s infinite;
	animation: slider 72s infinite;
}

.sl_i:target ~ #slideshow .slider {
	-webkit-transition: left 1s;
	-moz-transition: left 1s;
	transition: left 1s;
}
.sl_command:target ~ #slideshow .slider {
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s;
	transition: opacity 1s;
}

#slideshow .c_slider {
	position: absolute;
	left:0;
	top:0;
	width: 900%;
	height: 540px;
	background: url(img_accueil/Jura.jpg) 0 0 no-repeat,
				url(img_accueil/Orchidees.jpg) 960px 0 no-repeat,
				url(img_accueil/Mulotage.jpg) 1920px 0 no-repeat,
				url(img_accueil/Fleurs.jpg) 2880px 0 no-repeat,
				url(img_accueil/Renardeaux.jpg) 3840px 0 no-repeat,
				url(img_accueil/Commelles.jpg) 4800px 0 no-repeat,
				url(img_accueil/Renard.jpg) 5760px 0 no-repeat,
				url(img_accueil/Chevreuil.jpg) 6720px 0 no-repeat,
				url(img_accueil/Cerfs.jpg) 7680px 0 no-repeat;
}
.sl_i:target ~ #slideshow .c_slider {
	-webkit-transition: background 1s;
	-moz-transition: background 1s;
	transition: background 1s;
}

figure { 
	display: inline-block; 
}

/* annulation des marges sur figure */

#slideshow figure {
	position:relative;
	padding:0;
	margin:0;
}

/* petit effet de vignette sur les images */

#slideshow figure:after {
	position: absolute;
	display:block;
	content: " ";
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	
	-webkit-box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;
	-moz-box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;
	box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;
	
	-webkit-animation: figurer 72s infinite;
	-moz-animation: figurer 72s infinite;
	animation: figurer 72s infinite;
}

/* gestion de l'animation de l'effet de vignette, disparition (9 étapes), apparition (9 paliers entre chaque étape) */

@-webkit-keyframes figurer {
	0%, 12%, 23%, 34%, 45%, 56%, 67%, 78%, 89%, 100%												{ -webkit-box-shadow: 0 0 65px rgba(0,0,0, 0) inset; box-shadow: 0 0 65px rgba(0,0,0, 0) inset;	}
	3%, 9%, 15%, 20%, 26%, 31%, 37%, 42%, 48%, 53%, 59%, 64%, 70%, 75%, 81%, 86%, 92%, 97%		{ -webkit-box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;	box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset; }
}
@-moz-keyframes figurer {
	0%, 12%, 23%, 34%, 45%, 56%, 67%, 78%, 89%, 100%												{ -moz-box-shadow: 0 0 65px rgba(0,0,0, 0) inset; box-shadow: 0 0 65px rgba(0,0,0, 0) inset;	}
	3%, 9%, 15%, 20%, 26%, 31%, 37%, 42%, 48%, 53%, 59%, 64%, 70%, 75%, 81%, 86%, 92%, 97%		{ -moz-box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;	box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset; }
}
@keyframes figurer {
	0%, 12%, 23%, 34%, 45%, 56%, 67%, 78%, 89%, 100%												{ -moz-box-shadow: 0 0 65px rgba(0,0,0, 0) inset; box-shadow: 0 0 65px rgba(0,0,0, 0) inset;	}
	3%, 9%, 15%, 20%, 26%, 31%, 37%, 42%, 48%, 53%, 59%, 64%, 70%, 75%, 81%, 86%, 92%, 97%		{ -moz-box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset;	box-shadow: 0 0 65px rgba(0,0,0, 0.5) inset; }
}

/* styles des légendes */

#slideshow figcaption {
	position:absolute;
	padding: 5px;
	margin:0;
	left:0;
	right:0;
	bottom: 5px;
	text-align:center;
	font-family: Arial, Verdana, sans-serif;
	background: #808080;
	background: rgba(255,255,255,0.3);
	border-top: 1px solid rgb(225,225,225);
	color:black;
	font-weight:bold;
	font-size:15px;
	letter-spacing:0.1em;
	word-spacing: 0.1em;
	
	-webkit-animation: figcaptionner 72s infinite;
	-moz-animation: figcaptionner 72s infinite;
	animation: figcaptionner 72s infinite;
}

/* gestion de l'animation de la légende, descente (9 étapes), montée (9 paliers entre chaque étape) */

@-webkit-keyframes figcaptionner {
	0%, 12%, 23%, 34%, 45%, 56%, 67%, 78%, 89%, 100%												{ bottom: -30px;	}
	3%, 9%, 15%, 20%, 26%, 31%, 37%, 42%, 48%, 53%, 59%, 64%, 70%, 75%, 81%, 86%, 92%, 97%		{ bottom: 5px;		}
}
@-moz-keyframes figcaptionner {
	0%, 12%, 23%, 34%, 45%, 56%, 67%, 78%, 89%, 100%												{ bottom: -30px;	}
	3%, 9%, 15%, 20%, 26%, 31%, 37%, 42%, 48%, 53%, 59%, 64%, 70%, 75%, 81%, 86%, 92%, 97%		{ bottom: 5px;		}
}
@keyframes figcaptionner {
	0%, 12%, 23%, 34%, 45%, 56%, 67%, 78%, 89%, 100%												{ bottom: -30px;	}
	3%, 9%, 15%, 20%, 26%, 31%, 37%, 42%, 48%, 53%, 59%, 64%, 70%, 75%, 81%, 86%, 92%, 97%		{ bottom: 5px;		}
}

/* gestion du positionnement et de la forme des boutons précédent/suivant */

#slideshow .commands {
	position: absolute;
	top: 45%;
	padding: 15px;
	border-bottom:0;
	font-family: Arial, Verdana, sans-serif;
	font-size: 2em;
	color:#808080;
	text-decoration:none;
	background-color: transparent;
}
#slideshow .prev {
	left: -50px;
}
#slideshow .next {
	right: -50px;
}
#slideshow .prev,
#slideshow .next {
	display:none;
}
#slideshow .commands1 {
	display: block;
}

/* gestion du positionnement et de la forme des boutons play/pause */

.play_commands {
	position: absolute;
	width:	20px;
	height:	20px;
	top: 25px;
	right: 25px;
	z-index: 10;
	text-indent: -9999px;
	border:0 none;
	opacity: 0;

	-webkit-transition: opacity 1s, right 1s;
	-moz-transition: opacity 1s, right 1s;
	transition: opacity 1s, right 1s;
}
.play {
	right: 55px;
	cursor: default;
}
.pause:hover {
	border:0 none;
}
.play_commands:focus {
	outline:0;
}

#slideshow:hover .pause,
#sl_play:target ~ #slideshow:hover .pause,
.play_commands:focus {
	opacity: 1;
}
.sl_command:target ~ #slideshow:hover .pause,
#sl_pause:target ~ #slideshow:hover .pause {
	opacity: 0;
}
.pause:after,
.pause:before {
	position: absolute;
	display: block;
	content: " ";
	top:0;
	width:38%;
	height: 20px;
	background:#f2f2f2;
	background: rgba(255,255,255,0.5);
}
.pause:after {
	right:0;
}
.pause:before {
	left:0;
}
.play {
	width: 1px; 
	height: 1px; 
	border-top: 10px solid transparent; 
	border-left: 20px solid #f2f2f2; 
	border-left: 20px solid rgba(255,255,255,0.5); 
	border-bottom: 10px solid transparent;
	opacity: 0;
}
.play:hover,
.play:focus {
	border-bottom: 10px solid transparent;
}

/* gestion du positionnement et de la forme des dots */

.dots_commands {
	position: relative;
	top: 10px;
	padding:0;
	margin:0;
	text-align:center;
}
.dots_commands li {
	display:inline;
	padding:0;
	margin:0;
	list-style:none;
}
.dots_commands a {
	position: relative;
	display:inline-block;
	height:10px;
	width: 10px;
	margin: 0 4px;
	text-indent: -9999px;
	background:#f2f2f2;
	border-bottom:0;
	
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
	box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
	
	z-index:25;
}
.dots_commands li + li a {
	z-index:10;
}

@-moz-keyframes dotser {
	0%, 100% 	{ opacity: 1; left: 0; 		}
	
	9%			{ opacity: 1; left: 0;		}
	10%			{ opacity: 0; left: 0;		}
	11%			{ opacity: 0; left: 18px;	}
	12%			{ opacity: 1; left: 18px;	}
	
	20%			{ opacity: 1; left: 18px;	}
	21%			{ opacity: 0; left: 18px;	}
	22%			{ opacity: 0; left: 36px;	}
	23%			{ opacity: 1; left: 36px;	}
	
	31%			{ opacity: 1; left: 36px;	}
	32%			{ opacity: 0; left: 36px;	}
	33%			{ opacity: 0; left: 54px;	}
	34%			{ opacity: 1; left: 54px;	}
	
	42%			{ opacity: 1; left: 54px;	}
	43%			{ opacity: 0; left: 54px;	}
	44%			{ opacity: 0; left: 72px;	}
	45%			{ opacity: 1; left: 72px;	}
	
	53%			{ opacity: 1; left: 72px;	}
	54%			{ opacity: 0; left: 72px;	}
	55%			{ opacity: 0; left: 90px;	}
	56%			{ opacity: 1; left: 90px;	}
	
	64%			{ opacity: 1; left: 90px;	}
	65%			{ opacity: 0; left: 90px;	}
	66%			{ opacity: 0; left: 108px;	}
	67%			{ opacity: 1; left: 108px;	}
	
	75%			{ opacity: 1; left: 108px;	}
	76%			{ opacity: 0; left: 108px;	}
	77%			{ opacity: 0; left: 126px;	}
	78%			{ opacity: 1; left: 126px;	}
	
	86%			{ opacity: 1; left: 126px;	}
	87%			{ opacity: 0; left: 126px;	}
	88%			{ opacity: 0; left: 144px;	}
	89%			{ opacity: 1; left: 144px;	}
	
	97%			{ opacity: 1; left: 144px;	}
	98%			{ opacity: 0; left: 144px;	}
	99%			{ opacity: 0; left: 0;	}
}
@-webkit-keyframes dotser {
	0%, 100% 	{ opacity: 1; left: 0; 		}
	
	9%			{ opacity: 1; left: 0;		}
	10%			{ opacity: 0; left: 0;		}
	11%			{ opacity: 0; left: 18px;	}
	12%			{ opacity: 1; left: 18px;	}
	
	20%			{ opacity: 1; left: 18px;	}
	21%			{ opacity: 0; left: 18px;	}
	22%			{ opacity: 0; left: 36px;	}
	23%			{ opacity: 1; left: 36px;	}
	
	31%			{ opacity: 1; left: 36px;	}
	32%			{ opacity: 0; left: 36px;	}
	33%			{ opacity: 0; left: 54px;	}
	34%			{ opacity: 1; left: 54px;	}
	
	42%			{ opacity: 1; left: 54px;	}
	43%			{ opacity: 0; left: 54px;	}
	44%			{ opacity: 0; left: 72px;	}
	45%			{ opacity: 1; left: 72px;	}
	
	53%			{ opacity: 1; left: 72px;	}
	54%			{ opacity: 0; left: 72px;	}
	55%			{ opacity: 0; left: 90px;	}
	56%			{ opacity: 1; left: 90px;	}
	
	64%			{ opacity: 1; left: 90px;	}
	65%			{ opacity: 0; left: 90px;	}
	66%			{ opacity: 0; left: 108px;	}
	67%			{ opacity: 1; left: 108px;	}
	
	75%			{ opacity: 1; left: 108px;	}
	76%			{ opacity: 0; left: 108px;	}
	77%			{ opacity: 0; left: 126px;	}
	78%			{ opacity: 1; left: 126px;	}
	
	86%			{ opacity: 1; left: 126px;	}
	87%			{ opacity: 0; left: 126px;	}
	88%			{ opacity: 0; left: 144px;	}
	89%			{ opacity: 1; left: 144px;	}
	
	97%			{ opacity: 1; left: 144px;	}
	98%			{ opacity: 0; left: 144px;	}
	99%			{ opacity: 0; left: 0;	}
}
@keyframes dotser {
	0%, 100% 	{ opacity: 1; left: 0; 		}
	
	9%			{ opacity: 1; left: 0;		}
	10%			{ opacity: 0; left: 0;		}
	11%			{ opacity: 0; left: 18px;	}
	12%			{ opacity: 1; left: 18px;	}
	
	20%			{ opacity: 1; left: 18px;	}
	21%			{ opacity: 0; left: 18px;	}
	22%			{ opacity: 0; left: 36px;	}
	23%			{ opacity: 1; left: 36px;	}
	
	31%			{ opacity: 1; left: 36px;	}
	32%			{ opacity: 0; left: 36px;	}
	33%			{ opacity: 0; left: 54px;	}
	34%			{ opacity: 1; left: 54px;	}
	
	42%			{ opacity: 1; left: 54px;	}
	43%			{ opacity: 0; left: 54px;	}
	44%			{ opacity: 0; left: 72px;	}
	45%			{ opacity: 1; left: 72px;	}
	
	53%			{ opacity: 1; left: 72px;	}
	54%			{ opacity: 0; left: 72px;	}
	55%			{ opacity: 0; left: 90px;	}
	56%			{ opacity: 1; left: 90px;	}
	
	64%			{ opacity: 1; left: 90px;	}
	65%			{ opacity: 0; left: 90px;	}
	66%			{ opacity: 0; left: 108px;	}
	67%			{ opacity: 1; left: 108px;	}
	
	75%			{ opacity: 1; left: 108px;	}
	76%			{ opacity: 0; left: 108px;	}
	77%			{ opacity: 0; left: 126px;	}
	78%			{ opacity: 1; left: 126px;	}
	
	86%			{ opacity: 1; left: 126px;	}
	87%			{ opacity: 0; left: 126px;	}
	88%			{ opacity: 0; left: 144px;	}
	89%			{ opacity: 1; left: 144px;	}
	
	97%			{ opacity: 1; left: 144px;	}
	98%			{ opacity: 0; left: 144px;	}
	99%			{ opacity: 0; left: 0;	}
}

.dots_commands li:first-child a:after,
.dots_commands li:first-child a:before {
	position: absolute;
	top: 0;
	left: 0;
	content: " ";
	width: 10px;
	height: 10px;
	background:#808080;
	z-index:20;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
	box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
}
.dots_commands li:first-child a:after {
	-webkit-animation: dotser 72s infinite;
	-moz-animation: dotser 72s infinite;
	animation: dotser 72s infinite;
}
.dots_commands li:first-child a:before {
	display:none;
}

/* actions when target ! */

.sl_command { display: none; }

.sl_command:target ~ #slideshow .slider,
.sl_command:target ~ #slideshow figure:after,
.sl_command:target ~ #slideshow figcaption,
.sl_command:target ~ #slideshow #timeline,
.sl_command:target ~ #slideshow .dots_commands li:first-child a:after {
	-webkit-animation-play-state: paused;
	-moz-animation-play-state: paused;
	animation-play-state: paused;
}

#sl_play:target ~ #slideshow .slider,
#sl_play:target ~ #slideshow figure:after,
#sl_play:target ~ #slideshow figcaption,
#sl_play:target ~ #slideshow #timeline,
#sl_play:target ~ #slideshow .dots_commands li:first-child a:after {
	-webkit-animation-play-state: running;
	-moz-animation-play-state: running;
	animation-play-state: running;
}

.sl_command:target ~ #slideshow .pause 	{ opacity:0; }
.sl_command:target ~ #slideshow .play 	{ opacity:1; right: 25px; cursor: pointer; }
#sl_play:target ~ #slideshow .pause 		{ opacity:0; }
#sl_play:target ~ #slideshow .play 		{ opacity:0; right: 55px; cursor: default;}

.sl_i:target ~ #slideshow .slider								{ visibility: hidden }
.sl_i:target ~ #slideshow .slider figcaption							{ visibility: hidden }
.sl_i:target ~ #slideshow .dots_commands li:first-child a:after		{ display:none; }
.sl_i:target ~ #slideshow .dots_commands li:first-child a:before	{ display:block; }

#sl_i1:target ~ #slideshow .commands								{ display: none; }
#sl_i1:target ~ #slideshow .commands1							{ display: block; }
#sl_i1:target ~ #slideshow .c_slider								{ background-position: 0 0, 960px 0, 1920px 0, 2880px 0, 3840px 0, 4800px 0, 5760px 0, 6720px 0, 7680px 0; }
#sl_i1:target ~ #slideshow .dots_commands li:first-child a:before	{ left:0; }

#sl_i2:target ~ #slideshow .commands								{ display: none; }
#sl_i2:target ~ #slideshow .commands2							{ display: block; }
#sl_i2:target ~ #slideshow .c_slider								{ background-position: -960px 0, 0 0, 960px 0, 1920px 0, 2880px 0, 3840px 0, 4800px 0, 5760px 0, 6720px 0; }
#sl_i2:target ~ #slideshow .dots_commands li:first-child a:before	{ left:18px; }

#sl_i3:target ~ #slideshow .commands								{ display: none; }
#sl_i3:target ~ #slideshow .commands3							{ display: block; }
#sl_i3:target ~ #slideshow .c_slider								{ background-position: -1920px 0, -960px 0, 0 0, 960px 0, 1920px 0, 2880px 0, 3840px 0, 4800px 0, 5760px 0; }
#sl_i3:target ~ #slideshow .dots_commands li:first-child a:before	{ left:36px; }

#sl_i4:target ~ #slideshow .commands								{ display: none; }
#sl_i4:target ~ #slideshow .commands4							{ display: block; }
#sl_i4:target ~ #slideshow .c_slider								{ background-position: -2880px 0, -1920px 0, -960px 0, 0 0, 960px 0, 1920px 0, 2880px 0, 3840px 0, 4800px 0; }
#sl_i4:target ~ #slideshow .dots_commands li:first-child a:before	{ left:54px; }

#sl_i5:target ~ #slideshow .commands								{ display: none; }
#sl_i5:target ~ #slideshow .commands5							{ display: block; }
#sl_i5:target ~ #slideshow .c_slider								{ background-position: -3840px 0, -2880px 0, -1920px 0, -960px 0, 0 0, 960px 0, 1920px 0, 2880px 0, 3840px 0; }
#sl_i5:target ~ #slideshow .dots_commands li:first-child a:before	{ left:72px; }

#sl_i6:target ~ #slideshow .commands								{ display: none; }
#sl_i6:target ~ #slideshow .commands6							{ display: block; }
#sl_i6:target ~ #slideshow .c_slider								{ background-position: -4800px 0, -3840px 0, -2880px 0, -1920px 0, -960px 0, 0 0, 960px 0, 1920px 0, 2880px 0; }
#sl_i6:target ~ #slideshow .dots_commands li:first-child a:before	{ left:90px; }

#sl_i7:target ~ #slideshow .commands								{ display: none; }
#sl_i7:target ~ #slideshow .commands7							{ display: block; }
#sl_i7:target ~ #slideshow .c_slider								{ background-position: -5760px 0, -4800px 0, -3840px 0, -2880px 0, -1920px 0, -960px 0, 0 0, 960px 0, 1920px 0; }
#sl_i7:target ~ #slideshow .dots_commands li:first-child a:before	{ left:108px; }

#sl_i8:target ~ #slideshow .commands								{ display: none; }
#sl_i8:target ~ #slideshow .commands8							{ display: block; }
#sl_i8:target ~ #slideshow .c_slider								{ background-position: -6720px 0, -5760px 0, -4800px 0, -3840px 0, -2880px 0, -1920px 0, -960px 0, 0 0, 960px 0; }
#sl_i8:target ~ #slideshow .dots_commands li:first-child a:before	{ left:126px; }

#sl_i9:target ~ #slideshow .commands								{ display: none; }
#sl_i9:target ~ #slideshow .commands9							{ display: block; }
#sl_i9:target ~ #slideshow .c_slider								{ background-position: -7680px 0, -6720px 0, -5760px 0, -4800px 0, -3200px 0, -2880px 0, -1920px 0, -960px 0, 0 0; }
#sl_i9:target ~ #slideshow .dots_commands li:first-child a:before	{ left:144px; }



