/**
 * 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)
 */

ul#nav { margin:0px auto; width:638px; height:48px;}

/************** 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, #nav a { float:left; }

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

.nav-home a, .nav-about-the-spa a, .nav-facilities a, .nav-gifts a, .nav-spa-menu a, .nav-contact-us a {
display: block;
position: relative;
width: 638px;
height: 48px;
background-image:url(../images/nav.gif);
background-repeat:no-repeat;
z-index:10;
}

/*first, put the initial states in place*/

.nav-home a {
background-position: 0px 0px;
width: 79px;
}

.nav-about-the-spa a {
background-position: -79px 0px;
width: 141px;
}

.nav-facilities a {
background-position: -220px 0px;
width: 113px;
}

.nav-gifts a {
background-position: -333px 0px;
width: 81px;
}

.nav-spa-menu a {
background-position: -414px 0px;
width: 105px;
}

.nav-contact-us a {
background-position: -519px 0px;
width: 118px;
}

.nav-home a:hover {
background-position: 0px -48px;
width: 79px;
}

.nav-about-the-spa a:hover {
background-position: -79px -48px;
width: 141px;
}

.nav-facilities a:hover {
background-position: -220px -48px;
width: 113px;
}

.nav-gifts a:hover {
background-position: -333px -48px;
width: 81px;
}

.nav-spa-menu a:hover {
background-position: -414px -48px;
width: 105px;
}

.nav-contact-us a:hover {
background-position: -519px -48px;
width: 118px;
}

/************ 2ND LEVEL ************/
#nav li ul li { position:relative; float:left; } 
#nav ul li span { display:block; }
#nav ul { display:none; }

/* Show menu */
#nav li.over > ul { display:block; }
#nav li ul{ /*put the subnav below*/
position:absolute;
float:none;
top:45px;
left:0px;
width:125px;
z-index:999;
}

#nav li ul a {
display: block;
color: #013769;
background:#c7c0aa;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:11px;
height:auto;
width:125px;
padding: 5px 10px;
}

#nav li ul a:hover {
display: block;
color: #013769;
background:#e9d69a;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:11px;
height:auto;
width:125px;
padding: 5px 10px;
}

/************ 3RD+ LEVEL ************/
#nav ul ul { top:0px; left:100px; }

#nav ul li ul a { background:#e9d69a }

#nav ul li ul a:hover { background:#fbf9ef; }

/************ Dr. Fish Subnav ************/

#subnav {position:relative; float:left; width:608px; display:block; list-style:none; margin:5px 0px 20px 0px; border:1px solid #8ebedc;}
#subnav li {position:relative; float:left;}
#subnav li a {position:relative; float:left; font-size:10px; width:130px; padding:5px 10px; background-color:#e8f6ff; border:1px solid #8ebedc; text-decoration:none;}
#subnav li a:hover {position:relative; float:left; font-size:10px; width:130px; padding:5px 10px; background-color:#8ebedc; border:1px solid #8ebedc; text-decoration:none; color:#ffffff;}