#slideshow {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
	display: none;
	background-color: black;
	background-position: center center;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#slideshow>img {
	position: relative;
	vertical-align: middle;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#slideshow img:hover {
	background: black url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAMFBMVEX/AAD/AP8AAP8A//8A/wD//wB/AAB/AH8AAH8Af38AfwCCfwAAAAAZGRkzMzNMTEy64p6SAAAAF0lEQVQI12P4DwRngICBQgaIAHEoZAAASHBywR1kvCwAAAAASUVORK5CYII=)repeat;
}

#slideshow > input {
	background-color: transparent;
	border: 0 transparent;
	color: transparent;
	outline: 0;
	box-shadow: none;
	width: 52px;
	height: 52px;
	position: absolute;
	z-index: 1100;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=30);
	opacity: .3;
	background-position: center center;
	background-repeat: no-repeat;
}

#slideshow.inactive > input {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	/* slow fadeout, fadein will be 300ms again*/
	-webkit-transition: opacity 3s;
	-moz-transition: opacity 3s;
	-o-transition: opacity 3s;
	transition: opacity 3s;
}

#slideshow > * {
	-webkit-transition: opacity 300ms;
	-moz-transition: opacity 300ms;
	-o-transition: opacity 300ms;
	transition: opacity 300ms;
}

#slideshow > input:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	filter: alpha(opacity=60);
	opacity: .6;
}

#slideshow > .next, #slideshow > .previous {
	top: 50%;
	margin-top: -21px;
}

#slideshow > .next {
	right: 0;
}

#slideshow > .previous {
	left: 0;
}

#slideshow > .exit {
	right: 0;
	top: 0;
}

#slideshow > .pause, #slideshow > .play {
	bottom: 0;
	right: 0;
	margin-top: -21px;
}

#slideshow > .play {
	display: none;
}

#slideshow > .pause {
}

#slideshow > .progress {
	position: fixed;
	bottom: 13px;
	right: 13px;
	background-position: 0 100%;
	width: 32px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=30);
	opacity: .3;
	height: 0;
	min-height: 0;
}

#slideshow.inactive > .progress {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	/* slow fadeout, fadein will be 300ms again*/
	-webkit-transition: opacity 3s;
	-moz-transition: opacity 3s;
	-o-transition: opacity 3s;
	transition: opacity 3s;
}
