/**c
 * 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; font-size:1.1em; }*/

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:left; }
#nav li.over { z-index:9999; }
#nav a,
#nav a:hover {display:block;}
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

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

/************ 1ST LEVEL ************/
/*#nav ul li,
#nav ul li.active { float:none; margin:0; padding-bottom:1px; background:#ecf3f6 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; padding-bottom:0; }*/

#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:25px; left:-10000px; z-index: 9999;}

/* Show menu */
#nav li.over > ul { left:0; }
#nav li.over > ul li.over > ul { left:198px; top: -10px; background: none; font-size: 1.1em; padding-top: 0; border-top: 1px solid #aab7c3!important;}
#nav li.over > ul li.over > ul div{
	padding: 10px 0 0 20px;
}
#nav li.over ul ul { left:-10000px; }

/*#nav ul li a { background:#ecf3f6; }
#nav ul li a:hover { background:#d5e4eb; }
#nav ul li a,
#nav ul li a:hover { color:#2f2f2f !important; }
#nav ul span, #nav ul li.last li span { padding:3px 15px 4px 15px;}*/

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



/* BBY */

#nav{
	width: 980px;
	height: 49px;
	position: absolute;
	z-index: 9999;
	left: 0;
	bottom: 0;
	background: url(../images/background-menu.gif) no-repeat;
	padding-left: 5px;
}
#nav li{
	float: left;
	height: 49px;
	position: relative;
}
#nav li a{
	display: block;
	text-indent: -1000em;
	height: 49px;
	background: url(../images/menu-grid.gif) no-repeat;
}

#nav li.nav-tv-y-video a{
	width: 109px;
	background-position: 0 0;
}
#nav li.nav-audio a{
	width: 92px;
	background-position: -109px 0;
}
#nav li.nav-auto-y-gps a{
	width: 110px;
	background-position: -201px 0;
}
#nav li.nav-camaras-y-videocamaras a{
	width: 110px;
	background-position: -311px 0;
}
#nav li.nav-computadoras-y-accesorios a{
	width: 114px;
	background-position: -421px 0;
}
#nav li.nav-celulares-y-oficina a{
	width: 100px;
	background-position: -535px 0;
}
#nav li.nav-musica-y-peliculas a{
	width: 110px;
	background-position: -635px 0;
}
#nav li.nav-hogar a{
	width: 92px;
	background-position: -745px 0;
}
#nav li.nav-consolas-y-videojuegos a{
	width: 138px;
	background-position: -837px 0;
}

#nav li.nav-tv-y-video a:hover, #nav li.nav-tv-y-video.over a{
	background-position: 0 -49px;
}
#nav li.nav-tv-y-video.over a{
	background-position: 0 -49px !important;
}
#nav li.nav-audio a:hover, #nav li.nav-audio.over a{
	background-position: -109px -49px;
}
#nav li.nav-auto-y-gps a:hover, #nav li.nav-auto-y-gps.over a{
	background-position: -201px -49px;
}
#nav li.nav-camaras-y-videocamaras a:hover, #nav li.nav-camaras-y-videocamaras.over a{
	background-position: -311px -49px;
}
#nav li.nav-computadoras-y-accesorios a:hover, #nav li.nav-computadoras-y-accesorios.over a{
	background-position: -421px -49px;
}
#nav li.nav-celulares-y-oficina a:hover, #nav li.nav-celulares-y-oficina.over a{
	background-position: -535px -49px;
}
#nav li.nav-musica-y-peliculas a:hover, #nav li.nav-musica-y-peliculas.over a{
	background-position: -635px -49px;
}
#nav li.nav-hogar a:hover, #nav li.nav-hogar.over a{
	background-position: -745px -49px;
}
#nav li.nav-consolas-y-videojuegos a:hover, #nav li.nav-consolas-y-videojuegos.over a{
	background-position: -837px -49px;
}

#nav li ul{
	/* width: 220px; */
	/*background: url(../images/submenu-top.gif) 40px 0 no-repeat; */
	padding-top: 5px;
	top: 44px;
}
#nav ul div{
	width: 198px;
	border: 1px solid #aab7c3;
	border-top: 0;
	background: url(../images/background-submenu.gif) top repeat-x #fff;
	padding: 20px 0 10px 20px;
	/* max-height: 300px; */
}
#nav ul img{
	position: absolute;
	top: 1px;
	left: 50px;
}
#nav li ul li{
	height: auto;
	float: none;
	font-size: .9em;
	margin-bottom: 10px;
	*margin-left: -20px;
}
#nav li ul li.level2{
	margin-left: 15px;
	*margin-left: -10px !important;
}
#nav li ul li a{
	width: auto !important;
	height: auto;
	text-indent: 0;
	background: none;
	color: #002b50;
}


/*#nav li ul { background: url(../images/submenu-top.gif) top left no-repeat;  }*/
#nav li ul li{ margin-bottom: 8px; }
#nav li ul .level1 a { font-weight: bold !important; text-transform: uppercase; }
/*#nav ul.level0 { width: 1000px; }*/
/*test*/
#nav .bloque-anidado { float: left; height: 400px; }

/* #nav .bloque-anidado5 { position: relative; left: -421px; border: 1px solid red; } */

/*#nav li.over > ul.level0-5 {  left: -421px; left: -390px; }
#nav li.over > ul.level0-6 { left: -500px; }
#nav li.over > ul.level0-7 { left: -220px; }
#nav li.over > ul.level0-8 { left: -440px; }
#nav li.over > ul.level0-9 { left: -522px; }*/

#nav li ul.level0-5 { background-position: 390px top; }
#nav li ul.level0-6 { background-position: 500px top; }
#nav li ul.level0-7 { background-position: 220px top; }
#nav li ul.level0-8 { background-position: 440px top; }
#nav li ul.level0-9 { background-position: 440px top; }

#nav ul.level0-2 img{left: 40px;}
/*#nav ul.level0-5 img{left: 441px;}
#nav ul.level0-6 img{left: 545px;}
#nav ul.level0-7 img{left: 270px;}
#nav ul.level0-8 img{left: 480px;}
#nav ul.level0-9 img{left: 580px;}*/

#nav ul.level0-5 img{left: 221px;}
#nav ul.level0-6 img{left: 221px;}
#nav ul.level0-7 img{left: 100px;}
#nav ul.level0-8 img{left: 110px;}
#nav ul.level0-9 img{left: 145px;}


/** ESTOS VALORES TAMBIEN APARECEN EN /js/varien/iehover-ix.js */
#nav li.over > ul.level0-5, #nav li.IE6over > ul.level0-5 { left: -170px; }
#nav li.over > ul.level0-6, #nav li.IE6over > ul.level0-6 { left: -170px; }
#nav li.over > ul.level0-7, #nav li.IE6over > ul.level0-7 { left: -50px; }
#nav li.over > ul.level0-8, #nav li.IE6over > ul.level0-8 { left: -65px; }
#nav li.over > ul.level0-9, #nav li.IE6over > ul.level0-9 { left: -82px; }
/** ESTOS VALORES TAMBIEN APARECEN EN /js/varien/iehover-ix.js */


#nav li.nav-computadoras-y-accesorios.IE6over > ul.level0-5 { left: -170px; }

#nav li ul{
	width: 220px !important;
}
#nav li.nav-computadoras-y-accesorios ul, #nav li.nav-celulares-y-oficina ul{
	width: 440px !important;
}


