/* ================================================================ 
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_variable4.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.
=================================================================== */
#wrapper {width:950px;  margin:0 auto; text-align:left; background:#D2D2D2;}
#nav { padding:0 0 0 20px; margin:0; list-style:none; font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;; position:relative; z-index:200; background:#D2D2D2; height:20px;width:920px;}
 
#nav ul {padding:0; margin:0; list-style:none; float:left; background:#D6D6D6; border-top:1px solid #fe7; border-color:#fff #b80 #999 #d6d6d6;}

#nav li {float:left;}
/*
#nav li li {float:none; border-left:1px solid #E1E1E1; border-bottom:1px solid #fff;}
*/
#nav li li {float:none; border-left:1px solid #E1E1E1; border-bottom:1px solid #fff;}

*html #nav li ul {float:none;}
*html #nav li li a {float:none;}
*html #nav li.down li {float:none;}

/* a hack for  IE6 */
/** html #nav li li {float:left;}
* html #nav li.down li.fly {float:left;}
* html #nav li li.fly {float:left;}
* html #nav li.fly li.fly {float:left;}
*/
#nav li a {display:block; float:left; color:#444; font-weight:normal;/*height:20px;*/height:auto; padding:0 22px 0 3px; line-height:20px;text-decoration:none; white-space:nowrap; border-right:1px solid #000;}

#nav li.down {
background-image: url(images/down.gif);
		background-repeat: no-repeat;
		background-position: right center;
}

/*#nav li a.down {
		background-image: url(images/down.gif); background-repeat: no-repeat; background-position: right center;
}
#nav li.down_o {
		background-image: url(images/down.gif);
		background-repeat: no-repeat;
		background-position: right center;
		cursor: default;}

*/
#nav li.fly {background-image: url(images/fly.gif);
		background-repeat: no-repeat;
		background-position: right center;}
		#nav li li.fly {background-image: url(images/fly.gif);
		background-repeat: no-repeat;
		background-position: right center;}
		
		#nav li.fly_o {background-image: url(images/fly.gif) no-repeat right center; cursor: default;}


#nav li li a {display:block;height:auto;/*height:20px;line-height:20px;*/ line-height:12px; float:none; padding:3px 25px 3px 5px; /*padding:0 25px 0 5px;*/font-weight:normal; letter-spacing:1px;}
/*#nav li li a.fly {background-image: url(fly.gif) no-repeat right center;}

#nav li li a.fly_o {background-image: url(fly.gif) no-repeat right center; cursor: default;}*/

#nav li:hover {position:relative; z-index:300;}
#nav li.cssplay_hover {position:relative; z-index:300;}
#nav li.cssplay_hover a {color:#000;}

#nav li li a {color:#000;}
#nav li li.cssplay_hover a {color:#fff; background-color:#FF0000;}   /*#D6D6D6;}*/

#nav li:hover ul {left:0; top:18px;z-index:500;}
#nav li.cssplay_hover ul {left:0; top:18px;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;} /*ori*/
/*--hack for IE 7 --*/
html* #nav li:hover li:hover > ul {left:-5px; margin-left:80px; top:-1px; z-index:500;}

/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto; }


/* Hover for the down level */
#nav li.down:hover > a {color:#fff; background:#999 url(images/down.gif) no-repeat right center;}
/* Hover for the fly level */
#nav li.fly:hover > a {color:#fff; background:#999 url(images/fly.gif) no-repeat right center;}
/* Hover for the first level without any extensions */
#nav li:hover > a {color:#fff; background-color:#999; }



/* but IE5.x and IE6 need this lot to style the flyouts*/
#nav li.cssplay_hover li.fly a
{background:#D6D6D6 url(images/fly.gif) no-repeat right center;}
#nav li.cssplay_hover li.cssplay_hover li a
{background:#D6D6D6;}

#nav li.down.cssplay_hover li.cssplay_hover a
{color:#fff; background-color:#999;}

#nav li.down.cssplay_hover li.fly.cssplay_hover li.cssplay_hover a
{color:#fff; background:#999;}

/*#nav li.cssplay_hover li.cssplay_hover a
{color:#fff; background:#999 url(images/fly.gif) no-repeat right center;}*/


#nav li.cssplay_hover li a,
#nav li.cssplay_hover li.cssplay_hover li a,
#nav li.cssplay_hover li.cssplay_hover li.cssplay_hover li a,
#nav li.cssplay_hover li.cssplay_hover li.cssplay_hover li.cssplay_hover li a,
#nav li.cssplay_hover li.cssplay_hover li.cssplay_hover li.cssplay_hover li.cssplay_hover li a
{color:#000; background-color:#D6D6D6;}

/* show next level */
#nav li.cssplay_hover li.cssplay_hover ul,
#nav li.cssplay_hover li.cssplay_hover li.cssplay_hover ul,
#nav li.cssplay_hover li.cssplay_hover li.cssplay_hover li.cssplay_hover ul,
#nav li.cssplay_hover li.cssplay_hover li.cssplay_hover li.cssplay_hover li.cssplay_hover ul
{left:100%; margin-left:-5px; top:-1px;}

/* keep further levels hidden */
#nav li.cssplay_hover ul ul,
#nav li.cssplay_hover li.cssplay_hover ul ul,
#nav li.cssplay_hover li.cssplay_hover li.cssplay_hover ul ul,
#nav li.cssplay_hover li.cssplay_hover li.cssplay_hover li.cssplay_hover ul ul
{position:absolute; left:-9999px; top:-9999px;}

