
/* ================================================================ 
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/anywidth2.html
Copyright (c) 2005-2009 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */



#nav {width:100%; text-align:center; z-index:10; height:35px; }

#nav ul {margin:0; padding:0; list-style:none; white-space:nowrap; text-align:left;}
#nav ul {display:inline-block;} 

#nav li {margin:0; padding:0; list-style:none;   z-index:10;}
#nav li {display:inline-block; display:inline;}
#nav ul ul {position:absolute; left:-9999px;}
#nav ul.level1 {margin:0 auto;}
#nav ul.level1 li.level1-li {float:left; display:block; position:relative;}

#nav ul.level1 {width:780px; }
#nav ul.level2 {background:#003b63;}
#nav ul.level3 {background:#003b63;}
#nav ul.level4 {background:#003b63;}

#nav b {position:absolute;} /* -- for IE6 non-flyout dropdowns to stop flickering - who knows why --*/

#nav a {display:block; font-weight:bold; font-size:15px; color:#fff; line-height:35px; text-decoration:none;padding:0 10px 0 12px;}
#nav ul.level1 li.level1-li a.level1-a {float:left;}

#nav ul.level1 li.level1-li a.level1-a {float:left; background:url(../images/new/framework/nav/divide.gif) no-repeat left top;}
#nav ul.level1 li.level1-li a.level1-a:hover {background:url(../images/new/framework/nav/hover-nosub.gif) no-repeat left top; border:0; color:#9ac896; position:relative;}
#nav ul.level1 li.level1-li a.level1-a.fly:hover {background:url(../images/new/framework/nav/hover.gif) no-repeat left top;}
#nav ul.level1 li.level1-li:hover {position:relative; }
#nav ul.level1 li.level1-li:hover > a {background:url(../images/new/framework/nav/hover.gif) no-repeat left top; color:#9ac896; }

#nav ul.level1 li.level1-li a.level1-a:hover b {display:block; width:1px; height:1px; overflow:hidden; position:absolute; right:-1px; top:33px; background:#003b63;}
#nav ul.level1 li.level1-li:hover > a b {display:block; width:1px; height:1px; overflow:hidden; position:absolute; right:-1px; top:33px; background:#003b63;}


#nav ul li:hover > ul {visibility:visible; left:1px; top:35px;  }
#nav ul ul li:hover > ul {visibility:visible; left:100%; top:auto; margin-top:-26px;}
#nav li.left:hover > ul {visibility:visible; left:auto; right:0; top:35px;}
#nav li.left ul li:hover > ul {visibility:visible; left:auto; right:100%; top:auto; margin-top:-3px;}


#nav a:hover ul {left:0; top:13px;}
#nav li.left a:hover ul {left:auto; right:-1px; top:13px;}

#nav li.left ul a {text-align:right; padding:0 10px 0 20px;}


#nav a:hover a:hover ul, 
#nav a:hover a:hover a:hover ul {left:100%; visibility:visible;}
#nav li.left a:hover a:hover ul, 
#nav li.left a:hover a:hover a:hover ul {left:auto; right:0; visibility:visible;}

#nav a:hover ul ul, 
#nav a:hover a:hover ul ul {left:-9999px;}
#nav li.left a:hover ul ul, 
#nav li.left a:hover a:hover ul ul {left:-9999px;}


#nav li a.fly {background:transparent url(../images/new/framework/arrow.gif) no-repeat right center; }
#nav li.left ul a.fly {background:transparent url(../images/new/framework/arrow-left.gif) no-repeat left center; }

#nav li a:hover,
#nav li a.fly:hover { color:#9ac896; background:#005380;  } 
#nav li:hover > a,
#nav ul li:hover > a.fly { color:#9ac896; background:#005380; }

/* IE6 */
#nav table {position:absolute; height:0; width:0; left:1px; border-collapse:collapse; margin-top:4px;}
#nav table table {position:absolute; left:99%; height:0; width:0; border-collapse:collapse; margin-top:-29px;}

#nav li.left table {position:absolute; height:0; width:0; left:auto; right:0; border-collapse:collapse; margin-top:4px;}
#nav li.left table table {position:absolute; left:auto; right:100%; height:0; width:0; border-collapse:collapse; margin-top:-29px;}


#nav ul :hover  ul { border:1px solid #444; border-width:0 1px 1px 1px; padding-bottom:5px;}
#nav ul :hover  ul ul {border-width:1px 1px 1px 1px;}
#nav ul ul a {display:block; font:normal 13px arial,sans-serif; color:#fff; line-height:25px; text-decoration:none; }
#nav ul :hover  ul li a:hover { color:#9ac896; }


