
/* 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 #D89180;
 /* Borders:     Top    Right  Bottom    Left   */
 border-color: #D89180 #D89180 #D89180 #D89180;
 background-color: #FFD5C9; layer-background-color: #FFD5C9;
 padding: 5px;
 font: 10px/10px Arial, Helvetica;
 /* Here's a cool effect, try uncommenting this: */
  /* filter: alpha(opacity=85); -moz-opacity: 0.85; opacity: 0.85 */
}


/* 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 #333333;
 margin-bottom: 5px;
}

.menudiv a {
 display: block;
 /* I've specified borders for each side individually so NS4 ignores this setting */
 border-top: 1px solid #FFD5C9;
 border-right: 1px solid #FFD5C9;
 border-bottom: 1px solid #FFD5C9;
 border-left: 1px solid #FFD5C9;
 color: #333333;
 text-indent: 5px;
 text-decoration: none;
}

/* I'm using :hover and :active pseudo-classes for link mouse effects. */
.menudiv a:hover {
 border: 1px solid #D89180;
 border-color: #D89180 #D89180 #D89180 #D89180;
 background-color: #FFFFFF;
 color: #333333;
}
.menudiv a:active {
 border: 1px solid #D89180;
 border-color: #000000 #CCCCCC #CCCCCC #CCCCCC;
 background-color: #FFFFFF;
 color: #333333;
}

/*
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: #E8E4E4;
 border-color: #CCCCCC;
 color: #FFFFFF;
}

/* The links in the upper-left that pop out 'divMenu' menus. */
.trigger a {
 font: 12px Arial, Helvetica, sans-serif;
 color: #FFFFFF;
 text-decoration: bold;
}

/* Likewise, style active trigger links */
.trigger a.highlighted {
 font: 12px Arial, Helvetica, sans-serif;
 color: #FFFFFF;
 text-decoration: underline;
}







/* Just a random style, needed for NS4 */
b, strong {
 font-weight: bold;
}
