html,
body {
	background: #666666;
	margin:0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding:0;
	text-align: center; 
	height:100%;
	width:100%; 
	font-family: Georgia, "Times New Roman", Times, serif;
}

#container {
	min-height:100%;
	position: absolute; 
	top:0;
	left:0;
	margin: 0 10%; /* the auto margins (in conjunction with a width) center the page */
	width: 80%;  /* this will create a container 80% of the browser width */
	background: #FFFFFF;
	border: 1px solid #000000;
	text-align: center; /* this overrides the text-align: center on the body element. */
	padding: 0;
}

#header {
	background: #DDDDDD; 
	padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	text-align:right;
}

#header h1 {
	text-align:left; 
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

#mainContent {
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background: #FFFFFF;
	padding-bottom: 60px; 
	text-align:justify;
}

#mainContent h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	text-align:left;
}

#mainContent h3 {
	font-style: italic;
}

#mainContent td {
	text-align:center;
	vertical-align:top;	
}
#mainContent td p {
	text-align:justify;
	width:90%;
	margin: 10px;
}

#footer { 
	clear: both; 
	position: absolute; 
	bottom: 0;
	left: 0;
	height: 50px;
	width: 100%;
	background:#DDDDDD;
	text-align: center; 
} 

#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; 
}

.errortext {
	font-weight:bold;
	color: #A00000;
}

.plain {
	color: inherit; 
}

a:link {
	text-decoration: none;
	color:#996633;
}
a:visited {
	text-decoration: none;
		color:#996633;
}
a:hover {
	color:#FF9900;
}
a:active {
	text-decoration: none;
	color: #FFDB99;
}

img {
	border:0px;
}