/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want. All you have to do is ensure the script
has the correct CSS property name (like 'visibility' or 'display') that you want it to change.

One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
Consult your favourite CSS reference for editing fonts/borders/etc.

Otherwise, even if you're not very experienced at CSS, you can just go through and change
the #RGB border/background colours where suitable to customise for your site!

*/



/* VERTICAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
 margin: 0;
 padding: 0;
 width: 140px;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 4px;
 left: 143px;
}

.menulist ul ul
{
 top:-1px;
 left:224px;
}

/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.menulist li {
 position: relative;
 background: url(images/liSlither.gif) repeat-x #6A838F;
 margin-bottom: -1px;
}
.menulist ul>li:last-child {
 margin-bottom: 1px;
}


.menulist ul li
{
 width:223px;
 background:#E0E0E0;
 border-bottom:2px solid #6A838F;
}

.menulist ul li a
{
 width:220px;
 background: url(images/subLiBlock.gif) no-repeat #A2B2AC;
 border:1px solid #6A838F;
 border-width:0 1px 0 1px;
 color:#6A838F;
 padding: 2px 3px 2px 10px;
}

.menulist ul li a.first {border-top-width:1px;}
.menulist ul li a.last {border-bottom-width:1px;}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 6px 3px 2px 8px;
 font:bold 11px Arial;
 color:#DBE5EE;
 text-decoration: none;
}

/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #D02A42;
}

.menulist ul li a:hover, .menulist ul li a.highlighted:hover, .menulist ul li a:focus {
 color:#DBE5EE;
 background:#6A838F;
 width:223px;
}

.menulist a.highlighted {
 color: #D02A42;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulist a .subind {
 float: right;
}

/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist li {
 float: left;
 height: 1%;
}
* html .menulist a {
 height: 1%;
}
/* End Hack */
