/* CSS Document */
/*LIST-BASED MENUS WITHOUT IDs OR CLASSES ON THE LIST ELEMENTS-->
<!-- tested in NN7, Opera, Firefox, IE6, IE5.5, IE5, on Windows and Safari and IE5 on Mac -->
<!--this continues the horizontal menu demo */

body {

font-family: verdana, arial, sans-serif; 
font-size:small; 
behavior: url(css/csshover.htc);
}

* {margin:0; padding:0;

} 

*html body { 
	font-size: x-small; /*for IE5/Win */
	f\ont-size: small; /*for other IE versions */
}
 /*end of universal format for page */	
 
 
div#wrap {


	width: 100%;
	min-width: 500px;
	max-width: 1400px;
	

} 

div#header {

	padding: 10px 0 5px 5px;
	width: 100%;
	height: 50px;
	background-color:#000000;
	
}
 
div#content {

	width: 100%;
	
		

}

div#content p {

	margin: 15px 25px;
	
	
		

}

 
div#content h1 {
	margin: 15px 40px;
	text-align:center;
	font-weight:bold;
	font-size: 170%;
	color:#9999CC;

}

div#content h2 {
	margin: 15px 40px;
	text-align:center;
	font-weight:bold;
	font-size: 130%;


}

div#content h3 {
	margin: 15px 40px;
	text-align:center;
	font-weight:bold;
	font-size: 110%;


}





/* the horizontal menu starts here */
div#listmenu {
	width: 100%; 	/* makes the div full width */
	padding: 10px 0 20px 0;
	float:left; /*makes the div enclose the list */
	border-top:2px solid #FEA703;	/* draws line on top edge of div */
	border-bottom:4px solid #FEA703;	 /* draws line on bottom edge of div */
	font-size:90%;	/* SET FONT-SIZE HERE */
	font-weight:bold;
	background-color:#535353; /* colors the div */
	/*margin-top:20px; /* TEMPORARY - pushes the div away from the top of the browser for clarity in this example*/*/
	}
div#listmenu ul {margin:0 0 0 5px;/* indents ul from edge of container */

	}
div#listmenu li {
	float:left;	/* causes the list to align horizontally instead of stack */
	position:relative; /* positioning context for the absolutely positioned drop-down */
	list-style-type:none;	/* removes the bullet off each list item */
	background-color:#FEA703; /*sets the background of the menu items - orange*/
	border-right:1px solid #069; /* creates dividing lines between the li elements */
}	
	
div#listmenu li.submenu {
	background: #FEA703 url(../images/submenudownorange.gif) 100% 80% no-repeat; /* note .gif disappears when you hover over it...a known minor glitch in IE only.  Note also that 'url(".../submenu.gif)' is used instead of the standard arguement 'url(submenu.gif)'.  This is because you are linking to an external style sheet.   */
	padding-right: 12px;
	
}	
div#listmenu li.submenu:hover { /* we could havce styled the 'a' link instead (div#nav li.submenu a:hover) but then the links background would obscure the arrovw graphic in the background of the list item.  this way you can see the link background and the .gif */
	background-color: #FFFFFF;
	color: inherit;
}

	
	
div#listmenu li:first-child {
	border-left:1px solid #069; /*the first vertical line on the menu */
	}
div#listmenu li:hover { 

	background-color:#FFFFFF; /*sets the background of the menu items */
	
	}

	

div#listmenu a {
	display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
	padding:6px 6px 0 6px; /*creates space each side of menu item's text */
	text-decoration:none;	 /* removes the underlining of the link */
	color:#000;	/* sets the type color */
	
	
	}
	
div#listmenu a:hover {
	color:#666666;/*color when hovering*/
	
	
	}


/* the horizontal menu ends here */

/* the drop-down starts here */
div#listmenu ul li ul {
	margin:0; /* prevents the TEMP value inheriting from the horiz menu - OK to remove if you remove TEMP above */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	width:12em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left:-1px; /*aligns the drop exactly under the menu */
	}
div#listmenu ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	border-left:1px solid #069; /*  three sides of each drop-down item */
	border-bottom:1px solid #069;
	border-right:1px solid #069;
	padding:0 0 1px;
	}
div#listmenu ul li ul li:first-child {
	border-top:1px solid #069; /*the top edge of the dropdown */
	}
/* make the drop-down display as the menu is rolled over */
div#listmenu ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#listmenu ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/* pop-out starts here */
body div#listmenu ul li ul li ul  {
	visibility:hidden; /* same effect as display:none in this situation */
	top:-1px;
	left:12em;
	}
div#listmenu ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */
/* THE HACK ZONE - */

/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html div#listmenu ul {
	float:left; /* makes the ul wrap the li's */
	border-left:1px solid #000; /* adds the rightmost menu vertical line to the ul */
	margin-left:15px; /* IE doubles the given value above - why? */
	}
/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  div#listmenu ul li ul {
	border-top:1px solid #069;
	border-left:0px; /* stops the drop inheriting the ul border */
	}


/*footer style starts here */
div#footer {width:100%;  /* makes the div fill its container - usually body */
 					padding:4px 0; /* pushes the links away from top and bottom of the div */
					font-size: 90%;  /* sets the font size of all links */
					text-align:center; /* centers the ul elements in the div */
					background-color:#535353; /* sets the background color of the div */
					}
 div#footer ul {margin:2px 0;} /* vertical spacing between the lists */
 div#footer li {display:inline; /* the key CSS - makes the lists display horizontally */
						color:white; /* sets the color of the vertical lines */
						border-left:1px solid; /* creates the vertical line to the left of each list items */
						color:#AFF; /* sets the color of the vertical lines  - links colored below */
						padding:0 5px 0 9px; /* horiz space between links and vert lines - needed diff l & r values to center */
						}
 div#footer ul li:first-child {border-left:0;} /* removes the left border of the first list item - IDWIMIE */
 div#footer ul li a {text-decoration:none; /* removes the underlining off the links */
 							 color:white; /* the color of the links */
							 }
 div#footer ul li a:hover {text-decoration:underline;} /* underlines the links when hovered */
 div#footer ul.fineprint li {color:#CCC;} /* color for copyright and vert dividers on last row */
 div#footer ul.fineprint li a {color:#CCC;} /* had to explicitly color these or they inherit white from div#footer li */
  div#footer ul.fineprint li a:hover {color:#FFF;} /* turns bottom row white when hovered */
  /* ...down to here */
  
 /*footer style ends here */

/* here follows the brillant "no-extra-markup" clearing method devised by Tony Aslett - www.csscreator.com */
/* simply add the clearfix class to any containter that must enclose floated elements */
/* read the details of how and why this works at http://www.positioniseverything.net/easyclearing.html */
.clearfix:after {
    content: ".";              /* the period is placed on the page as the last thing before the div closes */
	display: block;          /* inline elements don't respond to the clear property */ 
    height: 0;                  /* ensure the period is not visible */
    clear: both;               /* make the container clear the period */
    visibility: hidden;	     /* further ensures the period is not visible */
}

.clearfix {display: inline-block;}   /* a fix for IE Mac */

/* next a fix for the dreaded Guillotine bug in IE6 */
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* end of "no-extra-markup" clearing method */




