/* Basic code - don't modify */
 
 #nav { display: block; margin: 0; padding: 0; }
  #nav li { display: block; list-style: none; margin: 0; padding: 0; float: left; position: relative; }
  #nav a { display: block; }
  #nav ul { display: none; position: absolute; margin: 0; padding: 0; }
  * html #nav ul { line-height: 0; } /* IE6 "fix" */
  	#nav ul a { zoom: 1; } /* IE6/7 fix */
    #nav ul li { float: none; }
    #nav ul ul { top: 0; }
    
/* Essentials - configure this */

/*#nav ul { width: 130px; }*/
#nav ul ul { }

/* Everything else is theming */
 
#nav
{
	position: absolute;
	top: 47px;
	right: -8px;
	height: 22px;
}
	#nav *:hover
	{
		background-color: none;
	}
	#nav a
	{
		border-right: 1px solid white;
		color: #000;
		font-size: 12px;
		padding: 0px;
		line-height: 1;
		position:relative;
	}
		/* current / section */
		#nav a.current,
		#nav a.section
		{
			background-color: #000;
			background-image: url('../images/header_menu_item_current_left_bg.png');
			background-position: top left;
			background-repeat: no-repeat;
		}
			#nav a.current span,
			#nav a.section span
			{
				color: #fff;
				background-image: url('../images/header_menu_item_current_right_bg.png');
				background-position: top right;
				background-repeat: no-repeat;
			}

		#nav a.hover,
		#nav a:hover,
		#nav a.current:hover,
		#nav a.section:hover
		{
			background-color: #f2d900;
			background-image: url('../images/header_menu_item_hover_left_bg.png');
			background-position: top left;
			background-repeat: no-repeat;
		}
		
		#nav a span
		{
			display: block;
			height: 22px;
			line-height: 21px;
			padding: 0px 10px;
		}

		#nav a.hover span,
		#nav a:hover span,
		#nav a.current:hover span,
		#nav a.section:hover span
		{
			color: #000;
			background-image: url('../images/header_menu_item_hover_right_bg.png');
			background-position: top right;
			background-repeat: no-repeat;
			
		}

  	#nav li
	{
		position: relative;
	}
  
  	#nav ul
	{
		position: absolute;
		top: 27px;
		list-style: none;
		white-space:nowrap;
		width: 900px;
		height: 30px;
		right: 1px;
	}
	
	#nav ul li
	{
		position: relative;
		display: block;
		float: right;
		/*background: red;*/
		height: 30px;
		white-space:nowrap;
	}
	#nav ul li a
	{
		display: block;
		float: left;
	}
	
	/*
    #nav li.hover ul a,
	#nav ul a.hover a,
	#nav ul a.hover
	*/
	#nav li ul a
	{
		border: none;
		padding: 5px 6px 5px 7px;
		background-color: #f2d900;
	}
	#nav li ul.submenu li:last-child a
	{
		background-image: url('../images/header_menu_item_hover_left_bg.png');
		background-position: top left;
		background-repeat: no-repeat;
		padding-left: 10px;
	}
	#nav li ul.submenu li:first-child a
	{
		background-image: url('../images/header_menu_item_hover_right_bg.png');
		background-position: top right;
		background-repeat: no-repeat;
		padding-right: 10px;
	}
	#nav li ul li:last-child a
	{
		border-bottom: none;
	}

	#nav ul a.hover
	{
		background-image: none;
	}
	
	#nav li ul a:hover
	{
		/*background-color: #f2d900;*/
	}

/* #nav ul a { border-bottom: none; } - I also needed this for IE6/7 */


