/* Set up the menus as nested lists. Make sure to leave off the closing </li> tag that comes just before a nested <ul>. */

/* Left navigation styles; set up containers <ul> and line item <li> placement----------------------------*/
/* First level left menu container (menu appears in front of left blue sidebar) */
#leftnav, #leftnav ul { 
	float: left;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 1em;
	line-height: 115%;
	font weight: bold;
	width: 170px;	/* width of outer container around menu */
	list-style: none;
	padding: 2;		/* space between menu container and ; controls distance on left edge */
	margin: 1px;
	border: 0;
	z-index: 89;
}
/* Second & third level (drop downs') menu container */
#leftnav li ul {
	position: absolute;	/* this container's position will be fixed from its parent container by the margin settings */
	left: -999em;		/* hide until needed, but keep available for screen readers */
	width: 163px;		/* the container will be this wide */
	margin: -35px 0 0 150px;  /* menu container's top alignment and distance from first level container */
	padding: 0;
	background-color: #aa3300;	/* Site's red; color will show as right-hand red stripe in menu */
	border: 1px solid #000066;	/* site's dark blue; sets border around outside of container, not around each menu item */
	font size: 100%;
	font weight: bold;
	border-right: 2px solid #663333;	/* site's dark red accent color; puts dark red edge on right-hand stripe */
	z-index: 89;
}
/* Default settings for all list items (menu items) */
#leftnav li { 
	position: relative;	/* the menu items are placed relative to each other */
	float: left;		/* allows dropdowns to appear to each item's right */
	width: 160px;		/* each list item is this wide within the container */
	line-height: 125%;
	font-weight: bold;
	padding: 0;			/* Sets spacing between the items text and the list item's edge */
	margin: 0;			/* Sets spacing outside the list item's edges and its container */
	z-index: 86;
}
/* Default formatting for links --------------*/
#leftnav a, #leftnav a.add_image {
	display: block;	/* applies settings to the entire link's space (block) and not just its text */
	width: 155px;	/* width of menu items; can be smaller than container's width */
	color: white;	/* text color */
	text-decoration: none;	/* removes default underlining from links */
	padding:  8px 0px 8px 6px;	/* space around text within the link's block  */
	margin: 0;		/* space around the link's block */
}
#leftnav a:Visited, #leftnav a.add_image:Visited {
	color: #FFFFF;		/* text color: white in sidebar */
}
#leftnav a:Hover, #leftnav a.add_image:Hover {
	color: gold;
	background-color:#000066;
}
/* End links default settings --------------------*/

/* For second- & third-level menu items, add to the above settings, or change defaults to these settings */
#leftnav li ul li {
	display: block; /* makes sure the spacing is relative to the block and not just the text */
	float: left;
	width: 156px;
	margin: 0;
	padding: 0px 3px 0 0;	/* space around the list item within the container */
	background-color: #aa3300;	/* Color of the rollovers' right-hand red stripe */
}
/* second- and third level link formatting (changes from defaults) */
#leftnav li ul li a, #leftnav li ul li a.add_image {
	width: 152px;
	padding: 5px 0px 5px 5px;	/* space around text */
	margin: 0;
	color: #000066;
	background-color: white;
	/*border: 2px solid red;*/
}
#leftnav li ul li a:Visited, #leftnav li ul li a.add_image:Visited {
	color: #660000;	/* dark red visited text in dropdowns */
}
#leftnav li ul li a:Hover, #leftnav li ul li a.add_image:Hover {
	color: gold;
}
#leftnav li ul li a.add_image {
	background-image: url(../images/menu_arrow.gif);
	background-repeat: no-repeat;
	background-position: right center;
	display: block;
}
#leftnav li ul li a.add_image:Hover {
	background-image: url(../images/menu_arrow-o.gif);
	background-repeat: no-repeat;
	background-position: right center;
}
/* distance of 3rd level container (dropdown) from second's top and left edge */
#leftnav li ul ul {		
	margin: -34px 0 0 160px;
	border-bottom: 1px solid #000066; /* ensures bottom border shows */
}
/* hide 2nd- and 3rd-level menus, but keep info available for screen readers */
#leftnav li:hover ul ul, #leftnav li:hover ul ul ul, #leftnav li.lefthover ul ul, #leftnav li.lefthover ul ul ul {
	left: -999em;		/* hide submenus until needed */
	}

#leftnav li:hover ul, #leftnav li li:hover ul, #leftnav li li li:hover ul, #leftnav li.lefthover ul, #leftnav li li.lefthover ul, #leftnav li li li.lefthover ul {
	left: auto;			/* display menus as needed */
}

#leftnav li li:hover, #leftnav li li.lefthover {
	background: #000066;	/* show dropdown menu's parent menu item by it's displaying a dark blue edge */
	width: 160px;
}

#content {
	clear: left;
}
#leftmenu_search, #quickbill_search { 
  font-size: 1.7em; 
}
