.MainText {
	text-align: center;
	vertical-align: middle;
	margin-right: 2em;
	margin-left: 2em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: large;
}
h1 {  text-align: center; vertical-align: middle}


h2 {
	text-align: center;
	vertical-align: middle;
}
.Copyright {
	text-align: right;
	vertical-align: middle;
	font-size: x-small;
	background-color: #cccccc
}

.TextLeft {
	text-align: left;
	vertical-align: middle;
	position: relative;
	width: 90%;
	float: none;
	clear: none;
	left: 2em;
	right: 2em;
}

.caption {
	text-align: center;
	vertical-align: middle;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
}
.ImageCentre {
	text-align: center;
	vertical-align: middle;
	border: 10px 10px 10px 10px;
}
.ImageLeft {
	vertical-align: middle;
	position: relative;
	float: left;
	margin: 10px;
}

body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 2px; /* 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; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}

.oneColElsCtrHdr #container {
	width: 100%;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000; /* this overrides the text-align: center on the body element. */
	background-color: #CCCCCC;
}
.ImageRight {
	float: right;
	margin: 10px;
	position: relative;
}

.oneColElsCtrHdr #header {
	background: #DDDDDD;  /* 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. */
} 
.oneColElsCtrHdr #header h1 {
	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: 5px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.oneColElsCtrHdr #mainContent {
	padding: 0 20px;
	background-image: url(../Images/Background.JPG);
	height: 100%;
	background-repeat: repeat-y;
	background-color: #CCCCCC;
	background-position: center;
}
.oneColElsCtrHdr #footer {
	padding: 0 10px;
	background-color: #CCCCCC;
} 
.oneColElsCtrHdr #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; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}


#container {
	width: 46em;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
}
#header {
	background-color: #CCCCCC;
	background-repeat: no-repeat;
} 
#header h1 {
	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: #CCCCCCC;
}
#footer {
	padding: 0 10px;
	background-color: #CCCCCC;
} 
#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; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	background-color: #CCCCCC;
}
.PageHeader {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 36px;
	font-weight: bolder;
	vertical-align: middle;
	text-align: center;
	padding-right: 20px;
	padding-left: 20px;
}
.MiddleRight {
	vertical-align: middle;
	text-align: left;
	margin: 10px;
	position: relative;
}

.oneColElsCtrHdr #container #headerLogo {
	position: absolute;
}
.captionLeft {
	text-align: left;
	vertical-align: middle;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
}
.ToolsButtonBar {
	font-family: "Times New Roman", Times, serif;
	font-size: small;
	float: left;
}
.MinorText {
	text-align: center;
	vertical-align: middle;
	margin-right: 2em;
	margin-left: 2em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
}
.HeaderButton {
	font-family: Arial, Helvetica, sans-serif;
	font-size: large;
	font-weight: bold;
	background-color: #999999;
	border: thin solid #000000;
	bottom: 3px;
	line-height: 2em;
	padding: 2px;
	margin: 3px;
}

