*
{
  box-sizing: border-box;
  font-family: Lexend Deca;
}


#dialog
{

}

body
{
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-color: #ffffff;
}

a
{
  color: #6ca18e;
  text-decoration: none;
}

a:hover
{
  color: #2C4B69;
}

.ajaxicon
{
  width: 32px;
  display: block;
  height: 32px;
  margin: calc((100vh - 32px) / 2) auto;
}

div#content *
{
  line-height: 1.3em;
}

textarea.suggestval
{
  width: 100%;
  height: 120px;
}

div#content > div
{
  margin-bottom: 4vw;
}

div#content > div > h2,
div#content > div > h2 span
{
  font-size: 10vw;
  font-family: 'Amatic SC', sans-serif;
}

div#content > div > h2
{
  border-bottom: #6ca18e 2px solid;
}

div#content > div > h2:first-child
{
  margin: 0 0 10px 0;
}


.button
{
  border-radius: 2vw;
  font-size: 5vw;
  color: #ffffff;
  background: #286d55;
  cursor: pointer;
  border: 0;
  padding: 1vw 5vw;
}

.button:hover
{
  background: #2C4B69;
  color: #ffffff;
}

#overlay
{
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1002;
  position: fixed;
}

#overlay > div
{
  width: 500px;
  max-width: 90vw;
  margin: 10vh auto;
  height: 80vh;
  padding: 2vw;
  overflow: auto;
}

#overlaydiv
{
  clear: right;
}

#overlaydiv *
{
  font-size: 8vw;
  font-family: 'Amatic SC', sans-serif;
}

#overlaydiv h3
{
  font-family: 'Amatic SC', sans-serif;
  display: block;
  font-size: 12vw;
  margin: 0 0 4vw 0;
  text-align: center;
}

#overlaydiv .olfull
{
  width: 100%;
  display: block;
  font-family: Lexend Deca;
  font-size: 5vw;
}

#olbuttonr
{
  margin: 0 0 0 auto;
  display: block;
}


#olclose
{
  cursor: pointer;
  font-size: 12vw;
  float: right;
  color: #999999;
}

#olclose:hover
{
  color: #286d55;
}


body.overlay #overlay
{
  display: block;
}

#contentainer
{
  background-color:rgba(255, 255, 255, 0.85);
  min-height: 100vh;
}

#main
{
  padding-top: 15px;
  display: block;
}

header > i
{
  position: absolute;
  right: 4vw;
}


header
{
  cursor: pointer;
  overflow: hidden;
  display: block;
  width: 100vw;
  height: 32.1vw;
  background-color: rgb(255, 255, 255, 0.85);
#  background-image: url(/images/back/grey.webp);
  background-size: cover;
  background-position: center center;
  padding: 0;
  margin: 0;
}

header > div
{
  padding: 3vw;
  width: 100vw;
}

#headerlogo
{
  float: left;
  display: none;
  margin-top: 4px;
  height: 73px;
  width: 807px;
}

#partner
{
  display: none;
  margin: 22px auto 0 auto;
  width: 180px;
  height: 41px;
}

#headerlogo_mobile
{
  width: 92vw;
}

#nav_mobile_main
{
  z-index: 250;
  background: #6ca18e;
  position: fixed;
  bottom: 0px;
  width: 100vw;
  border-top: #ffffff 0.2vh solid;
}

#nav_mobile_main ul
{
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100vw;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  flex-wrap: wrap;
}

#nav_mobile_main ul li
{
  flex-basis: 20%;
  flex-direction: column;
  align-items: center;
  display: inline-block;
  text-align: center;
}

#nav_mobile_main ul li a
{
  font-family: 'Amatic SC', sans-serif;
  color: #ffffff;
  height: 16vw;
  padding: 3vw;
  display: block;
  font-size: 8vw;
}

#nav_mobile_main ul li a img
{
  height: 10vw;
}

#nav_mobile_main ul li a:hover
{
  background: #86C8B1;
}

#nav_mobile_main ul li > img
{
  height: 8vw;
}

div#content
{
  font-family: Lexend Deca;
  padding-bottom: 50px;
}

div#content .bgimg
{
  min-height: 50vh;
  position: relative;
  opacity: 1;
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10vw;
}

div#content .bgimg.bgimg-small
{
  min-height: 15vh;
}

.bgimg > div
{
  width: 60vw;
  margin: 0 auto;
}

.bgimg > div > div.zwischentitel
{
  color: #ffffff;
}



header ul li a img
{
  height: 16px;
}



header ul
{
  display: none;
  margin: 0;
  padding: 0;
  width: 250px;
  float: right;
  list-style: none;
}



header ul li a
{
  text-decoration: none;
  display: block;
  color: #6ca18e;
  padding: 4px 0;
}

header ul li a:hover
{
  color: #86C8B1;
}

header ul li a i
{
  display: inline-block;
  width: 24px;
  height: 16px;
}

#footer
{
  display: none;
  position: fixed;
  z-index: 999;
  bottom: 0;
  height: 50px;
  background: #6ca18e;
  width: 100%;
}

#footer ul
{
  width: 1024px;
  margin: 0 auto;
  padding: 0;
}

#footer ul li
{
  display: inline-block;
}

#footer ul li:hover
{
  background-color: #86C8B1;
}

#footer ul li a
{
  font-family: 'Amatic SC', sans-serif;
  display: inline-block;
  padding: 9px 14px;
  font-size: 26px;
  color: #ffffff;
  text-decoration: none;
}

#footer ul li a i
{
  display: inline-block;
  width: 24px;
  height: 16px;
}

#nav_main #navsuche
{
  position: absolute;
  padding: 0;
  z-index: 250;
  margin: -24px 0 0px 10px;
  background: #ffffff;
  border-radius: 10px;
  padding: 2px 12px 2px 5px;
}



#nav_main #navsuche > i
{
  margin-left: 5px;
  cursor: pointer;
  color: #000000;
}

#nav_main #navsuche > i:hover
{
  color: #6ca18e;
}

#nav_main #navsuche input#menusuche
{
  border: 0;
  border: #ffffff;
  height: 24px;
  font-family: Lexend Deca;
}

#nav_main #navsuche input#menusuche:focus
{
  outline: none !important;
}

#nav_main
{
  display: block;
  background: #6ca18e;
  position: fixed;
  bottom: calc(16vw + 2px);
}

#nav_main > ul
{
  margin: 0;
  padding: 0;
  width: 100vw;
}

#nav_main > ul li
{
  padding: 0;
  display: block;
}

#nav_main > ul li a
{
  font-family: 'Amatic SC', sans-serif;
  display: block;
  text-decoration: none;
  padding: 4vw 4vw;
  color: #ffffff;
  font-size: 7vw;
  text-align: center;
}

#nav_main > ul li ul
{
  display: none;
  position: absolute;
  padding-left: 0;
  z-index: 250;
}

#nav_main > ul li:hover ul
{
  display: block;
}

#nav_main > ul li ul li
{
  display: block;
  background: #6ca18e;
  padding:
}

#nav_main > ul li a.cdfont
{
  # font-family: Advent Pro;
  font-weight: normal;
}

#nav_main > ul li a:hover
{
  background: #86C8B1;
}

#nav_main
{
  z-index: 999;
  position: fixed;
  left: 0;
  width: 100%;
  display: none;
}



#nav_main.menuopen
{
  display: block;
}

nav#nav_mobile_main ul li.menuopen
{
  display: none;
}

nav#nav_mobile_main.menuopen ul li.menuopen
{
  display: block;
}

nav#nav_mobile_main.menuopen ul li.menuclosed
{
  display: none;
}

div#content > *
{
  padding: 2vw;
}

.bgimg > div.caption > div.zwischentitel
{
  padding: 10px;
  text-align: center;
  width: auto;
  background: rgba(255, 255, 255, 0.7);
  color: #6ca18e;
  font-size: 3vw;
}

.bgimg > div.caption > div.zwischentitel span.titel
{
  font-size: 7vw;
  font-weight: bold;
  color: #6ca18e;
  font-family: 'Amatic SC', sans-serif;
}


/* ############################ globalMessages ############################### */

div#content div#globalMessages
{
  display: block;
  overflow: hidden;
  margin: 0 auto;
  max-width: none;
  padding: 0;
}

div#globalMessages ul
{
  display: block;
  font-size: 6.5vw;
  padding: 2vw;
  margin: 2vw;
  min-height: 5vw;
  padding: 1vw 4vw 1vw 4vw;
  color: #000000;
}

div#globalMessages ul#Hinweis
{
  background: rgb(219, 236, 255, 0.85);
  border: #2850c1 1px solid;
}

div#globalMessages ul#Erfolg
{
  background: rgb(212, 255, 205, 0.85);
  border: #258815 1px solid;
}

div#globalMessages ul#Warnung
{
  background: rgb(254, 252, 203, 0.85);
  border: #878314 1px solid;
}

div#globalMessages ul#Fehler
{
  background: rgb(255, 210, 211, 0.85);
  border: #871414 1px solid;
}

div#globalMessages ul li
{
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 1vw;
  padding-left: 1vw;

  display: block;
  margin: 1vw auto;

}

div#globalMessages ul li.boxtitle
{
  font-size: 6.5vw;
  padding: 0;
  font-weight: bold;
}


div#globalMessages ul#Hinweis li.boxtitle
{
  color: #2850c1;
}


div#globalMessages ul#Erfolg li.boxtitle
{
  color: #258815;
}


div#globalMessages ul#Warnung li.boxtitle
{
  color: #878314;
}


div#globalMessages ul#Fehler li.boxtitle
{
  color: #871414;
}



@media only screen and (max-width: 1024px)
{
  .nomobile
  {
    display: none !important;
  }
}

@media only screen and (min-width: 1024px)
{

  div#content > div
  {
    margin-bottom: 10px;
  }


  div#content > div > h2,
  div#content > div > h2 span
  {
    font-size: 40px;
  }


  #overlaydiv .olfull
  {
    font-size: 16px;
  }

  .button
  {
    border-radius: 8px;
    font-size: 20px;
    padding: 5px 20px;
  }

  .nomobile
  {
    display: block;
  }

  .onlymobile
  {
    display: none !important;
  }

  .bgimg > div.caption > div.zwischentitel
  {
    font-size: 16px;
  }

  .bgimg > div.caption > div.zwischentitel span.titel
  {
    font-size: 32px;
    color: #6ca18e;
  }

  div#content > *
  {
    padding: 10px;
    max-width: 1024px;
    margin: 0 auto;
  }

  #footer
  {
    display: block;
  }

  #nav_main
  {
    bottom: auto;
    position: static;
    left: auto;
    background: #6ca18e;
    display: block;
    width: auto;
  }

  #nav_main > ul
  {
    width: 1024px;
    margin: 0 auto;
  }

  #nav_main > ul li
  {
    display: inline-block;
  }


  #nav_main > ul li a
  {
    font-weight: normal
    display: inline-block;
    padding: 8px 14px;
    font-size: 26px;
    text-align: left;
  }

  #nav_main > ul li a.cdfont
  {
    font-size: 26px;
  }

  #nav_main > ul li a img
  {
    height: 20px;
  }

  #nav_main > ul li a:hover
  {
    background: #86C8B1;
  }

  #nav_main.sticky
  {
    position: fixed;
    top: 0;
    width: 100%
  }

  body.sticky
  {
    padding-top: 36px;
  }


  header ul
  {
    display: block;
  }


  div#content .bgimg
  {
    max-width: none;
    min-height: 50vh;
    padding: 50px;
  }

  .bgimg > div
  {
    width: 800px;
  }

  #nav_mobile_main
  {
    display: none;
  }

  header
  {
    width: auto;
    height: 93px;
  }

  #main
  {
    width: auto;
  }

  header > div
  {
    width: 1024px;
    padding: 6px 14px;
    margin: 0 auto;
  }

  #headerlogo
  {
    display: block;
  }

  #headerlogo_mobile
  {
    display: none;
  }

  #partner
  {
    display: block;
  }

  #overlaydiv *
  {
    font-size: 28px;
  }

  #overlaydiv h3
  {
    font-size: 48px;
    margin: 0 0 20px 0;
  }

  #olclose
  {
    font-size: 36px;
  }

  div#globalMessages ul
  {
    font-size: 16px;
    padding: 10px;
    margin: 0 auto;
    max-width: 1024px;
    min-height: 40px;
    padding: 7px 16px 5px 16px;
  }

  div#globalMessages ul li
  {
    margin-bottom: 5px;
    padding-left: 5px;
    margin: 5px auto;
  }

  div#globalMessages ul li.boxtitle
  {
    font-size: 24px;
  }
}
