/* ================================================================ 
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_pullup_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);}
/* top margin for this demo only */
#nav {float: right; padding:0; margin-right:30px; list-style:none; height:26px; background:#fff; position:relative; z-index:500; font-family:verdana, arial, sans-serif;}
#nav li.top {display:block; float:left; padding-top:0px;}
#nav li a.top_link {display:block; float:left; height:26px; line-height:27px; color:#fff; text-decoration:none; font-size:11px; padding:0 0 0 6px; cursor:pointer; background-color: #fff;}
#nav li a.top_link span {float:left; display:block; padding:0 12px 0 6px; height:26px;background-color: #C78C2A;}
#nav li a.top_link span.down {float:left; display:block; padding:0 12px 0 6px; height:26px; background-color: #C78C2A;}
#nav li a.top_link:hover {color:#C78C2A; background:-color: #fff;}
#nav li a.top_link:hover span {background-color:#fff; line-height:27px;}
#nav li a.top_link:hover span.down {background-color:#fff; line-height:27px;}

#nav li:hover > a.top_link {color:#C78C2A; background-color:#fff;}
#nav li:hover > a.top_link span {background-color:#fff; line-height:27px;}
#nav li:hover > a.top_link span.down {background-color:#fff; line-height:27px;}

#portfoliolink #portfolio span { 
	color:#fff; background-color:#EAD4AF;
}

/* Default list styling */

#nav li:hover {position:relative; z-index:200; background:#fff;}

/* 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
{left:10px; bottom:26px; top:auto; background: #fff; padding:0px; white-space:nowrap; width:auto; width: 100px; height:auto; z-index:300;}
* html #nav li:hover ul {width:0;}
#nav li:hover ul li
{display:block; position:relative; width: 100px; float:left; font-weight:normal; background-color:#5C3432; margin-bottom: 3px; clear:left;}
#nav li:hover ul li a
{display:block; font-size:11px; height:20px; width: 100px; line-height:20px; padding:0 5px; color:#fff; text-decoration:none;}
#nav li ul li a.fly
{color:#4f8383; font-weight:bold;}
#nav li:hover ul li:hover 
{background:#C78C2A;}
#nav li:hover ul li a:hover {text-decoration:none;}
#nav li:hover ul li a.fly:hover
{background:#4f8383; color:#fff; text-decoration:none;}
#nav li:hover ul li:hover.fly {background:#4f8383;}

#nav li:hover ul li:hover.fly > a.fly {background:#4f8383; color:#fff; text-decoration:none;} 

#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:-5px; margin-left:100%; bottom:-4px; top:auto; background: #fff; padding:3px; border:1px solid #4f8383; white-space:nowrap; width:auto; z-index:500; height:auto;}
