/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/simple_vertical.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/* Get rid of the margin, padding and bullets in the unordered lists */

ul#nav {height:29px; position:relative; padding:16px 0 10px 0; width:100%; font-size:0.9em; background:url(../images/navBg.gif) top left repeat-x;}
ul#nav ul {position:absolute; left:-1px; top:29px; background-color: #ffffff; padding:10px 15px; border-left: 1px solid #274b62;border-right: 1px solid #274b62;border-bottom: 1px solid #274b62;}
* html ul#nav ul.sub {padding:10px 15px;}

/* Set up the list items */
ul#nav li {float:left; height:29px; margin:0; padding:0; list-style-type:none;}
ul#nav li span.hidden {visibility:hidden;}

/* Set up the link size, color and borders */
ul#nav a, ul#nav a:visited {display:block; height:29px; line-height:24px; text-decoration:none;}

/* Set up the sub level borders */
ul#nav li ul li {height:auto;}
ul#nav li ul li a, ul#nav li ul li a:visited {height:auto;}
ul#nav li a.enclose, ul#nav li a.enclose:visited {}

ul#nav li.home {width:92px; background:transparent url(../images/navHome.gif) 0 -58px no-repeat;}
ul#nav li.lodges {width: 142px; background:transparent url(../images/navLodges.gif) 0 -58px no-repeat;}
ul#nav li.locations {width: 115px; background:transparent url(../images/navLocations.gif) 0 -58px no-repeat;}
ul#nav li.news {width:92px; background:transparent url(../images/navNews.gif) 0 -58px no-repeat;}
ul#nav li.info {width:142px; background:transparent url(../images/navInfo.gif) 0 -58px no-repeat;}

ul#nav li.home a {width:92px; background:transparent url(../images/navHome.gif) 0 0 no-repeat;}
ul#nav li.lodges a {width: 142px; background:transparent url(../images/navLodges.gif) 0 0 no-repeat;}
ul#nav li.locations a {width: 115px; background:transparent url(../images/navLocations.gif) 0 0 no-repeat;}
ul#nav li.news a {width:92px; background:transparent url(../images/navNews.gif) 0 0 no-repeat;}
ul#nav li.info a {width:142px; background:transparent url(../images/navInfo.gif) 0 0 no-repeat;}

ul#nav li.active a {background-position:0 -29px;}

ul#nav li.top ul.sub li  {display:block; width:176px; background:url(../images/navArrow.gif) 0 10px no-repeat;}
ul#nav li.top ul.sub li a {display:block; width:176px; height:auto; text-decoration:none; padding:0; cursor:pointer;padding:2px 10px 4px 12px; background:url(../images/navArrow.gif) 0 10px no-repeat; border-bottom:1px solid #d8dfe5; white-space:nowrap;}
ul#nav li.top ul.sub li a.last {border-bottom:0;padding-bottom:0;}
ul#nav li.top ul.sub li a:hover {text-decoration: underline;}

ul#nav li.home ul.sub li a {}
ul#nav li.lodges ul.sub li a {}
ul#nav li.locations ul.sub {width:176px !important;}
ul#nav li.locations ul.sub li {width:176px !important;}
ul#nav li.locations ul.sub li a {width:154px !important;}
ul#nav li.news ul.sub li a {}
ul#nav li.info ul.sub {width:112px !important;}
ul#nav li.info ul.sub li {width:112px !important;}
ul#nav li.info ul.sub li a {width:90px !important;}

/* For Non-IE browsers and IE7 */
ul#nav li:hover {position:relative;}
/* Make the hovered list color persist */
ul#nav li:hover > a {background-position:0 -58px;}
/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
ul#nav li ul {display:none;}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
ul#nav li:hover > ul {display:block; position:absolute; top:-11px; left:80px; width:168px;}
/* Position the first sub level beneath the top level links */
ul#nav > li:hover > ul {left:-1px; top:29px; width:198px; padding:0 15px 10px; height:auto; z-index:0;}

/* get rid of the table */
ul#nav table {position:absolute; top:14px; left:0; z-index:100; padding:0;margin:0;}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html ul#nav li a:hover {position:relative;background-position:0 -58px;}

/* For accessibility of the top level menu when tabbing */
ul#nav li a:active, ul#nav li a:focus {}

/* Set up the pointers for the sub level indication */
ul#nav li.fly {}
ul#nav li.drop {}


/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */
* html ul#nav li ul {visibility:hidden; display:block; position:absolute; top:29px; left:110px; background-color:#ffffff;}

/* keep the third level+ hidden when you hover on first level link */
ul#nav li a:hover ul ul{visibility:hidden;}
/* keep the fourth level+ hidden when you hover on second level link */
ul#nav li a:hover ul a:hover ul ul{visibility:hidden;}
/* keep the fifth level hidden when you hover on third level link */
ul#nav li a:hover ul a:hover ul a:hover ul ul{visibility:hidden;}
/* keep the sixth level hidden when you hover on fourth level link */
ul#nav li a:hover ul a:hover ul a:hover ul a:hover ul ul {visibility:hidden;}

/* make the second level visible when hover on first level link and position it */
* html ul#nav li a:hover ul {visibility:visible; left:-1px; }

/* make the third level visible when you hover over second level link and position it and all further levels */
ul#nav li a:hover ul a:hover ul{visibility:visible; top:-11px; left:80px;}
/* make the fourth level visible when you hover over third level link */
ul#nav li a:hover ul a:hover ul a:hover ul {visibility:visible;}
/* make the fifth level visible when you hover over fourth level link */
ul#nav li a:hover ul a:hover ul a:hover ul a:hover ul {visibility:visible;}
/* make the sixth level visible when you hover over fifth level link */
ul#nav li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul {visibility:visible;}
/* If you can see the pattern in the above IE5.5 and IE6 style then you can add as many sub levels as you like */
