a[href^="#"] {
  /* Formatierungen für seiteninterne Verweise */
}
.navi {
  width: 100%;
  margin-bottom: 35px;
  z-index: 10000000;
   background: #f3f5f7;
  margin-top: 192px;
  height: 77px;
}


@media (max-width: 768px) {
  .navi {
   
    height: 0;
  }
}

.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: 767px) {
/* 1. Add an icon to menu items that have sub menus */
.has-dropdown::after {
  font-size: 32px;
  position: absolute;
  top: 0;
  right: 1rem;
  bottom: 0;
  content: "+";
  /* 1 */
  color: #2F6299;
  padding: 0 30px;
}

.has-dropdown.act::after, .has-dropdown.act>.has-dropdown:hover::after {
  font-size: 32px;
  position: absolute;
  top: 0;
  right: 1rem;
  bottom: 0;
  content: "+";
  color: #fff;
  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 {
  margin-top: 60px;
}

.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: 0px;
  margin-left: 0px;
  margin-bottom: 0;
}

#nav ul li a {
  color: #000;
  display: block;

  font-weight: 400;
  font-size: 20px;
  font-weight: normal;
  padding: 13px 8px 12px;
  text-align: left;
  text-decoration: none;
  margin: 10px;
  margin-bottom: 0;
  letter-spacing: 0.4px;


/* background: #7C715F; */

}

.nav-menu>li>a {
  color: rgb(94,94,93);
}

.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: #224385;
  opacity: 1;
}

.nav-menu>li>a:hover .bar {

  opacity: 1;
}

#nav ul li.last {
  border-right: none;
  position: absolute;
  right: 0;
}

#nav ul li.last a {
  font-weight: 600;
}


#nav ul li ul li a:hover {
color:#fff;
}

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

#nav ul li.logo a {
  font-size: 1px;
  color: #fff;
  display: block;
  height: 60px;
}

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

#nav ul li a:hover {
 color: #fff;
 background: #2F6299;
}

#nav ul li.act a, #nav ul li.act.has-dropdown a {
  color: #fff; background: #2F6299;

}

#nav ul li.act a {
 color: #fff; background: #2F6299;
}

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

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

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

a.act;

li .act a {
  color: #fff !important;
}

#nav ul li ul li {
  padding-left: 0px;
  margin-right: 0;
  background: #2F6299;
  border-bottom: 0px solid #fff;
  margin-left: 0;
  margin-bottom: 0;
  list-style-type: none !important;
}


#nav ul li ul li.act {
  background: #21466c; !important;
}

#nav ul li ul li:hover {
  margin-right: 0;
  background: #21466c;
  border-bottom: 0px solid #fff;
}


#nav ul li ul li a {
  font-size: 17px;
  text-transform: none;
  font-weight: 500;
  padding-left: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin: 0;
  margin-bottom: 1px;
  color: #fff;
}

.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: 15px;
    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: 17px;
  }

  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: 870px) {
  #nav ul li a {
    font-size: 15px;
    margin-left: 2px;
  }
}

@media (max-width: 767px) {

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

  ul.language-menu {
    position: absolute;
    right: 0px;
    top: -80px;
    z-index: 1000000000000;
    padding: 0;
  }

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

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

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



  .nav.fixed {
      position: absolute;
     top: -22px!important;
      width: 15%;
  }



  #nav ul {
    margin-top: 0px;
    /* float: left; */
    margin-right: 0px;
    width: 100%;
    position: unset;
    background: #fff;
    margin-left: 0;

  }

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

  #nav ul li a {
    font-size: 18px;
    margin-left: 2px;
    padding: 10px;
    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: 16px;
  }

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

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

@media (min-width: 767px) {
  .nav, .nav-container, .nav-container.is-visible {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1000000000;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);

    display: table;
text-align: center;
/* background-color: hsla(205, 21%, 89%, 0.364); */
  }

  #nav ul {

  margin-left: 9px;
  display: inline-block;
  }



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

  /* 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);
  }

  .nav-dropdown {
    background-color: transparent;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
    color: #000;
    display: block;
    margin: 0 !important;
    opacity: 0;
    padding: 0.8rem 0;
    position: absolute;
    top: 67px;
    -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: 190px;
    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;
  }

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

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