a[href^="#"] {
  /* Formatierungen für seiteninterne Verweise 1*/
}

.top-nav-container {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000000000;
}

.top-nav-container ul {
  height: 30px;
  margin: 0;
  padding: 0;
  padding-top: 28px;
}

.top-nav-container li {
  list-style-type: none;
  margin-right: 14px;
  float: left;
}

.top-nav-container li a {
  color: #000;
  font-size: 14px;
}

.top-lang-container {
  position: absolute;
  right: 0;
  top: 0;
}

.top-lang-container {
  height: 30px;
}

.top-lang-container ul {
  height: 30px;
  margin: 0;
  padding: 0;
  padding-top: 28px;
}

.top-lang-container li {
  list-style-type: none;
  margin-left: 20px;
  float: left;
}
.top-lang-container li.active a{
font-weight: bold;
}

.top-lang-container li a {
  color: #000;
  font-size: 14px;
}

.navi {
  width: 100%;
  /* margin-bottom: 60px; */
  z-index: 10000000;
  background: #fff;
}

.container-nav {
  /* display: block;
  width: 100%;
  float: left;
  height: 31px; */
}

/* Content wrapper */
.wrapper {
  /* width: 94%; */
  /* max-width: 1140px; */
  margin: 0 auto;
}

.wrapper-small {
  max-width: 728px;
}

.wrapper-flush {
  width: 100%;
}

/* Navigation Logo */
/**
 * Navigation
 */
.logooben {
  margin-top: 0px;
  /* width: 150px */
}

.nav {
  /* position: fixed; */
  top: 80px;
  left: 0;
  width: 100%;
  /*z-index: 10000;*/
  background-color: transparent;
}

/**
* Nav container
* 1. Ensure this slides in below parent
* 2. Hide by default
* 3. Smoother scrolling experience on iOS
*/
.nav-container {
  position: fixed;
  top: 60px;
  /* 1 */
  left: 0;
  z-index: 9999;
  overflow-y: auto;
  visibility: hidden;
  /* 2 */
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  /* 2 */
  -webkit-overflow-scrolling: touch;
  /* 3 */
}

/* 1. Show when `.is-visible` class is added */
.nav-container.is-visible {
  visibility: visible;
  /* 1 */
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  /* 1 */
}

/* Nav toggle */
.nav-toggle {
  line-height: 1;
  display: inline-block;
  padding: 1.25rem 1rem;
  border: 0;
  background-color: #10384f;
}

/* Nav toggle icon */
.nav-toggle .icon-menu {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 20px;
  vertical-align: middle;
  fill: none;
}

/* Nav toggle icon lines */
.icon-menu .line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 4px;
  -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
  background-color: #fff;
}

/* Nav toggle icon line 1 */
.icon-menu .line-1 {
  top: 0;
}

/* When active, rotate line 1 to be lefthand part of X */
.is-active .icon-menu .line-1 {
  -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
  -ms-transform: translateY(8px) translateX(0) rotate(45deg);
  transform: translateY(8px) translateX(0) rotate(45deg);
}

/* Nav toggle icon line 2 */
.icon-menu .line-2 {
  top: 50%;
  margin-top: -2px;
}

/* When active, hide line 2 */
.is-active .icon-menu .line-2 {
  opacity: 0;
}

/* Nav toggle icon line 3 */
.icon-menu .line-3 {
  bottom: 0;
}

/* When active, rotate line 3 to be righthand part of X */
.is-active .icon-menu .line-3 {
  -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
  -ms-transform: translateY(-8px) translateX(0) rotate(-45deg);
  transform: translateY(-8px) translateX(0) rotate(-45deg);
}

/* Remove default list styles for menus */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/**
* 1. Give menu a lighter background than its container
* 2. Prevent menu text from being accidentally highlighted
*/
.nav-menu {
  /* background-color: #fff; */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* 2 */
}

/* Give menu items a top border */
.nav-menu .menu-item {
  border-top: 0px solid #888;
}

/* Give last menu item a bottom border */
.nav-menu>.menu-item:last-child {
  border-bottom: 0px solid #888;
}

/* Darker background color on hover, and when toggled */
.nav-menu>.menu-item:hover, .nav-menu>.menu-item.is-active {
  color: rgb(204, 0, 0);
}

/* 1. Menu links are block level, by default */
.nav-menu .menu-link {
  display: block;
  /* 1 */
  text-decoration: none;
  color: #fff;
  padding: 0.75rem 1rem;
}

/* 1. Menu items with dropdowns appear clickable */
.has-dropdown {
  position: relative;
  cursor: pointer;
  /* 1 */
}

/* 1. Parent menu links inlined so you can toggle the dropdown */
.has-dropdown>.menu-link {
  display: inline-block;
}

@media (max-width: 900px) {
  .top-nav-container {
    position: absolute;
    left: 58px;
    top: 11px;
  }

  /* 1. Add an icon to menu items that have sub menus */
  .has-dropdown:after {
    font-size: 32px;
  position: absolute;
  top: 10px;
  right: 1rem;
  bottom: 0;
  content: "+";
  color: #000;
  padding: 0 30px;
  }

  .has-dropdown.act:after {
    font-size: 32px;
  position: absolute;
  top: 10px;
  right: 1rem;
  bottom: 0;
  content: "+";
  color: #000;
  padding: 0 30px;
  }
}

/* 1. Switch icon to n-dash when toggled */
.has-dropdown.is-active:after {
  content: "\2013";
  /* 1 */
}

/**
 * Dropdowns
 * 1. Hide dropdowns by default
 */
.nav-dropdown {
  display: none;
  /* 1 */
  background-color: #fff;
  color: #fff;
}

/* 1. Show dropdown when toggled */
.has-dropdown.is-active>.nav-dropdown {
  display: block;
  /* 1 */
}

/* 2nd level dropdown */
.nav-dropdown .nav-dropdown {
  background-color: #fff;
}

.nav-dropdown .menu-item {
  border-color: #fff;
}

.nav-dropdown .nav-dropdown .menu-item {
  background-color: #fff;
  border-color: #fff;
}

/* Main content area */

.content .wrapper {
  padding: 1rem 0;
}

.navmax {
  height: auto;
  width: auto;
  margin: auto;
}

@media (min-width: 1140px) {
  .navmax {
    height: auto;
    width: 1140px;
    margin: auto;
  }
}

/* navkram */
nav {
  background: transparent none repeat scroll 0 0;
  width: 91%;
  z-index: 1000000000;
  background: #fff;
  position: absolute;
}

nav.fixed .shadow {
  background-position: 10px center;
  background-repeat: no-repeat;
  background-size: 30px auto;
  box-shadow: 0 8px 6px -6px #888;
}

#navtop {
  position: absolute;
  top: 23px;
  right: 15px;
  width: auto;
  height: 50px;
}

span.trenner {
  padding: 0 10px;
  color: rgb(94, 94, 93);
  float: left;
}

#navtop ul {}

#navtop ul li {
  list-style-type: none;
  margin-left: 15px;
  text-align: right;
}

#navtop ul li a:hover {
  color: #fff;
  text-decoration: none;
}

/*nav unten*/
#nav {
  width: 100%;
  /* height: 45px; */
  color: #fff;
  margin-right: 0px;
}

#nav ul {
  /* margin-top:2px;
  float: right;
  margin-right: 0px;
  position: absolute;
  left: 10px;
  width: 89%;
max-width: 1140px; */
  margin-left: 9px;
  /* display: inline-block; */
}

#nav ul li {
  list-style-type: none;
  vertical-align: baseline;
  margin-right: 36px;
  margin-left: 0px;
  margin-bottom: 0;padding-left: 0;
}

#nav ul li a {
  color: #000;
  display: block;
  font-weight: 400;
  font-size: 25px;
  font-weight: normal;
  padding: 8px 4px;
  text-align: left;
  text-decoration: none;
  /* margin: 0px 30px 10px 0; */
  /* margin-left: 0;
  margin-right: 30px; */
  letter-spacing: 1.5px;

  background: #fff;
}


.nav-menu>li>a {
  color: #B7BF10;
}

.nav-menu>li>a .bar {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 0px;
  background: #d8e5ed;
  opacity: 0;
  -webkit-transition: top .19s ease-in-out 0s, opacity .25s ease-in-out;
  -o-transition: top .19s ease-in-out 0s, opacity .25s ease-in-out;
  transition: top .19s ease-in-out 0s, opacity .25s ease-in-out;
}

.nav-menu>li.act>a .bar {
  background: #fff;
  opacity: 1;
}

.nav-menu>li>a:hover .bar {
  opacity: 1;
}

/* #6A6A6A
#006380
#B7BF10 */
#nav ul li ul li a:hover {
  color: #6A6A6A;
}

#nav ul li.has-dropdown a {
  /* color:#6A6A6A; */
}

#nav ul li a:hover {
  color: #6A6A6A;
  background: transparent;
}

#nav ul li.act a, #nav ul li.act.has-dropdown a {
  color: #6A6A6A;
  background: transparent;
}

#nav ul li.act a {
  color: #6A6A6A;
  background: transparent;
}

#nav ul li.act ul li.menu-item a {
  background: transparent;
  color: #000;
}

#nav ul li.act ul li.act a, {
  background: transparent;
  color: #000;
}

#nav ul li.act ul li a:hover {
  color: #6A6A6A;
}

/* first-item */
#nav ul li ul li.first-item a:hover {
  color: #006380;
}

#nav ul li.first-item.has-dropdown a {
  /* color:#006380; */
}

#nav ul li.first-item a:hover {
  color: fff;
  background: #8cc63f;
}

#nav ul li.first-item.act a, #nav ul li.first-item.act.has-dropdown a {
  color: #006380;
  background: transparent;
}

#nav ul li.first-item.act a {
  color: #006380;
  background: transparent;
}

#nav ul li.act ul li.menu-item a {
  background: transparent;
  color: #000;
}

#nav ul li.act ul li.act a, {
  background: transparent;
  color: #000;
}

#nav ul li.first-item.act ul li a:hover {
  color: #006380;
}



/* second-item */
#nav ul li ul li.second-item a:hover {
  color: #B7BF10;
}

#nav ul li.second-item.has-dropdown a {
  /* color:#B7BF10; */
}

#nav ul li.second-item a:hover {
  color: #B7BF10;
  background: transparent;
}

#nav ul li.second-item.act a, #nav ul li.second-item.act.has-dropdown a {
  color: #B7BF10;
  background: transparent;
}

#nav ul li.second-item.act a {
  color: #B7BF10;
  background: transparent;
}

#nav ul li.act ul li.menu-item a {
  background: transparent!important;color: #000!important;
}

#nav ul li.act ul li.act a, {
  background: transparent;
  color: #000;
}

#nav ul li.second-item.act ul li a:hover {
  color: #B7BF10;
}

/* a.act; */
li .act a {
  color: #B7BF10 !important;
}




#nav ul li ul li {
  padding-left: 0px;
  margin-right: 0;
  background: #fff;
  border-bottom: 0px solid #fff;
  margin-left: 0;
  margin-bottom: 0;
  list-style-type: none !important;
  border-radius: 8px;
  border: 0px solid #6A6A6A;
  background: transparent;
}

#nav ul li ul li.act {
  /* background: #2F6299; !important; */
}

#nav ul li ul li:hover {
  margin-right: 0;
  /* background: #2F6299; */
  border-bottom: 0px solid #fff;
}

#nav ul li ul li a {
  font-size: 18px !important;
  color: #494949;
  text-transform: none;
  font-weight: 400;
  padding-left: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin: 0;
  margin-bottom: 1px;
  letter-spacing: normal;
  background: transparent;
}

.nav-metaNav {
  width: 120px;
  height: 160px;
  float: right;
  margin-top: 80px;
  margin-right: 20px;
}

.nav-metaNav li {
  list-style-type: none;
  text-align: right;
  margin-bottom: 4px;
}

.nav-metaNav li a {
  color: #fff;
  font-size: 14px;
}

.nav-metaNav li.bbold a {
  font-size: 17px;
}


  @media (max-width: 890px) {
    #nav ul li a {
      font-size: 18px;
      margin-left: 10px;
    }

    #nav ul li {
      list-style-type: none;
      vertical-align: baseline;
      margin-right: 0px;
      margin-left: 12px;
    }

    ul.language-menu li a {
      font-size: 15px;
    }
    /* .top-lang-container {
        position: absolute;
        right: 0;
        top: -16px;
    } */

    ul.language-menu li {
      margin-right: 15px;
    }

    .header img {
      /* margin-top: 20px; */
    }

    h1 {
      font-size: 30px;
      line-height: 40px;
    }

    h2 {
      font-size: 28px;
    }
  }
  @media (max-width: 900px) {
    .top-lang-container {
      position: absolute;
  z-index: 10000000000;
    }

    ul.language-menu {
      position: relative;
      float: left;
      margin-left: 39px;
      margin-top: 8px;
      padding: 0;
    }
  }
  @media (max-width: 870px) {
    #nav ul li a {
      font-size: 18px;
      /* margin-left: 2px; */
    }
  }

  @media (max-width: 900px) {
    .navi {

top:0 !important;left:0 !important;
}


    #nav ul li.last {
      width: 15%;
    }

    #nav ul li.last {
      display: none;
    }

    .topnav {
      /* top: 0px; */
      /* z-index: 10000000000000000; */
      position: relative;
    }

    .farbe, .flb.farbe {
      width: 100%;
      height: 28px;
      background: none;
      margin-bottom: 0px;
      border-bottom: 0px solid #70797E;
      position: absolute;
      top: 0;
    }

    .head-oben {
      height: 150px;
    }

    #nav ul li ul li:hover {
      padding-left: 0px;
      margin-right: 0;
      /* background: rgba(256, 256, 256, 1); */
      border-bottom: 0px solid #224385;
    }

    #nav ul li ul li {
      padding-left: 0px;
      margin-right: 0;
      /* background: rgba(256, 256, 256, 0.8); */
      border-bottom: 0px solid #999;
      margin-left: 0;
    }

    .text-muted {
      color: #777;
      font-size: 17px;
      padding-top: 0px;
    }

    .nav-container {
      position: fixed;
      top: 62px;
    }

    nav {
      /* width: 100%; */
    }

    .nav {
      position: absolute;
      top: 0px;
      width: 15%;
    }

    .nav.fixed {
      /* position: absolute;
      top: -79px;
      width: 15%; */
    }

    #nav ul {
      margin-top: 20px;
      /* float: left; */
      margin-right: 0px;
      width: 100%;
      position: unset;
      background: #fff;
      margin-left: 0;
    }
  #nav ul li ul {
  margin-top: 0px;
  }
    #nav ul li {
      list-style-type: none;
      vertical-align: baseline;
      margin-right: 0px;
      margin-left: 0px;
      padding-left: 20px;
      clear: both;
    }

    #nav ul li a {
      font-size: 18px;
      margin-left: 2px;
      padding: 16px;
      margin: 1px 0;
    }

    .nav.fixed ul li a {
      font-size: 18px !important;
      margin-left: 2px !important;
      padding: 16px !important;
      margin: 1px 0 !important;
    }

    span.bar {
      display: none;
    }

    .navopen {
      /* padding-right: 0px;
    padding-left: 0px;  */
    }

    #nav ul li ul li a {
      font-size: 14px;
      text-transform: none;
      font-weight: 500;
      padding-left: 10px;
      padding-top: 12px;
      padding-bottom: 12px;
    }

    #nav ul li ul li a:hover {
      color: #000;
      border-bottom: 0px solid #999;
      margin: 0;
    }

    #nav ul li ul li {
      padding-left: 0px;
      margin-right: 0;
      /* background: rgba(256, 256, 256, 0.8); */
      border-bottom: 0px solid #999;
      margin-left: 0;
    }

    /* #nav ul li.logo {
    float: none;
    background-image: none;
    width: 100%;
    height: 50px;
    display: block;
    border-top: 1px solid #000;
  }

  #nav ul li.logo a {
    font-size: 18px;
    color: #fff;
    display: block;
  } */
    .weiss {
      background: #fff;
      margin-top: 0px;
    }

    button, html input[type="button"], input[type="reset"], input[type="submit"] {
      -webkit-appearance: button;
      cursor: pointer;
    }

    ul li ul.nav-dropdown {
      display: none;
    }

    ul li ul.nav-dropdown .is-visible {
      display: block;
    }
  }

  @media only screen and (max-width: 916px) and (min-width: 767px) {
    #nav ul li a {
      font-size: 18px;
    }

    #nav ul li {
      margin-left: 8px;
    }
  }

  @media (max-width: 765px) {
.nav {
  top: 201px;
}
@media (max-width: 670px) {
.logo {
  margin-left: 0px;
  width: 257px;
  margin-left: 80px;
  }
}


  }
  @media (max-width: 1024px) {
    #nav ul li a {

        font-size: 18px;
      }

  }

  @media (min-width: 900px) {
    ul.nav-menu li.act ul.nav-dropdown {
      display:none!important;
    }
    .nav, .nav-container, .nav-container.is-visible {
      position: relative;
      top: auto;
      left: auto;
      z-index: 1000;
      -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
      transform: translateX(0);
      display: table;
      /* text-align: center; */
    }

    #nav ul.nav-menu {
      margin-left: 0px;
      display: inline-block;width: 100%;
    }

    .nav-container, .nav-container.is-visible {
      visibility: visible;
      height: auto;
      min-height: 0;
      overflow-y: visible;
    }

    .nav-toggle {
      display: none;
    }

    /* 1. Display menu items inline */
    .nav-menu>.menu-item, .nav-menu>.menu-item.is-active {
      /* display: inline-block; */
      float: left;
      /* 1 */
      background-color: transparent;
      border: 0;
    }

    /* Remove bottom border on last child */
    .nav-menu>.menu-item:last-child {
      border: 0;
    }

    .nav-menu .menu-item {
      -webkit-transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
      transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
      position: relative;
      width: 29%;
    }


ul.nav-dropdown li {
  width: auto!important;
}


    /* Remove +/- icons */
    .has-dropdown:after {
      content: "" !important;
    }

    /* Add a caret to top-level menu items that have dropdowns */
    .nav-menu>.has-dropdown:after {
      /* position: absolute;
    top: 50%;
    right: 1rem;
    width: 0;
    height: 0;
    margin-top: -2px;
    margin-left: -4px;
    content: "";
    border-width: 5px 5px 0 5px;
 border-style: solid;
    border-color: #444 transparent transparent transparent; */
    }

    /* Increase padding to compensate for caret */
    .has-dropdown>.menu-link {
      padding-right: 2rem;
    }

    /* Re-style dropdowns for larger screens */
    ul.nav-dropdown {
      z-index: 1000000000;
      padding-top: 0px;
      padding-bottom: 0;
      background: rgba(256, 256, 256, 0.85);
      border: 0px solid #6A6A6A;
      border-radius: 0px;
     /*  padding: 15px 10px; */
    }

    #nav ul li.first-item ul.nav-dropdown {
      border: 0px solid #006380;
    }

    #nav ul li.second-item ul.nav-dropdown {
      border: 0px solid #B7BF10;
    }

    .nav-dropdown {
      box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
      display: block;
      margin: 0 !important;
      opacity: 0;
      padding: 0.8rem 0;
      position: absolute;
      top: 59px;
      -webkit-transition: visibility 0s linear 0.25s, opacity 0.25s linear;
      transition-property: visibility, opacity;
      transition-duration: 0s, 0.25s;
      transition-timing-function: linear, linear;
      transition-delay: 0.25s, 0s;
      transition: visibility 0s linear 0.25s, opacity 0.25s linear 0s;
      transition-delay: 0.25s, 0s;
      visibility: hidden;
      width: 230px;
      left: 10px;
    }

    .has-dropdown:hover>.nav-dropdown {
      visibility: visible;
      opacity: 1;
      -webkit-transition-delay: 0s;
      transition-delay: 0s;
    }

    .nav-dropdown .menu-item {
      border: 0;
    }

    .nav-dropdown .menu-item:hover, .nav-dropdown .nav-dropdown .menu-item:hover {
      background-color: #fff;
      color: red;
    }

    .nav-dropdown .nav-dropdown, .nav-dropdown .nav-dropdown .menu-item {
      /* background-color: #555; */
    }

    .nav-dropdown .nav-dropdown {
      z-index: 9998;
      top: 0;
      left: -100%;
    }
  }


  li.first-item a {
    color: #8cc63f !important;
    background: transparent;
  }
  li.first-item a:hover, li.act.first-item a {
    color: #fff !important;
    background: #8cc63f!important;
  }
  li.first-item {
    border-bottom: 4px solid #8cc63f!important;
  }

  li.second-item a {
    color: #f7931e !important;
    background: transparent;
  }
  li.second-item a:hover, li.act.second-item a {
    color: #fff !important;
    background: #f7931e!important;
  }
  li.second-item {
    border-bottom: 4px solid #f7931e !important;
  }

  li.thirt-item a {
    color: #ed1e79 !important;
    background: transparent;
  }
  li.thirt-item a:hover, li.act.thirt-item a {
    color: #fff !important;
    background: #ed1e79!important;
  }

  li.thirt-item {
    border-bottom: 4px solid #ed1e79!important;
  }
  

  ul.nav-dropdown 