/**
 * 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 { font-size:13px; background:url(../images/bg_nav.gif) repeat-x left bottom; text-transform:uppercase; padding-top:5px; }

/************** ALL LEVELS  *************/
#nav li { position:relative; text-align:left; float:left; }
#nav li.over { position:relative; z-index:999; }
#nav span, #nav a { display:block; cursor:pointer; white-space:nowrap; }

/* LV1 */
#nav li a { float:left; display:block; text-indent:-9999px; height:29px;}

#nav li.home a { width:31px; background: url(../images/nav_home.png) no-repeat 0 0;}
#nav li.nav-materie a { width:77px; background: url(../images/nav_materie.png) no-repeat 0 0;}
#nav li.area-coupon a { width:69px; background: url(../images/nav_coupon.png) no-repeat 0 0;}
#nav li.saggi a { width:63px; background: url(../images/nav_saggi.png) no-repeat 0 0;}
#nav li.applicazioni a { width:98px; background: url(../images/nav_applicazioni.png) no-repeat 0 0;}
#nav li.supporto a { width:81px; background: url(../images/nav_supporto.png) no-repeat 0 0;}
#nav li.chi-siamo a { width:81px; background: url(../images/nav_chi-siamo.png) no-repeat 0 0;}
#nav li.area-editori a { width:100px; background: url(../images/nav_area-editori.png) no-repeat 0 0;}
#nav li.area-scuole a { width:100px; background: url(../images/nav_area-scuole.png) no-repeat 0 0;}

/* hover */
#nav li.home a:hover { background: url(../images/nav_home.png) no-repeat 0 -29px;}
#nav li.nav-materie a:hover { background: url(../images/nav_materie.png) no-repeat 0 -29px;}
#nav li.area-coupon a:hover { background: url(../images/nav_coupon.png) no-repeat 0 -29px;}
#nav li.saggi a:hover { background: url(../images/nav_saggi.png) no-repeat 0 -29px;}
#nav li.applicazioni a:hover { background: url(../images/nav_applicazioni.png) no-repeat 0 -29px;}
#nav li.supporto a:hover { background: url(../images/nav_supporto.png) no-repeat 0 -29px;}
#nav li.chi-siamo a:hover { background: url(../images/nav_chi-siamo.png) no-repeat 0 -29px;}
#nav li.area-editori a:hover { background: url(../images/nav_area-editori.png) no-repeat 0 -29px;}
#nav li.area-scuole a:hover { background: url(../images/nav_area-scuole.png) no-repeat 0 -29px;}

/* active */
html>body #nav li.active { margin-top:-8px; }
html>body #nav li.active a { margin-left:-1px; margin-right:1px; padding-bottom:8px; }

html>body #nav li.nav-materie.active a { background: url(../images/nav_materie.png) no-repeat 0 -60px;}
html>body #nav li.area-coupon.active a { background: url(../images/nav_applicazioni.png) no-repeat 0 -60px;}
html>body #nav li.saggi.active a { background: url(../images/nav_coupon.png) no-repeat 0 -60px;}
html>body #nav li.applicazioni.active a { background: url(../images/nav_saggi.png) no-repeat 0 -60px;}
html>body #nav li.supporto.active a { background: url(../images/nav_supporto.png) no-repeat 0 -60px;}
html>body #nav li.chi-siamo.active a { background: url(../images/nav_chi-siamo.png) no-repeat 0 -60px;}
html>body #nav li.area-editori.active a { background: url(../images/nav_area-editori.png) no-repeat 0 -60px;}
html>body #nav li.area-scuole.active a { background: url(../images/nav_area-scuole.png) no-repeat 0 -60px;}


/***** navigazione cms *****/
/* HOME 
.cms-home #nav li.home a {
	margin-left:-1px; background: url(../images/nav_home.png) no-repeat 0 0;
} */

/* APPLICAZIONI */
.cms-applicazioni #nav li.applicazioni a {
	margin-left:-1px; margin-right:1px; background: url(../images/nav_applicazioni.png) no-repeat 0 -60px; padding-bottom:8px; margin-top:-8px;
}
.customer-account-createcoupon #nav li.area-coupon a {
	margin-left:-1px; margin-right:1px; background: url(../images/nav_coupon.png) no-repeat 0 -60px; padding-bottom:8px; margin-top:-8px;
}
.customer-account-createsage #nav li.saggi a {
	margin-left:-1px; margin-right:1px; background: url(../images/nav_saggi.png) no-repeat 0 -60px; padding-bottom:8px; margin-top:-8px;
}

/* SUPPORTO */
.cms-supporto #nav li.supporto a,
.cms-desktop #nav li.supporto a,
.cms-mobile #nav li.supporto a,
.cms-faq #nav li.supporto a,
.cms-costituzione-repubblica-italiana #nav li.supporto a {
	margin-left:-1px; margin-right:1px; background: url(../images/nav_supporto.png) no-repeat 0 -60px; margin-top:-8px; padding-bottom:8px;		
}

/* CHI SIAMO */
.cms-contatti #nav li.chi-siamo a,
.cms-chi-siamo #nav li.chi-siamo a,
.cms-editori #nav li.chi-siamo a,
.cms-partner #nav li.chi-siamo a,
.cms-legal #nav li.chi-siamo a {
	margin-left:-1px; margin-right:1px; background: url(../images/nav_chi-siamo.png) no-repeat 0 -60px; margin-top:-8px; padding-bottom:8px;	
}

/* AREA EDITORI */
.contact-index-index #nav li.area-editori a {
	margin-left:-1px;  margin-right:1px; background: url(../images/nav_area-editori.png) no-repeat 0 -60px; padding-bottom:8px; margin-top:-8px;	
}

/* AREA SCUOLE */
.istituti-index-index #nav li.area-scuole a {
	margin-left:-1px; margin-right:1px; background: url(../images/nav_area-scuole.png) no-repeat 0 -60px; margin-top:-8px; padding-bottom:8px;
}

