/*
	Final Project
	Author: Pablo Bentancur
	Date:   1/22/2016

	Filename: formstyles.css		
*/



fieldset{
	background-color: rgb(240, 237, 255);
	border: 1px solid green;
	margin-left: 15%;
	width: 70%;	
}


legend{
	background-color:  green;
	color: white;
	padding: 3px 0px;
	text-indent: 5px;
	width: 100%;
}


Label{
	clear: left;
	display: block;
	float: left;
	font-size: 0.9em;
	margin: 7px 4% 7px 5px;
	width: 40%;
}


input{
	display: block;
	float: left;
	font-size: 0.9em;
	margin: 7px 0px;
	width: 50%;
}

input#state{
	width: 50px;
}


select{
	display: block;
	float: left;
	font-size: 0.9em;
	margin: 7px 0px;
}

fieldset.feedbackGroup{
	border-width: 0px;
}

fieldset.feedbackGroup label{
	display: inline;
	float: none;
	margin: 0px 3px 0px 0px;
	width: 30px;
}

fieldset.feedbackGroup input{
	display: inline;
	float: none;
	margin: 0px 20px 0px 0px;
	width: 20px;
}


textarea{
	display: block;
	font-size: 0.9em;
	float: left;
	height: 150px;
	margin: 10px 0px;
	width: 50%;
}



label.sliderLabel{
	clear: none;
	font-size: 0.7em;
	margin: 10px 0px;
	text-align: center;
	width: 10px;
}

input[type="range"] {
	width: 150px;
}


form p{
	text-align: center;
}

input[type="submit"], input[type="reset"] {
	display: inline;
	float: none;
	height: 40px;
	width: 200px;
}

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;;
	background-size: contain;
}

input:focus:invalid{
	background: rgb(255, 232, 233) url(stop.png) bottom right no-repeat;
	background-size: contain;
}
