/* ----------------- REDEFINES THE TAG SELECTORS ----------------- */

body {
	background: #3E5EEB;
	margin: 0px; /* Always set margins to 0. Some browsers automatically apply them. */
	padding: 0px; /* Always apply padding if you apply margins */
	/*text-align: center; /* Equivalent to <center> tag for older IE browsers. Remove if you do not want to center page. */
    /*background-image: url(images/bg.jpg);*/ /*used for the body background image*/
	scrollbar-face-color: #38368F;
	scrollbar-shadow-color: #ffffff;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-3dlight-color: #000000;
	scrollbar-darkshadow-color: #000000;
	scrollbar-track-color: #e6e6e6;
	scrollbar-arrow-color: #FFFFFF;
}

/* This sets a default font for all of our tag selectors. We set the text align back to left so it won't center (based on the body tag to compensate for IE.) */

p, h1, h2, h3, h4, h5, a, ul, li, lo, td, div {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	text-align: left; /* Not necessary if not using text-align center in body tag for older IE browsers. */
}


/* Redefines the p tag */
p {
	font-size: 12px;
	padding-left: 20px;
	padding-right: 15px;
}
h1 {
	font-size: 17px;
	font-weight: bold;
	color: #2C2A7A;
	line-height: 23px;
	margin: 0px 0px 0px 20px;
	border-bottom: 3px dotted #2C2A7A;
	width: 300px;
}

h2 {	
    font-size: 15px;
	font-weight: bold;
	color: #D4B907;
	line-height: 19px;
	margin: 20px 0px 0px 20px;
}

h3 {
	font-size: 13px;
	font-weight: bold;
	color: #918201;
	line-height: 18px;
	margin: 20px 0px 0px 21px;
}

h4 {	
    font-size: 15px;
	font-weight: bold;
	color: #FF8A00;
	line-height: 18px;
	margin: 0px 0px 0px 20px;
}

/* Creates the general link style for the site. This is not the main navigation.  */
a:link {
	font-size: 13px;
	font-weight: bold;
	color: #A90000;
	text-decoration: underline;
}
a:visited {
	font-size: 13px;
	font-weight: bold;
	color: #2B2B6C;
	text-decoration: underline;
}
a:hover {
	font-size: 13px;
	font-weight: bold;
	color: #742103;
	text-decoration: underline;
}
a:active {
	font-size: 13px;
	font-weight: bold;
	color: #666666;
	text-decoration: underline;
}



/*------------------ LISTS FORMATS --------------------------*/
 ul,li { 
 		font-size: 12px;
        font-weight: bold;
		line-height: 15px;
        color:#333333;
        /*list-style-image: url(images/ul-house.gif);*/
		
		}


/* ---------------------------- MAIN NAVIGATION ----------------------------  */

/* Creates the container for the navbar and centers it.*/ 
div#navcontainer {
	width: 750px;
	margin-left: auto;
	margin-right: auto;
	
	
}
/* Removes any default margins or padding applied to lists. Floats the list to the left, which incorporates the child elements (i.e. the links) and provides a full-length background color that extends past the links.*/

ul#mainnav {
	background: #ffffff;
	float: left;
	width: 750px;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	border-bottom: 1px solid #E3E3E3;
	
	}

/* Lists, by default, are block level elements, so the applying the inline style removes the line breaks of a block level element and causes the links to line up next to one another. We float the items left as some browsers have difficulty displaying the inline property correctly in this fashion. We remove all margins and padding and the bullet by setting the list style type to none.*/

ul#mainnav li {
	display: inline;
	float: left;
	margin: 0px auto;
	padding: 0px;
	border-right: 1px dotted #000000;
	
}

/* Although we have redefined the li style as an inline element, we need to make the actual links block level elements so we can give them widths and have them display properly as "buttons." */
ul#mainnav li a:link, ul#mainnav li a:visited, ul#mainnav li a:active {
	font-size: 13px;
	text-decoration: none;
	text-align: center;
	display: block;
	width: auto;
	padding: 5px;
	margin: 0px;
	border-right: 1px solid #FFFFFF;
	color: #2C2A7A;
}
/* Creates the hover and "on" status style, which can be applied directly to a single link. */
ul#mainnav li a:hover, ul#mainnav li a.current:link, ul#mainnav li a.current:visited {
	color: #FFE138;
	background: #0323A0;
}



/* ----------------- PAGE LAYOUT ELEMENTS ----------------- */

/*Collapses borders that some browsers automatically apply to tables. */
table, td, th  {	
	border-collapse: collapse;
}

/* Creates DIV container for header. Setting the left and right margins to auto will center DIV. */
div#header {
			padding: 0px;
}

/* Styles the table that serves as the container for the content and navigation.*/
table#container {border: none;
				 text-align:center;
				

}

/* Aligns content in the tableContainer's td tags to the top. Same as <td valign="top">. */
table#container td {
	vertical-align: top;
	
}

/*Formats the main content of the web page */
div#maincontent {border-top: 1px solid; border-color: #2C2A7A;
				 border-bottom: 1px solid; border-color: #2C2A7A;
				 width:750px; height: 100%;
				 padding: 10px 0px 20px 0px;  
				 /*position: relative; left: 20px;*/
				 background-color:#F4F7FC; background-image: url(images/maincontent-flow.jpg);
				 background-repeat: repeat-x;
				 text-align: left;
				 
}

/* Used to give a background to a table that is holding another element like a div */
#nicebg {background-image: url(images/body-cg.gif); padding-bottom: 50px; vertical-align: top;
}

/* Creates the div container for the footer. */
div#footer { 
			font-size:11px;
			font-weight:bold;
			text-decoration:none;
			text-align:center;
			padding: 5px 0px 5px 0px;
			text-transform:none;
			background: #FFFFFF;
			width: 750px;
			color:#FFFFFF;
}
div#footer p {
}
div#footer a:link {font-size: 11px;
				   font-style: normal;
				   line-height: 15px;
				   font-weight: bold;
				   color: #38368F;
				   text-decoration: underline;
}
div#footer a:visited {font-size: 11px;
				   font-style: normal;
				   line-height: 15px;
				   font-weight: bold;
				   color: #38368F;
				   text-decoration: underline;
}
div#footer a:hover {font-size: 11px;
				   font-style: normal;
				   line-height: 15px;
				   font-weight: bold;
				   color: #38368F;
				   text-decoration: underline;
}
div#footer a:active {font-size: 11px;
				   font-style: normal;
				   line-height: 15px;
				   font-weight: bold;
				   color: #38368F;
				   text-decoration: underline;
}




/*-------------------PAGE POSITIONING ----------------*/

/* divtag for centering webpage in browser */
#centerwebpage {padding: 3px; background-color:#FFFFFF; width: 750px; align: center; border-width: 1px; border-color: #354B94; border-style: solid;}



/* ----------------- IMAGE ELEMENTS ----------------- */

img.left {
	float: left;  margin: 0px 8px 0px 0px;
}
img.right {
	float: right; margin: 0px 0px 0px 8px;
	margin: 0px 10px 10px 10px;
}
clear {
	clear: both;
}

/* ----------------- CUSTOM CLASSES or ID's ----------------- */
div#contactinfo {
				
				font-size: 17px;
				font-weight:bold;
				text-align:center;
				color: #2C2A7A;
				width:750px;
				padding: 10px 0px 20px 0px; 
				background-color: #FFE138;
				
				
}

#email {
			font-size: 12px;
			color: #497795;
			width:494px; height: 108px; 
			/*border-top: 1px solid #E3E3E3;*/ 
			background-color: #D21919;

}

div#email {
			font-size: 12px;
			color: #497795;
			width:484px;
			border-top: 1px solid #E3E3E3;
			background-color: #FFFFFF;

}

/* -------------------- COPYRIGHT INFORMATION ------------------*/
div#copyright {
				text-align:center;
				font-size: 10px;
				padding: 5px 0px 5px 0px;;
				width: 750px;
				background: #FFFFFF;
							
}

div#copyright a {
	font-size: 10px;
	line-height: 15px;
	font-weight: normal;
	color: #A90000;
	text-decoration: underline;

}