/* ================================================================ 
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 associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
	width:650px;
	height:26px;
	position:relative;
	z-index:100;
	margin:16px 0 18px 6px;
	}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:149px;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
/*	width:149px; */
	width:auto;
	position:relative;
	}

/* style the links for the top level */
.menu a {
	display:block;
	font:bold 12px/23px tahoma,sans-serif;
	text-decoration:none;
	color:#037;
/*	width:138px; */
	width:auto;
	height:24px;
	padding-left:10px;
	padding-right:10px;
	float:left;}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:auto; w\idth:auto;}

.menu a.apply {color:black;background:url(../images/apply_bg.gif) repeat left top;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background:#7f99cc url(http://www.cssplay.co.uk/graphics/drop.gif) bottom right no-repeat;}

/* style the second level hover */
.menu ul ul a.drop:hover{color:#eaeef3;}
.menu ul ul :hover > a.drop {color:#eaeef3;}

/* 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:24px;left:0; width:149px;}
/* another hack for IE5.5 */
* html .menu ul ul {top:24px;t\op:24px;}

/* 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; border-collapse:collapse;;}

/* style the top level hover */
.menu a.selected {color:#fff; background:#acf;}
.menu a:hover, .menu ul ul a:hover{color:#fff; background:#7f99cc;}
.menu :hover > a, .menu ul ul :hover > a {color:#fff;background:#7f99cc;}

/* 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;background:#7f99cc;}

/* style the second level links */
.menu ul.sub a {
	background:#7f99cc;
	color:white;
	height:auto;
	line-height:1em;
	padding:5px 10px;
	width:150px;
	font-weight:normal;}
/* yet another hack for IE5.5 */
* html .menu ul.sub a {width:150px;w\idth:128px;}
.menu ul.sub a:hover {color:#ddf;text-decoration:underline;}

/* unpleasant dropdown hack: styles an empty last LI for dropdown menus so the BG color descends far enough */
.menu ul.sub li.last {
	background:#7F99CC none repeat scroll 0% 50%;
	height:5px;
	width:170px;
	}