@charset "UTF-8";

#menu {
  position: relative;
  z-index: 1000;
}

#menu a {
  color: #333;
  text-decoration: none;
}
#menu a:hover {
  color: #000;
}

#menu ul {
  height: 30px;
  margin: 0;
  padding: 0;
}
 
#menu ul li {
  display: inline-block;
  float: left;
  height: 30px;
  line-height: 30px;
  width: auto;
}

#menu ul li a {
  display: block;
  padding: 0 10px;
  text-decoration: none;
}
#menu ul li:hover a {
  background-color: #eee;
}
#menu ul li > a {
  background-color: rgba(255,255,255,0.5);
  text-align: center;
}
#menu ul ul li a {
  text-align: left;
}

/* 1. Ebene bei hover */
#menu ul li:hover a {
  background-color: #f8f8f8;
}

/* 2. Ebene ausgeblendet*/
#menu ul ul {
  position: absolute;
  top: 30px;
  background-color: #f8f8f8;
  display: none;
}
#menu ul ul li {
  border-bottom: 1px solid #eee;
  display: block;
  float: none;
  width: 180px;
}
#menu ul ul a {
  text-indent: 10px;
}
 
/* 2. Ebene bei hover einblenden */
#menu ul li:hover ul {
  display: inline-block;
  z-index: 99;
}
#menu ul li:hover ul li:hover a {
  background-color: #f0f0f0;
}

/* 3. Ebene ausgeblendet */
#menu ul li:hover ul ul {
  position: relative;
  top: -30px;
  left: 180px;
  background-color: #f0f0f0;
  display: none;
}

/* 3. Ebene bei hover einblenden */
#menu ul li:hover ul li:hover ul {
  display: inline-block;
  z-index: 999;
}
#menu ul li:hover ul li:hover ul li:hover a {
  background-color: #e0e0e0;
}

#menu a.current,
#menu a.active {
  font-weight: bold;
}

#langmenu a {
  color: #666;
  display: inline-block;
  padding: 0 5px;
  text-decoration: none;
}
#langmenu a:hover {
  background-color: #f8f8f8;
  color: #000;
  text-decoration: underline;
}
