/* Set up the basic layout and remove unsemantic br tags. */

form {
	font-size: 1.3em;
	margin: .5em 0 0 0;
	padding: 0;
	display: inline;
	clear: both;
}

fieldset {
	margin: 0 2em 1em 0;
	padding: 1.1em;
	border: 1px solid #bbb;
	background: #f9f9f9;
	float: left;
	opacity: .9;
}

fieldset legend {
	background-color: #f9f9f9;
}

fieldset fieldset, fieldset fieldset legend {
	background: #f8f8fc;
}

fieldset div br {
	display: none;
}



/* Style the legend, labels and the div containing the submit button. */

legend {
	font-weight: bold;
	color: #666;
	margin: 0;
	padding: .3em .6em;
}

label {
	margin-top: 0.6em;
	margin-bottom: 0.2em;
}

#fm-submit {
	clear: both;
	padding-top: 1em;
}

.btn {
	margin-right: .5em;	
	padding: .4em .8em;
}
	

/* Mandatory fields. */

.fm-required {
	border: 1px solid #f05d49;
}


/* error */

input.invalid {
	background-color: #ffd3d3;
}

strong.error, ul.error {
	color: #f01f11;
	font-size: 1em;
}
