/*

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 */
.menulist2, .menulist2 ul {
/* need to make sure this list goes on top */
z-index:1;
 margin: 0;
 padding: 0;
 width: 209px;
 list-style: none;
 position:relative;/*both menus need to be assigned a z index in order to have one on top of the other;*/
}


/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist2 ul {
visibility: hidden;
position: absolute;
top: 0;
left: -152px;
width:150px;
}

/*
 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.
*/
.menulist2 li {
position: relative;
margin-bottom: -1px;
font-face:verdana;
font-size:11px;
}

.menulist2 li a{
text-indent:5px;
}

/* this gives us the root text indent */
.menulist2  a.root{
padding-left:15px;
}

.menulist2 li ul li {

background:#666666;
border-top:1px solid #ffffff;
border-bottom:1px solid #ffffff;
position: relative;
margin-bottom: -1px;
font-face:verdana;
font-size:11px;
}



.menulist2 ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu */
.menulist2 a {
 display: block;
 padding: 3px;
 color: #ffffff;
 text-decoration: none;
}

/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menulist2 a:hover, .menulist2 a.highlighted:hover, .menulist2 a:focus {
 color: #FFFFFF;
 background-color: #990000;
}
.menulist2 a.highlighted {
 color: #FFF;
 background-color: #990000;
}

/*
 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. */
.menulist2 a .subind {
 float: left;
}

/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist2 li {
 float: right;
 height: 1%;
}
* html .menulist2 a {
 height: 1%;
}
/* End Hack */
