/* RULES FOR THE "LISTMENU" OBJECT */

/* 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 #36C;
 border-bottom-width: 0;
 background: #EEF;
}

/* Submenus ('ul' tags) */
.menulist ul {
 position: absolute;
 top: 0;
 left: 155px;
 display: none;
}

/* All menu items ('li' tags) */
.menulist li {
 position: relative;
 border-bottom: 1px solid #36C;
}

/* Links inside the menu, with 'hover' lightup, and a 'highlighted' class the script applies */
.menulist a {
 display: block;
 position: relative;
 padding: 3px;
 color: #036;
 text-decoration: none;
}
.menulist a:hover {
 color: #F63;
 background-color: #DDF;
}
.menulist a.highlighted {
 color: #C96;
}

/* 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: 1px outset #000000;
 /* Borders:     Top    Right  Bottom    Left   */
 border-color: #E5EEF5 #E5EEF5 #E5EEF5 #E5EEF5;
 background-color: #E5EEF5;
 padding: 0px;
 font: 12px 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: 0px solid #E5EEF5;
 border-right: 0px solid #E5EEF5;
 border-bottom: 0px solid #E5EEF5;
 border-left: 0px solid #E5EEF5;
 color: #0066cc;
 text-indent: 5px;
 text-decoration: none;
}

/* I'm using :hover and :active pseudo-classes for link mouse effects. */
.menudiv a:hover {
 border: 0px solid #336699;
 border-color: #99BDD7 #99BDD7 #99BDD7 #99BDD7;
 background-color: #99BDD7;
 color: #0066cc;
}
.menudiv a:active {
 border: 0px solid #003366;
 border-color: #E5EEF5 #E5EEF5 #E5EEF5 #E5EEF5;
 background-color: #E5EEF5;
 color: #0066cc;
}

/*
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: #99BDD7;
 border-color: #99BDD7;
 color: #0066cc;
}

/* The links in the upper-left that pop out 'divMenu' menus. */
.trigger a {
 font: 12px Arial, Helvetica, sans-serif;
 font-weight: bold;
 color: #0066cc;
 text-decoration: none;
}

/* Likewise, style active trigger links */
.trigger a.highlighted {
 font: 12px Arial, Helvetica, sans-serif;
 font-weight: bold;
 color: #0066cc;
 text-decoration: none;
}

/* Just a random style, needed for NS4 */
b, strong {
 font-weight: bold;
}

