/* ================================================================ 
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/flyout2.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/*
#mainmenu {
z-index:1000;
font-size:90%;
margin:25px 0 50px 15px;
}
*/

/* common styling */
#mainmenu {
  z-index:1000;
  /* sh */
  margin:0; 
  clear:left;
  width:380px;
  height:202px;
  float:left;
  background:url(../layout/navi_bg_verlauf_logo.gif) no-repeat;
  margin-bottom:2px;
}

/* IE6 only */
* html #mainmenu{
  height:208px;
}

/* remove all the bullets, borders and padding from the default list styling */
#mainmenu ul {
  padding:0;
  margin:0;
  list-style-type:none;
  width:150px;
  background:url(../layout/navi_verlauf_vert.gif) no-repeat;
  height:auto;
  padding-left:20px;
}

/* hack for IE5.5 */
* html #mainmenu ul {
	margin-left:-16px; 
	ma\rgin-left:0;
}

/* position relative so that you can position the sub levels */
#mainmenu li {
  position:relative;
  /*background:#d4d8bd;*/
  height:20px;
  margin-bottom:6px;
}

#mainmenu li.nosub{
  margin-bottom:6px;
}

/* IE7 only */
html* #mainmenu li{
  margin-bottom:3px;
}

/* IE7 only */
html* #mainmenu li.nosub{
  margin-bottom:6px;
}

/* IE6 only */
* html #mainmenu li{
  margin-bottom:6px;
}

/* get rid of the table (table only appears in ie6) */
#mainmenu table {
  position:absolute; 
  border-collapse:collapse; 
  top:0; 
  left:0; 
  z-index:100; 
  font-size:1em;
  height:0px;
  width:0px;
}

/* style the links */
#mainmenu a, #mainmenu a:visited {
  display:block; 
  text-decoration:none;
  height:18px;
  width:150px;
  /*color:#5A5A5A;*/
  color:#333333; 
  text-indent:5px;
  line-height:20px; 
  font-size:1em;
  /* Rahmen für Linkelemente unsichtbar machen */
  /*
  border-style:solid;
  border-color:transparent;
  border-width:1px 0px;
  */
}

/* hack for IE5.5 */
* html #mainmenu a, * html #mainmenu a:visited {
  /*background-color:#E9E9E9;*/ 
  width:150px; 
  w\idth:150px;
  /*color:#5A5A5A;*/
  color:#333333; 
  /*line-height:20px;*/
  /* Rahmen für Linkelemente unsichtbar machen */
  border-style:solid;
  border-color:#FFFFFF;
  border-width:0px 0px;
}

/* style the link hover for IE5 (and IE6) */
* html #mainmenu a:hover {
  /*color:#fff;*/ 
  background:#E9E9E9;
  line-height:18px;
  border-style:solid;
  border-color:#B41620;
  border-width:1px 0px;
  line-height:18px;
}

#mainmenu :hover > a {
  color:#333333;  
  background:#E9E9E9;
  border-style:solid;
  border-color:#B41620;
  border-width:1px 0px;
  line-height:18px;
}

#mainmenu :visited > a {
  color:#333333;  
  background:#E9E9E9;
  font-weight:normal;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#mainmenu ul ul {
  visibility:hidden;
  position:absolute;
  top:0;
  left:150px; 
  background:#E9E9E9 url(../layout/navi_verlauf_vert.gif) no-repeat;
  padding-left:20px;
  height:auto;
  width:160px;
  -moz-opacity:0.95;
  filter:Alpha(opacity=90, finishopacity=90, style=0)
  z-index:10000;
  margin-bottom:-20px;
}

#mainmenu ul ul li{
  background-color:#E9E9E9; 
  height:20px;
  margin-bottom:6px;
  width:150px;
  /*background:url(../layout/navi_bg_verlauf_hor.gif) repeat-x;*/
  -moz-opacity:1.0;
}

/* letztes Menelement bekommt besondere Formatierung */
#mainmenu ul ul li.last{
  margin-bottom:0px;
}

#mainmenu ul ul li a{
  background-color:#E9E9E9; 
  -moz-opacity:1.0;
  width:160px;
  line-height:20px;
  /* Rahmen für Linkelemente unsichtbar machen */
  /*
  border-style:solid;
  border-color:transparent;
  border-width:1px 0px;
  */
}

#mainmenu ul ul li a:hover{
  /*line-height:18px;*/
}

/* make the second level visible when hover on first level list OR link */
#mainmenu ul li:hover ul, #mainmenu ul a:hover ul {
  visibility:visible;
  /*line-height:18px;*/
}

/* keep the third level hidden when you hover on first level list OR link */
#mainmenu ul :hover ul ul{
  visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
#mainmenu ul :hover ul :hover ul ul{
  visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
#mainmenu ul :hover ul :hover ul{ 
  visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
#mainmenu ul :hover ul :hover ul :hover ul { 
  visibility:visible;
}
