.hidden-dt-nav {
  display: block;
}
@media (min-width: 1024px) {
  .hidden-dt-nav {
    display: none;
  }
}
.hidden-mb-nav {
  display: none;
}
@media (min-width: 768px) {
  .hidden-mb-nav {
    display: block;
  }
}
/*
 *	# HEADER
 */
#header {
  position: relative;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto 0;
}
/*
 *	# LOGO-HEADER
 */
#logo-header {
  position: relative;
  margin: 0 auto;
  height: 110px;
}
#logo-header > a > img {
  position: absolute;
  left: 22px;
  top: 30px;
}
#meta-top-navi {
  position: absolute;
  height: 72px;
  width: 290px;
  top: 52px;
  right: 0px;
}
#meta-top-navi-search-form {
  position: absolute;
}
#meta-top-navi-search-form button {
  border: none;
  background: none;
}
#meta-top-navi-search-form button:focus {
  outline: none;
}
#meta-top-navi-search-form button i {
  position: absolute;
  top: 8px;
  right: 12px;
  color: #cacaca;
}
#meta-top-navi-search-form input[type="text"] {
  border-left: none;
  border-right: none;
  border-top: 2px solid #ededed;
  border-bottom: 2px solid #ededed;
  width: 250px;
  padding: 2px 20px;
  height: 28px;
  line-height: 28px;
}
/*
 *	# NAV-HEADER
 */
#nav-header-wrapper {
  width: 100%;
  left: 0;
  z-index: 9999;
}
#nav-header {
  max-width: 980px;
  margin: 0 auto;
  height: 60px;
}
#nav-header-top {
  padding: 0;
  margin: 0;
  white-space: nowrap;
}
.nav-header-element {
  position: relative;
  float: left;
}
.nav-header-element > a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-decoration: none;
  color: #2a2a2a;
  font-size: 19px;
  text-align: center;
  text-transform: uppercase;
}
.nav-one {
  width: 163.33333px;
}
.nav-two {
  width: 163.33333px;
}
.nav-two .nav-header-submenu {
  left: -163.33333px;
  height: 590px;
}
.nav-three {
  width: 163.33333px;
}
.nav-three .nav-header-submenu {
  left: -326.66666px;
}
.nav-four {
  width: 163.33333px;
}
.nav-four .nav-header-submenu {
  left: -489.99999px;
}
.nav-five {
  width: 163.33333px;
}
.nav-five .nav-header-submenu {
  left: -653.33332px;
}
.nav-six {
  width: 163.33333px;
}
.nav-six .nav-header-submenu {
  left: -816.66665px;
}
.nav-header-submenu {
  position: absolute;
  display: none;
  top: 60px;
  width: 980px;
  height: 400px;
  z-index: 9999;
  background-color: #f8f8f8;
}
.nav-header-submenu .bigbox {
  width: 980px;
  vertical-align: top;
  border-top: 2px solid #85B819;
  background: rgba(71, 77, 83, 0.95);
  padding: 0 10px;
}
.nav-header-submenu .teaserbox {
  float: left;
  width: 170px;
  height: 170px;
  padding: 0;
  margin: 20px 11px 0;
  color: #2a2a2a;
  text-decoration: none;
}
.nav-header-submenu .teaserbox > div {
  text-align: center;
}
.nav-header-submenu .teaserbox img {
  width: 170px;
  height: auto;
}
.nav-header-submenu a > .tinyteaser {
  float: left;
  width: 170px;
  height: 31.6667px;
  line-height: 31.6667px;
  border: 1px solid #85bb19;
  border-radius: 8px;
  padding: 0;
  margin: 20px 11px 0;
  font-size: 14px;
  color: #2a2a2a;
  text-decoration: none;
  text-align: center;
}
.nav-header-submenu a:hover > .tinyteaser {
  background: #85B819;
  color: #fff;
}
.nav-header-element:hover,
.nav-header-element:hover > a,
.nav-header-submenu .teaserbox-active:hover {
  background-color: #85B819;
  color: #fff;
}
.nav-header-element:hover > .nav-header-submenu,
.nav-header-submenu:hover {
  display: block;
}
@media only screen and (max-width: 1023px) {
  /* Hauptmenü anpassen */
  #logo-header {
    height: 20px;
  }
  #logo-header img,
  #meta-top-navi {
    display: none;
  }
  #nav-header-wrapper {
    top: 0;
  }
  #nav-header {
    width: 750px;
    height: 60px;
    margin: 0 auto;
  }
  #nav-header .nav-smartphone {
    position: relative;
    white-space: normal;
  }
  #nav-header .nav-smartphone.nav-header-logo {
    width: 80%;
    float: left;
  }
  #nav-header .nav-smartphone.nav-header-logo img {
    max-width: 100%;
  }
  #nav-header .nav-smartphone.nav-header-burger {
    float: left;
    line-height: 79px;
    text-align: right;
    width: 20%;
    padding-right: 20px;
  }
  #nav-header .nav-smartphone.nav-header-burger i {
    font-size: 28px;
  }
  #nav-header .nav-smartphone.nav-header-burger a:hover {
    color: #2a2a2a;
  }
  #nav-header .main-menu-search-form input {
    width: 100%;
    border: none;
    margin: 0;
    padding: 4px 10px 4px 20px;
    height: 52px;
    font-size: 20px;
    line-height: 52px;
  }
  #nav-header .main-menu-search-form button {
    border: none;
    background: none;
    margin-left: -54px;
    -webkit-appearance: none;
    cursor: pointer;
  }
  #nav-header .main-menu-search-form button i {
    font-size: 28px;
  }
  #nav-header .main-menu-search-form button:focus {
    outline: none;
  }
  #nav-header-top {
    position: relative;
  }
  #nav-header-top .nav-header-elements {
    display: none;
  }
  #nav-header-top .nav-header-burger.hover ~ .nav-header-elements,
  #nav-header-top .nav-header-elements.hover {
    display: block;
  }
  #nav-header-top .nav-header-element.hover > .nav-header-submenu {
    display: block;
  }
  #nav-header-top .nav-header-element {
    width: 750px;
    margin: 0;
    background-color: #fff;
    border-top: 2px solid #aeb0b3;
  }
  #nav-header-top .nav-unternehmen {
    margin-top: 60px;
  }
  #nav-header-top .nav-header-submenu {
    position: static;
    display: none;
    width: 750px;
    height: auto;
  }
  #nav-header-top .bigbox {
    padding: 0;
    margin: 0;
    border: none;
    width: 750px;
  }
  #nav-header-top .nav-header-element .teaserbox {
    display: none;
    padding: 10px;
  }
  #nav-header-top .nav-header-element .teaserbox img {
    width: 120px;
    height: auto;
  }
  #nav-header-top .nav-header-element .teaserbox-active {
    display: block;
    margin: 0;
    width: 144px;
    text-align: center;
    font-size: 15px;
  }
  #nav-header-top .nav-header-element a > .tinyteaser {
    width: 122px;
    font-size: 13px;
    margin-top: 10px;
  }
  #nav-header-top .smallbox {
    display: none;
  }
  #nav-header-top .nav-fb {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  #nav-header {
    width: 100%;
  }
  #nav-header .nav-smartphone.nav-header-search {
    width: calc(100% - 122px);
  }
  #nav-header .nav-smartphone.nav-header-search i {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 28px;
  }
  #nav-header .nav-smartphone-searchform input {
    width: calc(100% - 90px);
    font-size: 16px;
  }
  #nav-header-top .bigbox {
    width: 100%;
  }
  #nav-header-top .nav-header-element {
    width: 100%;
  }
  #nav-header-top .nav-header-element .teaserbox-active {
    width: 100%;
    padding: 10px calc((100% - 140px)/2);
  }
  #nav-header-top .nav-header-submenu {
    width: 100%;
    height: auto;
  }
}
