/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/pro_drop6.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.
=================================================================== */

.preload1 {background: url(../images/menuimages/twotoneblue.gif );}
.preload2 {background: url(../images/menuimages/redbar.gif );}

#nav {
	clear:left;
	padding:0; margin:0; list-style:none; height:38px; 
	position:relative; 
	font-family:arial, verdana, sans-serif;
	z-index:1010;
}
#nav .tl {border-top-left-radius:7px;}
#nav .tr {border-top-right-radius:7px;}
#nav .bl {border-bottom-left-radius:15px;}
#nav .br {border-bottom-right-radius:15px;}
#nav li.top {
	display:block; float:left;        
}
* html >#xxxnav li a. {display:inline;}
#nav li a.top_link {
	display:block; float:left; height:35px; line-height:23px;
	color:#333; text-decoration:none; font-size:0.8em; font-weight:bold; 
	padding:0; 
	margin:1px; cursor:pointer;
	background: url(../images/menuimages/twotoneblue.gif )
}

* html >#xxxnav li a.top_link {display:inline; /*font-size:0.9em;*/}


#nav li a.top_link span {
	float:left; display:block; padding:0 14px 0 12px; height:35px; margin:0;
}

#nav li a.top_link span.down {
	float:left; display:block; padding:0 24px 0 12px; height:35px;  margin:0;
}
#nav li:hover a.top_link, #nav a.top_link:hover {
	color:#fff; 
	background: url(../images/menuimages/redbar.gif) no-repeat;
}
/*change top menu home page item background when mouse hovers overhead */
#nav li:hover a.top_link span, #nav a.top_link:hover span {
	background:url(../images/menuimages/redbar.gif ) no-repeat right top;
}
#nav li:hover a.top_link span.down, #nav a.top_link:hover span.down {margin:0;
	background:url(../images/menuimages/redbar.gif) no-repeat right top; 
}
#nav table {
	border-collapse:collapse; padding:0; margin:0; position:absolute; left:0; top:0;
}
#nav li:hover {
	position:relative; z-index:20;
}
#nav a:hover {
	position:relative; white-space:normal; z-index:20;
}
/*Style the border and text for submenus */
#nav :hover ul.sub {
	left:14px; top:35px; background:#000; padding:3px; border:1px solid #0b4d97;
	white-space:nowrap; width:145px; height:auto; z-index:30;
}
/*display the list of submenu items */
#nav :hover ul.sub li {background:#ccc;
	display:block; height:20px; width:146px; position:relative; 
	float:left; font-weight:normal;
}
/* hilite a specific submenu item when hovering on it */
#nav :hover ul.sub li a {
	display:block; font-size:0.9em; height:18px; width: 145px; line-height:18px; 
	text-indent:15px; color:#333; text-decoration:none;border:1px solid #50b5d0;
}
/* Style the first level submenu which has a second submenu with colour and an arrow */
/* next statement doesnt seem to be used*/
#nav li ul.sub li a.more{
	background: red; /* no longer used ... old style and kinda tacky  url(../images/menuimages/arrow_right.gif) 145px no-repeat; */
}
/* the next statement colour the submenu when hovered (red background, white text, black border)*/
#nav :hover ul.sub li a:hover {
	background:#e60409; color:#fff; border-color:#fff;
}
/* next statement doesnt seem to be used*/
#nav :hover ul.sub li a.more:hover {
	background:pink; color:#fff; /* see above url(../images/menuimages/arrow_right.gif) 145px no-repeat; */ 
}
/*
#nav li b { 
	display:block; font-size:0.9em; height:18px; width:88px; line-height:18px; 
	margin-bottom:3px; text-indent:6px; color:#ff6; border-bottom:1px solid #ff6; cursor:default;
*/
}
#nav a:hover a:hover ul, 
#nav a:hover a:hover a:hover ul, 
#nav a:hover a:hover a:hover a:hover ul,

/* next statement doesnt seem to be used*/
#nav a:hover a:hover a:hover a:hover a:hover ul {
	left:158px; top:-4px; background:#50b5d0; padding:3px; border:1px solid #0b4d97; 
	white-space:nowrap; width:145px; /*150px;*/ /*90px;*/ z-index:40; height:auto;
}

#nav ul, 
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul {
	position:absolute; left:-9999px; top:-9999px; width:0; height:0; 
	margin:0; padding:0; list-style:none;
}
/* Styling for the second submenu items */
#nav li:hover li:hover > ul {
	left:138px; top:-4px; background:#333; padding:3px; border:no border; 
	white-space:nowrap; width:146px; z-index:40; height:auto;
}
#nav li:hover > ul ul {
	position:absolute; left:-9999px; top:-9999px; width:0; height:0; 
	margin:0; padding:0; list-style:none;
}
/*Style the first submenu while hovering on the associated second submenu */
#nav li:hover li:hover > a.more {
	background:green url(../images/menuimages/arrow_right.gif) 140px no-repeat; color:#fff; border-color:#fff;
} 
/* This next session is not currently being used. It may be useful if the menu needs to expand. */
#nav li:hover li:hover > li a.more {
	background:#50b5d0 url(../images/menuimages/arrow.gif) 80px 6px no-repeat; color:#333; border-color:#50b5d0;
	font-size:1.0em;
} 