



figure { 
	display: inline-block; 
}

a:hover,
a:focus {
	border-bottom: 1px #bc9d88;
}
.sread {
	position: absolute;
	left:-9999px;
}
.cursive {
	font-family: 'Mr Dafoe', cursive;
}
.center {
	text-align: center;
}

#slideshow {
	position: relative;
	width: 250px;
	height: 212px;
	padding: 15px;

	margin: 0 auto 2em;


}



/* play/pause commands */
.play_commands {
	position: absolute;
	width: 22px; height: 22px;
	top: 30px; right: 30px;
	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: 22px;
	background: #fff;
	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 #fff; 
	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;
}

#slideshow .container {
	position:relative;
	width: 250px;
	height: 214px;
	overflow: hidden;
}


@-webkit-keyframes slider {
	0%, 7%, 100%	{ left: 0 }
	8%, 15%		{ left: -100% }
	16%, 23%		{ left: -200% }
	24%, 31%		{ left: -300% }
	32%, 39%		{ left: -400% }
	40%, 47%		{ left: -500% }
	48%, 55%		{ left: -600% }
	56%, 63%		{ left: -700% }
	64%, 71%		{ left: -800% }
	72%, 79%		{ left: -900% }
	80%, 87%		{ left: -1000% }
	88%, 95%		{ left: -1100% }
}
@-moz-keyframes slider {
	0%, 7%, 100%	{ left: 0 }
	8%, 15%		{ left: -100% }
	16%, 23%		{ left: -200% }
	24%, 31%		{ left: -300% }
	32%, 39%		{ left: -400% }
	40%, 47%		{ left: -500% }
	48%, 55%		{ left: -600% }
	56%, 63%		{ left: -700% }
	64%, 71%		{ left: -800% }
	72%, 79%		{ left: -900% }
	80%, 87%		{ left: -1000% }
	88%, 95%		{ left: -1100% }
}
@keyframes slider {
	0%, 7%, 100%	{ left: 0 }
	8%, 15%		{ left: -100% }
	16%, 23%		{ left: -200% }
	24%, 31%		{ left: -300% }
	32%, 39%		{ left: -400% }
	40%, 47%		{ left: -500% }
	48%, 55%		{ left: -600% }
	56%, 63%		{ left: -700% }
	64%, 71%		{ left: -800% }
	72%, 79%		{ left: -900% }
	80%, 87%		{ left: -1000% }
	88%, 95%		{ left: -1100% }
}
#slideshow .slider {
	position: absolute;
	left:0; top:0;
	width: 1200%;
	height: 212px;
	
	-webkit-animation: slider 30s infinite;
	-moz-animation: slider 30s infinite;
	animation: slider 30s 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 figure {
	position:relative;
	padding:0; margin:0;
}



@-webkit-keyframes figcaptionner {
	0%, 25%, 50%, 75%, 100%						{ bottom: -55px;	}
	5%, 20%, 30%, 45%, 55%, 70%, 80%, 95%		{ bottom: 5px;		}
}
@-moz-keyframes figcaptionner {
	0%, 25%, 50%, 75%, 100%						{ bottom: -55px;	}
	5%, 20%, 30%, 45%, 55%, 70%, 80%, 95%		{ bottom: 5px;		}
}
@keyframes figcaptionner {
	0%, 8%, 16%, 24%, 32%, 40%, 48%, 56%, 64%, 72%, 80%, 88%, 96%					{ bottom: -90px;	}
	2%, 6%, 10%, 14%, 18%, 22%, 26%, 30%, 34%, 38%, 42%, 46%, 50%, 54%, 58%, 62%, 66%, 70%, 74%, 78%, 82%, 86%, 90%, 94%, 98%		{ bottom: 5px;		}
}

#slideshow figcaption {
	position:absolute;
	margin: 20px 20px; padding:0
	left:0; right:0; bottom: 5px;
	text-align:center;
	letter-spacing: 0.04em;
	word-spacing: 0.05em;
	font-weight: bold; 
	color: #FFFFFF; font-family: Arial, sans serif; 
	background: rgba(255, 132, 50, 0.7);
	

	text-shadow: -1px -1px 0 rgba(255,255,255,0.3);
	
	-webkit-animation: figcaptionner 30s infinite;
	-moz-animation: figcaptionner 30s infinite;
	animation: figcaptionner 30s infinite;
}




/* need a stop ! */

/* 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 .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 .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;}







