/* suppress our whole menu when not an interactive mode (when printing, etc.) */
@media print, projection { .menu { display:none; } }

/* Color of menu backgrounds and text is controled in main.css through
#topmenu {}, #topmenu li and #topmenu li:hover
So far, it looks like we don't have to modify this file much at all.
Perhaps if line colors get too out of sync
*/

/*========================= TOP OF THE MENU CASCADE =========================*/

.menu {
	position:relative; /* establish a menu-relative positioning context */
	float:left;        /* play nicely with others */
	margin:0;
	padding:0;
	border:0;
	height:1.8em;       /* the menu's overall height */
	width:100%;         /* we always want our menu to fill the available space */
	/* Set font size in main.css */
/*	font-family: Verdana, Arial, Helvetica, sans-serif; */
/*	font-size:12px;  */
	z-index: 10000;
}

.menu * {
	margin: 0;
	padding: 0;
	border: 0;
	}

.menu img {
	vertical-align: top;      /* prevent images from being pushed down by text */
}

.menu ul {
	margin:0;
	list-style-type:none;   /* we don't want to view the list as a list */
	line-height:1.5em;      /* globally set the menu's item spacing. */
	z-index: 9999;
}

.menu li {
	border-top:1px solid #030303;
	border-bottom:1px solid #030303;
	border-right:1px solid #030303;
	border-left:0px solid #030303;	/* We add far left border below */

	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
	margin: 0;
	height: 1.5em;	/* Not Same height as .menu */
/*	background-color: #ffffff; */
	padding-bottom: 2px; 
	z-index: 9998;
}

/*======================== TOP LEVEL MENU DEFINITIONS ========================*/

.menu ul li ul {
	display:none;   /* initially hide the entire list hierarchy */
			/* in hover we will make display back on */
	padding:1px;	/* this is our box border width */
	font-size: .85em;
	z-index: 9997;
}

.menu ul li a,
.menu ul li a:visited {                    /* unselected top-level menu items */
	display:block;
	float:left;
	text-decoration:none;
	height:14px;
	/* background-color: #ffffff; */
	padding: 1px 7px 1px 7px;
}

.menu ul li:hover a,
.menu ul li a:hover {                        /* selected top-level menu items */
	border-top:1px solid #000;    /* these 2 lines create the push-in illusion */
	height:1.5em;
	/* background-color: #ffffdd; */
}

/*======================== 2ND LEVEL MENU DEFINITIONS ========================*/

.menu ul li:hover ul,
.menu ul li a:hover ul {                           /* 2nd level drop-down box */
	display:block;
	position:absolute;
	margin:0;
	top:1.8em;        /* place us just up underneath the top-level images */
	left:-1px;       /* left-align our drop-down to the previous button border */
	height:auto;     /* the drop-down height will be determiend by line count */
/*	width:13.5em; */
/*	color:black; */     /* this sets the unselected-text color */
/*	background:black; */ /* this sets our menu's effective "border" color */
	padding: 1px; 
/*	border-left:1px solid #030303; */ /* adding border here causes weird spacing issue in IE */

	z-index: 9996;
}

.menu ul li.leftli {
	border-left:1px solid #030303;
}

/* This does not seem to be necessary in our modified form
There is a glitch in the IE display of 1 pixel. 
Very livable. */
.menu ul li:hover ul.leftmenuitem,
.menu ul li a:hover ul.leftmenuitem {/* our first dropdown should not be skewed */
	left:-1px;
}

.menu li:hover ul,
.menu li a:hover ul {    /* 2nd level neighborhood drop-down box */
	left:auto;
	right:0;         /* nudge the right menu right to line up under the border */
/*	width:10em; */
}

* html .menu li a:hover ul {         /* IE5/6 needs a tweak here */
	right:-1px;
}

.menu ul li:hover ul li a,
.menu ul li a:hover ul li a {                   /* 2nd level unselected items */
	border-top:1px solid #aabbdd;	/* lighten top border to give 3d effect */
	margin:0;
	padding:0;
	height:auto;
/*	color:#000; */              /* this sets the unselected drop-down text color */
	/* background:#d8d8d8;*/       /* this sets the drop-down menu background color */
	width:14em;	/* This controls the width of the drop down */
	padding-left: 5px;
}

.menu ul li:hover ul li:hover a,
.menu ul li a:hover ul li a:hover {                /* 2nd level selected item */
/*	color:black; */
	/*background:white;*/
}


/*======================== 3RD LEVEL MENU DEFINITIONS ========================*/
.menuitarrow {
	display:block;
/*	padding:0px 0.33em; */
	padding-right: 0.33em;
	margin:0;
	text-align:right;   /* this right alignment goes with the float:left below */
/*	cursor:pointer; */    /* IE tries to switch back to an I-beam, don't let it */
/*	cursor:hand;    */    /* IE5 only knows about "hand", so set it both ways */
}

.menuitarrow span {     /* this simultaneously left and right aligns the text and */
	float:left; 	/* the >> in the drop-down menus which link to sub-menus */
}

.menu ul li:hover ul.menuskinny,
.menu ul li a:hover ul.menuskinny {             /* 2nd level skinny drop-down box */
	width:10em;  
}

.menu ul li:hover ul.menuskinny li a,
.menu ul li a:hover ul.menuskinny li a,
.menu ul li:hover ul.menuskinny li a:hover,
.menu ul li a:hover ul.menuskinny li a:hover {     /* 2nd level un+selected items */
	width:10em;
}

.menu ul li:hover ul li ul,
.menu ul li a:hover ul li a ul {             /* hide inactive 3rd-level menus */
	visibility:hidden;
}
     
.menu ul li:hover ul li:hover ul,
.menu ul li a:hover ul li a:hover ul {             /* 3rd level drop-down box */
	visibility:visible;
	position:absolute;
	margin-top:-1px;	      /* bring the top edge of the 3rd level menu up one */
	top:0;
	left:17em;
	width:10em;
}

.menu ul li:hover ul li:hover ul.menuskinny,
.menu ul li a:hover ul li a:hover ul.menuskinny { /* 3rd level drop-down box */
	visibility:visible;
	position:absolute;
	margin-top:-1px;	      /* bring the top edge of the 3rd level menu up one */
	top:0;
	left:12.3em;
	width:10em;
}

.menu ul li:hover ul li:hover ul li a,
.menu ul li a:hover ul li a:hover ul li a {     /* 3rd level unselected items */
	width:10em;
	/*background:#d8d8d8;*/
}

.menu ul li:hover ul li:hover ul li a:hover,
.menu ul li a:hover ul li a:hover ul li a:hover {    /* level3 selected items */
	width:10em;
	/*background:white;*/
}




