/*==============================================================================

	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.

==============================================================================*/

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

#menu {
	position: relative;
	top: 0px;
	left: 0px;
	padding: 0px 0px;
	margin: 0px;
	border: 0px solid #dfd8c8;
	width: 796px;

	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 13px;
	letter-spacing: -1px;
	color: #ffffff;
	/*background-color: rgb(178,0,34);
	text-decoration: none;
	font-weight:bold;
	*/
	z-index:20;
	text-align:center;
}
#menu a{
	text-transform:uppercase;
	color:#ffffff;
	text-decoration:none;
}
#menu a:hover{
	color:#ba9800;
}
.menu_cell {

	padding: 0px 0px;
	margin: 0px;
	border: 0px solid #dfd8c8;
	
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 13px;
	letter-spacing: -1px;
	color: #ffffff;
	z-index:20;
	text-align:center;
}

.main_menu {
	text-align:center;
	position: absolute;
	top: -6px;
	left: -2px;
	padding: 16px 0px;
	margin: 0px;
	border: 2px solid #dfd8c8;
	width: 792px;

	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 13px;
	letter-spacing: -1px;
	color: #ffffff;
	background-color: rgb(178,0,34);
	text-decoration: none;
	font-weight:bold;
	margin-right:-3px;
	z-index:20;
}

/* Drop down menu class*/
.leftbutton {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	letter-spacing: 0px;
	color: #ffffff;
	text-decoration: none;
	font-weight:bold;
}

.leftbutton_second {
	font-weight:normal;
}

/* THIS CONTROLS THE LINE HEIGHT OF THE NAVIGATION DROPDOWNS */
.leftbutton li {
	line-height:16px;
	padding: 8px 0;
}


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

#menu 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;
	margin-left:6px;
}

#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:12px;        /* this sets the base font size for our entire menu */
}

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

#menu ul li ul {
	display:none;                  /* initially hide the entire list hierarchy */
	padding:0px;                               /* this is our box border width */
}

#menu ul li ul li a,
#menu ul li ul li a:visited {
	text-transform: none;
}

#menu ul li a,
#menu ul li a:visited {                    /* unselected top-level menu items */
	display:block;
	float:left;
	text-decoration:none;
	height:14px;
	color:#FFFFFF;
	text-transform: uppercase;
}

#menu ul li:hover a,
#menu ul li a:hover {                        /* selected top-level menu items */
	border-top:0px solid #000;    /* these 2 lines create the push-in illusion */
	height:14px;
	color: rgb(186,152,0);
}

/*======================== 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:14px;              /* 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:15.0em;
	color:#FFF;                        /* this sets the unselected-text color */
	background-color: rgb(178,0,34);       /* 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:0px;
	z-index:10;
	/*THIS CONTROLS THE PROPERTIES FOR THE BORDER AROUND THE DROPDOWN*/
	border:0px solid #000000;
	padding-right:0px;
	padding-left:10px;
	padding-top:5px;
	padding-bottom:5px;
}

#menu ul li:hover ul li a,
#menu ul li a:hover ul li a {                   /* 2nd level unselected items */
	border:0;
	margin:0;
	padding:0;
	height:auto;
	color:#FFF;               /* this sets the unselected drop-down text color */
	background-color: rgb(178,0,34);      /* this sets the drop-down menu background color */
	width:13.5em ;
	padding-right:0px;
	text-align:left;
}

#menu ul li:hover ul li:hover a,
#menu ul li a:hover ul li a:hover {                /* 2nd level selected item */
	color: rgb(186,152,0);
	text-decoration:none;
}
#sub-nav{
	background-color: rgb(186, 152, 0);
	margin-top: -6px;
	height: 26px;
	padding-top:8px;
	padding-right:8px;
	width: 784px;
	_width: 796px;
	text-align:right;
}
#sub-nav a{
	color:#ffffff;
	text-transform:uppercase;
	_font-size:12px;
	font-family:Arial;
	text-decoration:none;
	margin-left:8px;
	
}
#sub-nav a:hover{
	text-decoration:underline;
}
