/**
 *********************************************
 * Prototype of styles for horizontal CSS-menu
 * @data 30.06.2009
 *********************************************
 * (X)HTML-scheme:
 *  <div id="menu">
 *      <ul class="menu">
 *          <li><a href="#" class="parent"><span>level 1</span></a>
 *              <div><ul>
 *                  <li><a href="#" class="parent"><span>level 2</span></a>
 *                      <div><ul><li><a href="#"><span>level 3</span></a></li></ul></div>
 *                  </li>
 *              </ul></div>
 *          </li>
 *          <li class="last"><a href="#"><span>level 1</span></a></li>
 *      </ul>
 *  </div>
 *********************************************
 */

/* menu::base */
div#menu
{
    float: left;
    margin-left: 15px;
    height: 46px;
    padding-left: 10px;
    background: url(../imagesBlue/left.png) no-repeat;
    _background-image: url(../imagesBlue/left.gif);
    width: auto;
}

div#menu span.parent
{
    margin-top: 2px;
    align: top;
    padding-left: 5px;
    color: #FFFFFF;
    font: bolder 12px Tahoma,Arial,san-serif;
    background: none;
    line-height: 37px;
}

div#menu span.parentHome
{
    color: red;
    font-weight: bolder;
    margin-top: 2px;
    align: top;
    padding-left: 5px;
    font: bolder 13px Tahoma,Arial,san-serif;
    background: none;
    line-height: 37px;
}

div#menu ul
{
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}
div#menu ul.menu
{
    padding-right: 10px;
    background: url(../imagesBlue/right.png) no-repeat right 0;
    _background-image: url(../imagesBlue/right.gif);
}

div#menu li
{
    position: relative;
    margin: 0;
    padding: 0 0 0 0;
    display: block;
    float: left;
    z-index: 9;
    width: auto;
}
div#menu ul ul li
{
    z-index: 9;
}
div#menu li div
{
    list-style: none;
    float: left;
    position: absolute;
    z-index: 11;
    top: 36px;
    left: 0;
    visibility: hidden;
    width: 187px;
    padding: 0 0 11px 7px;
    background: url(../imagesBlue/submenu-bottom.png) no-repeat 7px bottom;
    _background-image: url(../imagesBlue/submenu-bottom.gif);
    margin: 0px 0 0 -4px;
}
div#menu li:hover > div
{
    visibility: visible;
}

div#menu a
{
    position: relative;
    z-index: 10;
    height: 41px;
    display: block;
    float: left;
    line-height: 41px;
    text-decoration: none;
    margin-top: 1px;
    white-space: nowrap;
    width: auto;
    padding-right: 5px;
    text-align: center;
}

div#menu span
{
    display: block;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 95% 0;
    text-align: center;
}

div#menu span.subtext
{
    display: block;
    font-size: 10px;
    color: #ffa;
    line-height: 17px;
    margin: 0;
    padding: 0;
}

/* menu::level1 */
div#menu a
{
    padding: 0 30px 0 0;
    line-height: 40px;
    height: 46px;
    padding-right: 28px;
    margin-right: 5px;
    _margin-right: 1px;
    background: none;
}

div#menu span
{
    margin-top: 2px;
    padding-left: 5px;
    color: #FFFFFF; /* font color #FF7628 */
    font: bolder 12px Tahoma,Arial,san-serif;
    background: none;
    line-height: 20px;
}

div#menu a:hover, div#menu a.over
{
    background: url(../imagesBlue/selected-right-sub.png) no-repeat right -1px;
    _background-image: url(../imagesBlue/selected-right-sub.gif);
}
div#menu a:hover span, div#menu a.over span
{
    background: url(../imagesBlue/selected-left-sub.png) no-repeat 0 -3px;
    _background-image: url(../imagesBlue/selected-left-sub.gif);
}
div#menu li.current a, div#menu ul.menu > li:hover > a
{
    background: url(../imagesBlue/selected-right-sub.png) no-repeat right -1px;
    _background-image: url(../imagesBlue/selected-right-sub.gif);
}
div#menu li.current a span, div#menu ul.menu > li:hover > a span
{
    background: url(../imagesBlue/selected-left-sub.png) no-repeat 0 -3px;
    _background-image: url(../imagesBlue/selected-left-sub.gif);
}
div#menu ul.menu > li:hover > a span
{
    color: red; /* hover color */
}
div#menu li
{
}
div#menu li.last
{
    background: none;
}

div#menu li.current a, div#menu li.current a span, div#menu.js-active a:hover, div#menu.js-active a:hover span, div#menu.js-active a, div#menu.js-active span
{
    background: none;
}
div#menu.js-active ul.menu > li:hover > a, div#menu.js-active ul.menu > li:hover > a span
{
    background: none;
}
div#menu li.current a.over
{
    background: url(../imagesBlue/selected-right-sub.png) no-repeat right -1px;
    _background-image: url(../imagesBlue/selected-right-sub.gif);
}
div#menu li.current a.over span
{
    background: url(../imagesBlue/selected-left-sub.png) no-repeat 0 -3px;
    _background-image: url(../imagesBlue/selected-left-sub.gif);
}
div#menu a.over span
{
    color: #043454;
}

/* menu::level2 */
div#menu ul ul li
{
    background: none;
    padding: 0;
}
div#menu ul ul
{
    padding-top: 10px;
}
div#menu ul ul a
{
    padding: 0;
    height: auto;
    float: none;
    display: block;
    line-height: 26px;
    font-size: 11px;
    color: #ffffff;
    z-index: -1;
    padding-left: 5px;
    white-space: normal;
    width: 160px;
    margin: 0 5px;
    text-transform: none;
}

div#menu ul ul a span
{
    padding: 4px; /*drop down menus*/
    line-height: 26px;
    font: bold 11px Trebuchet MS,Arial,san-serif;
}
div#menu li.current ul a, div#menu li.current ul a span
{
    background: none;
}
div#menu ul ul a:hover
{
    background: url(../imagesBlue/submenu-selected-bottom.png) no-repeat 5px bottom;
}
div#menu ul ul a:hover span
{
    background: url(../imagesBlue/submenu-selected-top.png) no-repeat 0 0;
}
div#menu ul ul a.parent
{
    background: url(../imagesBlue/submenu-pointer-bottom.gif) no-repeat 5px bottom;
}
div#menu ul ul a.parent span
{
    background: url(../imagesBlue/submenu-pointer-top.png) no-repeat 0 0;
}
div#menu ul ul a.parent:hover
{
    background: url(../imagesBlue/submenu-pointer-selected-bottom.png) no-repeat 5px bottom;
}
div#menu ul ul a.parent:hover span
{
    background: url(../imagesBlue/submenu-selected-top.png) no-repeat 0 0;
}
div#menu ul ul span
{
    margin-top: 0;
    text-align: left;
}
div#menu ul ul li.last
{
    background: none;
}
div#menu ul ul li
{
    width: 100%;
}

/* menu::level3 */
/** menu::subtext */
div#menu span.subtext
{
    display: block;
    font-size: 10px;
    color: #ffa;
    line-height: 17px;
    margin: 0;
    padding: 0;
}
div#menu li:hover > a span.subtext
{
    color: #ffa;
}
div#menu ul ul div
{
    width: 180px;
    padding: 15px 0px 8px 0px;
    margin: -44px 0 0 169px !important;
    background: url(../imagesBlue/subsubmenu-top.png) no-repeat 0px 0;
    _background-image: url(../imagesBlue/subsubmenu-top.gif);
}
* + html div#menu ul ul div
{
    height: 10px;
}
* + html div#menu.ie7 ul ul div
{
    height: auto;
}
div#menu ul ul ul
{
    padding: 0 4px 5px 1px;
    background: url(../imagesBlue/submenu-bottom.png) no-repeat 0px bottom;
    _background-image: url(../imagesBlue/submenu-bottom.gif);
}
div#menu ul ul div li
{
    position: relative;
    top: -5px;
}

/* lava lamp */
div#menu li.back
{
    background: url(../imagesBlue/lavalamp-left.png) no-repeat 0 0;
    _background-image: url(../imagesBlue/lavalamp-left.gif);
    width: 10px;
    height: 46px;
    z-index: 8;
    position: absolute;
    padding: 0;
    margin: 0;
}

div#menu li.back .left
{
    padding: 0;
    width: auto;
    background: url(../imagesBlue/lavalamp-right.png) no-repeat right 0;
    _background-image: url(../imagesBlue/lavalamp-right.gif);
    height: 46px;
    margin: 0 5px 0 10px;
    _margin-right: 2px;
    float: none;
    position: relative;
    top: 0;
    left: 0;
    visibility: visible;
}
