/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

#nav { padding:0 20px 0 0; font-size:1em; }

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:left; }
#nav li.over { z-index:999; }
#nav a,
#nav a:hover { display:block; line-height:1.3em; text-decoration:none; }
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }
#nav li a { background:url(../images/nav_divider.png) top right no-repeat; }
#nav ul li.parent a { background:url(../images/i_nav-parent.gif) 100% 100% no-repeat; }
#nav ul li.parent li a { background-image:none; }

/*********** Category Colours **************/

#nav li.nav-digital-cameras:hover, #nav li.nav-digital-cameras.active {
	background: url(../images/nav_bg_digital-cameras.jpg) repeat-x;
}

#nav li.nav-slr-lenses:hover, #nav li.nav-slr-lenses.active {
	background: #6a51a2 url(../images/nav_bg_slr-lenses.jpg) repeat-x;
}


#nav li.nav-accessories:hover, #nav li.nav-accessories.active  {
	background: #ef5d21 url(../images/nav_bg_accessories.jpg) repeat-x;
}

#nav li.nav-bags:hover, #nav li.nav-bags.active  {
	background: #4071b4 url(../images/nav_bg_bags.jpg) repeat-x;
}

#nav li.nav-printers:hover, #nav li.nav-printers.active  {
	background: purple url(../images/nav_bg_printers.jpg) repeat-x;
}

#nav li.nav-tripods:hover, #nav li.nav-tripods.active  {
	background: #2d744a url(../images/nav_bg_tripods.jpg) repeat-x;
}

#nav li.nav-lighting:hover, #nav li.nav-lighting.active  {
	background: #c9489a url(../images/nav_lighting.jpg) repeat-x;
}

#nav li.nav-binos-and-scopes:hover, #nav li.nav-binos-and-scopes.active  {
	background: #2e764c url(../images/nav_binos.jpg) repeat-x;
}

#nav li.nav-clearance:hover, #nav li.nav-clearance.active  {
	background: #5dbb5a url(../images/nav_clearance.jpg) repeat-x;
}


#nav li.welcome_bar {
	width: 150px;
	text-align: right;
	color: #fff;
	font-weight: bold;
	display: none;
}

#nav li.welcome_bar p {
	padding: 5px 5px 0 0;
}

 
ul#nav li.mega div { 
	width: 18em; 
	position: absolute; 
	top: 1.6em; 
	left: 0em; 
	z-index: 25;
} 


/************ 0 LEVEL  ***************/
#nav li { float:left; }
#nav li.active a { color:#fff; }
#nav a { float:left; padding:5px 12px 6px 8px; font-weight:bold; color:#fff; }
#nav li.over a,
#nav a:hover { color: #fff; }

/************ 1ST LEVEL ************/

#nav div {height: 300px; }
#nav ul li,
#nav ul li.active { float:none; margin:0; padding-bottom:1px; background:#2d2d2d ; }
/*#nav ul li.over { background:#d5e4eb url(../images/nav_divider.gif) repeat-x 0 100%; }*/
#nav ul li.last { background:#2d2d2d; padding-bottom:0; }

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

/************* COLOUR SPECIFIC ************/

#nav li ul a { background: #2d2d2d; }
#nav li ul a:hover { color: #fff; }
/*#nav li.nav-digital-cameras ul a:hover { background: ; }

#nav li.nav-slr-lenses ul a:hover { background: #6B51A2; }
#nav li.nav-accessories ul a:hover { background: #F15D22;}
#nav li.nav-bags ul a:hover { background: #4371B8; }
#nav li.nav-tripods ul a:hover { background: #2AB9EA; }
#nav li.nav-printers ul a:hover { background: #1E839D;}
#nav li.nav-lighting ul a:hover { background: #C9499A; }
#nav li.nav-clearance ul a:hover { background: #5FBC59; }

/************ 2ND LEVEL ************/
#nav ul { position:absolute; width:15em; top:26px; left:-10000px; border-bottom: 5px solid #000; }

/* 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 { background: none; }
#nav ul li a:hover { color: #fff; }
#nav ul li a,
#nav ul li a:hover { color:#fff !important; }
#nav ul span, #nav ul li.last li span { padding:3px 15px 4px 15px;}

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

#nav li ul a:hover { color: #fff; }