/**
* (C) by Andreas Zeman 2007,
* Gally Websolutions, www.websolutions.gally.ch
* CSS only dropdown menu
**/

#menu ul {
	padding:0;
	margin:0 0 0 0;
	list-style-type:none;
	}


#menu li {
	position:relative;
	background-position:right;
	padding:0px 9px 0px 9px; /* ie needs padding here (not in a -> otherwise table needs place) */
}

/* top level links */
#menu a, #menu a:visited {
	text-align:center;
	font-weight:bold;
	line-height:24px;
	text-decoration:none;
	color:#fff;
	}
	
/* top level hover */
#menu a:hover {
	background:none; /* necessary for ie6 */
	color:#001100;
	}
#menu a.active, #menu li.active_sub a.active_sub, #menu ul li.active_sub a{
	color:#001100;
}
#menu ul li.active_sub ul li a{
color:#fff;
}
#menu ul li.active_sub ul li a.active{
color:#001100;
}
#menu li.active_sub a ul li a {
color:#001100;
}

#menu :hover > a, #menu ul ul :hover > a {
	background:none; /* necessary for ie6 */
	color:#001100;
	}	

/* 2nd level ------------------------------------------------------------------------------ */
/* hide sublevels */
#menu ul li ul  {
	margin:0 0 20px 0;
	}


/* 2nd level visible when top hover */
#menu ul li:hover ul,
#menu ul a:hover ul{
	}


/* 2nd level list */
#menu ul ul li {
	clear:both;
	padding:0px;
	margin:0px;
	left:-8px;
	}

/* 2nd level links */
#menu ul ul a, #menu ul ul a:visited {
	text-align:left;
	display:block;
	line-height:18px;
	padding:0px 11px 0px 9px;
	font-weight:normal;
	font-size:0.8em;
	width:129px;
	}

	
/* 2nd level hover (heed the order) */
#menu ul ul a:hover {
	}	

/* 2nd level links with 3rd level (place here a optional different bg for 2nd level drop links - do not forget to adapt this optional bg in the related hovers)*/
/*#menu ul ul a.drop, #menu ul ul a.drop:visited {
	}*/

#menu ul ul a.drop:hover {
	}

#menu ul ul :hover > a.drop {
	}	

/* 3rd level ------------------------------------------------------------------------------ */
/* position 3rd level flyout */
#menu ul ul ul{
	position:absolute;
	left:149px;
	top:-20px;
	padding:20px 0px 10px 0px;
	width:149px;
	}
	
/* 3rd level hidden */
#menu ul :hover ul ul{
	visibility:hidden;
	}

/* 3rd level visible when 2nd hover  */
#menu ul :hover ul :hover ul{
	visibility:visible;
	}	

/* position 3rd level flyout left -> damit links nicht über den rand hinausfliegen */
#menu ul ul ul.left {
	left:-149px;
	}

/* 3rd level links */
#menu ul ul ul a, #menu ul ul ul a:visited {
	}

/* 3rd level hover (heed the order) */
#menu ul ul ul a:hover {
	}

/* IE hack ------------------------------------------------------------------------------ */
#menu table {
	position:absolute;
	top:0px;
	left:0px;
	border-collapse:collapse;
	z-index:100;
	}
#menu table td ul li {
		font-size:1.125em;

}