body {
	font-family: Verdana, sans-serif;
	max-width: 60em;
	margin: 1em auto;
	background-image: url("../images/header.JPG");
	background-repeat: no-repeat;
	background-position: top center;
}

html, body { height: 99.2%;}

body > footer {
  position: sticky;
  top: 100vh;
}

/* Header */
header {
	margin: 1em 0 0 0;
}

#logo {
	font-size: 2.5em;
	text-shadow: .1em .1em black;
	text-decoration: none;
	color: white;
}

/* Footer */
footer {
	display: flex;
	justify-content: space-between;
	padding: 0 1em;
	background-color: #b1d3ee;
}

footer a {
	text-decoration: none;
}

.copyright {
	font-size: 0.8em;
	text-align: right;
}

/* Schriftgrössen */
h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.5em;
}

p, a, li {
	font-size: 1em;
}

/* Bildgrössen */
figure {
	margin: 0;
}

figcaption {
	max-width: 50em;
}

/* Linkfarben */
a:link, 
a:active {
	color: #00519d;
}

a:hover, 
a:focus, 
a:visited {
	color: #006fd8;
}

/* Text-Formatierung */
address {
	font-style: normal;
}

.hervorgehoben {
	font-weight: bold;
}

.presse {
	font-style: italic;
	text-align: right;
}

/* Abstände */
.absatz {
	margin-bottom: 2em;
}

.faq {
	margin-top: -2em;
}

.liste {
	margin-top: 3em;
}

.umbruch {
	margin-bottom: -1em;
}

.abstand {
	margin-bottom: -0.5em;
}

.float {
	float: left; margin-right: 1.5em;
}

.klein {
	margin-right: 0.5em;
}

.clear {
	clear: left;
}

/* FAQ */

.accordion {
	color: #00519d;
	background-color: #b1d3ee;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: thin solid white;
    text-align: left;
    outline: none;
    font-size: 1.1em;
    transition: 0.4s;
}

.aktiv, .accordion:hover {
	color: white;
	background-color: #00519d;
}

.panel {
    padding: 0 15px;
    background-color: white;
    display: none;
    overflow: hidden;
}

div.tablecontainer {
	max-height: 60vh;
	overflow: auto;
}

table {
    border: thin solid white;
	overflow-x: auto;
	max-width: 100%;
}

th {
	background-color: #b1d3ee;
	padding: 0.5em 1em;
}

th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
}

th[scope=row] {
	text-align: left;
	font-weight: normal;
}

tr:nth-child(odd) td.daten {
	background-color: #E9E9E9;
}

td.daten {
	text-align: center;
	padding: 0.5em;
}

/* Video */

.video {
  position: relative;
  padding-bottom: 56%;
  padding-top: 5em;
  height: 0;
  overflow: hidden;
}

/* Bild-Slider */

* {box-sizing: border-box;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 60em;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  background-color: rgba(0,0,0,0.8);
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

@media (max-width: 50em) {
	body {
		margin: 0 0.5em;
	}
	#logo img {
		width: 209px!important;
	}
	.sprachen img {
		width: 25px!important;
	}
	.copyright img {
		width: 15px!important;
	}
	main {
		margin-top: 3em;
	}
	img {
		width: 90%;
	}
}
