/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_submenu.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
  position:absolute;
  top: 38px;
  left:180px;
  width:816px;
  height:32px;
  z-index: 6;
}

/* hack to correct IE5.5 faulty box model */
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
  padding:0;
  margin:0;
  list-style-type:none;
  z-index: 5;
}
.menu ul ul {width:179px;}
/* float the list to make it horizontal and a relative position so that you can control the submenudown menu position */
.menu li {
   float:left;
   width:91px;
   position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
  display:block;
  font-weight: bold;
  font-size:11px;
  text-decoration:none;
  color:#ffffff;
  width: 90px;
  height: 11px;
  min-height: 11px;
  line-height: 11px;
  background: #758279;
  border:1px solid transparent;
  border-width:1px 0 1px 1px;
  text-indent:2px;
  z-index: 5;
  filter: alpha(opacity=90);
  -moz-opacity:0.9;
  opacity:0.9;
}

.mod_navigation  .active > a.menubutton, .mod_navigation .active > a.menubutton:visited,
.mod_navigation  .trail > a.menubutton, .mod_navigation .trail > a.menubutton:visited {
  background-image: url(images/header_tab_active.gif);
}

/* IE6 */
.mod_navigation  .active a.menubutton, .mod_navigation .active a.menubutton:visited,
.mod_navigation  .trail a.menubutton, .mod_navigation .trail a.menubutton:visited {
  background-image: url(images/header_tab_active.gif);
}

.mod_navigation .menubutton > a, .mod_navigation .menubutton > a:visited, .mod_navigation .menubutton > a:hover {
  height: 32px;
  min-height: 32px;
  line-height: 32px;
  border:0px;
  border-width: 0px 0px 0px 0px;
  text-align: center;
  text-indent: 0px;
  z-index: 1;
  background-image: url(images/header_tab.gif);
  background-repeat: no-repeat;
}

/* IE6 */
.mod_navigation a.menubutton, .mod_navigation a.menubutton:visited, .mod_navigation a.menubutton:hover {
  height: 32px;
  min-height: 32px;
  line-height: 32px;
  border:0px;
  border-width: 0px 0px 0px 0px;
  text-align: center;
  text-indent: 0px;
  z-index: 1;
  background-image: url(images/header_tab.gif);
  background-repeat: no-repeat;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
  width:90px;
  w\idth:90px;
}
* html .menu a.menufield, * html .menu a.menufield:visited {  /* IE6 */
  text-align:left;
}

/* style the second level background */
.menu ul ul a.submenu, .menu ul ul a.submenu:visited {
  background-color:#555555;
  background-image: url(images/submenu.gif);
  background-position: bottom right;
  background-repeat: no-repeat;
}
/* style the second level hover */
.menu ul ul a.submenu:hover {
  background-color:#c9ba65;
  background-image: url(images/submenu.gif);
  background-position: bottom right;
  background-repeat: no-repeat;
}
.menu ul ul :hover > a.submenu {
  background-color: #edb352; /* stehenbleibend bei L3 */
  background-image: url(images/submenu.gif);
  background-position: bottom right;
  background-repeat: no-repeat;
}
.menu ul ul a.submenu:hover { /* IE6 */
  background-color: #edb352; /* stehenbleibend bei L3 */
  background-image: url(images/submenu.gif);
  background-position: bottom right;
  background-repeat: no-repeat;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul.level_3 a.menufield:visited {
  background-color:#666666;
  background-image: none;
}
/* style the third level hover */
.menu ul ul ul.level_3 a.menufield:hover {
  background-color:#edb352;
  background-image: none;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:32px;left:0; width:179px;}
/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:199px; top:-1px; width:179px;}

/* IE */
* html .menu ul ul ul{left:179px; top:-1px; width:179px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-179px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
 background:#555555; 
 color:#ffffff; 
 height:auto; 
 line-height:1em; 
 padding:5px 10px;
 width:178px;
 border-width:0 1px 1px 1px;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
  width:172px;
  w\idth:158px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover {
  color:#fff;background:#edb352;
}
.menu :hover > a, .menu ul ul :hover > a {
}
.mod_navigation .menubutton a:hover, .mod_navigation .menubutton ul ul a:hover,
.mod_navigation .menubutton a.trail:hover, .mod_navigation .menubutton ul ul a.trail:hover {
  background-image: url(images/header_tab_over.gif);
}
.mod_navigation .menubutton :hover > a, .mod_navigation .menubutton ul ul :hover > a,
.mod_navigation .menubutton :hover > a.trail, .mod_navigation .menubutton ul ul :hover > a.trail {
  background-image: none;
}

.mod_navigation .menufield a:hover, .mod_navigation ul ul .menufield  a:hover {
  background-image: none;
}
.mod_navigation .menufield :hover > a, .mod_navigation ul ul .menufield :hover > a {
  background-image: none;
}
.mod_navigation .menufield .submenu a:hover, .mod_navigation ul ul .submenu a:hover {
  background-image: url(images/submenu.gif);
  background-position: bottom right;
  background-repeat: no-repeat;
}
.mod_navigation .menufield .submenu :hover > a, .mod_navigation ul ul .menufield.submenu :hover > a {
  background-image: url(images/submenu.gif);
  background-position: bottom right;
  background-repeat: no-repeat;
}

.mod_navigation ul ul ul .menufield a:hover {
  background-image: none;
}
.mod_navigation  ul ul ul .menufield :hover > a {
  background-image: none;
}


/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}

.menuicon {
  padding:0px;
  margin:0px;
  height:17px;
  width:7px;
  border:0px;
  position:absolute;
  top:2px;
  left:2px;
}
