/* top aligned by default */
fieldset {
	margin-top: 40px;
	padding: 10px 5px 20px 5px !important;
	border: none;
	background: #f1f1ed;
	overflow: hidden;
}

fieldset h3 {
 	padding: 10px;
}
form {
	overflow: hidden;
}
form .field { margin:0 0 10px; padding:0; clear:both; }
form .field label { display:block; font-weight:700; margin-bottom:1px; font-size:12px; width:auto; float:none; }

form .field ul, form .field li { list-style:none; margin:0; }
form .field ul { margin:5px 0; }
form .field li { margin:0 0 10px; }
form .field li input { float:left; }
form .field li label { font-weight:400; display:block; float:left; }

form .password input, form .text input, form .email input, form .textarea textarea, form .encrypt input, form .numeric input { border:1px solid #ccc; font-size:14px; padding:2px; float:none; width:190px; }



form .textarea textarea {  width:407px }
form select { font-size:11px; padding:2px; }

form .checkbox input, form .checkbox label { float:none; }
form .checkbox label { display:inline; }

form ul.checkboxset, form ul.checkboxset li, form ul.optionset, form ul.optionset li { list-style:none; margin-left:0; }
form ul.checkboxset, form ul.optionset { margin:0 0 0 10px; }
form ul.checkboxset li, form ul.optionset li { margin:0 0 5px; overflow:hidden; }

form ul.checkboxset input, form ul.optionset input { float:left; clear:left; }
form ul.checkboxset label, form ul.optionset label { float:left; width:auto; margin-left:8px; }

form span.required, form span.validation { display:block; clear:left; margin:5px 0 0 0; font-size:11px; color: red; font-weight:700; line-height:16px; }
form div.validationError { margin-bottom:4px; }
form div.validationError input, form div.validationError textarea { background-color: #fffbf6; border-width:2px; }

form div.Actions { margin:20px 0; clear:both;  overflow: hidden;}
form input.action, form button.action { background:#000; border:0; padding:5px 10px; font-weight:700; color:#fff; cursor:pointer; }
form input.action.nolabel, form button.action.nolabel { background:none; border:0; padding:5px 10px; font-weight:700; color:#fff; cursor:pointer; }
form input.action:hover, form button.action:hover { background:#777; }

form div.Actions input.secondary { background:none; color:#900; float:right; }

/* left aligned */
form.left .field { overflow:hidden; }
form.left .field label { width:150px; padding-right:10px; float:left; }
form.left .field input, form.left .field textarea, form.left .field select { float:left; }

form.left ul.checkboxset, form.left ul.optionset { float:left; margin:0; }
form.left ul.checkboxset label, form.left ul.optionset label { width:auto; }

form.left .checkbox input, form.left .checkbox label { float:none; }
form.left .checkbox input { margin-left:160px; }

form.left div.Actions { margin-left:160px; }

/* right aligned */
form.right .field { overflow:hidden; }
form.right .field label { width:150px; padding-right:10px; float:left; text-align:right; }
form.right .field input, form.right .field textarea, form.right .field select { float:left; }

form.right ul.checkboxset, form.right ul.optionset { float:left; margin:0; }
form.right ul.checkboxset label, form.right ul.optionset label { width:auto; text-align:left; }

form.right .checkbox input, form.right .checkbox label { float:none; text-align:left; }
form.right .checkbox input { margin-left:160px; }

form.right div.Actions { margin-left:160px; }




div.text, div.field, form .field {
	float:left !important;
	clear:none;
	margin: 0 10px;
}

div.field {
	margin-top:10px;
}
input.required {
 	border: 1px solid red !important;
}

label.required {
	color: red !important;
	font-weight: normal !important;
}
input[type="submit"] {
	float: right;
}	