/*@import url(http://fonts.googleapis.com/css?family=Open+Sans);*/
#navi_heading {
  color: white;
  padding-left: 5rem;
  font-size: 1.3em;
  font-weight: normal;
}
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1.0em;
/*  line-height: auto;*/
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu > ul {
	float: right; 
	margin-top: 8px;
  border-right:  2px solid white;
  max-width: 230px;

}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: auto;
  padding-bottom: 2em;
/*    line-height: 1;
font-family: 'Open Sans', sans-serif;
  background: #ffffff;*/
}
#cssmenu .open {
/*	background-color:#eee;*/
	/*z-index: 9999;*/
  z-index: 98;
}

#menu-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: #009ae1;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
#cssmenu > ul > li {
  /*loat: left;*/
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  font-size: 1.0rem;
 /* padding: 15px;*/
  padding: 0.8rem 0.5rem 0.8rem 2.0rem;
  /*color: #666;*/
  font-weight: bold;
  text-decoration: none;
  /*text-transform: uppercase;*/
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;

}
@media only screen and (min-width: 768px) {
	#cssmenu > ul > li > a {
  		padding: 0.8rem 0.5rem 0.7rem 0.5rem;
	}
	#cssmenu > ul {
		float: left; 
		margin-top:16px;
	}
}
#cssmenu > ul > li > a {
  padding-left: 5em;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a,
#cssmenu  ul ul li.active > a,
#cssmenu ul li > ul > li:hover > a {
  color: #111;
  background: linear-gradient(to right, rgba(70, 181, 212, 1) 40%,rgba(240,240,240,1) 100%);
  background: linear-gradient(to right, rgba(205, 242, 255,1) 0%,rgb(255, 255, 255) 90%);
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 24px;
}
#cssmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 18px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #333;
  border-right: 2px solid #333;
  /*content: "";*/
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #000;
}
#cssmenu ul ul {
  position: absolute;
  /*min-height: 160px;*/
  max-width: 300px;
  border-left: 2px solid white;
  border-right: 2px solid white;
  left: -9999px;
  z-index:999;
}

@media screen and (min-width: 769px) {

  #cssmenu li.not_open > ul {
    left:-9999px !important; 
  }
  #cssmenu li.open > ul, #cssmenu li.active.open > ul {
    left: 100%;
  }
  #cssmenu li.open:nth-child(1) > ul {
    top: 0;
  }
  #cssmenu li.open:nth-child(2) > ul {
    top: -100%;
  }
  #cssmenu li.open:nth-child(3) > ul {
    top: -200%;
  }
  #cssmenu li.open:nth-child(4) > ul {
    top: -300%;
  }
}

/*PF2211 29-10-2015 CSS um Menüs nach links aufgehen zu lassen*/

#cssmenu li.togglesub:hover > .submenu,
#cssmenu .submenu li.has-sub:hover > ul{
  left: -384px !important;
  width: 192px;
}

@media only screen and (min-width: 769px) {
  #cssmenu li.has-sub .submenu, #cssmenu > ul > li.has-sub ul {
    height: 160px;
  } 
}



#cssmenu ul ul ul {
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul li {
  /*height: 0;*/
  height: auto;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
}
#cssmenu ul ul li.searchnav {
	margin-left: -115px;
}
/*#cssmenu ul li:hover > ul > li {*/
/*  height: auto;*/
/*  background-color:#eee;*/
  /*height: 2.8rem;*/
/*}*/
#cssmenu ul ul li a {
  /*padding: 1rem  1.5rem;*/
  padding: 0.8rem 0.5rem 0.85rem 0.5rem;
  min-width: 12rem;
  font-size: 0.85rem;
  /*background: #333333;
  background: #efefef;*/
  text-decoration: none;
  /*color: #dddddd;*/
  /*color: #666;*/
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;

}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  /*color: #ffffff;*/
  color: #000;
  font-weight:bold;
}
#cssmenu  ul ul li.active {
/*	border-top: 1px solid #333;
	border-bottom:  1px solid #333;
	background-color: #273890;*/
}

#cssmenu  ul ul li.active > a {
	/*background-color: #273890;*/
  color: #111;
}

#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 16px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #FFF;
  border-right: 2px solid #FFF;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}

/*PF2211 29-10-2015 Pfeile nach links*/

#cssmenu .togglesub li.has-sub > a::after{
  right: inherit;
  left: 10px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#cssmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #014B96;
  border-left: 1px solid #014B96;
}
#cssmenu ul ul li.active > a::after, #cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #000;
}


/* Kundenlogin 
#cssmenu li.kundenlogin a {
	border:0px solid red;
    background: url(/layout/login-icon-blue.svg) no-repeat 1.5rem 0.95rem;
    background-size: 16px 16px;
	padding-left:2.5rem;
  }
*/



/*
#cssmenu ul ul li a { 
     border-bottom:1px solid #ccc;
}
*/
@media only screen and (max-width: 768px) {
/*@media all and (max-width: 768px), 
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), 
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), 
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), 
only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), 
only screen and (min-resolution: 192dpi) and (max-width: 1024px), 
only screen and (min-resolution: 2dppx) and (max-width: 1024px) {*/



  #cssmenu {
    width: 100%;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
	/*margin:0;*/
  }
  #cssmenu.align-center > ul,
  #cssmenu.align-right ul ul {
    text-align: left;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(120, 120, 120, 0.15);
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
  }
  #cssmenu > ul > li,
  #cssmenu.align-center > ul > li,
  #cssmenu.align-right > ul > li {
    /*float: none;*/
    display: block;
  }
  #cssmenu ul ul li a {
    /*padding: 20px 20px 20px 40px;*/
	padding-left: 50px;
    color: #666;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #000;
  }
  #cssmenu ul ul ul li a {
    padding-left: 60px;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
	padding-top:0;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  
  #cssmenu > ul > li.has-sub > a {
    padding-right: 60px;
}
  
  
  #cssmenu ul ul ul ul li a {
    padding-left: 80px;
  }

  #menu-line {
    display: none;
  }
  #cssmenu #menu-button {
    display: block;
	/*margin: 0.5rem 1.5rem 0.2rem 12rem; RZ 11,10,2015*/
	margin: 0rem 1.5rem 1rem 12rem;
    /*padding: 20px;*/
	padding: 3.0rem 2.5rem 0.25rem 2rem;
    color: #666;
    cursor: pointer;
    /*font-size: 0.875rem;*/
    /*text-transform: uppercase;*/
	background: transparent url("/layout/nav-icon.png") no-repeat scroll right bottom / 32px 24px;
	border:0px solid red;
	text-align: right;
  }

/* #cssmenu #menu-button::after {
    content: '';
    position: absolute;
    top: 4.5rem;
    right: 20px;
    display: block;
 	width: 15px;
    height: 2px;
    background: #000000;
  }
   #cssmenu #menu-button::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 20px;
    display: block;
    width: 15px;
    height: 3px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }*/
  
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 999;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.15);
    height: 40px;
    width: 52px;
    cursor: pointer;
	/*border:1px solid #efefef;
	background-color:#efefef;*/
  }
  #cssmenu .submenu-button::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 23px;
    display: block;
    width: 2px;
    height: 12px;
    background: #666;
    z-index: 99;
  }
  #cssmenu .submenu-button::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 21px;
    display: block;
    width: 12px;
    height: 2px;
    background: #666;
    z-index: 99;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
}
