/*Field set styles */

fieldset{
	background: #186DC3;
	border: 1px solid blue;
	box-shadow: 0px 0px 15px black;
	float: left;
	margin: 10px 0px 10px 2.5%;
	width: 38%;
}

legend{
	text-align: center;
	color: white;
	font-size: 1.5em;
	padding: 3px 0px;
	text-indent: 5px;
	width: 100%;
}

/* Label styles */

label{
	color: white;
	font-weight: bold;
	clear: left;
	display: block;
	float: left;
	font-size: 0.9em;
	margin: 7px 4% 7px 5px;
	width: 40%;
}

/* Input control styles */

input{
	display: block;
	float: left;
	font-size: 0.9em;
	margin: 7px 0px;
	width: 50%;
}

input#state{
	width: 50px;
}

/* Selection list styles */

select{
	display: block;
	float: left;
	font-size: 0.9em;
	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;
}

fieldset.optionGroup input{
	display: inline;
	float: none;
	margin: 0px 20px 0px 0px;
	width: 20px;
}

/* Text area styles */

textarea{
	display: block;
	font-size: 0.9em;
	float: left;
	height: 150px;
	margin: 10px 0px;
	width: 50%;
}
/* Button Styles */

form p{
	text-align: center;
}

input[type="submit"], input[type="reset"]{
	display: inline;
	float: none;
	height: 50px;
	width: 150px;
}

/* Validation styles */

input:focus, select:focus, textarea:focus {
	background-color:#D1E0F2;
}

input:focus:valid{
	background: #D1E0F2 url("../multimedia/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: #EE589C url("../multimedia/stop.png") bottom right no-repeat;
	
	-o-background-size: contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	background-size: contain;

}
