/**
 * 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:0px; padding-bottom: 3px; font-size:1.1em; background-image: url(../images/fond-nav.png); background-repeat: no-repeat; background-color: transparent; height: 33px; background-position: bottom; z-index: 100000000000000;}

/************** 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 { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }


/************ 0 LEVEL  ***************/
#nav li.active a { color:#ff0090; font-weight: bold; font-style: italic; background-image: url(../images/menu-fond.png); background-repeat: no-repeat; background-position: 0 100%;  }

#nav li { float:left; margin-left: -78px;  }


#nav li a { float:left; padding:5px 12px 6px 8px; color:#e363a3; font-weight: normal; background-image: url(../images/menu-fond.png); background-repeat: no-repeat; background-position: 0 0; width: 228px; height: 16px; text-align: center; }
#nav li a:hover { color:#ff0090; background-image: url(../images/menu-fond.png); background-repeat: no-repeat; background-position: 0 100%; }

#nav li.over a,
#nav a:hover {  }







/************ FIRST  ***************/
#nav li.menu-first { float:left; margin-left: 15px;  }
#nav li.menu-first.active a { color:#ff0090; font-weight: bold; font-style: italic;  background-image: url(../images/menu-first.png); background-repeat: no-repeat; background-position: 0 100%;  }
#nav li.menu-first a { float:left; padding:5px 12px 6px 0px; color:#e363a3; font-weight: normal; background-image: url(../images/menu-first.png); background-repeat: no-repeat; background-position: 0 0; width: 219px; height: 16px; text-align: left; }

#nav li.menu-first a span { padding-left: 46px;} /* POUR CENTRER LE MENU FIRST */

#nav li.over a,
#nav li.menu-first a:hover {color:#ff0090; /* background-image: url(../images/menu-first.png); */ background-repeat: no-repeat; background-position: 0 100%; }



/************ 1ST LEVEL ************/

/* QD LA CATEGORIE N'EST PAS ACTIVE */

#nav ul { padding-top: 5px; width: 500px; }
#nav ul li { float:none; ackground-color: none; margin:0px; padding: 0px; margin-left: 10px; height: 29px; }
#nav ul li span { background-image: url(../images/bg-sous-menu.png); background-repeat: no-repeat; background-position: 0 100%;  height: 29px; color:#e363a3; font-style: italic; }
#nav ul li:hover span {background-color: transparent; background-image: url(../images/bg-sous-menu.png); background-repeat: no-repeat; background-position: 0 0; color:#ff0090; }
#nav ul li.active { float:none; background-color: transparent; background-image: url(../images/bg-sous-menu.png); background-repeat: no-repeat; background-position: 0 0; }


/*#nav ul li.over { background:#d5e4eb url(../images/nav_divider.gif) repeat-x 0 100%; }*/
#nav ul li.last { padding-bottom:0; }

#nav ul li span a {float:none; color:#e363a3; text-decoration: none; font-weight:normal !important; margin: 0px; padding: 0px;  }
#nav ul li span a:hover { color:#ff0090; text-decoration: none; }

/* ***************************************************** */

/* QD LA CATEGORIE EST ACTIVE */
#nav li.active ul { padding-top: 5px; }

#nav li.active ul li {background-color: none; margin:0px; padding: 0px; margin-left: 10px;  height: 29px; background: none; }
#nav li.active ul li span {background-color: transparent; background-image: url(../images/bg-sous-menu.png); background-repeat: no-repeat; background-position: 0 100%;  height: 29px; color:#e363a3; }
#nav li.active ul li:hover span {background-color: transparent; background-image: url(../images/bg-sous-menu.png); background-repeat: no-repeat; background-position: 0 0; color:#ff0090; }


#nav li.active ul li a {color:#e363a3; text-decoration: none; font-weight:normal !important; background: none; margin: 0px; padding: 0px;   }
#nav li.active ul li a:hover { color:#ff0090; text-decoration: none; background: none; }

#nav li.active ul li span a {color:#e363a3; text-decoration: none; font-weight:normal !important; background: none; margin: 0px; padding: 0px;   }
#nav li.active ul li span a:hover { color:#ff0090; text-decoration: none; background: none; }


#nav li.active ul li.active a span {background-color: transparent; background-image: url(../images/bg-sous-menu.png); background-repeat: no-repeat; background-position: 0 0; color:#ff0090; font-style: italic; }



/* ****************************************** */



/************ 2ND LEVEL ************/
#nav ul { position:absolute; width:15em; top:25px; left:-10000px; border:none; }

/* Show menu */
#nav li.over > ul { left:0;  }
#nav li.over > ul li.over > ul { left:100px; background: none;  }
#nav li.over ul ul { left:-10000px; background: none;  }

#nav ul li a { background: none;  }
#nav ul li a:hover { background: none; }
#nav ul li a { color: #e363a3; background: none; }
#nav ul li a:hover { color:#ff0090 !important; }
#nav ul span, #nav ul li.last li span { padding:0px; background: none; }

/************ 3RD+ LEVEL ************/
#nav ul ul { top:5px; }