
/*----------------------------------------------------
CSS Navigation

Version: 1.0
Erstellt von: Nezzgo

Inhalt: Konfiguration aller Navigationen

Letzte Aenderung: 
Kommentar: 
-----------------------------------------------------*/

/* Rootline */
#rootline {
text-align:left;
margin-bottom: 5px;
}
#rootline ol {
  margin:0px;
  padding:0px;
}
#rootline ol li {
  display: inline;
  font-size: 90%;
  margin:0px;
  padding: 0 5px 0 0;
}

div#rootline ol li a {
  color: #08086A;
  text-decoration: none;
}
    
div#rootline ol li a:hover { 
  text-decoration: underline;
}

/* Hauptmenü mobiler Aufklappbereich */

.main-menu-btn {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: 28px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
margin-left: 20px;
}
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
  position: absolute;
  top: 30%;
  left: 0px;
  height: 2px;
  width: 34px;
  background: #0D0D6E;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
font-weight: bold !important;
}
.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}
.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* hide menu state checkbox offscreen (so it stays visible to screen readers) */
#main-menu-state {
  position: absolute;
  top: -99999px;
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}
#main-menu-state:checked ~ #main-menu {
  display: block;
}
@media (min-width: 768px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}