/* ------- HORIZONTAL DROPDOWN WITH IE HACK - TOP LEVEL MENU ITEM WIDTH EXPANDS WITH TEXT - SUBSEQUENT DROPDOWNS ARE FIXED WIDTH --------- */
#menu {
	height:34px;
	background-image:url(/images/menu_bg.gif);
	background-position:top;
	background-repeat:repeat-x;
	background-color:#606A79;
}


/* ----------------- DON'T EDIT OR MOVE THIS BLOCK! ------------------ */
#menu ul					{list-style:none;margin:0;padding:0;float:left;}
#menu a, #menu a:visited 	{display:block;width:auto;margin:0;}
#menu li 					{position:relative;}
#menu ul ul					{position:absolute;z-index:500;top:auto;display:none;}
#menu a.x, #menu a.x:visited{background:#eee url(/css/images/expand3.gif) no-repeat 100% 100%;}
#menu a.x, #menu a.x:visited{font-weight:normal;color:#000;}
#menu a.x:hover				{color:#FFF;background:#000;}
#menu a.x:active			{color:#060;background:#CCC;}
div#menu li:hover			{cursor:pointer;z-index:100;}
div#menu li li li li:hover ul ul, div#menu li li:hover ul ul, div#menu li li li:hover ul ul, 
div#menu li:hover ul ul		{display:none;}
div#menu li li li li:hover ul, div#menu li li:hover ul, div#menu li li li:hover ul, 
div#menu li:hover ul 		{display:block;}
/* cross-browser hack to set minimum width for top-level items */
#menu ul {min-width:1px;width:auto !important;	width:1px; } 
/* ----------- ---------- END OF 'DON'T EDIT' BLOCK ------------------ */


/* ******************************************************************* */
/* ******************** LEVEL 1 (TOP) MENU ITEMS  ******************** */

/* Do not set LEVEL 1 menu item 'width' attribute - instead use left & right padding to grow with text -  */
#menu a, #menu a:visited {
	padding:5px 5px 6px 6px; /* don't use 'height' attribute - instead use top & bottom padding to set menu item height and place text vertically */
	line-height:130%; /* SAFARI HACK; use with line-height along with top & bottom padding to set menu item height */
	color:#4F1B55; 
	border-right:solid 1px #999; 
	text-decoration:none; 
	text-align:center; 
	font:bold 12px Arial, Helvetica, sans-serif; 
	text-transform:uppercase;
	white-space:nowrap; /* keeps text from wrapping on LEVEL 1 */
	margin-bottom:-1px;
	letter-spacing:.2px;
}
/* LEVEL 1 hover state */
#menu a:hover, #menu a:active {
	color:#FFF;
	background:#4F1B55; 
}
/* LEVEL 1 selected state */
#menu ul li a.tdcMenuSelected, #menu ul li a:visited.tdcMenuSelected {
	color:#FFF;
	background:#4F1B55; 
} 
/* LEVEL 1 sub-selected state (when a child item is selected) */
#menu ul li a.tdcMenuSubSelected, #menu ul li a:visited.tdcMenuSubSelected {
	color:#4F1B55;
	background:#E9E9E9; 
}
#menu ul li a:hover.tdcMenuSubSelected, #menu ul li a:active.tdcMenuSubSelected  {
	color:#FFF;
	background:#4F1B55; 
}
/* add a little extra left padding to "Home" menu item */
#menu a.tdc_1_a {
	padding-left:9px;
}
/* ******************************************************************* */
/* ***************** LEVEL 2 (DROPDOWN) MENU ITEMS  ****************** */

/* LEVEL 2 Pulldown BG */
#menu ul li ul, #menu ul li ul:hover {
	border-top:solid 1px #999;
	background:#F3F3F3;	
}
#menu ul li ul li a, #menu ul li ul li a:visited, #menu ul li ul li a:hover, #menu ul li ul li a:active {
	width:120px ; /* sets width for all pulldown menus */
	white-space: normal; /* allows text to wrap on LEVEL 2 (3, etc.) */
	padding:4px 6px 2px 6px;	
	color:#4F1B55;
	text-align:left; 
	font-weight:normal;
	border-left:solid 1px #999;
	border-right:solid 1px #999;
	border-bottom:solid 1px #999;
	text-transform:none;
	margin:0;
}
/* LEVEL 2 hover */
#menu ul li ul li a:hover, #menu ul li ul li a:active {
	color:#FFF;
	background:#4F1B55;  
	border-top:none;
}

/* LEVEL 2 selected state */
#menu ul li ul li a.tdcMenuSelected, #menu ul li ul li a:visited.tdcMenuSelected, #menu ul li ul li a.hover, #menu ul li ul li a:active.tdcMenuSelected {
	color:#FFF;
	background:#4F1B55;  
} 

/* ******************************************************************* */
/* ************ LEVEL 3 (FLYOUT TO RIGHT) MENU ITEMS ***************** */

#menu ul ul ul {
	top:0; 
	left:100%; 
	border-top:solid 1px #AAA; /* adding 1px top border and -1px top/left margin keeps flyout menus vertically aligned and borders from doubling up in width */
	margin:-1px 0 0 -1px; 
}
/* ******************************************************************* */
/* **************************** FOOTER  ****************************** */

#footer {
	width:900px;
	height:36px;
	border:solid 1px #444;
	border-top: none;
	margin-bottom:25px;
	color:#666;
	text-align:center;
	font-size:10px;
	letter-spacing:normal;
	line-height:150%;
	font-family:Arial, Helvetica, sans-serif;
	background-color:#FEFEFE;
	background-image: url(/images/footer_bg.jpg);
	background-repeat: repeat-x;
	background-position:top;
}


/* FOOTER MENU ECHOS OUTPUT OF MAIN NAV - BUT ONLY OUTPUTS TOP LEVEL ITEMS */
#footer_menu {
	padding:3px 0 0 0;
	text-align:center;
	margin-left: auto;
	margin-right: auto;
}
/* Note: Each top-level item is a UL (not an LI within a UL) */
#footer_menu ul	{
	list-style:none;
	padding:0 2px 0 5px;
	border-right:solid 1px #555;
	display:inline;
	font-weight:bold;
	/* cross-browser hack to center menu items */
	margin-left: auto;
	margin-right: auto;
	text-align:center;
}
#footer_menu li	{
	/* necessary for IE to display menu items horizontally */
	display:inline;
	padding:0;
	margin:0;
}
/* menu items - note: each item is a UL (not an LI within a UL) */
#footer a, #footer a:visited, #footer a:hover   {
	color:#4F1B55;
	padding:0;
	margin:0;
}
#footer a:hover  {
	color:#444;
}
/* a "dummy" ul item at right end of list with negative left margin - hide right border on last (previous) item -   */
#footer_menu ul.hide_right_border	{
	width:3px;
	margin-left:-5px; /*hides right border of previous item in list */
	padding:4px 0 0 0; /*padding top places bg image to match footer bg (must have something to hide border)  */
	border-right:none;
	background-image: url(/images/footer_bg.jpg); /* you could use a background:color instead of image, if footer has no bg image  */
	background-repeat: repeat-x;
	background-position: inherit;
}
/* hides all submenu items */
#footer ul li ul	{
	display:none;
}
/* hides a particular item by unique class (in this case "Community") */
#footer_menu ul.tdc_7_ul {
		display:none
}


/** ********* EXAMPLES OF EDITING UNIQUE MENU ITEMS BY CLASS ************ **/
/* 	set width on unique LEVEL 1 menu item */
/*#menu ul.tdc_3_ul {width:150px; background:#606A79; }*/

/* remove right border from far right menu item */
/*#menu ul li a.tdc_9_a, #menu ul li a:visited.tdc_9_a {border-right:none;}*/

/* set background color on unique LEVEL 2 menu item */
/*#menu ul li ul li a.tdc_21_a, #menu ul li ul li a:visited.tdc_21_a {background-color:#99FFFF;}*/
