.error {color:red}
p#form_error {text-align:center; margin-bottom:1em;}
input.error, textarea.error, select.error {border: solid 2px red; color:#000}
div.form_centre {
	width: 98%;
	margin: 0 auto;
}

form.lite label {
	width: 30%; /* label width *//* label margin = (input left margin) - (label width) */
	margin-right: 10px; /* label margin */
}
form.lite label.long, form.lite p.label {
	margin-left: 25%; /* subjective */
	width: 75%; /* (textarea width) + (label width) + (label margin) - (left margin) */
}
form.lite label.over {
	margin-left: 10px;
	width: 75%;
}
form.lite label span {
	color: #900; /* color of required asterisk */
}
form.lite input, form.lite textarea, form.lite select {
	margin-left: 32%; /* (label width) + (label margin) */
	width: 60%; /* subjective */
}
form.lite textarea.wide {
	margin-left: 10px;
	width: 80%;
 	height: 330px;
}
form.lite textarea.long {
 	height: 250px;
}
form.lite input.wide {
	margin-left: 10px;
	width: 80%;
}
form.lite textarea {
	width: 60%; /* subjective, recommend: (3/2)(input width) */
 	height: 90px;
}
form.lite p.desc {
	display:block;
	float:right;
	width:70%;
	margin-left: 32%; /* (label width) + (label margin) */
}
form.lite fieldset {
	margin-bottom: 1.5em;
	border: 1px solid #e21414;
}
form.lite legend {
	font-weight: bold;
	font-size: 1em;
}
form.lite fieldset.checks {
	border:1px solid;
	margin:0 0 0 0;
}
form.lite .checks legend {
	color:red;
}
form.lite .checks label {
	margin-left: 4%; /* (label width) + 2(label margin) */
}
form.lite .checks input {
	margin-left: 30%; /* (label width) + (label margin) */
}
form.lite fieldset.expiry {
	border:none;
}
form.lite fieldset.expiry select {
	display: inline;
	width:50px;
	margin:0 0 0 4px;
}

form.lite table.radios label {
	margin:0;
	text-align:left;
	display: inline;
	float:none;
}
form.lite table.radios input {
	margin:0 0 0 2%;
	display: inline;
	width:4%;
}
#content form.lite fieldset h2, #content form.lite fieldset p {
    margin-left:1em;
}

form.lite input.num_field { width:40px; text-align:right; padding-right:2px;}


/*
	The following makes Internet Explorer 6.x play nicely. 
	These fix the double float margin bug.
*/
* html form.lite .checks input {
	margin-left: 50px;  /* (1/2)((label width) + (label margin)) */
}
* html form.lite .checks label {
	margin-left: 110px; /* (label width) + (label margin) */
	height: 1em; 
}


/*********************************************************************************
	DO NOT EDIT BELOW THIS LINE
*********************************************************************************/


form.lite {
	margin: 0 0 1em;
}

form.lite label {
	/* 
		A label must precede the form element in the HTML
		You must keep the top padding for some browsers to keep the label and the form element looking on the same line
	*/
	float: left;
	text-align: right;
	padding-top: 0.2em;
	font-weight: bold;
	font-size: 1em;
}
form.lite label.long {
	/*
		If your label text does not fit in the left-hand side, consider this class
	*/
	float: none;
	display: block;
	text-align: left;
}

form.lite input, form.lite textarea, form.lite select {
	/*
		These items must immediately follow the LABEL item associated with it and followed by a BR (see below).
		The following width must be 10pixels wider than the width of the LABEL.
	*/
	display: block;
	margin-bottom: -0.5em;
}
form.lite select[multiple="multiple"] {
	/*
		Mozilla has some weird concept of how to display multiple select boxes.
		For some reason, display: block; does not affect it.
		For more information, see https://bugzilla.mozilla.org/show_bug.cgi?id=342531
		This fixes that problem. DON'T FORGET YOUR BR TAG AFTER SELECT!
	*/
	margin-left: 0px;
}
form.lite br {
	/* 
		Always include a BR tag at the end of a line of items -- generally immediately following one of an INPUT, SELECT or TEXTAREA.
		Within div.checks, include the BR after the LABEL
	*/
	clear: left;
} 

form.lite input[type="radio"], form.lite input[type="checkbox"],
form.lite input[type="hidden"] {
	/* 
		Keeps Mozilla browsers (and others) from making the RADIO and CHECKBOXES too wide and/or tall.
		Also removes unnecessary borders from these browsers (They don't respond as expected) 
	*/
	width: auto; 
	height: 1em;
	border: 0;
}

form.lite input[type="hidden"] {
	/*
		Firefox doesn't want to make them actually hidden, so I'll force it.
	*/
	display: none;
}

form.lite p.desc {
	/*
		Use this immediately following an item that needs a longer description than can be handled by the LABEL.
		The left margin should be the same as INPUT, TEXTAREA and SELECT objects.
	*/
	display: block;
	margin-top: -0.4em;
	margin-bottom: 1em;
	font-style: italic;
	font-size: 0.9em;
}


/* 
	The following section is for reversing the display of CHECKBOX and RADIO INPUTs.
	Surround the section of items with <fieldset class="checks"></fieldset> or <div class="checks"></div>.
	It is highly recommended to use FIELDSET over DIV when there are multiple items.
	In the section, the INPUT precedes the LABEL and the BR comes last (after the label).
*/
form.lite .checks label {
	/*
		Overrides for previously defined stuff and changes.
		Left margin must be 10pixels more than "form.lite input, form.lite select" etc.
	*/
	float: none;
	width: auto;
	clear: none;
	display: block;
	text-align: left;
	height: 2em;
	padding-top: 0;
	margin-bottom: -1em;
}

form.lite .checks input {
	/*
		Left margin is the same value as "form.lite input, form.lite select" etc.
	*/
	float: left;
	text-align: right;
	margin-bottom: 0.5em;
	width: auto;
}

/* 
	End reverse checks/radios section
*/


/*
	I found my own IE CSS display bug. I call it the "IE sucks, so it redraws the top border all over the fieldset like a jerk bug."
*/
* html form.lite fieldset p.desc, * html form.lite .checks p.desc { margin-top: 0; }
* html form.lite p.desc { margin-top: -1em; }
* html form.lite input, * html form.lite textarea, * html form.lite select,
* html form.lite .checks input, * html form.lite .checks label {
	margin-top: 0;
	margin-bottom: 0;
}
* html form.lite fieldset br {
	/*
		Hooray! We have a fix!
		For some crazy reason, IE lets me style its BR tag.
	*/
	line-height: 0.5em;
	font-size: 0.5em;
}
