form fieldset {
	margin:0 0 20px 0;
	background-color:#f2f9fe;
	border:solid 1px #aedcf5;
	padding:20px 15px 10px 15px;
	position:relative; /* To assist in fixing the background bleed issue on IE */
}

form fieldset.fieldLabel {
	margin:0 0 0 0;
	background-color:#fff;
	border:none;
	padding:0 0 0 0;
}

form .stButton:hover {
	border: 1px solid #41a9d8;
}

form input:focus, textarea:focus, select:focus {
	border: 1px solid #f93;
}

form fieldset:hover .narrow { /*	Needed to stop border hover on radio buttons
									and checkboxes in IE */
	border:none;
	background-color:#fffccd; 
}

form legend {
	top:-30px;
	color:#fd8f00;
	background: #fff;
	font-family: "Cambria,Arial,Trebuchet MS";
	font-style:italic;
	font-size:1.4em;
	left:10px;
	padding: 0 5px;
}

form legend.fieldLabel {
	width:155px; /* Must match the exact width specified in the span */
	top: 0;
	color: #000;
	font-weight:bold;
	font-style:normal;
	display:block;
	float:left;
	font-family: AvenirNext-Medium,arial; 
	padding:0;
	text-align:right;
	margin:0 13px 0 0px;
	font-size: 1.0em;
	
}

form label.fieldLabel, form label.error {
	width:155px; /* Must match the exact width specified in the span */
	display:block;
	float:left;
	font-weight:bold;
	padding:0;
	font-family: AvenirNext-Medium,arial; 
	text-align:right;
	margin:0 13px 0 0px;  /* trying to move the label to the left so the dropdown shows */
	color:#000;
}

form label.fieldLabel.longLabel, legend.fieldLabel.longLabel {
	width:auto;
	text-align:left;
	display:inline;
}

form label.fieldLabel.surveyLabel, legend.fieldLabel.surveyLabel {
	width:auto;
	text-align:left;
	display:inline;
	color:blue;
	font-size:1.1em;
	margin:0px 0px 5px 0px;
}

.richField label, .richField label span {
	float:none !important;
	text-align: left !important;
	width: inherit;
	margin-left: 0 !important;
}


form label span,form fieldset legend span {
	font-size:.8em;
	display:block;
	width:155px; /* Must match the exact width specified in the label */
	text-align:right;
	font-weight:normal;
	color:#656565;
	margin-bottom: 6px;
}

form p.group span, form p.group label {
	width: 155px;
}

form em {
	font-size:.8em;
	font-style:normal;
	font-weight:normal;
	color:#007bae;
	position:relative;
	top:-7px; /* Moves the em's up a little to line up with the radio buttons
				 and checkboxes*/
}
form .hasDatepicker {
    width: 20em;
    border: solid 1px #999 ;
    margin: 0 0 2px 0;
    color: #000;
    font-size: 1em;
    padding: 5px 3px 3px 3px;
}

form .formtext {
    width: 20em;
    border: solid 1px #999 ;
    margin: 0 0 2px 0;
    color: #000;
    font-size: 1em;
    padding: 5px 3px 3px 3px;
}

form input, textarea {
	width: 20em;
	border:solid 1px #999;
	margin:4px 0 9px 0;  /* edited to make the commonapp coalition login page look correct */
	color:#000;
	font-size:1em;
	padding:5px 3px 3px 3px;
}
form input[type=checkbox], form input[type=radio], form input[type=image] {
	border: none;
	width: auto;
	margin:3px;
	vertical-align:middle;
	background: none !important;
}

form input:hover {
	
}

form .narrow {
	width:13px;
	margin:0 0 0 15px; /* Add a little spacing between radio button options */
	border:none; /* Removes borders from radio buttons and checkboxes in IE  */
}

form .narrow:hover {
	border:none; /* Removes boders from radio buttons and checkboxes in IE on hover  */
}

form select {
	/*width:190px;*/
	/* height:26px;   /* modified to make profile/manage/mpsProfileParams drop downs line up correctly */
	border:solid 1px #999;
	margin:0 0 7px 0;
	color:#000;
	font-size:1em;
	padding:4px 3px 2px 3px;
}

form select[multiple="multiple"] {
	/*width:190px;*/
	height:auto;
	border:solid 1px #999;
	margin:0 0 7px 0;
	color:#000;
	font-size:1em;
	padding:4px 3px 2px 3px;
}

form select:focus {
	border:solid 1px #f93; /* Hover effect won't work in IE, but then you're
								 probably not surprised */
}

form .group {
	float: left;
	margin-top:5px;
}
form .group.longLabel {
	clear: left;
	margin-left:170px;
}

form .complexGroup {
	margin-left: 0;	
}
form .complexGroupContent {
	margin: 0 0 1em 1em;	
}
form .complexGroup .label {
	font-weight: bold;	
}
form .complexGroup div {
	margin-left: 1em;
}
form input.button {
	height: 25px;
	width: 100px;
	padding: 0;
}
form input.required, form select.required {
	/* TODO: A resolution to form field required should be implemented.  See Issue. OAUA-242, UI-11 
	background: #fbec88;
	*/
}
form input.required:focus {
	border: 1px solid #fad42e;		
}
.requiredIndicator {
	color: #c11130;
	font-weight: bold;
	position: relative;
	display:inline;
	padding-right: 5px;
	font-size: 1.25em;
}

.group sup.requiredIndicator {
	vertical-align: 1px !important;
}
.fieldContainer {
	margin: -5px 0;  /* modified to make profile/manage/mpsProfileParams drop downs line up correctly */
	/* padding: 5px 1px; /* modified to make profile/manage/mpsProfileParams drop downs line up correctly */
	width: 100%;
}
div.fieldContainer.ui-state-error {
	padding: 4px 0;
	margin: 2px 0;
	float: left;
}
.clearFieldContainer {
	clear: both;
}
.fieldContainer .ui-icon {
	position: absolute;
	margin-left: 5px;
}
#comments {
	height:100px !important; /* Must be important otherwise it wont be honored */
}
.stButton {
	color:#2E6E9E;
	position:relative;
	text-decoration:none;
}
.stButton span.ui-icon {
	margin:-8px 5px 0 0;
	position:absolute;
}
a.stButton {
	padding: 4px 1em 5px 2em;
	top:-0.1em;
}
a.stButton span.ui-icon {
	left:0.2em;
	top:50%;
}
button.stButton {
	height:25px;
	padding: 0 1em 0 2em;
	top: .1px;
	font-weight: bold;
}
button.stButton span.ui-icon {
	margin-left: -20px;
	margin-top: 0;
}

form label.error {
	width: inherit;
	font-size: .95em;
	color: #c11130;
}
form label.error.padded {
	padding: 0 0 6px 0;
	width: 200px;
}
.helpIndicator, .helpLink {
	cursor: help;	
}
.helpIndicator {
	width: 18px;
	height: 18px;
	margin-left: 5px;
}
form div.block input, form div.block select  {
	display: block	
}

form div.helpWrapper {
	//margin-left: 170px;
}

form div.helpWrapperShort {
	margin-left: 75px;
}

form div.helpWrapper.longLabel {
	margin-left: 0px;
}
form span.helpText {
	display: block;
}

/*
Override the jQuery UI styles
*/

.ui-state-error input.error, .ui-state-error input.error:hover, .ui-state-error input.error:focus, 
.ui-state-error select.error, .ui-state-error select.error:hover, .ui-state-error select.error:focus, 
.ui-state-error textarea.error, .ui-state-error textarea.error:hover, .ui-state-error textarea.error:focus {
	border: 1px solid #c11130;
}
.fieldContainer label {
	color: #000;	
}
.ui-state-default .error {
	float: right;
	color: #c11130;
}

.ui-state-error label.error, .ui-state-none label.error {
	float: right;
}
.ui-state-error input.error[type=checkbox], .ui-state-error input.error[type=radio] {
	border: none;
	background: none;
}

.ui-datepicker-trigger {
	left:-22px;
	position:relative;
	top:2px;
	cursor: pointer;
}

.ui-button-icon-only .ui-icon {
	left: 0%;
	}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: AvenirNext-Medium,arial; 
    font-size: .9em;
}

