:root {
  --fh1-color: #061984;
  --fh1-colorActive: #d66407;
  --fh1-colorBgInactive: #fff;
  --fh1-colorBgActive: #000;
}


html, body {
  font-family: sans-serif;
  line-height: 1.5;
  color: #061984;
}

.center {
  text-align: center;
}

a {
  text-decoration: none;
}

div.backdrop {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  background-image: url(/img/background/buero_2.jpg);
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  opacity: 0.2;
}

h1,h2 {
  text-align: left;
  margin-top: 0px;
}

h1  {
  font-size: 180%;
}

h2 {
  font-size: 140%;
}

a {
  color: #061984;
}

hr {
  text-align: center;
  width: 10%;
  border: 0px;
  border-top: 1px solid var(--fh1-color);
}

div.fh1header {
  width: calc(100% - 180px);
  display: flex;
  position: fixed;
  top: 0px;
  left: 0px;
  padding-top: 45px;
  padding-bottom: 40px;
  padding-left: 90px;
  padding-right: 90px;
  background-color: #EFF1F1;
  z-index: 999;
}

div.fh1logo {
  font-size: 120%;
  width: 15em;
  display: flex;
  padding: 5px;
  color: #061984;
}

div.fh1logo a,
div.fh1logo a:link,
div.fh1logo a:visited {
  color: #061984;
  transition: 0.5s;
}

div.fh1logo a:hover {
  color: var(--fh1-colorActive);
}

div.fh1menu {
  width: calc(100% - 100px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 120%;
  border: 0px solid var(--fh1-color);
}

div.fh1menu.mobile {
  display: none;
  font-size: 200%;
}

div#mobilemenubutton {
  margin-top: -5px;
  padding-top: 0px;
}

@media (max-width: 1200px) {
 div.fh1header {
  justify-content: space-between;
  align-items: top;
 }



 div.fh1menu   {
  justify-content: flex-end;
 }

 div.fh1menu.desktop {
  display: none;
 }

 div.fh1menu.mobile {
  display: flex;
  cursor: pointer;
  max-width: 1em;
  margin-right: 20px;
 }
}

div.fh1menu.desktop.active {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  text-align: right;
  padding-right: 20px;
}

@media (max-width: 600px) {
  div.fh1header {
    padding-left: 20px;
    padding-right: 20px;
    width: calc(100% - 40px);
    font-size: 100%;
  }

  div.fh1menu {
    padding-left: 20px;
    width: calc(100% - 20px);
  }
}

@media (max-width: 400px) {
  div.fh1header {
    font-size: 80%;
  }
}

div.fh1menu div.mp {
  color: var(--fh1-color);
  display: inline-block;
  cursor: pointer;
  transition: 0.5s;
  padding: 5px;
  padding-right: 20px;
  padding-left: 20px;
}

div.fh1menu div#mp0 {
  padding-left: 0px;
}

div.fh1menu div.mp:hover,
div.fh1menu div.mp.active,
div.fh1menu div.mp a:hover {
  color: var(--fh1-colorActive);
}

div.fh1menu div.mp.special {
  border: 0px solid var(--fh1-color);
  border-left: 0px;
  border-top: 0px;
  border-bottom: 0px;
  padding-right: 100px;
}


div.impressum {
  position: fixed;
  font-size: 80%;
  bottom: 0px;
  padding: 5px;
  text-align: center;
  background-color: #fff;
  width: 100%;
  border-top: 1px solid #000;
}

/*
  ------------------
  Buttons
  ------------------
*/

span.button {
  font-weight: bold;
}

span.button:hover {
  cursor: pointer;
}

.clickable:hover {
  cursor: pointer;
}

/* -----------------------------------------
   Popup content
   -----------------------------------------
*/


div.linepopup {
  position: relative;
  margin-top: 160px;
  margin-left: 110px;
  width: calc(90% - 140px);
  display: none;
  padding: 20px;
  margin-bottom: 5vh;

}

@media (max-width: 1200px) {
  div.fh1header.mobaware + div.linepopup {
    margin-top: 150px;
  }
}

@media (max-width: 800px) {
  div.linepopup {
    margin-left: 20px;
    width: calc(90% - 20px);
    margin-top: 250px;
  }

  div.fh1header.mobaware + div.linepopup {
    margin-top: 150px;
  }
}

@media (max-width: 700px) {
  div.linepopup {
    margin-left: 20px;
    width: calc(90% - 20px);
    margin-top: 300px;
  }

  div.fh1header.mobaware + div.linepopup {
    margin-top: 150px;
  }
}


div.linepopup.active {
  display: flex;
}

div.linepopup div.linepopupInner {
  position: relative;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 1s;
}

div.linepopup.active div.linepopupInner {
  max-height: 100%;
  margin-right: 40px;
  opacity: 1;
}

div.linepopup div.closeicon {
  font-size: 200%;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: -40px;
  right: -30px;
  padding: 40px;
  z-index: 9999;
  color: var(--vdz-color);
}


div.linepopup.active {
  display: block;
  opacity: 1;
  height: unset;
}

div.linepopup h2 {
  padding: 10px;
  text-align: left;
  margin-top: 40px;
}

div.linecontentInnerWrapper {
  width: calc(100% - 20px);
}


div.linepopup div.textimg {
  max-width: 30%;
  display: inline-block;
  margin-bottom: 40px;
}

div.linepopup div.textimg.right {
  float: right;
  margin-left: 40px;
}

div.linepopup div.textimg.left {
  float: left;
  margin-right: 40px;
}

@media (max-width: 1000px) {
  div.linepopup div.textimg,
  div.linepopup div.textimg.right,
  div.linepopup div.textimg.left {
    max-width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

div.linepopup div.textimg img {
  max-width: 100%;
}

/*
  ------------------
  imgbanner
  ------------------
*/

div.imgbanner {
  display: flex;
  flex-wrap: wrap;
}

div.imgbanner div {
  width: calc(25% - 3px);
  display: inline-block;
  vertical-align: middle;
  border: 2px solid #fff;
}

div.imgbanner img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}

div.imgbanner div:first-child {
  border-left: 0px;
}

div.imgbanner div:last-child {
  border-right: 0px;
}

@media (max-width: 1024px) {
  div.imgbanner div {
    width: calc(50% - 2px);
  }

  div.imgbanner div:nth-child(2n) {
    border-right: 0px;
  }

  div.imgbanner div:nth-child(2n+1) {
    border-left: 0px;
  }

}


/*
  ------------------
  imgblock
  ------------------
*/

div.imgblock {
  display: flex;
  margin-bottom: 5vh;
}

div.imgblockImg {
  max-width: 20%;
  min-width: 20%;
}


div.imgblock img {
  max-width: 100%;
  min-width: 100%;
}

div.imgblockText {
  max-width: 80%;
  width: 80%;
  padding-left: 20px;
  padding-right: 0px;
}

@media (max-width: 800px) {
  div.imgblock {
    flex-direction: column;
  }

  div.imgblockImg {
    max-width: 100%;
  }

  div.imgblockText {
    padding-left: 0px;
    width: 100%;
    max-width: 100%;
  }

  div.imgblockText h1 {
    margin-top: 20px;
  }
}


/*
div.imgblock:nth-child(2n) {
  flex-direction: row-reverse;
}

div.imgblock:nth-child(2n) div.imgblockText {
  padding-right: 20px;
  padding-left: 0px;
}
*/

div.imgblockText li {
  line-height: 1.5;
}


/*
  ------------------
  forms
  ------------------
*/

div.forminput span.mandatory {
  color: #ff0000;
}

div.forminput input,
div.forminput textarea {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #aaa;
}

div.forminput textarea {
  height: 5em;
}

div.forminput input[type=submit]:disabled {
  cursor:not-allowed;
}

div.forminput input[type=submit] {
  width: unset;
  padding: 10px;
  border-radius: 5px;
  float: right;
  box-shadow: none;
  cursor: pointer;
}

/*
  ------------------
  steckbrief
  ------------------
*/

table.steckbrief {
  padding-right: 40px;
}

table.steckbrief tr {
  vertical-align: top;
}

table.steckbrief tr td {
  padding: 10px;
}

div.asb {
  float: right;
  width: 30%;
  text-align: center;
}

div.asb img {
  width: 100%;
}

@media (max-width: 1000px) {

  table.steckbrief {
    padding-right: unset;
    clear: both;
  }

  div.asb {
    float: none;
    clear: both;
    width: 100%;
    margin-bottom: 80px;
  }

  div.asb img {
    float: none;
    width: 50%;
  }
}

@media (max-width: 700px) {

  div.asb {
    text-align: center;
  }

  div.asb img {
    float: none;
    width: 50%;
    margin: 0px;
  }
}
