

form.fs_form{
	margin-top:1em;
	/*width:auto;*/
	float:left;
}

form.fill{
	width:100%;
}

form.fs_form .no_width{
	width:auto !important;
}

form.fs_form fieldset {
  margin-bottom: 10px;
  border:0;
}

form.fs_form fieldset.bordered{
	border:1px solid #ddd;
	border-bottom:1px solid #aaa;
	border-right:1px solid #ccc;
}

form.fs_form fieldset.bordered fieldset{
	border:none;
}

form.fs_form legend {
  padding: 0 2px;
 /* font-weight: bold;*/
 font-size:.9em;
 margin-left:10px;
 padding:0 5px;
 color:#444;
}

form.fs_form fieldset ol {
  margin: 0;
  padding: 0;
  padding-bottom:1em;
}

form.fs_form fieldset li
{
	list-style: none;
	padding: 5px;
	margin: 0;
	clear: left;
	white-space: nowrap;
}

form.fs_form fieldset fieldset {
  border: none;
  margin: 0;
  padding:0;
}

form.fs_form fieldset fieldset legend {
	color:inherit;
	font-size:inherit;
  padding: 0 0 5px;
  font-weight: normal;
}

form.fs_form em {
  font-weight: bold;
  font-style: normal;
  color: #f00;
}

form.fs_form label
{
	width: 130px;
	/* Width of labels */
	vertical-align: top;
	text-align: right;
	display: block;
	float: left;
	margin-right: .75em;
	white-space: normal;
}

form.fs_form fieldset.wide label{
	width:200px;
}

form.fs_form fieldset.medium label{
	width:170px;
}

form.fs_form fieldset fieldset{
	/*display:inline;*/
	float:left;
}

form.fs_form fieldset li:after{
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html form.fs_form fieldset li {height: 1%;}
/* End hide from IE-mac */

form.fs_form fieldset fieldset input {
	display:block;
	text-align:left;
	clear:left;
	float:none;
	margin-bottom:10px;
}

form.fs_form fieldset fieldset label {
	margin-left: 140px; /* Width plus 3 (html space) */
	text-align:left;
	clear:left;
	float:none;
}

	form.fs_form fieldset fieldset label input{
		display:inline;
		margin:0;
	}

form.fs_form fieldset li fieldset label{
	width:auto;
}

/* FIELD TYPES */

form.fs_form fieldset input { 
	margin-top:-3px;
	border-bottom:1px solid #ccc;
	border-top:2px solid #999;
	border-right:1px solid #bbb;
	border-left:2px solid #aaa;
	margin-right:.5em;
}

form.fs_form fieldset select {
	margin-right:.5em;
}

form.fs_form ol.long input,
form.fs_form ol.wide input,
form.fs_form fieldset input.long,
form.fs_form fieldset input.wide{
	width:20em;
}

form.fs_form ol.medium input,
form.fs_form ol.medium select,
form.fs_form fieldset input.medium, 
form.fs_form fieldset select.medium{
	width:10em;
}

form.fs_form ol.short input,
form.fs_form ol.narrow input,
form.fs_form fieldset input.zip, 
form.fs_form fieldset input.short, 
form.fs_form fieldset input.narrow,
form.fs_form fieldset select.short,
form.fs_form fieldset select.narrow{
	width:5em;
}

form.fs_form fieldset label input,
form.fs_form ol li label input,
form.fs_form ol.long li label input,
form.fs_form ol.wide li label input{
	width:auto;
}

form.fs_form fieldset.controls{
	text-align:right;
	border:0;
	padding:5px 0; /* Otherwise IE cuts off the tops of the buttons */
}

	form.fs_form fieldset.controls input{
		width:75px;
	}
	
	form.fs_form fieldset.controls input.medium{
		width:100px;
	}

	form.fs_form fieldset.controls input.wide{
		width:150px;
	}


form.fs_form li.required label{
	font-weight:bold;
}

form.fs_form li input.hidden{
	border:none;
}

/* ERRORS */

form.fs_form li.error{
	background-color:red;
}

/* BEAUTIFY FORM STUFF */

form.fs_form input.text, form.fs_form input.password, form.fs_form input.file, form.fs_form textarea{
	border:1px solid #ddd;
	border-top:1px solid #aaa;
	border-left:1px solid #bbb;
	background-color:#f3f3f3;
	padding:0 2px;
	font-size:1.1em;
}

form.fs_form input.text.focused, form.fs_form input.password.focused, form.fs_form textarea.focused{
	background-color:#ddf;
}

form.fs_form input.button{
	background-color:#ccc;
	border:1px solid #aaa;
	border-bottom:1px solid #888;
	border-right:1px solid #999;
	padding:0;
}

form.fs_form input.submit{
	background-color:#ccf;
	border:1px solid #aac;
	border-bottom:1px solid #88a;
	border-right:1px solid #99b;
	padding:0;
}
