/**
 *********************************************
 * Prototype of styles for horizontal CSS-menubar
 * @data 30.06.2009
 *********************************************
 * (X)HTML-scheme:
 *  <div id="menubar">
 *      <ul class="menubar">
 *          <li><a href="#" class="parent"><span>level 1</span></a>
 *              <ul>
 *                  <li><a href="#" class="parent"><span>level 2</span></a>
 *                      <ul><li><a href="#"><span>level 3</span></a></li></ul>
 *                  </li>
 *              </ul>
 *          </li>
 *          <li class="last"><a href="#"><span>level 1</span></a></li>
 *      </ul>
 *  </div>
 *********************************************
 */

/* menubar::base */
div#menubar {
    height:41px;
    background:url(images/main-bg.png) repeat-x;
}

div#menubar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}
div#menubar ul.menubar {
    padding-left: 30px;
}

div#menubar li {
    position: relative;
    z-index: 9;
    margin: 0;
    padding: 0 5px 0 0;
    display: block;
    float: left;
}
div#menubar li:hover>ul {
    left: -2px;
}

div#menubar a {
    position: relative;
    z-index: 10;
    height: 41px;
    display: block;
    float: left;
    line-height: 41px;
    text-decoration: none;
    font: normal 12px Trebuchet MS;
}
div#menubar a:hover, div#menubar a:hover span { color: #fff; }
div#menubar li.current a {}

div#menubar span {
    display: block;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 95% 0;
}
div#menubar ul ul a.parent span {
    background-position:95% 8px;
    background-image: url(images/item-pointer.gif);
}
div#menubar ul ul a.parent:hover span {
    background-image: url(images/item-pointer-mover.gif);
}

/* menubar::level1 */
div#menubar a {
    padding: 0 10px 0 10px;
    line-height: 30px;
    color: #e5e5e5;
}
div#menubar span {
    margin-top: 5px;
}/**@replace#1*/
div#menubar li { background: url(images/main-delimiter.png) 98% 4px no-repeat; }
div#menubar li.last { background: none; }

/* menubar::level2 */
div#menubar ul ul li { background: none; }
div#menubar ul ul {
    position: absolute;
    top: 38px;
    left: -999em;
    width: 163px;
    padding: 5px 0 0 0;
    background: rgb(45,45,45);
    margin-top:1px;
}
div#menubar ul ul a {
    padding: 0 0 0 15px;
    height: auto;
    float: none;
    display: block;
    line-height: 24px;
    color: rgb(169,169,169);
}
div#menubar ul ul span {
    margin-top: 0;
    padding-right: 15px;
    _padding-right: 20px;
    color: rgb(169,169,169);
}
div#menubar ul ul a:hover span {
    color: #fff;
}
div#menubar ul ul li.last { background: none; }
div#menubar ul ul li {
    width: 100%;
}

/* menubar::level3 */
div#menubar ul ul ul {
    padding: 0;
    margin: -38px 0 0 163px !important;
    margin-left:172px;
}

/* colors */
div#menubar ul ul ul { background: rgb(41,41,41); }
div#menubar ul ul ul ul { background: rgb(38,38,38); }
div#menubar ul ul ul ul { background: rgb(35,35,35); }

/* lava lamp */
div#menubar li.back {
    background: url(images/lava.png) no-repeat right -44px !important;
    background-image: url(images/lava.gif);
    width: 13px;
    height: 44px;
    z-index: 8;
    position: absolute;
    margin: -1px 0 0 -5px;
}
div#menubar li.back .left {
    background: url(images/lava.png) no-repeat top left !important;
    background-image: url(images/lava.gif);
    height: 44px;
    margin-right: 8px;
}

