
/* ================================================================
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.
=================================================================== */

/* Add a margin - for this demo only - and a relative position with a high z-index to make it appear over any element below */

#menu-container {margin:115px 0 0 135px ; position:absolute; width:680px; z-index:100; height:21px; background:#d2d5d6;}


ul#topnav {position:absolute;bottom:0;left:10px;; height:20px;}

/* Get rid of the margin, padding and bullets in the unordered lists */
ul#topnav, ul#topnav ul {padding:0; margin:0; list-style-type: none;}

/* Set up the link size, color and borders */
ul#topnav a, ul#topnav a:visited {display:block;padding:0 10px; height:20px; white-space:nowrap; font-size:11px; color:#606163; line-height:19px; text-decoration:none; text-indent:5px;}

/* Set up the sub level borders */
ul#topnav li ul li a, ul#topnav li ul li a:visited {border:1px solid #fff;border-top:0; width:180px}
ul#topnav li a.enclose, ul#topnav li a.enclose:visited {border-width:1px;}

/* Set up the list items */
ul#topnav li {float:left; background:#d2d5d6;}
ul#topnav li {margin:0; padding:0}

/* For Non-IE browsers and IE7 */
ul#topnav li:hover {position:relative;}
/* Make the hovered list color persist */
ul#topnav li:hover > a {background:#dfd7ca; color:#606163;}
/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
ul#topnav li ul {display:none;}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
ul#topnav li:hover > ul {display:block; position:absolute; top:-11px; left:53px; padding:5px 30px 30px 30px; background:transparent url(images/pixel_trans.gif); width:120px;}
/* Position the first sub level beneath the top level liinks */
ul#topnav > li:hover > ul {left:-30px; top:16px;}

/* get rid of the table */
ul#topnav table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* 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#topnav li a:hover {position:relative; background:#dfd7ca; color:#606163;}

/* For accessibility of the top level menu when tabbing */
ul#topnav li a:active, ul#topnav li a:focus {background:#dfd7ca; color:#606163;}

/* Set up the pointers for the sub level indication */
ul#topnav li.drop {background-color:#d2d4d6; text-align:center}
ul#topnav li  {text-align:left}

/* 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#topnav li ul {visibility:hidden; display:block; position:absolute; top:-11px; left:80px; padding:10px 30px 30px 30px; background:transparent url(images/pixel_trans.gif);}

/* keep the third level+ hidden when you hover on first level link */
ul#topnav li a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
ul#topnav li a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
ul#topnav 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#topnav 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 */
ul#topnav li a:hover ul {
visibility:visible; left:-30px; top:14px; lef\t:-31px; to\p:15px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
ul#topnav 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#topnav 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#topnav 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#topnav 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 */


