@charset "UTF-8";
/* CSS Document */

#slideshow  {
	margin-left:2em;
	margin-right:2em;
	height: 100%;
}

.slideshow-container {
	height: 93%;
	margin-top: 0px;
}

/* pictures container: */
#slideshow #slides {
	margin-left:auto;
	margin-right:auto;
	text-align: center;
	height: 50%;
	overflow: hidden;
	position: relative;
}

/* invisible pictures: */
#slideshow #slides img {
	display:none;
	width: auto;
	height: auto;
	max-height: 100%;
	max-width: 100%;

	margin: auto;
	position: absolute;
	left: 0; bottom: 0; right: 0;
}

/* captions: */
#slideshow #blurbs {
	margin-top: 0.5em;
	margin-left:auto;
	margin-right:auto;
	text-align: center;
}

/* invisible captions: */
#slideshow #blurbs span {
	font-size: 0.8em;
	display:none;
}

/* visible caption: */
#slideshow #blurbs .visibleSlideStats {
	position: relative;
}

.visibleSlidePicture, .visibleSlideStats {
	display: block;
}

/* DEVICES */

@media (max-height: 394px) {
	#slideshow {
		margin-top: 1em;
	}
}

@media (min-height: 395px) {
	#slideshow {
		margin-top: 2em;
	}
}

@media (min-width: 400px) {
	#slideshow #blurbs span {
		font-size: 1em;
	}
}

@media (min-width: 1024px) and (-webkit-max-device-pixel-ratio: 1) and (max-resolution: 96dpi) and (max-resolution: 1dppx) {
	.slideshow-container {
	height: 100%;
}
}

/* portrait: */

@media and (orientation: portrait) {
	#slideshow  {
	margin-top: 1em;
}
}

@media (max-height: 394px) and (orientation: portrait) {
	#slideshow #slides {
		height: 50%;
	}
}

@media (min-height: 395px) and (max-height: 900px) and (orientation: portrait) {
	#slideshow #slides {
		height: 60%;
	}
}

@media (min-height: 901px) and (max-height: 1279px) and (orientation: portrait) {
	#slideshow #slides {
		height: 70%;
	}
}

@media (min-height: 1280px) and (orientation: portrait) {
	#slideshow #slides {
		height: 80%;
	}
}

/* landscape: */

@media and (orientation: landscape) {
	#slideshow  {
	margin-top: 0em;
}
}

@media (max-height: 359px) and (orientation: landscape) {
	#slideshow #slides {
		height: 50%;
	}
}

@media (min-height: 360px) and (max-height: 559px) and (orientation: landscape) {
	#slideshow #slides {
		height: 60%;
	}
}

@media (min-height: 560px) and (max-height: 799px) and (orientation: landscape) {
	#slideshow #slides {
		height: 70%;
	}
}

@media (min-height: 800px) and (max-height: 999px) and (orientation: landscape) {
	#slideshow #slides {
		height: 80%;
	}
}

@media (min-height: 1000px) and (max-height: 1199px) and (orientation: landscape) {
	#slideshow #slides {
		height: 90%;
	}
}

@media (min-height: 1200px)  and (orientation: landscape) {
	#slideshow #slides {
		height: 100%;
	}
}