/* ================================================================ 
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_variable3.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.
=================================================================== */
#nav {padding:0 0 0 30px; margin:0; list-style:none; font: 11px arial, sans-serif; position:relative; z-index:200; background:url(../_gfx/topmenubg.png) repeat; height:39px; width:970px;}
#nav ul {padding:0; margin:0; list-style:none; float:left; background:#54A8CE; border-top:none;}

#nav table {border-collapse:collapse; margin:-1px; height:0;}
#nav li {float:left;}
#nav li li {float:none; border-left:1px solid #fff; border-right:1px solid #fff;}
#nav li.last {border-bottom:1px solid #fff;}
/* a hack for  IE6 */
#nav li a li {float:left;}

#nav li a {display:block; float:left; color:#fff; height:19px;  padding:10px 25px; line-height:19px; text-decoration:none; white-space:nowrap; font-weight:normal;}
#nav li a.down {background:url(down.gif) no-repeat right center;}

#nav li li a {display:block; height:20px; line-height:20px; float:none; padding:0 25px 0 5px; font-weight:normal; letter-spacing:1px;width: 250px;overflow:hidden;}
#nav li li a.fly {background:url(fly.gif) no-repeat right center;}

#nav li:hover {position:relative; z-index:300;}
#nav a:hover {position:relative; z-index:300; background:#76D2FE url(../_gfx/topmenubg_active.png) top left repeat-x; border:0;}
#nav li ul li a:hover {position:relative; z-index:300; background-color:#76D2FE; border:0;}

#nav li li a {color:#fff;}
#nav li li a:hover {color:#fff; background-color:#76D2FE;}

#nav :hover ul {left:0; top:39px; z-index:500;}

#nav ul {position:absolute; left:-9999px; top:-9999px;}
* html #nav ul {width:2px;}
/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul {left:-5px; margin-left:100%; top:-1px; z-index:500;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto; }
/* show path followed */
#nav li:hover > a {color:#fff;}
#nav li li:hover > a {color:#fff; background-color:#76D2FE;}


/* but IE5.x and IE6 need this lot to style the flyouts*/
/* show next level */
#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul
{left:100%; margin-left:-5px; top:-1px;}

/* keep further levels hidden */
#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;}

