@import url('/inc/fonts/gwf.php?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap');


*
{
  font-family: 'Roboto', serif;
  box-sizing: border-box;
  line-height: 1.3em;
}

body
{
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100vh;
  width: 100vw;
  background-color: #e5dcd5;
}

ul
{
  padding-left: 30px;
  list-style: disc;
}

@supports ( -webkit-touch-callout : none)
{
  body
  {
    background-attachment: scroll;
    background-position: center 100vh;
  }
}

div.clear
{
  clear: both;
}

a
{
  color: #ED4700;
  text-decoration: none;
}

a:hover
{
  color: #8F2B00;
}

header
{

}

.img-responsive { max-width: 100%; }


#main
{
  padding-top: 30vw;
  width: 100vw;
  margin: 0;
  padding-bottom: 10vh;
}


div.imageblock
{
  opacity: 0;
  overflow: auto;
  margin-top: 5vw;
}


div.imageblock > div.white1
{
  position: absolute;
  width: 3vw;
  height: 50vw;
  background: #2E2F31;
}

div.imageblock.double > div.white1
{
  height: 100vw;
}


div.imageblock > div.white2
{
  position: absolute;
  width: 94vw;
  height: 3vw;
  background: #2E2F31;
  background: linear-gradient(70deg, #2E2F31 0%, #4a4745 80%);
}

div.imageblock > div.imageback
{
  position: absolute;
  margin: 3vw 0 0 3vw;
  width: 94vw;
  height: 50vw;
  overflow: hidden;
}

div.imageblock.double > div.imageback
{
  height: 100vw;
}

div.imageblock > div.imageback > div
{
  width: 94vw;
  height: 50vw;
  background-position: center center;
  background-size: cover;
}

div.imageblock.double > div.imageback > div
{
  height: 100vw;
}


@keyframes imageback
{
  0% { margin-left: 0; }
  45% { margin-left: -10vw; }
  55% { margin-left: -10vw; }
  90% { margin-left: 0; }
}

div.imageblock > div.grey
{
  width: 94vw;
  color: #4a4745;
  margin-left: 6vw;
  margin-top: 6vw;
  padding: 47vw 3vw 3vw 3vw;
  background: #ffffff;
  background: linear-gradient(70deg, #ffffff 0%, #FEF8F4 80%);
}

div.imageblock.double > div.grey
{
  padding: 97vw 3vw 3vw 3vw;
}

.sideimage
{
  display: block;
  float: left;
  margin-right: 2vw;
  border-left: #4a4745 5px solid;
  border-top: #4a4745 5px solid;
  padding-right: 5px;
  padding-bottom: 5px;
  background: #B0A9A5;
}

.sideimage > img
{
  width: 30vw;
  vertical-align: top;
}

.sideimage.right
{
  float: right;
  margin-left: 2vw;
}








h3
{
  font-weight: normal;
  margin: 10vw 0 2vw 0;
}

h3.nom
{
  font-weight: normal;
  margin: 0 0 5px 0;
}
.nomobile
{
  display: none;
}

#whitebox
{
  position: absolute;
  left: 0;
  background: #ffffff;
  z-index: 99;
  height: 5vw;
  width: 100vw;
}

#bluebox
{
  position: absolute;
  left: 0;
  top: 5vw;
  background: #7E7976;
  background: linear-gradient(180deg, #7E7976 20%, #4a4745 100%);
  z-index: 99;
  height: 15vw;
  width: 100vw;
}

#greybox
{
  cursor: pointer;
  display: none;
  position: absolute;
  left: calc((100vw - 960px) / 2);
  background: #4a4745;
  z-index: 99;
  width: 300px;
  font-size: 16px;
  padding: 165px 14px 14px 14px;
  color: #ffffff;
}

#greybox_mobile
{
  cursor: pointer;
  position: absolute;
  left: 5vw;
  background: #4a4745;
  z-index: 99;
  width: 70vw;
  padding: 8vw 3vw 3vw 3vw;
  font-size: 4vw;
  color: #ffffff;
  top: 15vw;
}

#title_mobile
{
  font-weight: 700;
  position: fixed;
  left: 5vw;
  background: #4a4745;
  z-index: 100;
  width: 70vw;
  padding: 10vw 3vw 3vw 3vw;
  height: 23vw;
  color: #ffffff;
  top: 0;
  margin: 0;
  font-size: 5.8vw;
}

#bluebox.fixed
{
  position: fixed;
  top: 0;
  height: 12.5vw;
}

#bluebox.fixed
{
  background-color: #4a4745;
}

#greybox_mobile.fixed
{
  top: 0vw;
}

#title_mobile.fixed
{
  font-weight: 400;
  font-size: 5.8vw;
  position: fixed;
  padding-top: 3vw;
  height: 12vw;
}



#nav_main
{
  display: none;
  background: #7E7976;
  background: linear-gradient(180deg, #7E7976 20%, #4a4745 100%);
  top: 100px;
  position: absolute;
  width: 100vw;
  z-index: 100;
}

#nav_main > div
{
  width: 960px;
  margin: 0 auto;
}

#nav_main.fixed
{
  position: fixed;
  top: 0px;
}


#nav_main > div > ul
{
  padding: 0;
  margin: 0;
}

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

#nav_main > div > ul li#kanzlei
{
  width: 300px;
  background-color: rgba(74, 71, 69, 1);
}

#nav_main.fixed > div > ul li#kanzlei
{
  background: rgba(74, 71, 69, 0);
}


#nav_main > div > ul li#kanzlei a
{
  font-size: 23px;
  font-weight: bold;
}

#nav_main > div > ul li a
{
  vertical-align: top;
  font-weight: normal;
  display: block;
  padding: 12px 14px;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  color: #ffffff;
}

#nav_main > div > ul li a:hover
{
  background: #B0A9A5;
}

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

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

#nav_main > div > ul li ul li
{
  display: block;
  background: #7E7976;
  padding:
}




#nav_mobile_main
{
  z-index: 100;
  background: #7E7976;
  background: linear-gradient(180deg, #7E7976 20%, #4a4745 100%);
  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
{
  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: #B0A9A5;
}

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

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;
}


.nav_mobile_sub
{
  display: none;
  background: #7E7976;
  position: fixed;
  z-index: 99;
  bottom: calc(16vw + 1px);
}

.nav_mobile_sub > ul
{
  margin: 0;
  padding: 0;
  width: 100vw;
}

.nav_mobile_sub > ul li
{
  padding: 0;
  display: block;
}

.nav_mobile_sub > ul li a
{
  display: block;
  text-decoration: none;
  padding: 4vw 4vw;
  color: #ffffff;
  font-size: 7vw;
  text-align: center;
}

.nav_mobile_sub > ul li a:hover
{
  background-color: #B0A9A5;
}

.nav_mobile_sub.menuopen
{
  display: block;
}



#footer
{
  display: none;
  position: fixed;
  z-index: 100;
  bottom: 0;
  background: #7E7976;
  background: linear-gradient(180deg, #7E7976 20%, #4a4745 100%);
  width: 100%;
}

#footer > div
{
  display: block;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

#footer ul
{
  margin: 0;
  padding: 0;
  display: inline
}

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

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

#footer ul li a
{
  display: inline-block;
  padding: 12px 14px;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
}

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


@media only screen and (orientation: landscape) and (min-width: 1024px)
{
  .nomobile
  {
    display: block;
  }

  #footer
  {
    display: block;
  }

  #nav_mobile_main,
  .nav_mobile_sub
  {
    display: none;
  }

  #nav_main
  {
    display: block;
  }

  #greybox
  {
    display: block;
  }

  #title_mobile
  {
    display: none;
  }

  #greybox_mobile
  {
    display: none;
  }

  #bluebox
  {
    display: none;
  }

  #whitebox
  {
    height: 100px;
  }

  #main
  {
    padding-top: 200px;
    width: 1024px;
    margin: 0 auto;
    padding-bottom: 100px;
  }


  div.imageblock
  {
    margin-top: 30px;
  }


  div.imageblock > div.white1
  {
    width: 30px;
    height: 500px;
  }

  div.imageblock.double > div.white1
  {
    height: 1000px;
  }

  div.imageblock > div.white2
  {
    width: 900px;
    height: 30px;
  }

  div.imageblock > div.imageback
  {
    margin: 30px 0 0 30px;
    width: 900px;
    height: 500px;
  }

  div.imageblock.double > div.imageback
  {
    height: 1000px;
  }

  div.imageblock > div.imageback > div
  {
    width: 900px;
    height: 500px;
  }

  div.imageblock.double > div.imageback > div
  {
    height: 1000px;
  }

  @keyframes imageback
  {
    0% { margin-left: 0; }
    45% { margin-left: -200px; }
    55% { margin-left: -200px; }
    90% { margin-left: 0; }
  }


  div.imageblock > div.grey
  {
    width: 900px;
    margin-left: 60px;
    margin-top: 60px;
    padding: 470px 30px 30px 30px;
  }

  div.imageblock.double > div.grey
  {
    width: 900px;
    padding: 970px 30px 30px 30px;
  }

  .sideimage
  {
    margin-right: 20px;
  }

  .sideimage > img
  {
    width: 200px;
  }

  .sideimage.right
  {
    margin-left: 20px;
  }


  h3
  {
    margin: 35px 0 5px 0;
  }


}

@media only screen and (orientation: landscape) and (max-width: 1023px)
{
  #nav_mobile_main ul li a
  {
    color: #ffffff;
    height: 8vw;
    padding: 1.5vw;
    display: block;
    font-size: 4vw;
  }

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

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

  .nav_mobile_sub
  {
    max-height: calc(100vh - 24vw);
    overflow: auto;
    bottom: calc(8vw + 1px);
  }

  .nav_mobile_sub ul li
  {
    display: inline-block;
    width: 50vw;
  }

  .nav_mobile_sub > ul li a
  {
    padding: 2vw 2vw;
    color: #ffffff;
    font-size: 3.5vw;
    text-align: center;
  }


  #whitebox
  {
    height: 2.5vw;
  }

  #bluebox
  {
    top: 2.5vw;
    height: 7.5vw;
  }

  #greybox_mobile
  {
    width: 35vw;
    padding: 4vw 1.5vw 1.5vw 1.5vw;
    font-size: 2vw;
    top: 7.5vw;
    left: 2.5vw;
  }

  #title_mobile
  {
    left: 2.5vw;
    width: 35vw;
    padding: 5vw 1.5vw 1.5vw 1.5vw;
    height: 11.5vw;
    font-size: 2.9vw;
  }

  #bluebox.fixed
  {
    height: 6.25vw;
    top: 0;
  }

  #title_mobile.fixed
  {
    font-size: 2.9vw;
    padding-top: 1.5vw;
    height: 6vw;
  }


}



/* ########## Global Messages ########## */

div#globalMessages
{
  display: block;
  overflow: hidden;
  padding: 40px 0 0 0;
}

div#globalMessages ul
{
  display: block;
  margin: 0;
  min-height: 83px;
  padding: 20px;
  color: #000000;
  margin: 0;
  background-repeat: no-repeat;
  background-position: 15px 15px;
  background-size: 29px 23px;
}

div#globalMessages ul#Fehler
{
  background-color: #ffd2d3;
  animation: pulseFehler 6s infinite;
}

@keyframes pulseFehler
{
    0% { background-color: #ffd2d3; }
   15% { background-color: #ff999b; }
   30% { background-color: #ffd2d3; }
  100% { background-color: #ffd2d3; }
}

div#globalMessages ul#Hinweis
{
  background-color: #dbecff;
  animation: pulseHinweis 6s infinite;
}

@keyframes pulseHinweis
{
    0% { background-color: #dbecff; }
   15% { background-color: #99c9ff; }
   30% { background-color: #dbecff; }
  100% { background-color: #dbecff; }
}

div#globalMessages ul#Erfolg
{
  background-color: #d4ffcd;
  animation: pulseErfolg 6s infinite;
}

@keyframes pulseErfolg
{
    0% { background-color: #d4ffcd; }
   15% { background-color: #a7ff99; }
   30% { background-color: #d4ffcd; }
  100% { background-color: #d4ffcd; }
}

div#globalMessages ul#Warnung
{
  background-color: #fefccb;
  animation: pulseWarnung 6s infinite;
}

@keyframes pulseWarnung
{
    0% { background-color: #fefccb; }
   15% { background-color: #fcf997; }
   30% { background-color: #fefccb; }
  100% { background-color: #fefccb; }
}


div#globalMessages ul li
{
  padding: 0;
  margin: 0 0 5px 0;
  list-style: none;
  padding-left: 0;
  font-size: 16px;
}

div#globalMessages ul li a
{
  font-size: 16px;
}


div#globalMessages ul li.boxtitle
{
  font-size: 32px;
  font-family: Verdana, Tahoma, Arial;
  padding: 0;
  font-weight: bold;
}

div#globalMessages ul#Fehler li.boxtitle { color: #cc0000; }
div#globalMessages ul#Hinweis li.boxtitle { color: #2763ae; }
div#globalMessages ul#Erfolg li.boxtitle { color: #0caa00; }
div#globalMessages ul#Warnung li.boxtitle { color: #ffaf15; }

@supports ( -webkit-touch-callout : none)
{
  div.imageback div.animate
  {
    animation: none !important;
  }
}