/*

Here's the stylesheet rules used to format the menus and their 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,
and that your submenus are set as hidden by default.

*/



/* RULES FOR THE "LISTMENU" OBJECT */

/*
This uses the 'display' property, so you can remove the positions and run it inline if you want.
Basically, nested UL tags are offset from their parent LIs using CSS positioning.
Feel free to experiment with CSS visual effects!
One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
That covers rearranging lists, e.g. for horizontal menus.
Consult your favourite CSS reference for editing fonts/borders/etc.
Otherwise, just go through and change the #RGB border/background colours where suitable.
*/

/* For the class="menulist" element, and all 'ul' tags inside it. */
.menulist, .menulist ul {
 margin: 0;
 padding: 0;
 width: 150px;
 list-style: none;
 border: 1px solid #036;
 border-bottom-width: 0;
 background: #DEF;
}

/* Submenus ('ul' tags) are hidden by default. You may want to hide them with scripting? */
.menulist ul {
 position: absolute;
 top: 0;
 left: 155px;
 display: none;
}

/* All menu items ('li' tags) */
.menulist li {
 position: relative;
 border-bottom: 1px solid #036;
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 3px;
 color: #036;
 text-decoration: none;
}

/* Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover {
 color: #FFF;
 background-color: #8AC;
}
.menulist a.highlighted {
 color: #963;
 background-color: #CDE;
}

/* '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 */






/* RULES FOR THE "MENUDIV" OBJECT */

/* This is more complicated CSS, as it will downgrade to NS4 support. */


/* An absolutely positioned and hidden DIV (treated as a layer in NS4). */
.menudiv {
 position: absolute;
 visibility: hidden;
 z-index: 1000;
 border: 2px outset #FFFFCC;
 /* Borders:     Top    Right  Bottom    Left   */
 border-color: #FFFFCC #666633 #666633 #FFFFCC;
 background-color: #CCCC99; layer-background-color: #CCCC99;
 padding: 5px;
 font: 14px/22px Arial, Helvetica;
 /* Here's a cool effect, try uncommenting this: */
 /* filter: alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8 */
}


/* Formatting to apply to the elements inside the "menudiv" class elements. */
/* Of course, you can put whatever you want within the menu divs, these are just examples. */

.menudiv .header {
 width: 100%;
 font-weight: bold;
 text-align: center;
 border-bottom: 2px dashed #999966;
 margin-bottom: 5px;
}

.menudiv a {
 display: block;
 /* I've specified borders for each side individually so NS4 ignores this setting */
 border-top: 1px solid #CCCC99;
 border-right: 1px solid #CCCC99;
 border-bottom: 1px solid #CCCC99;
 border-left: 1px solid #CCCC99;
 color: #003333;
 text-indent: 5px;
 text-decoration: none;
}

/* I'm using :hover and :active pseudo-classes for link mouse effects. */
.menudiv a:hover {
 border: 1px solid #336699;
 border-color: #6699CC #003366 #003366 #6699CC;
 background-color: #336699;
 color: #FFFFFF;
}
.menudiv a:active {
 border: 1px solid #003366;
 border-color: #000000 #3366CC #3366CC #000000;
 background-color: #003366;
 color: #FFFFFF;
}

/*
The script will automatically assign a class of "highlighted" to elements that currently
have an active submenu, so here's a little CSS to format links within a .menudiv element.
*/
.menudiv .highlighted {
 background-color: #336699;
 border-color: #336699;
 color: #FFFFFF;
}

/* The links in the upper-left that pop out 'divMenu' menus. */
.trigger a {
 font: Bold 14px Arial, Helvetica, sans-serif;
 color: #003366;
 text-decoration: none;
}

/* Likewise, style active trigger links */
.trigger a.highlighted {
 color: #CC9966;
}







/* Just a random style, needed for NS4 */
b, strong {
 font-weight: bold;
}
