
form.survey {
	float: center;
}

/* Field set styles */

fieldset {
	background-color: rgba(255, 246, 205, .8);
	border: 1px solid black;
	float: left;
	margin: 20px 0px, 20px 2.5%;
	width: 75%;
	
}


legend {
	background-color: black;
	color: white;
	padding: 10px 0px;
	text-indent: 5px;
	width: 100%;
	
}


/* Label styles */

label {
	clear: left;
	display: block;
	float: left;
	font-size: .9em;
	margin: 7px 4% 7px 5px;
	width: 40%;
	font-family: Courier New, Courier, monospace;
	font-size: 15px;
	
}



/* Input control styles */
	
input {
	display: block;
	float: left;
	font-size: .9em;
	margin: 7px 0px;
	width: 50%;
}

input#state {
	width: 50px;
}



/* Selection list styles */

select {
	display: block;
	float: left;
	font-size: .9em;
	margin: 7px 0px;
}



/* Option button styles */

fieldset.optionGroup { 
	
	border-width: 0px;
}

fieldset.optionGroup label {
	
	float: none;
	margin: 0px 3px 0px 0px;
	width: 30px;
}

fieldset.optionGroup input {
	
	float: none;
	margin: 0px 20px 0px 0px;
	width: 20px;
}




/* Text area styles */

textarea {
	display: block;
	font-size: .9em;
	float: left;
	height: 150px;
	margin: 10px 0px;
	width: 50%;
	padding-top: 10px;
}







/* Number input box styles */

#worksPerMonth {
	width: 70px;
}







/* Button styles  */

form p {
	text-align: center;
}

input[type="submit"], input[type="reset"] {
	
	float: none;
	height: none;
	height: 40px;
	width: 200px;
}


/* Validation styles */

input:focus, select:focus, textarea:focus {
	background-color: rgb(220, 255, 220);
}

input:focus:valid {
	background: rgb(220, 255, 220) 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;
}

