/**
 * 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.0em; margin-left:auto; margin-right:auto; /*width:960px;*/ width:965px; font-family:trebuchet MS;}

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:left;}
#nav li.over { z-index:999; }
#nav li a.haschildren { background: url(../images/petite_fleche.gif) no-repeat bottom right; }
#nav a,
#nav a:hover { /*display:block;*/ line-height:1.3em; text-decoration:none; }
#nav span { /*display:block;*/ cursor:pointer; white-space:nowrap; text-transform:uppercase; line-height:17px;}
#nav li ul span {white-space:normal;}

/************ 0 LEVEL  ***************/
#nav li span.nav-vacances { border-top: 1px solid #ed6a02; color:#ed6a02; background-color:#FEE475;}
#nav li span.nav-informatique { border-top: 1px solid #3E8AAC; }
#nav li span.nav-multimedia { border-top: 1px solid #D67892; }
#nav li span.nav-autre { border-top: 1px solid #EFC41D; }
#nav li span.nav-electro { border-top: 1px solid #96b935; }
#nav li { /*float:left;*/ /*height:25px;*/ display: inline; }
#nav li.active a { color:#3296c9; }
#nav a { /*float:left;*/ padding:4px 12px 5px 8px; position: relative; z-index: 0; color:#535353; font-weight:bold; }
#nav li.over a,
#nav a:hover { color:#3296c9; }

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.active { /*float:left;*/ margin:0; padding-bottom:1px; background:#ecf3f6 url(../images/nav_divider.gif) repeat-x 0 100%; display: block; }
/*#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; display: block; }
#nav ul li a { font-weight:normal !important; }

/************ 2ND LEVEL ************/
/*#nav ul { position:absolute; width:15em; top:25px; display:none; border:1px solid #899ba5; }*/
#nav ul { position:absolute; width:15em; top:21px; left:-10000px; border:1px solid #899ba5; }

/* 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 li.over > ul { display:block; }*/
#nav .premiere_ligne li { position:relative; z-index:1000; }
#nav .seconde_ligne li { position:relative; z-index:999; }

#nav li ul { z-index:999; float:left;}
#nav li.over > ul li.over > ul { left:180px; }
#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:-1px; left: 15em;}

#nav ul li span { display: block }

#nav .level0 .level1 li.level2{background:#d5e4eb none repeat scroll 0 0;}
#nav .level0 .level1 .level2 a{background-color:#d5e4eb;}

#nav .level0 .level1 .level2 a:hover {background-color:#cad8de;}
#nav li.over .level0 .level1 .level2 { float:none; margin:0; padding-bottom:1px; background:#d5e4eb url(../images/nav_divider.gif) repeat-x 0 100%; }
#nav li.over .level0 .level1 .last { background:#d5e4eb; padding-bottom:0; }





