/* ==================================================================
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.
=====================================================================
Modified By Smokeman | PHPFusion-Tips.dk for the DeLuxe Dropdown Menu
Email: smokeman@esenet.dk
Web: www.phpfusion-tips.dk/
===================================================================== */

.preload1 {background: url(bg_hover.gif);}
.preload2 {background: url(bg_arrow_hover.gif);}

#nav {padding:0; margin:0; list-style:none; height:26px; background:url(bg.gif) right top; position:relative; z-index:500; font-family:Verdana, Arial, Helvetica, sans-serif;}
#nav li.top {display:block; float:left;}

/*#nav li a.top_link {display:block; float:left; height:20px; line-height:19px; color:#fff; text-decoration:none; font-size:10px; font-weight:normal; padding:0 0 0 12px; cursor:pointer; background: url(bg.gif);}
#nav li a.top_link div {float:left; display:block; padding:0 24px 0 12px; height:20px;background:url(bg.gif) right top;}
#nav li a.top_link div.down {float:left; display:block; padding:0 24px 0 12px; height:20px; background:url(bg_arrow.gif) no-repeat right top;}
#nav li a.top_link:hover {color:#fff; background: url(bg_hover.gif) no-repeat;}
#nav li a.top_link:hover div {background:url(bg_hover.gif) no-repeat right top; text-decoration:underline;}
#nav li a.top_link:hover div.down {background:url(bg_arrow_hover.gif) no-repeat right top;}*/

#nav li a.top_link {float:left; display:block; height:26px; line-height:24px; color:#fff; text-decoration: none; font-size:10px; font-weight:normal; padding:0 0 0 12px; cursor:pointer;}
#nav li div {float:left; display:block; margin-left:12px; padding-right:24px; height:26px; background: url(bg.gif) right top no-repeat;}
#nav li div.down {float:left; display:block; margin-left:12px; padding-right:24px; height:26px; background: url(bg_arrow.gif) no-repeat right top;}

#nav li.top:hover{background: url(bg_hover.gif) no-repeat;}
#nav li:hover a.top_link {color:#fff; text-decoration: underline;}
#nav li:hover div {background: url(bg_hover.gif) no-repeat right top;}
#nav li:hover div.down {background: url(bg_arrow_hover.gif) no-repeat right top;}

#nav li:hover > a.top_link {color:#fff; background: url(bg_hover.gif) no-repeat;}
#nav li:hover > a.top_link div {background:url(bg_hover.gif) no-repeat right top; text-decoration:underline;}
#nav li:hover > a.top_link div.down {background:url(bg_arrow_hover.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:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover ul.sub
{left:20px; top:26px; background: #EEE; padding:3px; border:1px solid #BBB; white-space:nowrap; width:160px; height:auto; z-index:300;}
#nav li:hover ul.sub li
{display:block; height:18px; position:relative; float:left; width:160px; font-weight:normal;}
#nav li:hover ul.sub li a
{display:block; font-size:10px; height:18px; width:160px; line-height:18px; text-indent:5px; color:#555; text-decoration:none;}
#nav li ul.sub li a.fly
{background:#EEE url(side_arrow.gif) 150px 7px no-repeat;}
#nav li:hover ul.sub li a:hover 
{color:#F6A504; text-decoration:underline;}
#nav li:hover ul.sub li a.fly:hover
{background: url(side_arrow_hover.gif) 150px 7px no-repeat; color:#F6A504; text-decoration:underline;}

#nav li:hover ul li:hover > a.fly {background:#EEE url(side_arrow_hover.gif) 150px 7px no-repeat; color:#F6A504; text-decoration:underline;} 

#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:160px; top:-4px; background: #EEE; padding:3px; border:1px solid #BBB; white-space:nowrap; width:160px; z-index:400; height:auto;}