/* ================================================================ 
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_drop.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.
=================================================================== */
.menu {
	position:relative;
	z-index:900; 
}
.menu ul {padding:0; margin:0; list-style-type:none;}
.menu ul ul { width:120px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	position:relative;
}
#navlist li ul li.first {border-top: 1px solid #ccc;}
#navlist li ul li {border: 1px solid #ccc; border-top: none;background:#fff; padding:6px;}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	width:auto; 
	height:20px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width:41px;
	w\idth:40px;
}
.menu ul ul li, .menu ul ul li a:visited {
	text-decoration:none;
	line-height:1.3;
}
/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background:#fff;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background:#fff;
}
.menu ul ul :hover > a.drop {
	background:#fff;
}
/* another hack for IE5.5 */
* html .menu ul ul {
	top:30px;
	t\op:31px;
}
/* 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; }

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#fff; 
	height:auto; 
	line-height:1em; 
	padding:5px; 
	width:100px;
}
.menu ul ul a:hover {
	background:#fff; 
	height:auto; 
	line-height:1em; 
	padding:5px; 
	width:100px;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a {
	width:100px;
	w\idth:99px;
}
/* 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:31px;
	left:0; 
	width:100px;
}
/* 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; margin: 0; margin-top: -15px;}
