/* This rule resets a core set of elements so that they will appear consistent across browsers. Without this rule, column1 styled with an h1 tag, for example, would appear in different places in Firefox and Internet Explorer because each browser has a different top margin default value. By resetting these values to 0, the elements will initially be rendered in an identical fashion and their properties can be easily defined by the designer in any subsequent rule. */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}


/* The body is the outermost layout component and contains the visible page column1. Setting properties for the body element will help to create consistent styling of the page column1 and more manageable CSS. Besides using the body element to set global properties, it is common to use the body element to set the background color of the page and create a centered container for the page column1 to display. */
body {
	color: #000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 20px;
	margin: 0 0 0 0; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
	padding: 0 0 0 0; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
	text-align: left; /* Centers the page column1 container in IE 5 browsers. */
	background-image: url(images/bg.jpg);
	background-repeat: repeat;
}


h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	color: #990000;
}


h2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 10px;
	line-height: 20px;
}


h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #2D9AA6;
	font-weight: bold;
}


h4 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #990000;
	font-weight: bold;
}


/* This is a container for the page column1. It is common to use the container to constrain the width of the page column1 and allow for browser chrome to avoid the need for horizontal scrolling. For fixed layouts you may specify a container width and use auto for the left and right margin to center the container on the page. IE 5 browser require the use of text-align: center defined by the body element to center the container. For liquid layouts you may simply set the left and right margins to center the container on the page. */
#container {
	width:800px;
	background-color: #ffffff;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	background-image: url(images/bg-column1.gif);
	background-repeat: repeat-y;
}


#container #header {
	width:800px;
	height: 163px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	background-image: url(images/header.jpg);
}


#container #header #headerlinks li a {
	color: #000000;
	float: right;
	margin-right: 20px;
}


#container #header #headerlinks {
	list-style-type: none;
}


#container #content {
	background-image: url(images/bg-content.gif);
	background-repeat: repeat-y;
}


/* Contains the main page column1. When using a mutliple column layout the margins will be set to account for the floated columns' width, margins, and padding. */
#container #content #column1 {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 10px;
	padding-right: 25px;
	padding-bottom: 10px;
	padding-left: 15px;
}


#container #content #column1 li {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: normal;
}


#container #content #column2 {
	float: right;
	padding: 10px; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
	width: 200px;
	margin-right: 10px;
}


#container #content #column2 img {
	padding-top: 10px;
	padding-bottom: 10px;
}


/* Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without being cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before the close of the container with floated elements. */
#container #content .clearFloat {
  clear: right;
  display: block;
}

#container #footer {
	width:800px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	background-image: url(images/footer.jpg);
	height: 163px;
	clear: both;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
}


/* START OF MENU CODE */
/* remove the bullets, padding and margins from the lists */
.menu ul{
	list-style-type:none;
	padding:0;
	margin:0;
}


/* make the top level links horizontal and position relative so that we can position the sub level */
.menu li{
float:left;
position:relative;
z-index:100;
}


/* use the table to position the dropdown list */
.menu table{
position:absolute;
border-collapse:collapse;
z-index:80;
left:-1px;
top:25px;
}


/* style all the links 2D9AA6 */
.menu a, .menu :visited {
	display:block;
	font-size:10px;
	width:113px;
	padding:5px 0;
	color:#fff;
	background:#000000;
	text-decoration:none;
	margin-right:1px;
	text-align:center;
	line-height: 15px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
}


/* style the links hover */
.menu :hover{
color:#444;
background:#FFCA08;
}


/* hide the sub level links */
.menu ul ul {
visibility:hidden;
position:absolute;
width:149px;
height:0;
}


/* make the sub level visible on hover list or link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible;
}
