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

.nav-main {
	float: left;
	width:640px;
	height: 25px;
	margin:0px 0px 0px 0px;
	padding: 4px 0px 4px 0px;
	font-family:Arial,Helvetica,Jamrul,sans-serif;
	font-size:13px;
	position: absolute;
	top: -25px;
	right: 25px;
	background-color: #ffffff;
	color: #00477f;
	z-index:100;
}

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

.nav-main ul {
	margin:0;
	padding:0px;
	list-style-type:none;          /* we don't want to view the list as a list */
	line-height:1.5em;           /* globally set the nav-main's item spacing. note */
}                               /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

.nav-main li {
	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
	margin:0;
	padding:0px;
}

.nav-main ul li table {
   padding:0px;
	margin:-1px 0;              /* IE5 needs -1px top and bottom table margins */
	margin:0;               /* re-zero the table margins for everyone but IE5 */
	border-collapse:collapse;      /* IE5 needs this for the sub-menus to work */
	font-size:11px;        /* this sets the base font size for our entire menu */
}

.drop {
	display:block;
	padding:0px 0.33em;	       /* this sets the l/r margins for our menu item */
	margin:0;
	text-align:left;   /* this right alignment goes with the float:left below */
}

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


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

.nav-main ul li ul {
	display:none;                  /* initially hide the entire list hierarchy */
	padding:1px;                   /* this is our box border width */
}

.nav-main ul li a,
.nav-main ul li a:visited {                    /* unselected top-level menu items */
	display:block;
	float:left;
	text-decoration:none;
	height:18px;
	padding-left: 20px;
	padding-right: 5px;
	color: #00477f;
	text-align:left;
	/*font-weight: bold;*/
}

.nav-main ul li:hover a,
.nav-main ul li a:hover {  
    /* selected top-level menu items */
	/*border-top:1px solid #000; */   /* these 2 lines create the push-in illusion */
	/*border-left:1px solid #000;*/    /* these 2 lines create the push-in illusion */
	/*border-right:1px solid #000; */   /* these 2 lines create the push-in illusion */
	/*border:1px solid #CCC;*/
}

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

.nav-main ul li:hover ul,
.nav-main ul li a:hover ul {
	/* 2nd level drop-down box */
	display: block;
	position: absolute;
	margin: 0;
	top: 18px; /* place us just up underneath the top-level images */
	left: 19px; /* left-align our drop-down to the previous button border */
	height: auto; /* the drop-down height will be determiend by line count */
	font-size: 10px;
	width:15.5em;
	color: #00477f; /* this sets the unselected-text color */
	background: #EEEEEE; /* this sets our menu's effective "border" color */
}

.nav-main ul li:hover ul.leftbutton,
.nav-main ul li a:hover ul.leftbutton {/* our first dropdown should not be skewed */
	left:0px;
}

.nav-main ul li:hover ul li a,
.nav-main ul li a:hover ul li a {
	/* 2nd level unselected items */
	border: 0;
	margin: 0;
	padding: 3px 0 3px 0;
	height: auto;
	color: #00477f; /* this sets the unselected drop-down text color */
	background: #DDDDDD; /* this sets the drop-down menu background color */
	width:15.5em;
}

.nav-main ul li:hover ul li:hover a,
.nav-main ul li a:hover ul li a:hover {                /* 2nd level selected item */
	color: #FFFFFF;
	background: #ec8e1f;
}



/*======================== 3RD LEVEL MENU DEFINITIONS ========================*/

.nav-main ul li:hover ul li ul,
.nav-main ul li a:hover ul li a ul {             /* hide inactive 3rd-level menus */
	visibility:hidden;
}
     
.nav-main ul li:hover ul li:hover ul,
.nav-main 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:15.5em;
	width:14em;
}

.nav-main ul li:hover ul li:hover ul li a,
.nav-main ul li a:hover ul li a:hover ul li a {     /* 3rd level unselected items */
	width:14em;
	color: #00477f;
	background:#EEEEEE;
}

.nav-main ul li:hover ul li:hover ul li a:hover,
.nav-main ul li a:hover ul li a:hover ul li a:hover {    /* level3 selected items */
	width:14em;
	color: #FFFFFF;
	background: #ec8e1f;
}

