@charset "utf-8";
/* CSS Document */

/* PNG TRANSPARENCY FIX */
 img, div, input { behavior: url("iepngfix.htc") }
 
 a:link { text-decoration:none; color: #393939; font-size: 75%; font-weight:bold }
 a:hover {color: #8A0403; text-decoration:underline}
 a:visited {color: #8A0403; text-decoration:underline;font-size: 75%; font-weight:bold}
 
 
h1 {font-size:25px }
h2 { color:#880403}
body {
	font: 85% Helvetica, sans-serif;
	background: #e9eddf;
	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; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #393939;
	background-image:url(images/BG.jpg);
	background-repeat:repeat-x;
	
}
.MainPg #container {
	width: 964px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background-color: none;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	background-image:url(images/Content.png);
	background-repeat:repeat-y;
	
}
.MainPg #header {
	height: 178px;
	background-image:url(images/Header.png);
	background-repeat:no-repeat;
	background-color:#8A0403;
}
.MainPg #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 */
}
.MainPg #mainContent {
	padding: 0 30px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	
	width: 900px;
}
.MainPg #footer {
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background-color:#E9EDDF;
	background-image:url(images/Footer.png);
	background-repeat:no-repeat
	height: 51px;
	
}
.MainPg #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 25px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}



/* ----------------------------  AJAX FORM --------------------------------------- */

.textInput, textarea {	/* General style for my inputs when they're not highlighted */
	width: 100%;	
	font-family:arial;
	background-color:#FFFFFF;
	border:1px solid #ccc;
	color:#666;
}


.inputHighlighted{	/* Highlighting style */
	background-color: #E4DF7F;
	color:#900;
	border:1px solid #880403;
}


.textInput, select{	/* General style for my inputs when they're not highlighted */
	width:300px;	
	font-family:arial;
	background-color:#FFFFFF;
	border:1px solid #ccc;
	color:#666;
}


/* General styling for both valid and invalid input */
.invalidInput,.validInput{
	padding:1px;
}
/* Style for invalid input */
.invalidInput{
	border:1px solid #880403;
}

/* Style for valid input */
.validInput{
	border:1px solid #FFF;
}
