html {
  height: 100%;
  margin-bottom: 1px;
  background: #333333 url(../images/bg.png) 0 0 repeat-x;
}

body {
	margin: 0;
	padding: 0;
	line-height: 165%;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px; 
	color: #333;
}

#wrapper { position: absolute; width:840px; height:100%; left:50%; margin-left:-420px; vertical-align:top;}
#header { position:relative; float:left; width:840px; height:175px; background:url(../images/header.jpg) no-repeat; }
#header1 { position:relative; float:left; width:840px; height:175px; background:url(../images/header1.jpg) no-repeat; }
#header2 { position:relative; float:left; width:840px; height:175px; background:url(../images/header2.jpg) no-repeat; }
#header3 { position:relative; float:left; width:840px; height:175px; background:url(../images/header3.jpg) no-repeat; }
#maincontent { position:relative; float:left; width:840px; left:0px; background:url(../images/mainbg.png); background-repeat: repeat-y;  }
#left { position:relative; float:left; width:76px; height:300px; background:url(../images/left.png) no-repeat; }
#main { position: relative; float:left; width:689px; background:#ffffff; overflow:hidden;}
#topmenu { position: relative; float:left; padding-left:5px; width: 689px; height:32px; overflow:hidden; background:url(../images/menubg.png) repeat-x; }
#content { position: relative; float:left; width: 689px; padding:10px 15px 10px 15px; min-height:400px; height: auto !important; height: 400px; }
#right { position: relative; float:left; height:300px; width:75px; background:url(../images/right.png) no-repeat; }
#footer { position:relative; clear:both; width:840px; height:50px; background:url(../images/footer.png) no-repeat; }


p {
  margin-top: 10px;
  margin-bottom: 15px;
}

div, span, td, tr {
	font-family: Tahoma, Arial, Helvetica, sans-serif; 
	font-size:12px;
	color: #333;
}

h1, h2, h3, h4 {
	padding-bottom: 5px;
	margin: 15px 0;
}

h1 {
	font-size: 200%;
}

h2 {
	font-size: 180%;
}

h3 { 
        font-size: 150%;
}

h4 {
	font-size:  120%;
}

ul {
	list-style: none;
	margin-left: 0;
	padding-left: 10px;	
}

ul li {
	padding-left: 25px;
	margin-left: 0;
	margin-top: 2px;
	background:url(../images/list.gif) 0px 4px no-repeat;
}

.contentheading {
	font-size: 140%;
	font-family: Tahoma, Arial Narrow, Arial, sans-serif;
	font-weight: normal;
	color: #00416C;
	line-height: 30px; 
	width: 669px;
	/* padding-left: 22px; 
	background:url(../images/contentheading.png) 0 9px no-repeat; */
}

a:link,
a:visited {
	color: #cc6600;
	text-decoration: none;
}

a:hover {
	color: #333;
	text-decoration: none;
}

.mainlevel {
	background: url(../images/separator.png) 0 0 no-repeat;
}

a.mainlevel {
	font-size: 90%;
	font-family: Tahoma, Arial, sans-serif;
	/* text-transform: uppercase; */
	font-weight: bold;
	text-align: center;
}

a.mainlevel:link,
a.mainlevel:visited {
	display: block;
	padding: 4px 5px 5px 5px;
	margin-bottom: 5px;
	color: #fff;
	text-decoration: none;
	background: url(../images/separator.png) 0 0 no-repeat;
}

a.mainlevel:hover {
	text-decoration: none;
	color: #ddd;
	background: url(../images/menu.png) 0 0 no-repeat;
}


#contenttable a img {
	padding: 2px;
	border: 1px solid #ccc;
	margin: 5px;
}

#contenttable a img:hover
{
	border-color: #003c66;
}

#contenttable img {
	padding: 2px;
	border: 1px solid #ccc; 
	margin: 5px;
} 

#contenttable img.noborder {
	padding: 8px;
	border: 0px solid #ccc; 
	margin: 8px;
} 

.calculator td {
 	background-color: #fff;
}
