



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: 200px;
	height: 160px;
	padding: 0;

	margin: auto;


}
@media all and (min-width: 350px)  and (min-height: 300px){
#slideshow {
	position: relative;
	width: 300px;
	height: 240px;
	padding: 0px;

	margin: auto;
}
}


@media all and (min-width: 600px)  and (min-height: 500px){
#slideshow {
	position: relative;
	width: 500px;
	height: 400px;
	padding: 0px;

	margin: auto;
}		
}


/* 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;
 z-index:500;

	-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 {background: url(pics/00_500.jpg) no-repeat; background-size: contain; 
	position:relative;
	width: 200px;
	height: 160px;
	overflow: hidden;
}

@media all and (min-width: 350px) and (min-height: 300px) {
#slideshow .container {
	position:relative;
	width: 300px;
	height: 240px;
	overflow: hidden;
}
}
@media all and (min-width: 600px) and (min-height: 500px) {
#slideshow .container {
	position:relative;
	width: 500px;
	height: 400px;
	overflow: hidden;
}				
}


@-webkit-keyframes slider {
	0%, 7%, 100%	{ left: 0 }
	10%, 16%		{ left: -100% }
	19%, 25%		{ left: -200% }
	28%, 34%		{ left: -300% }
	37%, 43%		{ left: -400% }
	46%, 52%		{ left: -500% }
	55%, 61%		{ left: -600% }
	64%, 70%		{ left: -700% }
	73%, 79%		{ left: -800% }
	82%, 88%		{ left: -900% }
	91%, 97%		{ left: -1000% }
	100%, 100%		{ left: -1100% }
}
@-moz-keyframes slider {
	0%, 7%, 100%	{ left: 0 }
	10%, 16%		{ left: -100% }
	19%, 25%		{ left: -200% }
	28%, 34%		{ left: -300% }
	37%, 43%		{ left: -400% }
	46%, 52%		{ left: -500% }
	55%, 61%		{ left: -600% }
	64%, 70%		{ left: -700% }
	73%, 79%		{ left: -800% }
	82%, 88%		{ left: -900% }
	91%, 97%		{ left: -1000% }
	100%, 100%		{ left: -1100% }
}
@keyframes slider {
	0%, 7%, 100%	{ left: 0 }
	10%, 16%		{ left: -100% }
	19%, 25%		{ left: -200% }
	28%, 34%		{ left: -300% }
	37%, 43%		{ left: -400% }
	46%, 52%		{ left: -500% }
	55%, 61%		{ left: -600% }
	64%, 70%		{ left: -700% }
	73%, 79%		{ left: -800% }
	82%, 88%		{ left: -900% }
	91%, 97%		{ left: -1000% }
	100%, 100%		{ left: -1100% }
}

#slideshow .slider {
	position: absolute;
	left:0; top:0;
	width: 1200%;
	height: 375px;
	
	-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;
	width: 200px;
	height: 160px;
}

@media all and (min-width: 350px)  and (min-height: 300px){
#slideshow figure {
	position:relative;
	padding:0; margin:0;
	width: 300px;
	height: 240px;
}
}

@media all and (min-width: 500px)  and (min-height: 500px) {
#slideshow figure {
	position:relative;
	padding:0; margin:0;
	width: 500px;
	height: 400px;
}			
}

#slideshow figure:after {
	position: absolute;
	display:block;
	content: " ";
	top:0; left:0;
	width: 100%; height: 100%;
 z-index:100;
	
}

#slideshow figcaption {
	
	position:absolute;
	padding: 0px 20px; margin:0;
	left:0; right:0; bottom: 10px;
	text-align:right;
	font:normal 14px/17px  sans-serif, Arial;
	color: #CCCCCC;
	
	-webkit-animation: figcaptionner 30s infinite;
	-moz-animation: figcaptionner 30s infinite;
	animation: figcaptionner 30s infinite;
 z-index:500;
}




/* 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;}







