/**
 * templatemonster.com
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 *
 * @category   design_theme001
 * @package    TM
 * @copyright  Copyright (c) 2008 templatemonster.com (http://www.templatemonster.com)
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */

#nav {margin:0; padding:0; list-style:none; font-size:17px; font-weight:bold;}

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li {float:left; position:relative;}
#nav .separator {padding:9px 0 8px; color:#322626;}

#nav li.over { z-index:99; }
#nav li.active { z-index:98; } /* to prevent the li separator from showing through on mouseover on li */
#nav a { line-height:1.3em; }
#nav a, #nav a:hover { display:block; text-decoration:none; }
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

/************ 1ST LEVEL  ***************/
#nav li { float:left; }
#nav li.active a { color:#ff6600; }
#nav a { float:left; padding:9px 17px 8px; color:#ff6600; font-weight:normal; }
#nav li.over a, #nav a:hover { color:#0A265E; }


/************ 1ST LEVEL RESET ************/
#nav ul li, #nav ul li.active {
	float:none;
	margin:0;
	padding-bottom:1px;
	}
#nav ul li.over { background:#EEEEEE; }
#nav ul li { padding-bottom:0; border-bottom:1px solid #DDDDDD}
#nav ul li.last { padding-bottom:0; border-bottom:0; }
#nav li.last a { background:none; }

	
#nav ul a, #nav ul a:hover {
	float:none;
	padding:0;
	background:none;
	}
#nav ul li a { font-weight:normal !important; }


/************ 2ND LEVEL ************/
#nav ul {
	position: absolute;
	width:15em;
	top:30px;
	left:-10000px;
  border:1px solid #DDDDDD;
  background:#F5F5F5;
}

/* Show menu */
#nav li.over > ul { left:0; }
#nav li.over > ul li.over > ul { left:100px; }
#nav li.over ul ul { left:-10000px; }


#nav ul li a {padding:9px 28px 8px 30px; color:#3366cc; font-weight:bold; }
#nav ul li a:hover { color:#ff6600; font-weight:bold; padding:9px 28px 8px 30px;}
#nav ul li a, #nav ul li a:hover { color:#ff6600 !important; }
#nav ul span, #nav ul li.last li span { }


/************ 3RD+ LEVEL ************/
#nav ul ul { top:5px; }