/* Start of CMSMS style sheet 'davin' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   background: url(images/blue-spirals-smr.jpg) repeat;
}

/*

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*****************
basic layout 
*****************/
body {
    margin:1em; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 10px auto 0px;     /* this centers wrapper */
   width: 810px;
 /*  max-width: 80em; */
 /* IE wont understand these, so we will use javascript magick */
 /*  min-width: 60em; */
 /*  background-color: #fff;; */
 /*  color: black; */
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 180px; /* adjust according your image size */ 
   background: url(images/banner2.png) no-repeat;       
}

div#header h1 a {
/* you can set your own image here */
   display: block;  
   height: 180px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   margin: 0px 0px 0px 0px;
}

div#content {
   margin: 0px 0px 0px 0px;
}

div#main {
   margin-left: 0%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 0%; /* and some air on the right */
}


div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #385C72; /* same bg color as in header */
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/************************/
/* css from static website */
/***********************/

h1, h2, h3, h4, h5 {
	margin: 0px;
	padding: 0;
}
ul, li, p, div {
	margin: 0px;
	padding: 0px;
}
#wrapper {
	margin: 0px auto 0px;
	width: 810px;
}
#banner {
	height: 180px;
	width: 100%;
	background: url(images/banner2.png) no-repeat;
	float: left;
}
#innerwrapper {
	width: 100%;
	float: left;
	background: url(images/content2.png) repeat-y;
}
#content1 {
	float: left;
	width: 775px;
	padding-left: 15px;
	padding-top: 10px;
}

#footer1 {
	height: 60px;
	width: 100%;
	float: left;
	padding-top: 30px;
	position: relative;
	text-align: center;
	background: url(images/footer2.png) no-repeat;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#content1 p {
	color: #003366;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
}

.centered {
        text-align: center;
}
.redbi {
	font: italic bold 16px Georgia, "Times New Roman", Times, serif;
	color: #990033;
}
.front36 {
	font: bold 38px Georgia, "Times New Roman", Times, serif;
	color: #003366;
	text-align: center;
}
.front26 {
	font: bold 26px Georgia, "Times New Roman", Times, serif;
	color: #990033;
	text-align: center;
}
.front18 {
	font: 18px/200% Georgia, "Times New Roman", Times, serif;
	color: #990033;
}
.front14italic {
	font: italic bold 14px Georgia, "Times New Roman", Times, serif;
	color: #003366;
	text-align: center;
}
#content1 h1 {
	font-size: 24px;
	font-weight: bold;
	color: #003366;
	text-align: center;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#content1 h2 {
	font-size: 18px;
	font-weight: bold;
	color: #990033;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#content1 h3 {
	font-size: 16px;
	font-weight: bold;
	color: #003366;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#content1 h4 {
	font-size: 14px;
	font-weight: bold;
	color: #003366;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#content1 a {
	text-decoration: underline;
	color: #003366;
}
#content1 ul {
	margin-left: 15px;
	color: #003366;
	list-style: disc;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#footer1 p {
	font-size: 11px;
	color: #003366;
	line-height: 120%;
}
#footer1 a {
	font-size: 11px;
	color: #003366;
	text-decoration: underline;
	line-height: 120%;
}

/* styles from the static nav css */

#nav1 {
	width: 100%;
	float: left;
	text-align: center;
	margin: 0px;
	padding-left: 8px;
	background: url(images/content2.png) repeat-y;
}
#nav1 ul {
	list-style: none;
}
#nav1 li {
	white-space: nowrap;
	float: left;
}
#nav1 a {
	display: block;
	width: 98px;
	font: bold 10px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	float: left;
	height: 20px;
	margin: 0px;
	padding-top: 3px;
	padding-bottom: 8px;
	border-right: 1px dotted #FFFFFF;
	border-bottom: 1px dotted #FFFFFF;
}
#nav1 a:link, #nav1 a:visited {
	color: #FFFFFF;
	display: block;
	text-decoration: none;
	background: #6699cc;
}
#nav1 a:hover, #nav1 a:active {
	color: #FFFFFF;
	background: #990033;
}
#topnav {
	height: 20px;
	width: 300px;
	float: right;
	margin-right: 30px;
}
#topnav ul {
	list-style: none;
}
#topnav li {
	white-space: nowrap;
	float: left;
}
#topnav a {
	display: block;
	width: 100px;
	font: bold 10px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	height: 10px;
	margin: 0px;
	padding-top: 5px;
	padding-bottom: 8px;
	float: left;
	text-align: center;
}
#topnav a:link, #topnav a:visited {
	color: #FFFFFF;
	display: block;
	text-decoration: none;
	background: #003366;
}
#topnav a:hover, #topnav a:active {
	color: #FFFFFF;
	background: #990033;
}
/* End of 'davin' */

