
form.theform {
	font-size: 1.0em;
	color: #333;
}

form.theform legend {
	padding-left: 0;
}

form.theform legend, form.theform label {
	color: #333;
}

form.theform fieldset {
	border: none;
	border-top: 1px solid #C9DCA6;
	background: url(../images/theform-fieldset.gif) left bottom repeat-x;
	background-color: #F8FDEF;
}

form.theform fieldset fieldset {
	background: none;
}

form.theform fieldset p, form.theform fieldset fieldset {
	padding: 5px 10px 7px;
	background: url(../images/theform-divider.gif) left bottom repeat-x;
}

form.theform label {
	display: inline-block;
	width: 150px;
}

form.theform label.error, label.error {
	/* remove the next line when you have trouble in IE6 with labels in list */
	color: red;
	font-style: italic
}

input {	
	/* border: 1px solid black; */
}

input.checkbox { border: none }

input:focus { border: 1px dotted black; }

input.error { border: 1px dotted red; }

select.error { border: 1px dotted red; }

form.theform .gray * { color: gray; }

.noborder {border: none; }

div.errorcontainer {
	background-color: #eee;
	border: 1px solid red;
	margin: 5px;
	padding: 5px;
}

div.errorcontainer ul li {
	list-style-type: disc;
	margin-left: 20px;
}

div.errorcontainer {
	display: none
}
	
.errorcontainer label.error {
	display: inline;
}

.custom-combobox {
	position: relative;
	display: inline-block;
}
.custom-combobox-toggle {
	position: absolute;
	top: 0;
	bottom: 0;
	margin-left: -1px;
	padding: 0;
	/* support: IE7 */
	*height: 1.7em;
	*top: 0.1em;
}
.custom-combobox-input {
	margin: 0;
	padding: 0.3em;
}

.required {
	background-color: #f0cccc;
}