/* May need fixing - fix to add bottom border */
.menu a.last{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #660033;
}
.menu a.first{
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #660033;
}

.menu {
	width:600px;
	height:18px;
	font-size:0.85em;
	position:relative;
	z-index:100;
	margin-left: 5px;
}
/* hack to correct IE5.5 faulty box model */
* html .menu {
	width:746px;
	w\idth:600px;
}
/* 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:auto;
}
/* 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:auto;position:relative;}
.menu li img { vertical-align:middle;}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:11px;
	text-decoration:none;
	color:#FFFFFF;
	width:auto;
	height:18px;
	padding-left:10px;
	padding-right:10px;
	line-height:18px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:23px; w\idth:22px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #660033;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #660033;
	background-color: #ffffff;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background-color: #660033;
}
.menu ul ul :hover > a.drop {
	background-color: #660033;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#660033;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#660033;}


/* 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:18px;
	left:0;
	width:140px;
}
/* another hack for IE5.5 */
* html .menu ul ul {top:22px;t\op:23px;}

/* position the third level flyout menu */
.menu ul ul ul{left:149px; top:-1px; width:149px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* 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 second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#ffffff;
	color:#000;
	height:auto;
	line-height:1em;
	width:140px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #660033;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #660033;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 5px;
	z-index:250;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	width:240px;
	w\idth:140px;
}

/* style the top level hover */
.menu a:hover {
	color:#FFFFFF;
	background:#663300;
}
.menu :hover > a {
	color:#FFFFFF;
	background-color: #330099;
}
.menu ul ul a:hover{
	color:#FFFFFF;
	background-color: #663300;
}
.menu ul ul :hover > a {
	color:#FFFFFF;
	background-color: #663300;
}
/* 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; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}

