:root{
	--sbg:#3e3f43;
	--bp:#dfe2e4;
}
#ssgal{
	position:relative;
}
.slideshow{
	height:calc(100vw * .63);
	max-height:70vh;
    background:var(--sbg2);
    text-align: center;
	margin-bottom: 1em;
}
.slideshow[data-fix]{
	height:110px;
	overflow:hidden;
}
.slideshow div{
    display: none;
}
.slideshow img{
	opacity:0;
	animation: fadein 800ms;
	-webkit-transition: opacity 800ms ease-out;
    -ms-transition: opacity 800ms ease-out;
    transition: opacity 800ms ease-out;
}
.slideshow img{
	height:100%;
	max-width:unset;
}
.slideshow p {
    width: calc(100% - 5em);
    margin: 0.2em auto 0 auto;
    text-align: left;
    line-height: 1.2em;
}
.slideshow[data-fix] img{
	position:relative;
	top:0;
	width:100%;
	height:auto;
}
.slideshow div[data-active="1"],
.slideshow div[data-active="1"] div{
	 display: inline-block;
	 margin:0 auto;
	 height:100%;
	 max-width:100vw;
}
.slideshow img[data-active="1"]{
	opacity:1;
}

/** Links */
ul.ssLinks {
	text-align: center;
	margin:4em auto .5em auto;
}
.ssLinks li{
	display: inline-block;
    margin: 0 0.1em;
}
.ssLinks a{
	width: 1.3em;
    height:1.3em;
    text-align: center;
    background:var(--bp);
	margin:.1em;
}
.ssLinks li[data-animate] a{
	background-color: var(--sbg);
    -webkit-transition: background-color 3000ms linear;
    -ms-transition: background-color 3000ms linear;
    transition: background-color 3000ms linear;
}
.ssLinks span{
	display:none;
}
.ssLinks li[data-active] a{
	background:var(--sbg);
}
.ssLinks #playBtn{
	background:var(--sprite);
    background-size: 350% auto;
    background-color:var(--sbg);
    background-position: 14% 91%;
	border: 1px solid var(--sbg);
    margin-left:.7em;
}
[data-playing="1"] .ssLinks #playBtn{
	background-position:86% 91%;
}

.slideshow p span,
.ssLinks a{
	box-sizing:border-box;
}

/** common */
body[data-fs]:after,
[data-fs] [data-active] p{
	position: fixed;
}
.slideshow p span,
.ssLinks a,
[data-fs] [data-active] p span,
.slideshow #info span,
.slideshow #info em{
	display: inline-block;
}
body[data-fs]:after,
.slideshow p,
[data-fs] [data-active] p{
	display: block;
}
.slideshow #info{
	display:none;
}

/** ------------------------------- 400 -------------------------------------------------- */
@media (min-width: 400px){
	.slideshow p{
		margin:-3.5em 0 0 0;
	}
}
/** ------------------------------- 500 -------------------------------------------------- */
@media (min-width: 500px){
	.slideshow{
		height:calc(100vw * .47);
	}
	.slideshow[data-fix]{
		height:150px;
	}
	.slideshow p{
		margin:-2em auto 0 auto;
		width:unset;
		max-width:unset;
	}
	.slideshow p span{
		background: rgb(0 0 0 / 53%);
		color: #fff;
		padding: 0.1em 1em;
		text-align: left;
	}
	ul.ssLinks{
		margin:0 0 1em 0;
	}
	.ssLinks a{
		margin:0;
	}
}
/** ------------------------------- 600 -------------------------------------------------- */
@media (min-width: 600px){
	.slideshow{
		height:calc(100vw * .46);
	}
}
/** ------------------------------- 800 -------------------------------------------------- */
@media (min-width: 800px){
	/** Hinweis Slideshow */
	.slideshow #info{
		position: absolute;
		z-index: 5;
		display: block;
		width: 100%;
		height: 0;
	}
	.slideshow #info ul{
		background:rgb(52 26 6 / 81%);
		color: #fff;
		width: 18em;
		margin: 4em auto;
		border-radius: 1em;
		padding: 1em;
		font-size: .9em;
		line-height: 1.3em;
	}
	.slideshow #info li{
		padding: 0.1em 0.2em;
		border-radius: 0.3em;
		margin-bottom: 0.5em;
		text-align: left;
	}
	.slideshow #info span{
		width: 5em;
	}
	.slideshow #info em{
		border: 1px solid #fff;
		padding: 0.1em 0.2em;
		border-radius: 0.3em;
		min-width: 1.3em;
		margin-right: 1em;
		font-style: normal;
		text-align: center;
		background:rgb(52 26 6);
		font-weight: bold;
	}
	ul.ssLinks{
		margin-bottom:2em;
	}
}