/* Diashow der Ausstellungsbilder (ausstellung.php) */

body.diashow-seite {
	margin: 0;
	background: #111;
	color: #ddd;
	font-family: Arial, Helvetica, sans-serif;
}

.diashow-kopf {
	text-align: center;
	padding: 16px 16px 8px 16px;
}

.diashow-kopf h2 {
	margin: 0 0 4px 0;
	color: #fff;
	font-weight: normal;
}

.diashow-kopf p {
	margin: 0;
	font-size: 14px;
}

.diashow-kopf a,
.diashow-fuss a {
	color: #ddd;
}

.diashow {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 16px;
	text-align: center;
	touch-action: pan-y;
}

/* ohne JavaScript werden alle Bilder untereinander gezeigt
   (Klasse "ds-dia", weil stylesheet.css bereits eine Klasse "dia" hat) */
.ds-dia {
	margin: 0 0 16px 0;
}

.ds-dia img {
	max-width: 100%;
	max-height: 75vh;
	height: auto;
}

.ds-dia figcaption {
	margin-top: 6px;
	font-size: 14px;
}

/* mit JavaScript: immer nur ein Bild */
.js .ds-dia {
	display: none;
	margin: 0;
}

.js .ds-dia.aktiv {
	display: block;
}

.dia-zurueck,
.dia-weiter {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 72px;
	border: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 40px;
	line-height: 72px;
	cursor: pointer;
}

.js .dia-zurueck,
.js .dia-weiter {
	display: block;
}

.dia-zurueck {
	left: 16px;
}

.dia-weiter {
	right: 16px;
}

.dia-zurueck:hover,
.dia-weiter:hover {
	background: rgba(0, 0, 0, 0.8);
}

.diashow-fuss {
	display: flex;
	justify-content: space-between;
	max-width: 1000px;
	margin: 0 auto;
	padding: 12px 16px 24px 16px;
	font-size: 14px;
	box-sizing: border-box;
}

.dia-zaehler {
	display: none;
}

.js .dia-zaehler {
	display: inline;
}
