



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: 320px;
	height: 240px;
	padding: 0;

	margin: 0 auto 2em;


}
@media all and (min-width: 500px) {
#slideshow {
	position: relative;
	width: 400px;
	height: 300px;
	padding: 15px;

	margin: 0 auto 2em;


}		
}


/* play/pause commands */
.play_commands {
	position: absolute;
	width: 22px; height: 22px;
	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: 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: 320px;
	height: 240px;
	overflow: hidden;
}

@media all and (min-width: 500px) {
#slideshow .container {
	position:relative;
	width: 400px;
	height: 300px;
	overflow: hidden;
}				
}


@-webkit-keyframes slider {
	0%,  12%, 100%	{ left: 0 }
	14%, 26%		{ left: -100% }
	28%, 40%		{ left: -200% }
	42%, 54%		{ left: -300% }
	56%, 68%		{ left: -400% }
	70%, 82%		{ left: -500% }
	84%, 96%		{ left: -600% }
}
@-moz-keyframes slider {
	0%,  12%, 100%	{ left: 0 }
	14%, 26%		{ left: -100% }
	28%, 40%		{ left: -200% }
	42%, 54%		{ left: -300% }
	56%, 68%		{ left: -400% }
	70%, 82%		{ left: -500% }
	84%, 96%		{ left: -600% }
}
@keyframes slider {
	0%,  12%, 100%	{ left: 0 }
	14%, 26%		{ left: -100% }
	28%, 40%		{ left: -200% }
	42%, 54%		{ left: -300% }
	56%, 68%		{ left: -400% }
	70%, 82%		{ left: -500% }
	84%, 96%		{ left: -600% }
}

#slideshow .slider {
	position: absolute;
	left:0; top:0;
	width: 700%;
	height: 300px;
	
	-webkit-animation: slider 20s infinite;
	-moz-animation: slider 20s infinite;
	animation: slider 20s 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;
	width: 320px;
	height: 240px;
}

@media all and (min-width: 500px) {
#slideshow figure {
	position:relative;
	padding:0; margin:0;
	width: 400px;
	height: 300px;
}			
}

@-webkit-keyframes figurer {
	0%, 14%, 28%, 42%, 56%, 70%, 84%, 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%, 11%, 16%, 25%, 30%, 40%, 46%, 52%, 60%, 66%, 74%, 80%, 86%, 96%		{ -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%, 14%, 28%, 42%, 56%, 70%, 84%, 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%, 11%, 16%, 25%, 30%, 40%, 46%, 52%, 60%, 66%, 74%, 80%, 86%, 96%		{ -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; }
}
@keyframes figurer {
	0%, 14%, 28%, 42%, 56%, 70%, 84%, 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%, 11%, 16%, 25%, 30%, 40%, 46%, 52%, 60%, 66%, 74%, 80%, 86%, 96%		{ -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; }
}
#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 20s infinite;
	-moz-animation: figurer 20s infinite;
	animation: figurer 20s infinite;
}

@-webkit-keyframes figcaptionner {
	0%, 14%, 28%, 42%, 56%, 70%, 84%, 100%						{ bottom: -55px;	}
	3%, 11%, 16%, 25%, 30%, 40%, 46%, 52%, 60%, 66%, 74%, 80%, 86%, 96%		{ bottom: 5px;		}
}
@-moz-keyframes figcaptionner {
	0%, 14%, 28%, 42%, 56%, 70%, 84%, 100%						{ bottom: -55px;	}
	3%, 11%, 16%, 25%, 30%, 40%, 46%, 52%, 60%, 66%, 74%, 80%, 86%, 96%		{ bottom: 5px;		}
}
@keyframes figcaptionner {
	0%, 14%, 28%, 42%, 56%, 70%, 84%, 100%						{ bottom: -55px;	}
	3%, 11%, 16%, 25%, 30%, 40%, 46%, 52%, 60%, 66%, 74%, 80%, 86%, 96%		{ bottom: 5px;		}
}

#slideshow figcaption {
	display:none;
	position:absolute;
	padding: 20px 20px; margin:0;
	left:0; right:0; bottom: 5px;
	text-align:center;
	letter-spacing: 0.05em;
	word-spacing: 0.05em;
	font-family: Arial, sans serif;
	background: #000;
	background: rgba(255,255,255,0.9);
	border-top: 1px solid rgb(225,225,225);
	color: #555;
	text-shadow: -1px -1px 0 rgba(255,255,255,0.3);
	
	-webkit-animation: figcaptionner 20s infinite;
	-moz-animation: figcaptionner 20s infinite;
	animation: figcaptionner 20s 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 #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;}







