/* ================================================================ 
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.stunicholls.com/menu/pro_drop_1.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.
=================================================================== */

.preload1 {background: url(blank_over.gif);}
.preload2 {background: url(blank_overa.gif);}

#nav {padding:0; margin:0; list-style:none; height:42px; position:relative; z-index:500; font-family:arial, verdana, sans-serif;}
#nav li.top {display:block; float:left;}

#nav li a.top_link {display:block; float:left; height:42px; line-height:39px; color:#FFF; text-decoration:none; font-size:13px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;background-color:transparent;outline-style:none}
#nav li a.top_link span {float:left; display:block; padding:0 24px 0 12px; height:39px;background-color:transparent;}
#nav li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:39px; background-color:transparent;}



#nav li a.top_link:hover {color:#fff; background-color: gray;}
#nav li a.top_link:hover span {background-color:gray;}
#nav li a.top_link:hover span.down {background-color:gray;}

#nav li:hover > a.top_link {color:#fff; background-color:black;}
#nav li:hover > a.top_link span {background-color:black;}
#nav li:hover > a.top_link span.down {background-color:black;}

#nav li a.top_link:focus {color:white; background-color:black;border:none ; -moz-outline-style: none; outline:none;}


/* Default list styling */

#nav li:hover {position:relative; z-index:200;}

/* keep the 'next' level invisible by placing it off screen. */
#nav ul, 
#nav li:hover ul ul,
#nav li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover ul.sub
{left:0; top:41px; background: gray; padding:3px; border:1px solid black; white-space:nowrap; width:150px; height:auto; z-index:300;}
#nav li:hover ul.sub li
{display:block; height:30px; position:relative; float:left; width:150px; font-weight:normal;}
#nav li:hover ul.sub li a
{display:block; font-size:13px; height:30px; width:150px; line-height:30px; text-indent:5px; color:#fff; text-decoration:none;}
#nav li ul.sub li a.fly
{background:gray url(arrow.gif) 140px 13px no-repeat;}
#nav li:hover ul.sub li a:hover 
{background:black; color:gray;}
#nav li:hover ul.sub li a.fly:hover
{background:black url(arrow_over.gif) 140px 7px no-repeat; color:gray;}

#nav li:hover ul li:hover > a.fly {background:black url(arrow_over.gif) 140px 7px no-repeat; color:gray;} 

#nav li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul
{left:90px; top:-4px; background: gray; padding:3px; border:1px solid black; white-space:nowrap; width:150px; z-index:400; height:auto;}

