/*

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!

*/


/* OFFICE-STYLE FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
 margin: 0;
 padding: 0px;
 width: 170px;
 list-style: none;
 background: #006699;
 border-top-width: 1px;
 border-right-width: 0px;
 border-bottom-width: 0px;
 border-left-width: 1px;
 border-top-style: solid;
 border-right-style: none;
 border-bottom-style: none;
 border-left-style: solid;
 border-top-color: #CCCCCC;
 border-left-color: #CCCCCC;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 width: 170px;
 top: 8;
 left: 50px;
}

/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
 position: relative;
}

.menulist li.second {
 position: relative;
 background: #FFFFFF;
}

/* Links inside the menu */
.menulist a, .menulist a.ffirst {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 11px; 
 color: #FFFFFF;
 display: block;
 padding: 3px 4px 3px 3px;
 text-decoration: none;
 border-top-width: 0px;
 border-right-width: 0px;
 border-bottom-width: 1px;
 border-left-width: 0px;
 border-top-style: none;
 border-right-style: none;
 border-bottom-style: solid;
 border-left-style: none;
 border-bottom-color: #CCCCCC;

}

.menulist a.fsecond {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 11px; 
 color: #006699;
 display: block;
 padding: 3px 4px 3px 3px;
 text-decoration: none;
 border-top-width: 0px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 0px;
 border-top-style: none;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: none;
 border-right-color: #CCCCCC;
 border-bottom-color: #CCCCCC;

}
/* IE fix because it doesn't support transparent borders */
* html .menulist a, .menulist a.ffirst {
 border-top-width: 0px;
 border-right-width: 0px;
 border-bottom-width: 1px;
 border-left-width: 0px;
 border-top-style: none;
 border-right-style: none;
 border-bottom-style: solid;
 border-left-style: none;
 border-bottom-color: #CCCCCC;
 margin: 0px;
}

* html .menulist a.fsecond {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 11px; 
 color: #006699;
 display: block;
 padding: 3px 4px 3px 3px;
 text-decoration: none;
 border-top-width: 0px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 0px;
 border-top-style: none;
 border-right-style: solid;
 border-bottom-style: solid;
 border-left-style: none;
 border-right-color: #CCCCCC;
 border-bottom-color: #CCCCCC;

}

/*
 Lit items: hover/focus = the current item. 'highlighted' = parent items to visible menus.
 Here, active items are given a border, and a padding tweak to 'elevate' the text within.
 Feel free to use background-image:url(file.gif) instead of background-color:#nnn here...
*/
.menulist a:hover, .menulist a.highlighted, .menulist a.highlighted:hover, .menulist a:focus {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 11px; 
 color: #006699;
 background-color: #E7EDED;
 padding: 3px 4px 3px 3px;
 margin: 0;
 text-decoration: none;
}
.menulist a.current, .menulist a.current:hover, .menulist current, .current {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 11px; 
 color: #006699;
 background-color: #CCCCCC;
 padding: 3px 4px 3px 3px;
 margin: 0;
 text-decoration: none;
}

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

