/**
 * 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 0px; font:1.27em arial, helvetica, trebuchet ms; z-index:999; margin:0 auto; text-transform: uppercase;}

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li {
	list-style:none;
        padding:0px 0px;
	position:relative;
	text-align:left;
        border-right:solid 1px #FFF;
	}
#nav li.over { z-index:99; background:url(../images/top_menu.gif) no-repeat;}
#nav li.active { z-index:98; background:url(../images/top_menu.gif) no-repeat;} /* 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:#000000; }
#nav a { float:left; padding:8px 22px 8px 22px; color:#FFF;}
#nav li.over a, #nav a:hover { color:#000000;}


/************ 1ST LEVEL RESET ************/
#nav ul li, #nav ul li.active {
	float:none;
        border-bottom:1px solid #999999;
	margin:0;
	padding-bottom:1px;
	background:#FFF url(../images/nav_divider.gif) repeat-x 0 100%;	
	}
#nav ul li.over {background:#d5e4eb url(../images/nav_divider.gif) repeat-x 0 100%;}
#nav ul li.last { background:#ecf3f6;}

	
#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:14em;
	top:28px;
	left:-10000px;
        border:1px solid #999999;
        font-size:0.9em;
}

/* 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:#FFFFFF; }
#nav ul li a:hover { background:#DDDDDD; }
#nav ul li a, #nav ul li a:hover {  color:#2f2f2f; !important;}
#nav ul span, #nav ul li.last li span { padding:5px 5px 5px 5px;}


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

/***************VERTICAL**********************/
/*****ALL*****/

ul#nav_vert ul.level0 {
    list-style-type:circle;
}
ul#nav_vert ul.level1 {
    list-style-type:square;
}

ul#nav_vert li a:link,
ul#nav_vert li a:visited,
ul#nav_vert li ul li a:link,
ul#nav_vert li ul li a:visited,
ul#nav_vert li ul li ul li a:link,
ul#nav_vert li ul li ul li a:visited {
    font-size:11px;
    font-weight:bold;
    color:#333333;
    letter-spacing:0.1em;
    text-align:left;
    text-decoration:none;
}

ul#nav_vert li a:link,
ul#nav_vert li a:visited {
    line-height:20px;
    text-transform:uppercase;
}

ul#nav_vert li ul li a:link,
ul#nav_vert li ul li a:visited,
ul#nav_vert li ul li ul li a:link,
ul#nav_vert li ul li ul li a:visited {
    line-height:16px;
    text-transform:none;
}

ul#nav_vert li a:hover,
ul#nav_vert li.active a,
ul#nav_vert li ul li a:hover,
ul#nav_vert li ul li.active a,
ul#nav_vert li ul li ul li a:hover,
ul#nav_vert li ul li ul li.active a {
    color:#000000;
    }

ul#nav_vert li ul {
    margin:0 0 0 20px;
}

ul#nav_vert li ul li a:hover,
ul#nav_vert li ul li ul li a:hover {
    text-decoration:underline;
} 
