/* ------------------------------------------------ 
Copyright (c) 2008 MWS. All rights reserved.
This stylesheet is based on work by Stu Nichols at
http://www.cssplay.co.uk/menus/
--------------------------------------------------- */
/* format outer div to give it width */
.menu {font-size:1em;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {width:770px;padding:0;margin:auto;list-style-type:none; height:1em; background:#788BBD;}

/* format sub-level lists */
.menu ul ul {width:140px; position: relative; z-index: 9999;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {width:108px;float:left;height:1em;line-height:1em; border:1px solid #fff;}

/* format sub level list items */
.menu ul ul li {display:block;width:140px;height:auto;position:relative;line-height:1em; border:0px;}

/* format links for the top level */
.menu a, .menu a:visited {font-family: Arial Narrow, Helvetica, sans-serif;font-size:0.8em;display:block;float:center;height:100%;text-decoration:none;color:#000;background:#788BBD;padding:0 0 0 0.3em;}

/* format sub level links */
.menu ul ul a, .menu ul ul a:visited {display:block;color:#000;width:140px;height:100%;line-height:1em; padding:0.4em 0em 0.4em 0.3em;}
.menu ul table ul a, .menu ul table ul a:visited  {width:110px; w\idth:110px;}


/* format table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; left:0; top:0; font-size:1em; z-index:-1;}
.menu ul ul table {lef\t:-1px;}
.menu ul ul table ul.left {margin-lef\t:2px;}
.menu li:hover {position:relative;}
* html .menu a:hover {position:relative;}


/* format third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#003290;color:#fff;}
/* format fourth level background */
.menu ul ul ul ul a, .menu ul ul ul ul a:visited {background:#002365;}
/* format sub level 1 background */
.menu ul :hover a.sub1 {/* no changes */}
/* format sub level 2 background */
.menu ul ul :hover a.sub2 {background:#002365;}

/* format level hovers */
/* first */
.menu a:hover {color:#000;background:#bbb;}
.menu :hover > a {color:#000;background:#bbb;}
/* second */
.menu ul ul a:hover{background:#003290;color:#fff;}
.menu ul ul :hover > a {background:#003290;color:#fff;}
/* third */
.menu ul ul ul a:hover {background:#002365;}
.menu ul ul ul :hover > a {background:#002365;}
/* fourth */
.menu ul ul ul ul a:hover {background:#000;}


/* 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:1em;left:0;width:110px;}

/* position the third level flyout menu */
.menu ul ul ul{left:140px;top:0;width:140px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-140px;}


/* 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; height:auto; padding-bottom:1em; background:transparent url(images/trans.gif);}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover 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;}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {visibility:visible;}

.arrow1 {
	vertical-align: middle;
	padding: 0px;
	margin-top: 3px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	border: 0px none;
	height: 7px;
	width: 9px;
	white-space: nowrap;
	right: 0%;
	position: absolute;
	text-decoration: none!important;
}
