#menubar {
  width: auto;
  background: #eee;
  margin: 0 0 0 158px;
  padding: 0;
  background:  #cccccc url("../images/menuebar-hintergrund.png") repeat;
  border-top: none;
  border-right: 1px solid black;
  border-bottom: none;
  border-left: none;
  position: relative;
  z-index: 3;
}

#menubar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font.size: 100%;
  width: auto;
  z-index: 5;
}

#menubar ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 100%;
  z-index: auto;
  text-align: left;
  width: auto;
  float: left;
  background:  #cccccc url("../images/menuebar-hintergrund.png") repeat-x;
}

#menubar ul ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 100%;
  width: auto;
  position: absolute;
  z-index: -3;
  top: auto;
  left: auto;
  width: auto;
  display: none;
  background: #b6b6b6;
}


#menubar ul ul li {
  float: none;
  display: block;
  width: auto;
  white-space: nowrap;
  background: #b6b6b6;
  min-width: 180px;
  border-top: none;
  border-bottom: 1px solid #e1e1e1;
  z-index: 42;
}
#menubar ul a {
  display: block;
  color: black;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  background: url("../images/menuebar-spacer.png") no-repeat top right;
  padding: 3px 10px;
}

#menubar ul ul a {
  background: none;
}



#menubar li.selected {
  background: #b6b6b6 url("../images/menuebar-spacer.png") no-repeat left;
}
#menubar li li.selected {
  background: none; 
}
#menubar li.selected > a {
  color: #4848A1;
  background-color: #b6b6b6;
  text-decoration: none;
}

/* Hovering */
#menubar li:hover {
  background: #b6b6b6;
}
#menubar ul li:hover ul {
  display: block;
  z-index: 66;
}
#menubar ul ul li:hover a {
  background-color: #c6c6c6;
}
