* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-image: url(bg.jpg);    
}

.clear {
    clear: both;
}
.nav-leiste {
    height: 90px;
    width: 100%;            /* Seite geht über den ganzen Screen */
    background-color: rgba(232,232,232,0.8);
    position: fixed;        /* outer-Band fixiert an einer Stelle */
    top: 0;                 /* und zwar ganz oben (=0) */
    z-index: 10;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;        /* div-Boxen sollen umbrechen */
    justify-content: space-around;   
}

.container {
    max-width: 90%;         /* und immer 90% des Screens darstellen */
    margin: 0 auto;         /* zentrierte Darstellung 0 o/u auto r/l */ 
    height: 320px;
    width: 960px;            /* Seite geht über den ganzen Screen */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;        /* div-Boxen sollen umbrechen */
    justify-content: space-around;   
    text-align: center;
}

.container p {              /* Textformat im ersten Bild */
    font-size: 24px;        /* Schriftgröße im Menu */
    color: darkred;
    font-weight: 600;
}

.content-bild {
    box-sizing: border-box;
    width: 50%;
    height: 315px;    
    background-color: lightgray;
    float: left;
    margin-top: 10px;       /* Außenabstand zum nächst oberen Element */
}

.content-announce {
    box-sizing: border-box;
    width: 50%;
    height: 315px;
    float: left;
    background-color: lightgray;
    padding: 20px;          /* Innenabstand zum Text */
    margin-top: 10px;       /* Außenabstand zum nächst oberen Element */
    line-height: 30px;
    text-align: center;
}

.content-announce a {       /* Textformat in den Überschriftboxen */
    font-size: 24px;        /* Schriftgröße im Menu */
    color: black;
    text-decoration: none;
    font-weight: 600;
}

.content-chor {
    box-sizing: border-box;
    width: 285px;
    height: 50px;
    float: left;
    background-color: gray;
    padding: 10px;          /* Innenabstand zum Text */
    margin-top: 10px;       /* Außenabstand zum nächst oberen Element */
}

.content-header {           /* Überschriftboxen beim Scrollen */
    width: 100%;
    background-color: lightgray;
    margin-top: 30px;
    padding: 20px;
    text-align: left;
}

.content-header h1 {        /* Textformat in den Überschriftboxen */
    font-size: 24px;        /* Schriftgröße im Menu */
    color: darkred;
    font-weight: 600;
    padding-left: 20px;
    margin-bottom: 10px;
}

.content-header p {         /* Textformat in den Überschriftboxen */
    font-size: 18px;        /* Schriftgröße im Menu */
    color: #424242;         /* sehr dunkles grau */
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.content-header form {         /* Textformat im Form-Mailer (chor.html --> Kontakt) */
    font-size: 18px;           /* Schriftgröße im Menu */
    color: #424242;          /* sehr dunkles grau */
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    display: block;
}

.content-header form input,     /* Größe der Textboxen (chor.html --> Kontakt) */
.content-header form textarea {
  width: 50%;
  color: black;
  font-size: 18px;
  margin-bottom: 10px;
}

form input[type="email"],
form input[type="text"] {
  height: 32px;
  box-sizing: border-box;
}

.content-header a {        /* Textformat in den ��berschriftboxen */
    font-size: 18px;        /* Schriftgröße im Menu */
    color: black;
    text-decoration: none;
    font-weight: 600;
}

.content-header tr {        /* Textformat in den �berschriftboxen */
    font-size: 18px;        /* Schriftgröße im Menu */
    color: #424242;         /* sehr dunkles grau */
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    text-decoration: none;
}

.content-presse {
    box-sizing: border-box;
    width: 300px;
    height: 50px;
    float: left;
    background-color: darkgrey;
    padding: 10px;          /* Innenabstand zum Text */
    margin-top: 10px;       /* Außenabstand zum nächst oberen Element */
}

.inner {
    width: 960px;           /* Wrapper auf 960px = innere Darstellung */
    max-width: 90%;         /* und immer 90% des Screens darstellen */
    margin: 0 auto;         /* zentrierte Darstellung 0 o/u auto r/l */
    display: flex;          /* div-Boxen Anordnung FLEX & Reihe */
    flex-direction: row;
    flex-wrap: wrap;        /* div-Boxen sollen umbrechen */
    justify-content: space-around;
}

.item {
    box-sizing: border-box; /* Box-Modell mit width=+padding+border */
    height: 48px;           /* Höhe eines Menu-Eintrags n*24px */
    width: 200px;           /* Breite eines Menu-Eintrags 960/Anz */
    margin: 10px;
    padding: 10px;
    text-align: center;     /* Text mittig ausrichten */
}

.item a {
    font-size: 36px;        /* Schriftgröße im Menu */
    text-decoration: none;  /* Links ohne Unterstriche */
    color: darkred;
    font-weight: 700;
}

.chorbild {
    float: left;
    width: 400px;           /* Banner: Bildbreit */
    height: 266px;          /* Banner: Bildhöhe */
    margin-left: 20px;
    margin-right: 20px;
    background-image: url(chorbild.jpg);
    background-size: cover; /* Bild füllend darstellen */
}

.chorleiterbild1 {
    float: left;
    width: 125px;           /* Banner: Bildbreit */
    height: 160px;          /* Banner: Bildhöhe */
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 5px;
    background-image: url(chorleiter1.jpg);
    background-size: cover; /* Bild füllend darstellen */
}

.chorleiterbild2 {
    float: right;
    width: 110px;           /* Banner: Bildbreit */
    height: 140px;          /* Banner: Bildhöhe */
    margin-top: -20px;
    margin-left: 20px;
    margin-right: 20px;
    background-image: url(chorleiter2.jpg);
    background-size: cover; /* Bild füllend darstellen */
}

.banner {
    clear: both;
    width: 500px;           /* Banner: Bildbreit */
    height: 160px;          /* Banner: Bildhöhe */
    background-image: url(KCR-Logo-large-line3.gif);
    background-size: cover; /* Bild füllend darstellen */
    margin-top: 120px;       /* Abstand zum Menu */
    margin-bottom: 30px;    /* Abstand zum weiteren Text */
}

.impressum {           /* Überschriftboxen beim Scrollen */
    width: 100%;
    background-color: gray;
    margin-top: 30px;
    padding: 20px;
    text-align: right;
    text-decoration: none;
}

.impressum a {        
    text-align: right;
    text-decoration: none;
    font-size: 18px;        /* Schriftgröße im Impressum */
    color: black;
    font-weight: 500;    
}

/* ----- Ab hier die Einstellungen fuer die Navigationsleiste ----- */

ul#navigation {
        margin:0 auto;        
        float: left;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;        /* div-Boxen sollen umbrechen */
        justify-content: space-around;   
        text-align: center;
}

ul#navigation li {
/* Schriftgröße TOP-Kästchen */
        font-size:24pt;         /* Schriftgröße der Nav-Zeile */
        font-weight:bold;
        margin:0 auto;
        padding:0 auto;
        float:left;
        position:relative;
        text-align: center;    
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;        /* Boxen sollen umbrechen */
        justify-content: space-around;   
        text-align: center;
}

ul#navigation li a {
/* Randabstand oben/unten und links/rechts --> Kästchengröße */
        padding:15px 35px;
        width: 100%;      
/* Schriftfarbe im Kästchen #C2C2C2*/
        color:#AA0000;
        text-shadow:1px 1px 0px #fff;
        text-decoration:none;
        display:inline-block;
/* ggf. Hintergrundfarbe des Kästchens -->  background: #f5f5f5; */
        font-family:Arial;
        text-align: center;

        -webkit-transition:color 0.2s linear, background-color 0.2s linear;
        -moz-transition:color 0.2s linear, background-color 0.2s linear;
        -o-transition:color 0.2s linear, background-color 0.2s linear;
        transition:color 0.2s linear, background-color 0.2s linear;
}

ul#navigation li a:hover {
    /* Hintergrundfarbe des Hauptkästchens */
        background-color:rgba(232,232,232,1.0);
        color: #282828;
}

ul#navigation li:hover > a {
    /* Hintergrundfarbe des Hauptkästchens */    
        background-color:rgba(232,232,232,1.0);
}

/* Drop-Down Navigation */
ul#navigation li:hover > ul
{
        visibility:visible;
        opacity:1;
}

ul#navigation ul {
        list-style: none;
        margin: 0;
        padding: 0;
        visibility:hidden;
        position: absolute;
        z-index: 9;
/* Breite der nächsten Kästchenebene */
        width:335px;
        background-color:#f8f8f8;
        box-shadow:1px 1px 3px #ccc;
        opacity:0;
/* Abstand nächste Kästchenebene zur Hauptebene*/
        top: 74px;
        left: 1px;    
        -webkit-transition:opacity 0.2s linear, visibility 0.2s linear;
        -moz-transition:opacity 0.2s linear, visibility 0.2s linear;
        -o-transition:opacity 0.2s linear, visibility 0.2s linear;
        transition:opacity 0.2s linear, visibility 0.2s linear;
}

ul#navigation ul li {
        clear:both;
        width:100%;
        border:0 none;
        border-bottom:1px solid #c9c9c9;
}

ul#navigation ul li a {
        background-color:none;
/* Kästchenabstand der nächsten Ebene */
        padding:25px 15px;
/* Schriftfarbe der nächsten Ebene */
        color:#616161;
        text-shadow:1px 1px 0px #fff;
        text-decoration:none;
        display:inline-block;
        border:0 none;
        float:left;
        clear:both;
/* Breite der Link-Markierung in der nächsten Ebene */
        width:305px;
}

ul#navigation li a.first {
        border-left: 0 none;
}

ul#navigation li a.last {
        border-right: 0 none;
}

/* ----- Ab hier die Einstellungen für die Wechselbilder = Gallery ----- */

main {
  background: transparent;
  border-color: transparent;
  height: inherit;
}
  
#gallery {
  position: relative;
  margin: 0 auto;
  top: 0;
  background-color: none;
  height: 266px;    /* Höhe des Bildes im Wechselrahmen */
}
 
#gallery figure {
  margin-top: 20px;    
  position: absolute;
  display: inline-flex;
  align-content: center;
  left: 40px;
  top: 0;
  z-index: 1;
  height: inherit;
  animation: wechseln 25s infinite;
}

#gallery figure img {
    height: inherit;
}

#gallery figure:last-of-type {
  position: absolute;
}
 
@keyframes wechseln {
    0% {opacity: 0;}
   20% {opacity: 1;}
   40% {opacity: 0;}
   60% {opacity: 0;}
  100% {opacity: 0;}
}

#gallery figure:nth-of-type(2) {
  animation-delay: 5s;
  opacity: 0;
}

#gallery figure:nth-of-type(3) {
  animation-delay: 10s;
  opacity: 0;
}

#gallery figure:nth-of-type(4) {
  animation-delay: 15s;
  opacity: 0;
}

#gallery figure:nth-of-type(5) {
  animation-delay: 20s;
  opacity: 0;
}

#terminTabelle {
    width: 100%;
    border-collapse: collapse;
}
#terminTabelle th {
    background-color: #f2f2f2;
    text-align: left;
}
#terminTabelle td, #terminTabelle th {
    border: 1px solid #ccc;
    padding: 6px;
}
.konzertvorschau-tabelle td {
    padding-left: 20px;
  }
.konzert-datum { font-size: 16px; }
.konzert-uhrzeit { font-size: 16px; margin-top: 4px; }