/*==============================================================================

	GRC multi-level script-free pure-CSS#menuing system stylesheet.
   This code is hereby placed into the public domain by its author
   Steve Gibson. It may be freely used for any purpose whatsoever.

	Computed Geometries:	with a default 12px font, 1.0em == 12px and
	1px == 0.08333em.
	Thus, our 98px wide Freeware & Research buttons are 8.166666em wide.

==============================================================================*/

/*====== GLOBAL OVERRIDES FOR MAJOR ITEMS AND DIFFERING BROWSER DEFAULTS =====*/
a { text-decoration: none; }
#menu { text-align: left; z-index: 101; color:#009; font-family: verdana, tahoma, arial, helvetica, sans-serif, MS Sans Serif; }
#menu , #menu table, #menu img, #menu button, #menu ul, #menu li  { margin:0; padding:0; border:0; }
#menu table { text-align:left; }
#menu a {text-decoration: none; color:#FFF; font-weight: bold; font-size:11px;}
ul { margin-left:0; }       /* kill default 50px left padding and set 20px */
li { margin-bottom:0; }	  /* set default inter-item vertical spacing */

/* suppress our whole#menu when not an interactive mode (when printing, etc.) */
@media print, projection { #menuminwidth0 { display:none; } }

* html #menuminwidth1 { /* this allows IE5/6 to simulate min-width capability */
	position:relative;  /* we can simulate a minimum width by creating a large */
	float:left;	  /* border in this first div, then placing our content */
	height: 1px;	  /* into a second nested div (see 2nd nested div next */
	border-left:560px solid #fff;    /* CSS box-model borders are a fixed size */
}

* html #menuminwidth2 {    /* used to simulate min-width capability for IE5/6 */
	position:relative;
	margin-left:-560px;
	height: 1px;
}

 /*========================= 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:27px;				  /* the#menu's overall height */
	width:100%;	 /* we always want our#menu to fill the available space */
	/*width:700px;*/ /* we always want our#menu to fill the available space */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;	 /* this (and also below) sets the#menu's font size */
	border:0;	
}

#menu img {
	vertical-align: top;      /* prevent images from being pushed down by text */
}

#menu ul {
	padding:0;
	margin:0;
	border:0;
	list-style-type:none;	  /* we don't want to view the list as a list */
}			       /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

#menu ul label{
	background:none;
}			       /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

#menu ul li a {   /* font color */
	z-index: 100;
	margin: 0 -1px 0 -1px;
	color: #333;
	padding: 5px 7px 7px 7px;
	color:#FFFFFF;
}
#menu ul li {
	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
}
#menu ul li ul li{
	background: none;
	line-height:10px;	   /* globally set the#menu's item spacing. note */
	padding: 0;
}

#menu ul li table {
	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 */
	
}

.righ#menu {
	position:relative;  /* establish a local positioning context for YAH label */
	float:right;		  /* and right-align it at the top of our page */
}

/*======================== TOP LEVEL MENU DEFINITIONS ========================*/

#menu ul li ul {
	display:none;		  /* initially hide the entire list hierarchy */
	border-left: 1px; /* solid #a8a8a8;*/
	border-right: 1px; /* solid #a8a8a8;*/
	border-bottom: 3px; /* solid #333;*/
}
#menu ul li a,
#menu ul li a:visited {		    /* unselected top-level#menu items */
	display:block;
	float:left;
	height:14px;
	padding: 5px 7px 7px 7px;
}

#menu ul li:hover a,
#menu ul li a:hover {                  /* selected top-level#menu items */
	display: block;
	float: left;
	padding: 5px 7px 7px 7px;
	height:14px;
	background: #f6f6f6;
	color:#000000; /* Changed color*/
}

.mainMenuNavTabOn {
	margin: 0px -7px 0 -7px;
        display: block;
        float: left;
        padding: 5px 7px 7px 14px;
        background: #f6f6f6;
		
}

/*======================== 2ND LEVEL MENU DEFINITIONS ========================*/

#menu ul li a.mainMenuNavTabOn:hover {
	font-size: 19px;
	display:block;
	position:absolute;
	margin:0;
	padding: 4px 8px 8px 8px;
	top:25px;	      /* place us just up underneath the top-level images */
	left:-2px;       /* left-align our drop-down to the previous button border */
	height: auto;
	width:190px;
	background: #f6f6f6;	 /* this sets our#menu's effective "border" color */
}

#menu ul li:hover ul.leftbutton,
#menu ul li a:hover ul.leftbutton {/* our first dropdown should not be skewed */
	left:0;
}

#menu ul li:hover ul.skinny,
#menu ul li a:hover ul.skinny {	     /* 2nd level skinny drop-down box */
	width:8.08333em;   /* with a 12px default font, this is 97px width (97/12) */
}
#menu ul li:hover ul, #menu ul li a:hover ul {			   /* 2nd level drop-down box */
	font-size: 10px;
	display:block;
	position:absolute;
	margin:0;
	padding: 4px 8px 8px 8px;
	top:25px;	      /* place us just up underneath the top-level images */
	left:-2px;       /* left-align our drop-down to the previous button border */
	height: auto;
	width:190px;
	background: #f6f6f6;	 /* this sets our#menu's effective "border" color */
	
}

#menu ul li:hover ul.leftbutton,
#menu ul li a:hover ul.leftbutton {/* our first dropdown should not be skewed */
	left:0;
}

#menu ul li:hover ul.skinny,
#menu ul li a:hover ul.skinny {	     /* 2nd level skinny drop-down box */
	width:8.08333em;   /* with a 12px default font, this is 97px width (97/12) */
}

#menu ul.righ#menu li:hover ul,
#menu ul.righ#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 */
}


#menu ul li:hover ul li a,
#menu ul li a:hover ul li a {		   /* 2nd level unselected items */
	text-align: left;
	width: 190px;
	border: 0;
	margin: 0;
	padding:3px 0 0 0;
	border-bottom: 1px solid  #8e8e8e;
	color:#000000;
}

#menu ul li:hover ul li:hover a,
#menu ul li a:hover ul li a:hover {		/* 2nd level selected item */
}


/*======================== RIGHT HEADLINES MENU DEFINITIONS ========================*/
#menu ul li ul li ul { 
	border-top: 1px solid #a8a8a8; 
	min-height: 200px;
} 
  
#menu ul li:hover ul li ul li a, 
#menu ul li a:hover ul li ul li a {             /* 2nd level unselected items */ 
        overflow: hidden; 
        width: 300px;      
        line-height: 14px; 
        padding: 3px 0 0 0;
} 

#menu ul li:hover ul li ul li:hover a, 
#menu ul li a:hover ul li ul li a:hover {		/* 2nd level selected item */
} 

#menu ul li ul li ul li h5 {          /* 2nd level selected item */ 
	padding-top: 5px;
	margin: 0;
	padding-bottom: 5px;
	font-size: 12px;
	font-weight: bold;
	font-family: verdana;
	color: #333;
	border-bottom: 1px solid #8e8e8e;
	width: 300px;
}
#menu ul li ul li ul li a:hover {          /* 2nd level selected item */
} 

#text {	   /* the Mac's standard Safari browser will not see this code */
	height:1.215em;	   /* ...  but every other browser will and should */
} /* Safari barfs on the illegal pound sign (#) after the rule's property val */
.navigation {
	width: 986px;
}