/* ================================================================ 
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.
=================================================================== */

/* Control main nav box parameters */
#nav {padding:0 0 0 15px; margin:0; list-style:none; font-size: 80%; 
		 position:relative; z-index:200; background: #003399 no-repeat; height:20px; }
		 
#nav a:link,
#nav a:visited {
   color:           white;
} 

/* Control drop down box parameters */ 
#nav ul {padding:0; margin:0; list-style:none; float:left; background:#003399; border-top:1px solid #fff;}

#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 #666;}
#nav li.last {border-bottom:1px solid #666;}
/* a hack for  IE6 */
#nav li a li {float:left;}

/* control the parameters of the data displayed in the main nav */
/* height controls the up-down positioning of the down arrow gif */
/* line-height controls the up-down positioning of the elements */
#nav li a {display:block; float:left; color:#fff; height:20px;  
		 padding:0 25px 0 5px; line-height:20px; text-decoration:none; white-space:nowrap; font-weight:bold;}
#nav li a.down {background:url("../images/down-white.gif") no-repeat right center;}

/* control drop down box */
#nav li li a {display:block; height:20px; line-height:20px; float:none; 
		 padding:0 25px 0 5px; font-weight:normal; letter-spacing:1px;}
#nav li li a.fly {background:url("../images/fly-white.gif") no-repeat right center;}

#nav li:hover {position:relative; z-index:300;}
#nav a:hover {position:relative; z-index:300; color:#ff9800; border:0;}

#nav li li a {color: #633;}
#nav li li a:hover {color:#ff9800; background-color:#003399;}

/* Control how the placement of the drop down box. */
#nav :hover ul {left:0; top:20px; 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 */
/* adjust hover color of main nav elements */
#nav li:hover > a {color:#ff9800;}
#nav li li:hover > a {color:#ff9800; background-color:#003399;}




/* 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;}

