/* ================================================================ 
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.
=================================================================== */

#nav {padding:0; margin:0; list-style:none; height:25px; 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:23px; margin-top: 2px; line-height:20px; color:#ffffff; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 12px; cursor:pointer; background: url(../images/blank.gif);}
#nav li a.top_link span {float:left; display:block; padding:0 24px 0 12px; height:23px;background:url(../images/blank.gif) right top;}
#nav li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:23px; background:url(../images/blanka.gif) no-repeat right top;}
#nav li a.top_link:hover {color:#ffff00; background: url(../images/blank_over.gif) no-repeat;}
#nav li a.top_link:hover span {background:url(../images/blank_over.gif) no-repeat right top;}
#nav li a.top_link:hover span.down {background:url(../images/blank_overa.gif) no-repeat right top;}

#nav li:hover>a.top_link {color:#ffff00; background: url(../images/blank_over.gif) no-repeat;}
#nav li:hover>a.top_link span {background:url(../images/blank_over.gif) no-repeat right top;}
#nav li:hover>a.top_link span.down {background:url(../images/blank_overa.gif) no-repeat right top;}

/* 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:-300px; top:-900px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li.top:hover ul.sub
{left:0; top:25px; background: #7fa2b6; padding:3px; border:1px solid #3a93d2; white-space:nowrap; width:130px; height:auto; z-index:300;}
#nav li:hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:130px; font-weight:normal;}
#nav li:hover ul.sub li a
{display:block; font-size:11px; height:20px; width:130px; line-height:20px; text-indent:5px; font-weight: bold; color:#ffffff; text-decoration:none;}
#nav li ul.sub li a.fly
{background:#7fa2b6 url(../images/arrow.gif) 120px 7px no-repeat;}
#nav li:hover ul.sub li a:hover 
{background:#3a93d2; color:#ffff00;}
#nav li:hover ul.sub li a.fly:hover
{background:#3a93d2 url(../images/arrow_over.gif) 120px 7px no-repeat; color:#ffff00;}

#nav li:hover ul li:hover > a.fly {background:url(../images/arrow_over.gif) 120px 7px no-repeat; color:#ffff00;} 

#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:130px; top:-4px; background: #7fa2b6; padding:3px; border:1px solid #3a93d2; white-space:nowrap; width:130px; z-index:400; height:auto;}
