/* ================================================================ 
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/flyout_4level.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 {
	margin:0;
	padding:0;
	float: left;
	width: 227px;
	border-right: 1px solid white;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	position:relative;
	z-index:500;
	padding:0;
	margin:0;
	list-style-type:none;
	width:227px;
}
/* style the list items */
.menu ul li {
	height:30px;
	border-bottom: 1px solid #FFF;
	/* for IE7 */
	float:left;
	background-image:url(images/menu_main_list_bg.jpg);
}

/*LI mit Subitem Formatierung!*/
.menu ul li.sub {
	
} 

/* get rid of the table */
.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
.menu a, .menu a:visited {
	display:block; 
	text-decoration:none;
	height:30px;
	line-height:30px;
	width:227px;
	color:#FFF;
	text-indent:5px;
}

.menu ul li ul a, .menu ul li ul a:visited {
	display:block; 
	text-decoration:none;
	height:30px;
	line-height:30px;
	width:150px;
	color:#FFF;
	text-indent:5px;
}

.menu ul li ul a:hover {
	text-decoration:underline;
}

/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:227px; w\idth:227px;}
* html .menu ul li ul a, * html .menu ul li ul a:visited {width:150px; w\idth:150px;}
/* style the link hover */
* html .menu a:hover {color:#FFF; background:#719BC3; position:relative;}

.menu ul li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
.menu a:active, .menu a:focus {color:#fff; background:#4F6E98;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu ul li:hover > a {color:#fff; background:#719BC3;}
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul li ul {
	visibility:hidden;
	position:absolute;
	width: 150px;
	top:-1px;
	/* set up the overlap (minus the overrun) */
	left:227px;
	/* set up the overrun area */
	padding:0px;
	/* this is for IE to make it interpret the overrrun padding */
	background:transparent url(transparent.gif);
}

.menu ul li ul li{
	border-left:1px solid #FFF;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #719BC3;
	background-image:none;
	background: #719BC3;
	width: 150px;
}

.menu ul li ul li.first{
	border-top: 1px solid #FFF;
	border-left: 1px solid #719BC3;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #719BC3;
	background-image:none;
	background: #719BC3;
	width: 150px;
}

.menu ul li ul li.last{
	border-left:1px solid #FFF;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	background-image:none;
	background: #719BC3;
	width: 150px;
}

.menu ul li ul li a,
.menu ul li ul li a:hover,
.menu ul li ul li a:visited {
	background: url(images/raquo.gif) no-repeat 5px center;
	text-indent: 15px;
	width:150px;
}

/* LEVEL 2 START */

/* style the link hover */
* html .menu ul li ul li a:hover {
		color:#FFF;
		background:#6b91b8 url(images/raquo.gif) no-repeat 5px center;
		position:relative;
}
/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu ul li ul li:hover > a {
	color:#fff;
	background:#6b91b8 url(images/raquo.gif) no-repeat 5px center;
}

.menu ul li ul li ul {
	visibility:hidden;
	position:absolute;
	width: 270px;
	top:-1px;
	/* set up the overlap (minus the overrun) */
	left:150px;
	/* set up the overrun area */
	padding:0px;
	/* this is for IE to make it interpret the overrrun padding */
	background:transparent url(transparent.gif);
}

.menu ul li ul li ul li{
	border-left:1px solid #FFF;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #6b91b8;
	background-image:none;
	background: #6b91b8;
	width: 270px;
}

.menu ul li ul li ul li.first{
	border-top: 1px solid #FFF;
	border-left: 1px solid #6b91b8;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #6b91b8;
	background-image:none;
	background: #6b91b8;
	width: 270px;
}

.menu ul li ul li ul li.last{
	border-left:1px solid #FFF;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	background-image:none;
	background: #6b91b8;
	width: 270px;
}

.menu ul li ul li ul li a,
.menu ul li ul li ul li a:hover,
.menu ul li ul li ul li a:visited {
	background: url(images/raquo.gif) no-repeat 5px center;
	text-indent: 15px;
	width:270px;
}
/* LEVEL 2 END */


/* for browsers that understand this is all you need for the flyouts */
.menu li:hover > ul {visibility:visible;}


/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
.menu ul a:hover ul ul{
	visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.menu ul a:hover ul a:hover ul ul{
	visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.menu ul a:hover ul a:hover ul a:hover ul ul{
	visibility:hidden;
}

/* make the second level visible when hover on first level link */
.menu ul a:hover ul {
	visibility:visible;
}
/* make the third level visible when you hover over second level link */
.menu ul a:hover ul a:hover ul{ 
	visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
.menu ul a:hover ul a:hover ul a:hover ul { 
	visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.menu ul a:hover ul a:hover ul a:hover ul a:hover ul { 
	visibility:visible;
}
