.borderless, .noborder, .no-border, .no_border{
	border:none;
	padding:0;
	margin:0;
}

form.fs_form{
	margin:1em 0;
	/*width:auto;*/
	float:left;
	width: 100%;
}

.fill{
	width:100%;
}

form.wide{
	width:550px;
}

form.fs_form .no_width{
	width:auto !important;
}

form.fs_form fieldset {
  margin-top: 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: .2em 0 .3em 0;
}

form.fs_form fieldset li
{
	list-style: none;
	padding: 3px;
	margin: 1px 0;
	clear: left;
	/*white-space: nowrap; THIS MAJORLY MESSES UP IE BROWSERS*/
}

form.fs_form fieldset fieldset,form.fs_form fieldset fieldset.checkbox {
	border: none;
	margin: 0;
	padding:0;
	float:left;
	margin-right:-140px;
}

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.thin label{
	width:100px;
}

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, 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;
}

form.fs_form span.required_format{
	font-weight:normal;
}

/* FIELD TYPES */

form.fs_form fieldset input { 
	/*margin-top:-3px;*/
	/* BORDERS SHOULD BE HANDLED BY THE BEAUTIFICATION SECTION BELOW
	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 ol.long textarea,
form.fs_form ol.wide textarea,
form.fs_form ul.long input,
form.fs_form ul.wide input,
form.fs_form ul.long textarea,
form.fs_form ul.wide textarea,
form.fs_form li.long input,
form.fs_form li.wide input,
form.fs_form li.long textarea,
form.fs_form li.wide textarea,
form.fs_form fieldset input.long,
form.fs_form fieldset input.wide,
form.fs_form fieldset textarea.long,
form.fs_form fieldset textarea.wide
{
	width:20em;
}

form.fs_form ol.medium input,
form.fs_form ol.medium textarea,
form.fs_form ol.medium select,
form.fs_form ul.medium input,
form.fs_form ul.medium textarea,
form.fs_form ul.medium select,
form.fs_form li.medium input,
form.fs_form li.medium textarea,
form.fs_form li.medium select,
form.fs_form fieldset input.medium, 
form.fs_form fieldset select.medium,
form.fs_form fieldset textarea.medium{
	width:10em;
}

form.fs_form ol.short input,
form.fs_form ol.narrow input,
form.fs_form ul.short input,
form.fs_form ul.narrow input,
form.fs_form li.short input,
form.fs_form li.narrow input,
form.fs_form fieldset input.zip, 
form.fs_form fieldset input.short, 
form.fs_form fieldset input.narrow,
form.fs_form fieldset textarea.short, 
form.fs_form fieldset textarea.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:0;
}

* html form.fs_form fieldset.controls{
	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.required fieldset label{
	font-weight:normal;
}

form.fs_form li input.hidden{
	border:none;
}

form.fs_form fieldset.fat_text input.text,
form.fs_form fieldset.fat_text input.password,
form.fs_form fieldset.fat_text input.file,
form.fs_form fieldset.fat_text textarea,
form.fs_form input.fat_text,
form.fs_form textarea.fat_text{
	font-size:1.2em !important;
}


/* ERRORS */

form.fs_form li.error{
	border-bottom:2px solid red;
	background:#ffc258;
}

form.fs_form li span.error_detail{
	font-size:.8em;
	padding:0;
	margin:0;
	clear:both;
	display:none;
	font-weight:normal;
	font-style:italic;
}

form.fs_form li span.error_detail{
	padding-left:140px;
}

form.fs_form fieldset.wide li span.error_detail{
	padding-left:210px;
}


form.fs_form fieldset li fieldset span.error_detail{
	padding:0 !important;
	margin-top:-10px;
	margin-bottom:10px;
}

form.fs_form li.error span.error_detail{
	display:block !important;
}


/* 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;
	font-family:arial, helvetica, sans-serif;
}

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:.25em;
}

form.fs_form input.submit{
	background-color:#ccf;
	border:1px solid #aac;
	border-bottom:1px solid #88a;
	border-right:1px solid #99b;
	padding:.25em;
}

form.fs_form li.checkbox label{
	margin-left:140px;
	width:auto;
}


* html form.fs_form li.checkbox label{
	margin-left:70px;
}

/* REMOVE MARGIN IF THE LABEL IS INSIDE A SECOND FIELDSET (SO IT'S ALREADY INDENTED) */
form.fs_form fieldset fieldset label, form.fs_form fieldset fieldset.checkbox label{
	margin-left:0;
	width:auto !important;
}
form.fs_form fieldset fieldset.checkbox{
	margin: 0;
}
form.fs_form fieldset fieldset.checkbox label{
	margin-bottom:0;
}

/* SPECIAL CASE WHERE THERE IS A TEXT FIELD TO THE RIGHT OF A SELECT BOX, RADIO, OR CHECKBOX */
form.fs_form fieldset fieldset label input.text{
	width:8em;
}

/* SPECIAL CASE WHERE THERE IS A TEXT FIELD TO THE RIGHT OF A SELECT BOX, RADIO, OR CHECKBOX */
form.fs_form fieldset label.checkbox{
	width:auto;
}

form.fs_form fieldset label.checkbox input{
	float:left;
}

/* FILE UPLOAD STYLING STUFF */
.fileinputs,
.imageinputs {
	display:block;
	float:left;
	position: relative;
}

div.fakefile {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	width:300px;
}

div.fakefile input{
	width:230px !important;
}

input.file_upload {
	position: absolute;
	top:0;
	left:0;
	text-align: right;
	-moz-opacity:.1 ;
	filter:alpha(opacity: 10);
	opacity: .1;
	z-index: 2;
	width:300px;
}

/* FILE GROUPS */

				ul.file_group{
					margin-left:20%;
				}
				
				form.fs_form fieldset li ul.file_group li{
					float:left;
					clear:none;
					width:200px;
					height:200px;
					margin-right:5px;
					margin-bottom:5px;					
				}
				
				form.fs_form div.file_input_area{
					border:1px solid gray;
					text-align:center;
					width:200px;
					height:200px;
					padding:5px;
					float:left;
				}
				form.fs_form div.file_input_area a{
					border:none;
				}
				
				form.fs_form div.file_input_area label{
					float:none;
					padding:0;
					font-size:1em;
					width:auto;
					text-align:center;
					margin-bottom:.5em;
				}
				
				form.fs_form div.file_input_area img{
					margin:auto;
				}
				
				.SI-FILES-STYLIZED label.cabinet
				{
					position:relative;
					margin:auto;
					width: 79px !important;
					height: 22px;
					background: url(images/button_choose.png) 0 0 no-repeat;
				
					display: block;
					overflow: hidden;
					cursor: pointer;
				}
				
				.SI-FILES-STYLIZED label.replace
				{
					background: url(images/button_replace.png) 0 0 no-repeat;
				}
				
				.SI-FILES-STYLIZED label.cabinet input.file
				{
					position: relative;
					height: 100%;
					width: auto;
					opacity: 0;
					-moz-opacity: 0;
					filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
				}
