/* *****************************************************************************
 * responsive Design
 */

@media only screen and (max-width: 1500px) {
  .indexBox a {
    padding: 0px;
  }

  .footerLink {
    padding: 0px;
  }
}

@media only screen and (max-width: 1400px) {
  #geolabLogo {
    height: 50px;
    line-height: 50px;
  }
  #headMenu li {
    width: 90px;
  }
  #headMenu li.smallerLi {
    width: 130px;
  }
  #headMenu li a {
    font-size: 1.2em;
    height: 62px;
  }
  #geolab_anmelden {
    padding: 0px;
  }
  .rightBorder {
    margin: 3px;
  }
}

@media only screen and (max-width: 1200px) {
  .suchBox,
  .filterBox {
    width: 45% !important;
  }
  #headMenu li {
    margin-right: 15px;
  }

  input#searchForTasks {
    font-size: 1em;
    width: 150px;
  }
}

@media only screen and (max-width: 1000px) {
  #geolabhead {
    height: auto;
  }
  #headMenu {
    width: 100%;
  }

  #headMenu li {
    width: 85px;
    height: 50px;
    line-height: 50px;
    margin-right: 0px;
  }

  #headMenu li a {
    height: 52px;
    font-size: 1em;
  }

  #geolabLogoDiv {
    height: 50px;
    line-height: 50px;
  }

  .popover,
  .popover-content,
  #guidedTourTable {
    width: 90%;
    max-width: 90% !important;
    height: 90%;
    max-height: 90% !important;
  }

  div.footerLink {
    display: block;
    width: 100%;
  }

  #body {
    display: inline-block !important;
    width: 100% !important;
    position: relative !important;
  }
  #mainArea,
  .aufgabe {
    display: inline-block !important;
    width: 98% !important;
    position: relative !important;
  }

  .toggleAufklappDiv {
    text-indent: 0 !important;
  }

  .toggleAufklappDiv:not(.disabled)::after {
    right: 5px;
  }
  .aufgabenDiv input[type="text"],
  .aufgabenDiv textarea {
    width: 100%;
  }
  
  .portal-map {
    height: 100%!important;
  }

  #geolab_suche {
    display: none;
  }
}

@media only screen and (max-width: 800px) {

  #headMenu li.smallerLi, #headMenu li {
    width: auto;
    padding: 0 0.5em;
  }
}
@media only screen and (max-width: 700px) {
  .indexBox,
  .flexboxIndex {
    display: block !important;
    width: 96% !important;
    margin-bottom: 10px;
  }

  img.img {
    display: initial !important;
  }

  div.geolabmv {
    float: none;
    display: inline-block;
  }
  .geolabmv.left {
    text-align: center;
    float: none;
  }

  .geolabmv.right {
    float: right;
    width: 33%;
  }

  nav {
    display: none;
  }

  .portal-map .footer .links {
    display: inline!important;
  }

}

@media only screen and (max-width: 500px) {
  .suchBox,
  .filterBox {
    display: block;
    width: 100% !important;
  }
}
