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

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


#navigation li {
	float:left;
	position:relative;
	background-position:right;
	background-repeat:no-repeat;
	height:19px;
	padding:0px 9px 0px 8px; /* ie needs padding here (not in a -> otherwise table needs place) */
	}

/* top level links */
#navigation a, #navigation a:visited {
	text-align:center;
	font-weight:normal;
	font-size:12px;
	height:19px;
	text-decoration:none;
	color:#6BB300;
	line-height:20px;
	}
	
/* top level hover */
#navigation a:hover {
	background:none; /* necessary for ie6 */
	color:#6BB300;
	text-decoration:underline;
	}

#navigation :hover > a, #navigation ul ul :hover > a {
	background:none; /* necessary for ie6 */
	color:#6BB300;
	text-decoration:underline;

	}	

/* 2nd level ------------------------------------------------------------------------------ */
/* hide sublevels */
#navigation ul ul {
	visibility:hidden;
	position:absolute;
	top:21px;
	left:-1px;
	padding:2px 0px 10px 0px;
	width:149px;
	}


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


/* 2nd level list */
#navigation ul ul li {
	height:19px;
	padding:0px;
	}

/* 2nd level links */
#navigation ul ul a, #navigation ul ul a:visited {
	text-align:left;
	display:block;
	height:19px;
	color:#330044;
	background-color:#ffffff;
	line-height:18px;
	padding:0px 10px;
	width:129px;
	}

/* IE5.5 hack */
* html #navigation ul ul a, * html #navigation ul ul a:visited {
	width:149px;
	w\idth:129px;
	}
	
/* 2nd level hover (heed the order) */
#navigation ul ul a:hover {
	color:#004477;
	background-color:#cccccc;
	}	

/* 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)*/
/*#navigation ul ul a.drop, #navigation ul ul a.drop:visited {
	}*/

#navigation ul ul a.drop:hover {
	color:#C3C5C8;
	}

#navigation ul ul :hover > a.drop {
	color:#C3C5C8;
	}	

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

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

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

/* 3rd level links */
#navigation ul ul ul a, #navigation ul ul ul a:visited {
	color:#C3C5C8;
	}

/* 3rd level hover (heed the order) */
#navigation ul ul ul a:hover {
	color:#C3C5C8;
	}

/* IE hack ------------------------------------------------------------------------------ */
#navigation table {
	position:absolute;
	top:0px;
	left:0px;
	border-collapse:collapse;
	z-index:100;
	}
