.highlight { 
	background-color: yellow;
}

.baamform form {
	overflow: hidden;
}

.baamform fieldset {
	border: 1px solid #AAA;
	padding: 10px;
}

.baamform legend {
	color: #AAA;
	font-size: 16px;
	text-transform: uppercase;
}

.baamform form .field {
	float: left;
	width: 100%;
	margin: 10px 0;
}

.baamform form .field label,
.baamform form .field .label {
	width: 100px;
	float: left;
	margin-right: 10px;
	display: block;
}

.baamform form .field p .label {
	float: none;
	width: auto;
	display: inline;
	margin: 0;
}

.baamform form .checkboxlist label,
.baamform form .radiolist label {
	float: none;
	display: inline;
	width: auto;
}

.baamform form .checkboxlist label,
.baamform form .radiolist label {
	white-space: nowrap;	
	float: left;
	display: block;
	padding: 5px;
	border: 1px solid #FFF;
}

.baamform form .checkboxlist label:hover,
.baamform form .radiolist label:hover {
	background: #EFF;
	border: 1px solid #DDD;
	cursor: pointer;	
}

/* form validation */

.baamform .validation-errors {
	padding: 10px 20px;
	margin-bottom: 10px;
	background-color: #EAA;
	border: 1px solid #000;
}

.baamform .validation-errors label {
	color: #C00;
	text-decoration: underline;
	cursor: pointer;
}

.baamform .invalid label,
.baamform .invalid span.label {
	color: #C00;
	text-decoration: underline;
}

/* result */
.baamform .result {
	padding: 10px 20px;
	margin-bottom: 10px;
	border: 1px solid black;
}

.baamform .result.success {
	background-color: #EEA;
}

.baamform .result.error {
	background-color: #EAA;
}

/** START baamform display logic **/

/* default: hide feedback, hide result */
.baamform .feedback,
.baamform .result {
	display: none;	
}

/* state 'submitting': show feedback */
.baamform.submitting .feedback {
	display: inline;
	font-weight: bold;
	font-style: italic;
	padding: 10px 0 7px 30px;
	background: url(../images/spinner.gif) 0% 50% no-repeat;
}

/* state 'submitting': hide submit button */
.baamform.submitting .actionbuttons input,
.baamform.submitting .actionbuttons button,
.baamform.submitting .actionbuttons a {
	display: none;
}

/* state 'showresult': show result */
.baamform.showresult .result {
	display: block;
}

/** END baamform display logic **/


#profile fieldset {
	width: 45%;
	float: left;
	margin-right: 10px;
}

#profile .actionbuttons {
	clear: both;
	padding: 10px;
	margin: 10px 0;
	height: 40px;
}

#profile .actionbuttons button {
	font-size: 18px;
	width: 150px;
	height: 40px;
}

#profile.submitting .feedback {
	height: 24px;
	margin: 0;
	padding-top: 20px;
	display: block;
}
