/*

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 */
.menuleft, .menuleft ul {text-align:center;
 margin: 0;
 padding: 0;
 width: 150px;
 list-style: none;border-bottom: 2px solid black;border-left:2px outset white;border-top:2px outset white;border-right:1px solid black;
}

/*
 Submenus (<ul> tags) are hidden and absolutely positioned across from their parent.
 They don't *have* to touch their parent menus, but is' a good idea as CSS-only fallback
 mode requires menus to touch/overlap (when JS is disabled in the browser).
*/
.menuleft ul {text-align:left;
 display: none;
 position: absolute;
 top: -1px;
 left: 140px;border-bottom:2px solid gray;

}


/*
 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.
*/
.menuleft li {
 position: relative;
 border-bottom: 0px solid #000;
 background: #fff;
 margin-bottom: -1px;
}
.menuleft ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menuleft a {
 display: block;
 padding: 3px;
 color: #000;
 text-decoration: none;
}

/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menuleft a:hover, .menuleft a.highlighted:hover, .menuleft a:focus {
 color: darkred; background-color: #fff;text-decoration:none;border:0px;border-left:1px solid red;padding-left:2px;
}
.menuleft a.highlighted {
 color: #000;
 background-color: #fff;border:1px;
}

.menuleft a:focus { color:black;border-left:1px solid transparent}


/*
 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:
    .menuleft a#xyz {
      background-image: url(out.gif);
    }
    .menuleft a#xyz:hover, .menuleft a.highlighted#xyz, .menuleft a:focus {
     background-image: url(over.gif);
    }
*/


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menuleft a .subind {
 float: right;top:5px;
}

/*Takes away arrow for li's having class 'point_to_left'*/
li.point_to_left  .subind {visibility:hidden};

/*
 HACK: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 Yeah, I know this is invalid CSS.
 If it bothers you, put it in a conditional comment :).

.menuleft li {
 *float: left;
 *height: 1%;
}
.menuleft a {
 *height: 1%;
}
 End Hack */


/* This is a hack for IE7. Problem confirmed in IE7b3 -- I tested in IE7b2 before release which was supposedly "layout complete", but apparently not.
The simple fix at the moment is to replace the "Hacks" section at the bottom of the .CSS file with this:*/

*+html .menuleft  li {
 float: left;
 width: 100%;
}

*html  .menuleft li {
 float: left;
 height: 1%;
}
*html .menuleft  a {
 height: 1%;
}

