/**
 * 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 { float:right; font-size:1.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 { cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

/************ 0 LEVEL  ***************/

#nav li 
{ float:left; background:url(../images/menu_der.jpg) no-repeat right top; margin-right:10px; padding-right:8px; text-align:center; }
#nav li a { float:left; }
#nav li.active a { color:#d96708; background:url(../images/menu_medio.jpg) repeat; }
#nav li.active a span { background:url(../images/menu_izq.jpg) no-repeat left top; color:#0A9600; }
#nav li.active { background:url(../images/menu_der.jpg) no-repeat right top; }
#nav a { padding:9px 0 2px; color:#a7c6dd; font-weight:bold; }
#nav .level0 a 
{ background:url(../images/menu_medio.jpg) repeat center top; }
#nav .home-link a 
{ background:url(../images/menu_medio.jpg) repeat center top; }
#nav .level0 a span 
{ background:url(../images/menu_izq.jpg) no-repeat left top; padding:10px 10px 2px 20px; color:#666; cursor:pointer; }
#nav .home-link a span 
{ background:url(../images/menu_izq.jpg) no-repeat left top; cursor:pointer; white-space:nowrap; color:#666; }
#nav li.over a,
#nav a:hover { color:#d96708; }
#nav .level1 a { background:none; width:200px; }
#nav .level1 a span { background:none; padding-top:0px; }

#nav li.active ul li a span { color:#333; }

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.active { float:left; margin:0; padding-bottom:1px; background:none; }
#nav ul.level0 li a { background:none; height:auto; }
#nav ul.level0 li a span { background:none; height:auto; } 
#nav ul.level0 li { text-align:left; height:auto; }
#nav ul li.last { background:none; padding-bottom:0; }
#nav ul li.level1 { height:auto; }


#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:200px; top:31px; opacity:0.8; filter:alpha(opacity:80); left:-10000px; border:1px solid #899ba5; background:#fff; }

/* 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.level2 a span { padding-left:5px; }
#nav ul.level0 ul.level1 li.over { width:200px; }
#nav ul.level0 ul.level1 li.over a:hover { width:200px; }

#nav ul li a { background:#ecf3f6; }
#nav ul li a:hover { background:#0A9600; color:#fff; }
#nav ul li a span:hover { color:#fff; }
#nav ul li.active a span:hover { color:#fff; }
#nav ul li a,
#nav ul li a:hover { color:#333 !important; }
#nav ul span, #nav ul li.last li span { padding:3px 4px;}

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



 /**********************************************Vertical Nav ****************************************/
    #nav_vert { }
     
    /************** ALL LEVELS *************/ /* Style consistent throughout all nav levels */
    #nav_vert li {
    list-style:none;
    position:relative;
    text-align:left;
    }
    #nav_vert li.over { z-index:999; height:auto; }
    #nav_vert li.active { z-index:900; } /* to prevent the li separator from showing through on mouseover on li */
    #nav_vert a { line-height:1.3em; }
    #nav_vert a, #nav_vert a:hover { display:block; text-decoration:none; }
    #nav_vert span { display:block; cursor:pointer; color: #fff; }
     
    /************ 1ST LEVEL ***************/
    #nav_vert li { width:170px; }
    #nav_vert li.active a { color:#4c6a16; }
    #nav_vert a {
     
    display:block;
    padding:5px 12px 6px 8px;
    color:#4c6a16;
    font-weight:bold;
    font-family:Trebuchet MS;
    font-size:13px;
	background:#0A9600; 
	border-bottom:1px solid #fff;
	margin-right:5px;
	}
	#nav_vert .over a {	/*background:url(../images/fondo-enlace-categoria-abierta.jpg) right 5px no-repeat;*/ }
	#nav_vert .over ul a {  }
    #nav_vert li.over a, #nav_vert a:hover { color:#CCCCCC; }
	#nav_vert .over ul li a { }
     
    /************ 1ST LEVEL RESET ************/
    #nav_vert ul li, #nav_vert ul li.active {
     
    float:none;
    height:auto;
    background:none;
    margin:0;
    }
    #nav_vert ul a, #nav_vert ul a:hover {
    float:none;
    padding:0;
    }
    #nav_vert ul li a { font-weight:normal !important; background:url(../images/fondo-enlace-categoria-abierta.jpg) right 5px no-repeat; z-index:1000; }
     
    /************ 2ND LEVEL ***********/
    #nav_vert ul {
	width:170px;
    }
     
     
    /* Show menu */
    #nav_vert li.over ul { left:0; position:relative; }
    #nav_vert li.over ul ul { /*left:-10000px;*/  }
    #nav_vert li.over ul li.over ul { left:0px; }
     
    #nav_vert ul li a { background:#FFFFFF/*#ecf3f6*/;  }
    #nav_vert ul li a:hover {  }
    #nav_vert ul li a span { }
    #nav_vert ul li a, #nav_vert ul li a:hover { }
    #nav_vert ul span, #nav_vert ul li.last li span { padding:6px 15px 6px 15px; background:#0A9600 url(../images/btn_mas.jpg) no-repeat 145px 6px; }
    #nav_vert ul li.last span { background:#0A9600 url(../images/btn_mas.jpg) no-repeat 145px 6px; }
     
     
    /************ 3RD+ LEVEL ************/
     
    #nav_vert ul ul { position:relative; }
	#nav_vert ul ul li a span { text-indent:10px; }
    #nav_vert ul ul ul { /*left:-10000px;*/ }
    #nav_vert li.over ul li.over ul ul { left:0px;}
    #nav_vert li.over ul li.over ul li.over ul { left:0px; }
     
    /* Fix for the IE bug */
     
    #nav_vert iframe {
    position: relative;
    left: -1px;
    top: 0;
    z-index: -1;
    filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
    } 

