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

/* Grundlayout */

html {
        background: transparent!important;    background: rgb(192, 221, 255);
}

body {
	margin: 1em auto;
	max-width: 65em;
	font-family: sans-serif;
	color: #333333;
}

h1,  main, aside, main svg {
	border-radius: 0 8px 8px;
	border: 1px solid;
	padding: 1em;
	margin: 1em;
    
}

h1 {
	border-color: #d5d5d5;
}

h1::after {
  content: '- 2021';
}

article img {
	width: 33%;
	float: right;
	margin-left: 0.2em;
}


/* neu */

#galerie1 figure {
	background: #FFF;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	display: inline-block;
	height: 20em;
	margin: 0 0 1em 2em;
	overflow: hidden;
	padding: 0;
	width: 20em;
	transition: all 0.25s ease-in;
}

#galerie1 figure img {
	width: 20em;
	height: 20em;
}

#galerie1 figure:hover,
#galerie1 figure:focus {
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
	margin: -1em 0px 0 20px;
	padding: 5px 5px 30px 5px;
	width: 20em;
	z-index: 2;
	transform: scale(1.2);
}
/*#galerie1 figure:active*/
}

#galerie1 figcaption {
	color: #333;
	font: cursive 10px/150%;
	/*font-family: "Reenie Beanie", cursive;*/
	position:relative;
	text-align: center;
	width: 15em;
}


/* neu */


#galleryY {
	position: relative;
	margin: 0;
	background: none;
	border: none;
}

#galleryY figure {
	position: absolute;
	display: inline-block;
	top: 0;
	left: 2em;
	z-index: 1;
	animation: wechseln 10s infinite;
}

/*#galleryY figure:last-of-type {
	position: relative;
}*/

#galleryY > figure figcaption {
	position: absolute;
	left: 1em;
	font-size: 0.2em;
	font-weight: bold;
	bottom: 0.5em;
	z-index: 2;
	color: white;
}

@keyframes wechseln {
	0% {
		opacity: 1;
	}
	20% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	60% {
		opacity: 1;
	}
	100% {
		opacity: 1;
	}
}

/*#galleryY figure:nth-of-type(2) {
	animation-delay: 5s;
	opacity: 0;
}

#galleryY figure:nth-of-type(3) {
	animation-delay: 8s;
	opacity: 0;
}*/


/*neuneu*/

figure {
  display: inline-block;
  width: 30%;
  margin: 0.2em;
}
figure img {
  width: 50%;
}
figure figcaption {
  font-style: italic;
}


/* #xxx ID-Selector - Element xxx wird verändert inline-block;*/
#logo {
  background: #F1F3F4 url("img_1338kl.JPG") 0px 0px no-repeat;
  display: flex;
  width: 100px;
  height: 60px;
  border: 1px solid transparent; font: 0/0 a; text-shadow: none; color: transparent;
}

main {
	display: block;     /* für IE */	
	min-height: 400px;
}

aside {
	background: #c4ced3;
	border-color: #8a9da8;
} 

#hinweis {                    /* für Container */

	border-left: 5px solid #c32e04;
}

.hinweis {                    /* für Textzeile */
        color: #c32e04; 
        font-style: italic; 
        border-bottom: 2px dotted; 
        display:inline-block; 
}

/* responsives Layout */

body {
display: flex;
  flex-flow: row wrap;
}

/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */
header, nav, nav a, article, section, aside, footer {
  border-radius: 0px 0.5em 0.5em;
  border: 1px solid;
  padding: 1em;
  margin: 1em;
  flex: 1 100%;
}

header {
  background: #F1F3F4;
  border-color: #d5d5d5;
  display: flex;
  flex-flow: row wrap;
}
header * {
  flex: 1 1 0%;
  margin: 0 1em;
}
header img {
  flex: 0 0 150px;
  margin-right: 20px;
}
header nav {
  flex: 1 1 100%;
  margin: .5em 2em;
  border-color: #d5d5d5;
}
nav ul, nav li{
  margin: 0 0.5em;
  padding: 0 0.5em;
  border: 0;
}
nav ul {
  display: flex;
  flex-direction: column;
}
nav li {
  list-style-type:none;
  margin: 1.3em 0;
  flex: 1 1 100%;
}
nav a {
  display:inline-block;
  width:95%;
  background: #fffbf0;
  border: 1px solid #dfac20;
  margin: 0;
  text-decoration: none;
  text-align: center;
}
nav a:hover, nav a:focus {
  background-color: #dfac20;
}

nav a[aria-current=page] {
	color:black;
	font-weight:bold;
}
section {
  background: #F1F3F4;
  border-color: slateblue;
}
article {
  background: #ffede0;
  border-color: #df6c20;
}
aside {
  background: #ebf5d7;
  border-color: #8db243;
  overflow: hidden;
}
footer {
  background: #e4ebf2;
  border-color: #8a9da8;
  display: flex;
  flex-flow: row wrap;
}
footer * {
  flex: 1 1 0%;
  justify-content: space-between;
}
footer p:last-child {
  text-align: right;
}
/* Smart Phones und Tablets mit mittlerer Auflösung */
@media all and (min-width: 35em) {
header img {
  margin-right: 50px;
}
nav ul {
  flex-direction: row;
}
nav li {
  margin: 0 10px;
  flex: 1 1 0%;
}
article {
  order: 2;
  overflow: scroll;
}

#news {
  flex: 1 auto;
  order: 3;
}
aside {
/* durch auto werden die beiden asides in eine Zeile gesetzt */
  flex: 1 auto;
  order: 4;
  overflow: scroll;
}

footer {
  order: 5;
}
}

/* Large screens */
@media all and (min-width: 50em) {
  article {    /* Der Article wird 2.5x so breit wie die beiden asides! */
    order: 3;
    flex: 3 1 0%;
    overflow: auto;
}

  aside {
    flex: 1 1 0%;
    overflow: scroll;
  }
  #news {
    flex: 1 1 0%;	  
    order: 2;
    align-self: center;
    height: 12em;
  }
}

/* Terminkalender */


table, th, td { 
	width: 100%;
  	border: 1px solid; 
  	border-collapse: collapse; 
}

th, td {
	padding: .5em;
}

th {
	background: #c32e04;
	color: #ffede0;
}

caption {
	caption-side: bottom;
	padding-top: 2em;
	font-style: italic;
}