/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/skeleton2.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, 
#nav ul {padding:0; margin:0; list-style:none; font: 12px arial, verdana, sans-serif; background:url(transparent.gif); position:relative; z-index:100;}
#nav {height:20px; width:996px; padding:0; background-image: url('../img/bdesactiv.jpg');}

#nav li ul{
	z-index:100;
	font-size:11px;
	padding:0;
}
#nav li li li{
	width:190px;

}
#nav table {border-collapse:collapse;}
#nav li {float:left;width:166px; z-index:1000;padding:0;}
#nav li li {float:none; z-index:100; padding:0}
/* a hack for IE5.x and IE6 */
#nav li a li {float:left;padding:0;}

#nav li a {display:block; color:#663399; height:20px; line-height:20px; text-decoration:none; white-space:nowrap; text-align:center; padding:0;}
#nav li li a {height:20px; line-height:20px; float:none; border:solid #aaa; border-width:1px; padding:0;}

#nav li:hover {position:relative; z-index:100;background-image: url('../img/bactiv.jpg');}
#nav a:hover {position:relative; z-index:100; color:#fff;}
#nav li:hover > a {color:#fff;}

#nav :hover  ul {left:0; top:20px; z-index:300;}
#nav a:hover ul {left:-1px;}

#nav ul {position:absolute; left:-9999px; top:-9999px; background-color:#fff;}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul {left:0; margin-left:100%; top:0; border:solid #aaa; border-left:none; border-width:1px;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto;}
/* show path followed */
#nav li:hover li:hover > a {background:#663399; color:#fff; border:solid #aaa; border-left:none; border-width:1px;}

#nav li a:hover ul li a:hover {background:#663399;}

/* 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%; top:0;}

/* 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;}
