
/* Menu Styles */


.primary-nav {
  position: fixed;
  z-index: 995;
}

.menu { position: relative; }

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.open-panel {
  border: none;
  background-color: #303C3E;
  padding: 0;
}

.hamburger {
  background: #303C3E;
  position: relative;
  display: block;
  text-align: center;  
  width: 40px;
  height: 40px;
  left: 0;
  top: 0;
  z-index: 1000;
  cursor: pointer;
}

.hamburger:before {
  content: "\2630"; /* hamburger icon */
  display: block;
  color: #FFF;
  line-height: 32px;
  font-size: 18px;
  padding: 4px 0px 0px 0px;
}

.openNav .hamburger:before {
  content: "\2715"; /* close icon */
  display: block;
  color: #FFF;
  line-height: 32px;
  font-size: 18px;
}

.hamburger:hover:before { color: #DDD; }

.primary-nav .menu li { position: relative; }

.menu .icon {
  position: absolute;
  top: 12px;
  right: 10px;
  pointer-events: none;
  width: 24px;
  height: 24px;
  color: #FFF;  
}

.menu, .menu a, .menu a:visited {
  color: #EEE;
  text-decoration: none!important;
  position: relative;
}

.menu a {
  display: block;
  white-space: nowrap;
  padding: 1em;
  font-size: 14px;
}

.menu a:hover { color: #fff; }

.menu { margin-bottom: 3em; }

.menu-dropdown li .icon .material-icons { color: #EEE; }
/*.menu-dropdown li li .icon { color: #777; }*/
/*.menu-dropdown li li li .icon { color: #777; }*/
.sub-menu-dropdown3 > li > a > .icon > .material-icons{ color: #eee; }

.menu-dropdown > li:hover > .icon > .material-icons{ color: #fff; }
.sub-menu-dropdown > li:hover > .icon > .material-icons{ color: #fff; }
.sub-menu-dropdown2 > li:hover > .icon > .material-icons{ color: #fff; }
.sub-menu-dropdown3 > li:hover > a > .icon > .material-icons{ color: #fff; }


.menu-hasdropdown a{
    padding-top: 11px;
    padding-bottom: 11px;
}

.menu-hasdropdown2 a{
    padding-top: 7px;
    padding-bottom: 7px;
}

.menu-hasdropdown3 a{
    padding-top: 5px;
    padding-bottom: 5px;
}



/*Für Ebene 3 andere Schriftfarbe*/
.sub-menu-dropdown3, .sub-menu-dropdown3 a, .sub-menu-dropdown3 a:visited  { 
    color: #eee; 
    text-decoration: none!important;
    position: relative;
}

.sub-menu-dropdown3 a:hover { color: #fff; } 


.menu label {
  margin-bottom: 0;
  display: block;
}

.menu label:hover { cursor: pointer; }

.menu input[type="checkbox"] { display: none; }

input#menu[type="checkbox"] { display: none; }

.sub-menu-dropdown { display: none; }
.sub-menu-dropdown2 { display: none; }
.sub-menu-dropdown3 { display: none; }

.new-wrapper {
   position: fixed;
  left:  40px;
  top: 40px;
  width: calc(100% - 40px);
  transition: transform .45s cubic-bezier(0.77, 0, 0.175, 1);
}

#menu:checked + ul.menu-dropdown {
  left: 0;
  -webkit-animation: all .45s cubic-bezier(0.77, 0, 0.175, 1);
  animation: all .45s cubic-bezier(0.77, 0, 0.175, 1);
}

.sub-menu-checkbox:checked + ul.sub-menu-dropdown {
  display: block!important;
  -webkit-animation: grow .45s cubic-bezier(0.77, 0, 0.175, 1);
  animation: grow .45s cubic-bezier(0.77, 0, 0.175, 1);
}

.sub-menu-checkbox2:checked + ul.sub-menu-dropdown2 {
  display: block!important;
  -webkit-animation: grow .45s cubic-bezier(0.77, 0, 0.175, 1);
  animation: grow .45s cubic-bezier(0.77, 0, 0.175, 1);
}

.sub-menu-checkbox3:checked + ul.sub-menu-dropdown3 {
  display: block!important;
  -webkit-animation: grow .45s cubic-bezier(0.77, 0, 0.175, 1);
  animation: grow .45s cubic-bezier(0.77, 0, 0.175, 1);
}

.openNav .new-wrapper {
  position: absolute;
  transform: translate3d(200px, 0, 0);
  width: calc(100% - 240px);
  transition: transform .45s cubic-bezier(0.77, 0, 0.175, 1);
}

.downarrow {
  background: transparent;
  position: absolute;
  right: 40px;
  top: 12px;
  width: 24px;
  height: 24px;
  text-align: center;
  display: block;
}

.downarrow .material-icons { color: #EEE; }

.downarrow:hover .material-icons { color: #fff; }

.menu {
  position: absolute;
  display: block;
  left: -200px;
  top: 0;
  width: 240px;
  transition: all 0.45s cubic-bezier(0.77, 0, 0.175, 1);
  background-color: #3D4F51;
  z-index: 999;
}

.menu-dropdown {
  top: 0;
  overflow-y: auto;
}

.overflow-container {
  position: relative;
  height: calc(100vh - 40px)!important;
  overflow-y: auto;
  border-top: 40px solid #fff;
  z-index: -1;
  display: block;
}

.menu a.logotype {
  position: absolute!important;
  top: 0px;
  left: 55px;
  display: block;
  font-family: 'Work Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  color: #000;
  font-size: 21px;
  padding: 10px;
}

.menu a.logotype span { font-weight: 400; }

.menu a.logotype:hover { color: #777; }

.sub-menu-dropdown  { background-color: #5B7477; }    	
.sub-menu-dropdown2 { background-color: #688588; }		
.sub-menu-dropdown3 { background-color: #759397; }		


.menu:hover {
  position: absolute;
  left: 0;
  top: 0;
}

.openNav .menu:hover {
  position: absolute;
  left: -200px;
}

.openNav .menu {
  transform: translate3d(200px, 0, 0);
  transition: transform .45s cubic-bezier(0.77, 0, 0.175, 1);
}
	
/* Bei beiden stand vorher top: 73px?? */



/* Farben von Peter Breuer?? */
.white{
    color: white;
}

.black {
    color: black;
}


/* look and feel only, not needed for core menu*/

@-webkit-keyframes 
grow {  0% {
 display: none;
 opacity: 0;
}
 50% {
 display: block;
 opacity: 0.5;
}
 100% {
 opacity: 1;
}
}
 @keyframes 
grow {  0% {
 display: none;
 opacity: 0;
}
 50% {
 display: block;
 opacity: 0.5;
}
 100% {
 opacity: 1
}
}
