#content form {
	margin: 20px 0;
	position: relative;
	width: 100%;
	background: #fff;
	border: 0;
	padding: 0;
}

#content form div.form_block,
#content .p_form .f_block {
	clear: left;
	overflow: auto;
	margin: 15px 0;
	padding-left: 222px;
}

#content form div.wide {
	padding-left: 0;
}

#content form .form_block p {
	margin-bottom: 0;
}

#content .p_form .f_block p {
	margin: 0;
}

#content .p_form .f_block .f_required {
	margin-right: -20px;
}

#content form .form_label,
#content .p_form .f_block .f_label {
	float: left;
	display: inline;
	width: 212px;
	margin: 5px 0 0 -222px;
}

/* For this installation, we want stacked to mean a wide label, and to need wide to trigger moving the inputs */

#content .p_form .f_block.f_stacked .f_label {
	display: block;
	width: auto;
	margin-left: -222px !important;
}

#content .p_form div.f_block.f_stacked {
	padding-left: 222px !important;
}

#content .p_form .f_block .f_wide_input {
	margin-left: -222px !important;
}

#content .f_wide_input select {
	width: 100%;
}

#content .f_wide_input + .f_notes {
	width: auto;
	margin-left: -222px !important;
}

#content .p_form .f_block .f_html p {
	margin: 10px 0;
}

#content .p_form .f_block .f_label {
	margin-top: 0;
}

#content form .form_label.wide_label {
	width: 690px;
}

#content form .form_label label,
#content form .form_label span.pseudo {
	display: block;
	font-weight: bold;
}

#content form .form_label .label_notes {
	display: block;
	font-size: 90%;
	color: #999;
	line-height: 1.2;
	margin-top: 10px;
}

#content form .form_input,
#content form .form_submit,
#content .p_form .f_block .f_input
#content .p_form .f_block .f_submit {
	float: left;
	display: inline;
	margin: 0;
	width: 468px;
	position: relative;
	overflow: visible;
}

#content form .wide .form_input,
#content form .wide .form_submit {
	width: auto;
}

#content form input,
#content form textarea,
#content form select {
	font-family: Arial, sans-serif;
	font-size: 100%;
}

#content form .form_input .textual {
	background: #eee;
	width: 458px;
	padding: 2px 4px;
	line-height: 1.6;
	border: 1px solid #eee;
}

/*.p_form .f_block .f_textual {
	padding-left: 0;
}*/

.p_form .f_block .f_textual input,
.p_form .f_block .f_textual textarea {
	background: transparent;
}

#content form .form_input input.short {
	width: 80px;
	margin-right: 20px;
}

#content form .form_input input.with_adjunct {
	width: 400px;
}

#content form .form_input input.with_long_adjunct {
	width: 300px;
}

#content form .form_input span.adjunct {
	display: inline-block;
	width: 50px;
	padding: 0 4px;
}

#content form .form_input span.long_adjunct {
	display: inline-block;
	width: 150px;
	padding: 0 4px;
}

#content form .form_input .inlinelabel label {
	display: inline-block;
	width: 100px;
}

#content form .form_input .inlinelabel input {
	width: 358px;
}

#content form .form_input select {
	background: #fff;
	border: 1px solid #d9dcd0;
}

#content form .form_submit input {
	margin-right: 20px;
}

#content form .form_submit .adjunct {
	float: right;
	line-height: 22px;
	vertical-align: center;
	text-align: right;
}

#content form .problem .form_input .textual,
#content form .problem .form_input select {
	border-color: #D31245;
}

#content form .form_block .extra {
	padding-top: 6px;
}

#content form .form_block .extended {
	clear: left;
	float: left;
	display: inline;
	margin: 5px 0 5px -222px;
	width: 690px;
	overflow: hidden;
	position: relative;
}

#content form .form_block .extended .textual {
	width: 680px;
}

#content form .form_block .extended select {
	width: 689px;
}

#content form .form_block .editor {
	width: 450px;
}

#content form .form_block .extended .editor {
	width: 675px;
}

#content form .dividered {
	margin-top: 20px;
	border-top: 1px dotted #eee;
	padding-top: 20px;
}

#content form .dividered .form_submit {
	margin-top: 5px;
}

#content form .form_instructions {
	margin: 0 0 0 -222px;
	padding-bottom: 20px;
	color: #666;
}

#content form .wide_label {
	width: auto;
	margin-bottom: 10px
}

/* rules for forms converted by filters.xsl */

#content form table.form_radiobuttons {
	width: auto;
	margin: 0;
	padding: 0;
}

#content form table.form_radiobuttons td {
	margin: 0;
	border: none;
	background: none;
	padding: 0;
}

#content form table.form_radiobuttons td label {
	padding: 0 40px 0 0;
}

/* buttons */

#content form button {
	display: inline-block;
	line-height: 21px;
	vertical-align: bottom;
	padding: 0 4px 0 6px;
	font-weight: bold;
	font-size: 12px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

/* colour schemes */

#content form.frm_red .form_input .textual,
.sect_red #content .p_form .f_block .f_textual {
	background: #fceef2;
	border-color: #fceef2;
}

#content form.frm_red .problem .form_label,
#content form.frm_red .problem .form_input .inlinelabel label {
	color: #d31245;
}

#content form.frm_red .problem .form_input .textual {
	border-color: #d31245;
}

#content form.frm_red div.dividered,
.sect_red .p_form div.f_dividered {
	border-top: 1px dotted #d31245;
}

#content form.frm_red button,
.sect_red .p_form button {
	background: #d31245 url(../chrome/btn_red.png) 0 0 no-repeat;
	border-left: 0;
	border-top: 0;
	border-bottom: 0;
	border-right: 2px solid #d31245;
}

#content form.frm_orange .form_input .textual,
.sect_orange #content .p_form .f_block .f_textual {
	background: #ffeee5;
	border-color: #ffeee5;
}

#content form.frm_orange .problem .form_label,
#content form.frm_orange .problem .form_input .inlinelabel label {
	color: #ff5a00;
}

#content form.frm_orange .problem .form_input .textual {
	border-color: #ff5a00;
}

#content form.frm_orange div.dividered,
.sect_orange .p_form div.f_dividered {
	border-top: 1px dotted #ff5a00;
}

#content form.frm_orange button,
.sect_orange .p_form button {
	background: #ff5a00 url(../chrome/btn_orange.png) 0 0 no-repeat;
	border-left: 0;
	border-top: 0;
	border-bottom: 0;
	border-right: 2px solid #ff5a00;
}

#content form.frm_green .form_input .textual,
.sect_green #content .p_form .f_block .f_textual {
	background: #f5f9d9;
	border-color: #f5f9d9;
}

#content form.frm_green .problem .form_label,
#content form.frm_green .problem .form_input .inlinelabel label {
/*	color: #bed600;*/
	color: #d31245;
}

#content form.frm_green .problem .textual {
/*	border-color: #bed600;*/
	border-color: #d31245;
}

#content form.frm_green div.dividered,
.sect_green .p_form div.f_dividered {
	border-top: 1px dotted #bed600;
}

#content form.frm_green button,
.sect_green .p_form button {
	background: #bed600 url(../chrome/btn_green.png) 0 0 no-repeat;
	border-left: 0;
	border-top: 0;
	border-bottom: 0;
	border-right: 2px solid #bed600;
}

#content form.frm_blue .form_input .textual,
.sect_blue #content .p_form .f_block .f_textual {
	background: #e0f8f9;
	border-color: #e0f8f9;
}

#content form.frm_blue .problem .form_label,
#content form.frm_blue .problem .form_input .inlinelabel label {
	color: #30cdd7;
}

#content form.frm_blue .problem .form_input .textual {
	border-color: #30cdd7;
}

#content form.frm_blue div.dividered,
.sect_blue .p_form div.f_dividered {
	border-top: 1px dotted #30cdd7;
}

#content form.frm_blue button,
.sect_blue .p_form button {
	background: #30cdd7 url(../chrome/btn_blue.png) 0 0 no-repeat;
	border-left: 0;
	border-top: 0;
	border-bottom: 0;
	border-right: 2px solid #30cdd7;
}

#content .f_notes,
#content form div .form_notes {
	clear: both;
	padding-top: 5px;
	color: #777;
	font-size: 12px;
	line-height: 1.4;
}

#content form h3 {
	font-size: 16px;
	padding-bottom: 5px;
	border-bottom: 1px dotted #8C8E90;
	margin-bottom: 10px;
}

#content .p_form .f_block .f_input_prefix {
	background: #fff;
	position: relative;
	left: -3px;
	padding: 4px 20px 4px 3px;
	border: 1px solid #fff;
}

#content .p_form .f_block .f_intro {
	margin-bottom: 15px;
}