/*  ƭ@10/20 @  */  
/* RULES FOR THE "MENUDIV" OBJECT */

/* An absolutely positioned and hidden DIV (treated as a layer in NS4). */
.menudiv {
 position: absolute;
 visibility: hidden;
 z-index: 1000;
 border: 2px outset #C9C7D8;
 /* Borders:     Top    Right  Bottom    Left   */
 border-color: #E4E3EF #BDBAD7 #BDBAD7 #E4E3EF;
 background: #FFFFFF url('http://www.pat.hi-ho.ne.jp/oka_tosho/wttec.gif'); 
 /* layer-background-color is non-standard and NS4 only. */
 layer-background: #FFFFFF url('http://www.pat.hi-ho.ne.jp/oka_tosho/wttec.gif'); 
;
 padding: 5px;
 font: 12px/14px Verdana,Arial, Helvetica, sans-serif;
 /* Here's a cool effect, try uncommenting this, althought it's non-standard: */
 /* 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: normal;
 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 #FFFFFF;
 border-right: 1px solid #FFFFFF;
 border-bottom: 1px solid #FFFFFF;
 border-left: 1px solid #FFFFFF;
 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 dotted #CCCCDC;
 border-color: #6699CC #003366 #003366 #6699CC;
 background-image: url('http://www.pat.hi-ho.ne.jp/oka_tosho/tab_menu12/30tbsd0.gif'); 
color: #01BFBD;
}

.menudiv a:active {
 border: 1px dotted #CCCCDC;
 border-color: #6699CC #003366 #003366 #6699CC;
 background-image: url('http://www.pat.hi-ho.ne.jp/oka_tosho/tab_menu12/30tbsd0.gif'); color: #FFFFFF;
color: #D1007C;
}

/*
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-image: url('http://www.pat.hi-ho.ne.jp/oka_tosho/tab_menu12/30tbsd0.gif');
 border: 1px dotted #CCCCDC;
 color: #17C0C5;
}

/* The links in the upper-left that pop out 'divMenu' menus. */
.trigger a {
 font: normal 12px Verdana,Arial, Helvetica, sans-serif;
 color: #008A8F;
 text-decoration: none;
}

/* Likewise, style active trigger links */
.trigger a.highlighted {
 border: 1px dotted #CCCCDC;
 color: #300062;
}
