/*
 	AMC Demolition Site

   Contact US Style Sheet
   Author:  Tina Pescheta
   Date:  April 1, 2012

   Filename:         form.css
   Supporting Files: go.png, stop.png, amchome.htm, amc.css, amclogo.gif, ndalogosm.jpg,usalibertysm.jpg

*/

/* Section styles */

article p {
	margin: 2px 8px 2px 20px; 
   font-size: 0.9em;
   }
   
section p.required {
	margin: 2px 8px 2px 20px; 
   font-size: 0.9em;
   color: green;
}

/* Field set styles */

fieldset {
	background-color: rgba(108, 72, 0, 0.3);
	border: 1px solid rgb(55, 125, 70);
	float: left;
	margin: 10px, 0px, 10px, 10px;
	width: 49%;
	}
	
legend {
	background-color: rgb(0, 49, 0);
	color: white;
	padding: 3px 0px;
	text-indent: 5px;
	width: 100%;
	font-size: 1.2em;
	text-align: center;
	}
	
/* Label styles */

Label {
	clear: left;
	display: block;
	float: left;
	font-size: 0.8em;
	margin: 7px 4% 7px 5px;
	width: 40%;
	}
	
/* Input control styles */

input {
	display: block;
	float: left;
	font-size: 0.8em;
	margin: 7px 0px;
	width: 50%;
	}
	
	
input#state {
	width: 50px;
}


/* Selection list styles */

Select {
	display: block;
	float: left;
	font-size: 0.8em;
	margin: 7px 0px;
}


/* Option Button Styles */

fieldset.optionGroup {
	border-width: 0px;
}

fieldset.optionGroup label {
	display: inline;
	float: none;
	margin: 0px 3px 0px 0px;
	width: 30px;
	font-weight: bold;
	font-size: 0.8em;
}

fieldset.optionGroup input {
	display: inline;
	float: none;
	margin: 0px 20px 0px 0px;
	width: 20px;
	font-size: 0.8em;
}


/* Text area styles */

textarea {
	display: block;
	font-size: 0.8em;
	float: left;
	height: 262px;
	margin: 10px 0px;
	width: 50%;
}


/* Button styles */

form p {
	text-align: center;
}

input[type="submit"], input[type="reset"] {
	font-weight: bold;
	background-color: rgb(55, 125, 70);
	display: inline;
	float: none;
	height: 40px;
	width: 200px;
	font-size: 1em;
	text-align: center;
	color: white;
}


/* Validation styles */

input:focus, select:focus, textarea:focus {
	background-color:rgb(230, 255, 175);
}

input:focus:valid {
	background: rgb(230, 255, 175) url(go.png) bottom right no-repeat;
	
	-o-background-size: contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	background-size: contain;
}

input:focus:invalid {
	background: rgb(255, 232, 233) url(stop.png) bottom right no-repeat;
	
	-o-background-size: contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	background-size: contain;
}
	
	