* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
}

body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: .9em;
        background-color: lavender;
        /*  #efefef; */
        line-height: 130%;
}

h1 {
        font-size: 2.25em;
        line-height: 1.2em;
        margin: .8em 0;
}

h2 {
        font-size: 1.6875em;
        line-height: 1.2em;
        margin: .8em 0;
}

h3 {
        font-size: 1.3125em;
        line-height: 1.2em;
        margin: .8em 0;
}

h4 {
        font-size: 1.225em;
        line-height: 1.2em;
        margin: .8em 0;
}

h5 {
        font-size: 0.9375em;
        line-height: 1.2em;
        margin: .8em 0;
}

h6 {
        font-size: 0.75em;
        line-height: 1.2em;
        margin: .8em 0;
}

#box12 {xwidth: 800px;
height: 3em;
background-color: yellow;
xmargin: 0 auto;
width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
}


.navbar {
  overflow: hidden;
  background-color: Lightsteelblue;   /*  #333;  */
  font-family: Arial, Helvetica, sans-serif;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 16px;
  border: none;
  outline: none;
  color: black;      /* white; */
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
  background-color: lavender;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  max-width: 360px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: left;  /* none; */
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;  min-width: 180px;
}

.dropdown-content a:hover {
  background-color: lavender;       /* #ddd; */
}

.show {
  display: block;
}




#box1 { width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        background-color: Lightsteelblue;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        border-bottom: 1px solid black;
        z-index: 1;
}

#zentrum {color:inherit; background-color: inherit; width:auto; margin: 0 auto;}


#box2 {
        width: 700px;
        margin: 0 auto;
        padding: 1em;
        background: white;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-bottom: 1px solid black;
}


/* Formate für Ereignis/Chronik-Seite  */

.Bild1,
.Text1 {
        float: left;
}

.Bild1 {
        width: 74%;
}

.Text1 {
        width: 26%;
        padding-left: 20px;
        padding-top: 20px;
}

.Bild2,
.Text2 {
        float: right;
}

.Bild2 {
        width: 74%;
}

.Text2 {
        width: 26%;
        padding-right: 25px;
        padding-top: 20px;
}

.Text3 {
        width: 100%;
        float: none;
}

.Text4 {display: flex;
        display: -webkit-flex;
        display: -ms-flexbox;
        justify-content: center;
        align-items: center;
        width: 50%;
        float: left;
        margin-top: 10px;
}

.Text5 {display: flex;
        display: -webkit-flex;
        display: -ms-flexbox;
        justify-content: center;
        align-items: center;
        width: 50%;
        float: right;
        margin-top: 10px;
}

#box2 h4 {
        color: #1a4393;
}

#box2 p {
        text-align: left;
}

.Abstand {
        display: block;
}

#box2 img {
        max-width: 100%;
        height: auto;
        margin-top: 0.2em;
        margin-bottom: 2em;
        border-radius: 10px;
}

#desktop{display: block;}
#mobile {display: none;}


.box4 {
        width: 100%;
        clear: both;
}

/* Bildklasse   */
.responsive {
  width: 100%;
  height: auto;
}

/* zum Einbinden von Youtube-Videos
   <iframe> mit  <div class="responsive-video">  </div> umschließen */

.responsive-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
}

.responsive-video {
        position: relative;
        padding-bottom: 56.25%;
        /* Default for 1600x900 videos 16:9 ratio*/
        padding-top: 0px;
        height: 0;
        overflow: hidden;
}


/* zum Einbinden von Youtube-Videos
   <iframe> mit  <div class="responsive-video">  </div> umschließen */

#box11 ul {
        list-style-type: none;
        margin: 0 auto;
        padding: 0;
        overflow: hidden;
        width: 760px;
        background-color: lightsteelblue;
        /*#cfdce5;*/
}

#box11 li {
        float: left;
        text-align: center;
        width: 125px;
}

#box11 li a,
#box11 .dropbtn {
        display: inline-block;
        color: black;
        text-align: center;
        xpadding: 4px 6px;
        text-decoration: none;
        padding: .5em;
}

#box11 li a:hover,
#box11 .dropdown:hover .dropbtn {
        background-color: lavender;
        color: black;
        width: 125px;
}

#box11 li.dropdown {
        display: inline-block;
}

#box11 .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        width: 150px;
        z-index: 1;
}

#box11 .dropdown-content a {
        color: black;
        padding: 8px 6px;
        text-decoration: none;
        display: block;
        text-align: left;
        border: 1pt solid black;
}

#box11 .dropdown-content a:hover {
        width: 150px;
        background-color: lavender;
        /*#f1f1f1*/
}

#box11 .dropdown:hover .dropdown-content {
        display: block;
}

#box3 {
        display: none;
        border-left: 1px solid black;
        border-right: 1px solid black;
        padding-bottom: 1.0em;
        background-color: lightsteelblue;
}

#box3 ul {
        display: block;
        margin: 0;
        padding: 0.8em;
        text-align: center;
        background-color: lightsteelblue;
}

#box3 li {
        list-style: none;
        display: inline-block;
        margin: 0;
        padding: 0;
}

#box3 ul li a.active {
        color: #0f44ac;
        background-color: white;
}

#box3 a,
#box3 span {
        display: block;
        width: 8.0em;
        margin: 0.6em 0 0 0;
        padding: 0.4em;
        text-decoration: none;
        color: white;
        background-color: steelblue;
}

#box3 span {
        color: black;
        background-color: lavender;
}

#box3 a:focus,
#box3 a:hover {
        margin-top: 0;
        xpadding: 1em 0.4em 0.4em;
}

.tekst {
        padding: 1em;
}

#Fusszeile {
        width: 100%;
        margin: 0 auto;
        padding: .5em;
        color: #333;
        background-color: lightsteelblue;
        border-top: 1px solid black;
        text-align: center;
        position: fixed;
        bottom: 0;
        left1: 0;
}

#FusszeilenMenue {
        display: inline-block;
        margin: 0 auto;
}

#FusszeilenMenue .tverweis:link,
.tverweis:visited {
        text-decoration: none;
        color: black;
        padding: 0.5em;
        Background-color: lightsteelblue;
        text-align: center;
}

#FusszeilenMenue .tverweis:hover {
        color: black;
        background-color: lavender;
}

.clearfix:after {
        content: ".";
        clear: both;
        display: block;
        visibility: hidden;
        height: 0px;
}

.verweis:link,
.verweis:visited {
        width: 10em;
        float: right;
        margin: 0.6em 1em 1em 0;
        padding: 1.0em;
        text-decoration: none;
        color: black;
        Background-color: lightsteelblue;
        text-align: center;
}

.verweis:hover {
        color: black;
        background-color: lavender;
}

.tverweis:link,
.tverweis:visited {
        text-decoration: none;
        color: black;
        Background-color: lightsteelblue;
        text-align: center;
}

.tverweis:hover {
        color: black;
        background-color: lavender;
}

hr {
        height: 1px;
        border-width: 0;
        color: black;
        background-color: gray;
}

.flex-container {
   display: flex;
   flex-wrap: wrap;
   background-color: #efefef;
   justify-content: space-around;
}

.flex-container > div {
   background-color: #f1f1f1;
   margin: 10px;
   padding: 20px;
   font-size: 0.9em;
   border: 3px solid darkblue;
}

.leer-container {
    width:552px; margin: 10px; /*the width of the images in this example*/
    height:0; /*Important! for the divs to collapse should they fall in a new row*/
    border: 0px;
}

/* Mediaqueries --------------------------------------------------------------*/

@media only screen and (min-width: 1900px) {
        #box2 {
                width: 900px;
        }
}


@media only screen and (max-width: 840px) {
        #box1,
        #box2,
        #box3 {
                width: 100%;
        }
#box1 {display: none;}
#box3 {display: block;}
#FusszeilenMenue {display: none;}
}


@media screen and (max-width: 400px) {
        #box1,
        #box2,
        #box3 {
                width: 100%;
        }
        #box1 {
                display: none;
        }
        .Bild1,
        .Text1,
        .Bild2,
        .Text2,
        .Text3,
        .Text4,
        .Text5 {
                width: 100%;
                padding: 0;
        }
        #desktop{display: none;}
        #mobile{display: block;}

        #box3 {
                display: block;
        }

        #Fusszeile {
                border: 1px solid black;
                line-height: 2.0em;
        }
        #FusszeilenMenue {
                line-height: 2.0em;
        }

}   /* Ende max-width: 400px         */