/* ----------------- REDEFINES THE TAG SELECTORS ----------------- */

body {
	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-color: #000033;
	background-repeat: repeat-y;
}

/* 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 {
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;

	
}
/* Redefines the p tag */
p {
	margin-top: 0px;
	margin-right: 35px;
	margin-bottom: 0px;
	margin-left: 35px;
	font-size: 12px;
	padding: 0px;
}
/* for page titles tag */
h {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;

}
h1 {
	font-size: 16px;
	text-transform: uppercase;
	color: #000066;
	margin: 10px;
	padding: 0px;
	
}
h2 {
}

/* Creates the general link style for the site. This is not the main navigation.  */
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
li {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 45px;
}
/* ----------------- PAGE LAYOUT ELEMENTS ----------------- */



/* Creates DIV container for header. Setting the left and right margins to auto will center DIV. */
div#container {
	width: 770px;
	margin: 0px;
	padding: 0px;
	position: relative;
	background-image: url(images/bdg.gif);
	left: 15px;
	background-repeat: repeat-y;
}
div#header {
	width: 770px;
	height: 189px;
	position: relative;
	background-image: url(images/header.jpg);
}
div#flash {
	width: 509px;
	height: 189px;
	margin: -189px 0px 0px 261px;
}
/* ---
------------------------- MAIN NAVIGATION ----------------------------  */

/* Creates the container for the navbar and centers it.*/ 
div#navcontainer {
	width: 770px;
	height: 28px;
	margin: 0px;
	padding: 0px;
	position: relative;
	background-repeat: no-repeat;
	background-image: url(images/navbar.gif);
}
/* 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 {
	margin: 0px 0px 0px 250px;
	list-style-type: none;
	width: 500px;
	text-decoration: none;
	border: 0px 0 0;
	list-style-image: none;
	padding: 0px;
	float: right;
	}

/* 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;
	padding: 4px 0px 0px;
}

/* 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 {
	text-decoration: none;
	text-align: left;
	display: block;
	padding: 1px 5px 1px;
	margin: 0px;
	color: #FFFFFF;
	font-weight: normal;
	list-style-type: none;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #000066;
	text-transform: uppercase;
	font-size: 10px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #006699;
}
/* 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: #CCFF00;
}

div#content {
	width: 770px;
	padding: 0px;
	position: relative;
	background-repeat: repeat-y;
	left: 15px;
	background-image: url(images/bdg.gif);
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
/* Creates the div container for the footer. */

div#footer {
	clear: both;
	width: 770px;
	margin: 0px;
	padding: 0px;
}
div#footer p {
	text-align: center;
	font-size: 12px;
}
div#footer a:link {
	color: #000066;
	text-decoration: none;
	font-size: 10px;
	text-transform: uppercase;
}
div#footer a:visited {
	color: #000066;
	text-transform: uppercase;
	text-decoration: none;
}
div#footer a:hover {
	color: #000000;
	text-transform: uppercase;
	text-decoration: none;
}
div#footer a:active {
	color: #000000;
}

/* ---copyright stuff---- */
div#copyright {
	font-size: 10px;
	text-align: center;
	background-image: url(images/copyright.gif);
	height: 45px;
	width: 770px;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
}
div#copyright a:link {

	color: #FFFFFF;
	text-decoration: none;
	font-size: 10px;
	text-transform: capitalize;
}
/* ----------------- to position copyright text ----------------- */
.copyright {
	margin: 0px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
/* ----------------- IMAGE ELEMENTS ----------------- */

img.left {
	float: left;
}
img.right {
	float: right;
	margin: 5px 5px 5px 10px;
	padding: 0px;
}
clear {
	clear: both;
}

/* ----------------- CUSTOM CLASSES ----------------- */
address {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 12px 12px 12px 35px;
	padding: 0px;
	font-style: normal;
	font-weight: normal;
}

/* ----------------- unused  CLASSES ----------------- */

/* Styles the table that serves as the container for the content and navigation.*/
table#container {
	width: 700px;
}

/* Aligns content in the tableContainer's td tags to the top. Same as <td valign="top">. */
table#container td {
	vertical-align: top;
}
/*Collapses borders that some browsers automatically apply to tables. */
table, td, th  {
	border-collapse: collapse;
	float: left;
	text-align: center;
	background-position: center;
	margin-left: 25px;
}
div#column1 {
	width: 400px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	float: right;
}
/* ---------DROPDOWN MENU ------------*/
.ddsmoothmenu{
	width: 770px;
	height: 70px;
	padding: 0px;
	position: relative;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-top: -73px;
}

.ddsmoothmenu ul{
z-index:100;
margin: 0px;
padding: 0px;
list-style-type: none;
}

/*Top level list items*/
.ddsmoothmenu ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items style*/
.ddsmoothmenu ul li a{
	display: block;
	background: #002966; /*background of menu items (default state)*/
	color: white;
	padding: 2px 15px;
	border-right: 1px solid #000000;
	text-decoration: none;
}

* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{
color: white;
}

.ddsmoothmenu ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
background: black; 
color: white;
}

.ddsmoothmenu ul li a:hover{
background: black; /*background of menu items during onmouseover (hover state)*/
color: white;
}
	
/*1st sub level menu*/
.ddsmoothmenu ul li ul{
position: absolute;
left: 0;
display: none; /*collapse all sub menus to begin with*/
visibility: hidden;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.ddsmoothmenu ul li ul li{
display: list-item;
float: none;
background: #002966;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.ddsmoothmenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style */
.ddsmoothmenu ul li ul li a{
	font: normal 13px Verdana;
	width: 160px; /*width of sub menus*/
	padding: 2px;
	margin: 0px;
	border-top-width: 0;
	border-bottom: 1px solid gray;
}

/* Holly Hack for IE \*/
* html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/


/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{
position: absolute;
top: 8px;
right: 7px;
}

.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}

/* ######### CSS for shadow added to sub menus  ######### */

.ddshadow{
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: silver;
}

.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
opacity: 0.8;
}

