/* Main Layout */
.wFormContainer 	{ 
		margin: 20px auto;  
		padding: 30px 20px 20px 20px;
	}
.wFormContainer .wFormTitle {
		margin: 0;
	}

.wFormContainer {
	padding: 0 !important;
}
.wFormTitle {
	font-family:sans-serif;
	font-size:1.6em;
	margin:8px 0 13px;
}

.wForm h3   { } 
.wForm form {
	padding: 10px !important;
}

/* Form Sections ======================================================================== */

/* Fieldset  */
.wForm fieldset { 
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;	
	border:#EEE 1px solid;
}

.wForm legend { 
	font-style: normal; color: #5e98df; font-size:14px; border:#EEE 1px solid; }

/* Nested Fieldset  */
.wForm fieldset fieldset  {}
.wForm fieldset fieldset legend {}

.wForm .oneField { }

/* Field Labels ======================================================================== */

/* Base */
.wForm label, .wForm form .label {}

/* Text inputs / Select label */
.wForm label.preField { 
	font-weight: normal;  
} 
.wForm .labelsAbove .preField {
	margin-bottom: 2px;
}
/* Individual Checkbox / Radio label */
.wForm label.postField  {   }

/* Label when inside an inline section */
.wForm .inlineSection .oneField .inlineLabel { font-weight: bold;  }

/* Inputs ======================================================================== */
.wForm input, .wForm select, .wForm textarea { font-size:14px; }
.wForm input.wide { width:300px; }
.wForm select.wide, .wForm textarea.wide { width:305px; }

.wForm textarea {
	background: #FFFFFF url(/img/forms/input_bg.png) repeat-x -2px -2px;
	border-color: #888888 #CCCCCC #CCCCCC;
	border-style: solid;
	border-width: 1px;
	padding: 3px 0 3px 3px;
	margin: 1px;	
}

.wForm .labelsRightAligned input, .wForm .labelsRightAligned textarea ,
.wForm .labelsLeftAligned input, .wForm .labelsLeftAligned textarea {
	
} 
.wForm input { 
	background: #FFFFFF url(/img/forms/input_bg.png) repeat-x -2px -2px;
	border-color: #888888 #CCCCCC #CCCCCC;
	border-style: solid;
	border-width: 1px;
	padding: 3px 0 3px 3px;
	margin: 1px;
	}
/* checkbox / radio input */	
.wForm .oneChoice input {
	border: none !important;
	background: none !important;
}
.wForm select {
	background: #FFFFFF url(/img/forms/input_bg.png) repeat-x -2px -2px;
	border-color: #888888 #CCCCCC #CCCCCC;
	border-style: solid;
	border-width: 1px;
	padding: 2px 0 2px 3px;
	margin: 1px;
}

/* Buttons ======================================================================= */

.wForm form .actions {}

/* Submit button */
.wForm form .primaryAction { 
	background: #FFFFFF url(/img/forms/button_bg.gif) repeat-x scroll 0% 1em;
	color: #000;
	border-color: #999;
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;	
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px; 
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	
}
.wForm form .primaryAction:hover { font-weight: bold; color: #187db3; border-color: #666;  }

/* Cancel button */
.wForm form .secondaryAction { border: none; background: none; font-weight: normal; color: #000;  }
.wForm form .secondaryAction:hover {  color: #f00;  }

/* Form Builder Related Rules ===================================================== */

.wForm form .instructions {}				/* Form or Fieldset instruction paragraph. */
.wForm form .reqMark {}						/* Asterisk on required fields */
	
/* wForms Related Rules ========================================================== */

/* Field w/ a validation error */
.wForm form .errFld {
	border: 1px solid #FFBBBB;	
}
.wForm form div.errFld {
	background-color:#FFEEEE;
}
/* Styling for message associated with a validation error. */
.wForm form .errMsg {	
	color: #CC3333 !important;
}

/* Field-Hint with focus */
.wForm form .field-hint { 
	background-color: #fffbb8; color: #333; border:#ffc20d 1px solid; 
}

.wForm form span.fieldinfo { 
	color: #999;
	margin-left:10px;
	font-style:normal;
}

/* Field-Hint without focus */
.wForm form .field-hint-inactive { color: #666; }

.wForm form {
	margin: .8em 0 1.6em 0; 
}
.wForm fieldset {
	margin: 0 0 1em 0;
	padding: .5em 1em 1.2em 1em;
	/* overflow: auto; */
}
.wForm legend {
	margin: 0;
	padding: 0 5px;
}
/* Nested Fieldset  */
.wForm fieldset fieldset legend {
	font-size: 90%;
}

/* Label positioning (above, left-aligned, right-aligned) */
.wForm label.preField,
.wForm .labelsLeftAligned  label.preField,
.wForm .labelsRightAligned label.preField {
	float: left;
	display: block; 
	min-width: 13em;	
	margin: 0;
	padding: 0 2px 0 0;
}
.wForm .labelsAbove label.preField {
	display: block; 
	width: auto;
	float: none; 
}
.wForm .labelsLeftAligned label.preField {
	text-align: left;
}
.wForm .labelsRightAligned label.preField {
	text-align: right;
}
/* Local override of label position (above, left-aligned, right-aligned) */
.wForm form .labelsLeftAligned  label.preField,
.wForm form .labelsRightAligned label.preField  {
	float: left;
}
.wForm form .labelsAbove label.preField {
	float: none; 
}
/* Label positioning for radio & checkboxes */
.wForm label.postField  {
	margin-left: 4px;
	margin-right: 4px;
}
/* Inputs */
.wForm textarea {
	vertical-align: top;
	margin: 0;
	padding: 0;
}
.wForm input {
}
.wForm select {
	vertical-align: top;
	padding: 2px 0 2px 3px;
	margin: 1px;
}
/* Label + input wrapper */
.wForm form .oneField {						
	display: block;
	padding: 2px 0;
	margin-bottom: 0.75em; 	
	width: 100%
}
/* multiple-choices wrapper */
.wForm form .choices {

}
/* Radio/checkbox + label wrapper */
.wForm form .oneChoice {
	display: inline-block;					
	white-space: nowrap; /* keeps checkbox/radio and label together */
}
.wForm form .oneChoice label {
	white-space: normal; /* allows label to wrap if needed (ticket #242) */
}
/* Place the label and checkbox/radio on its own line */
.wForm form .oneChoicePerLine .oneChoice {						
	display: block;	 
}
.wForm .labelsLeftAligned  .oneChoicePerLine .oneChoice, 
.wForm .labelsRightAligned .oneChoicePerLine .oneChoice {		
	margin-left: 13em; 
}

/* Inline section */
.wForm form .inlineSection {
	width: 100%;
	overflow: hidden;
	padding: 2px 0;
}
/* Label+Field when inside an inline section */
.wForm form .inlineSection .oneField {			
	float: left; 
	margin-right: 4px;
	padding: 0;
	width: auto;
}
.wForm form .inlineSection .preField {
	margin-right: 4px;
}
.wForm form .inlineSection .inlineLabel,
.wForm .labelsLeftAligned  .inlineSection .inlineLabel,
.wForm .labelsRightAligned .inlineSection .inlineLabel {
	padding: 0 2px 0 0;
}
/* Label when inside an inline section */
.wForm .labelsAbove .inlineSection .inlineLabel,
.wForm .inlineSection .labelsAbove .inlineLabel  {	
	display: block;	
	white-space: normal;
}
/* Label + checkbox/radio on its own line */
.wForm .labelsLeftAligned .inlineSection  .oneChoicePerLine .oneChoice, 
.wForm .labelsRightAligned .inlineSection .oneChoicePerLine .oneChoice {		
	margin-left: 0; 
}
/* Table */
.wForm form table {

}
.wForm form td {
	padding: 0 4px;
	vertical-align: top;
}
.wForm form th {
	vertical-align: top;
	text-align:left;
	padding: 0 4px;
}
.wForm form .headerRow th {
	vertical-align: bottom;
}
.wForm form td .oneField {
	margin: 0;	
	white-space: nowrap;
}

/* Input Validation Rules */

/* Asterisk on required fields */
.wForm form .reqMark {							
	color: #F00;	
	font-size: xx-small;
	margin-left: 5px;
}
/* Field with a validation error */
.wForm form .errFld {							
	border-width: 1px;
	border-style: solid;
}
.wForm form div.errFld {
	margin: 0 -3px;
	padding: 0 3px;
}
.wForm form span.errFld {}

/* Styling for message associated with a validation error. */
.wForm form .errMsg {							
	display: block;
}

/*Styling to make calculated fields distinct from inputs. */
.wForm form .readonly{
	background-color: transparent;
	border: none;
	background-image: none;
}

/* Field Hints (Tooltips)  */

/* Field Hint with focus (displayed on the side)*/
.wForm form .field-hint {						
	display: inline;	
	vertical-align:top;
	white-space: normal !important;
}
.wForm form .field-hint-inactive {
	display: inline-block;	
	vertical-align:top;
	white-space: normal !important;
}
/* Field Hint with focus (displayed as a tooltip)*/
.wForm .hintsTooltip .field-hint {		
	position: absolute;
	z-index: 50;
	display: block;
	margin: 2px 0 0 10px;
	padding: 4px;
}

.wForm .hintsTooltip span.field-hint  {
	display: inline;
	width: 350px;
	height:14px;
}
/* Field Hint without focus */
.wForm .hintsTooltip .field-hint-inactive {		
	display: block;
	position: absolute;
	visibility: hidden;	
}

/* Repeated section (when not on a fieldset) */
.wForm form div.repeat {						
	margin-left: -5px; 
	margin-right: -5px;
	padding-left: 5px;
	padding-right: 5px;	
}
/* Removeable section (when not on a fieldset) */
.wForm form div.removeable {					
	margin-left: -5px; 
	margin-right: -5px;
	padding-left: 5px;
	padding-right: 5px;
}
/* Add Link (generated by the Repeat Behavior) */
.wForm form .duplicateSpan {					
	display: block;
	text-align: right;	
}
.wForm form .duplicateLink {}
/* Remove link (generated by the Repeat Behavior) */
.wForm form .removeSpan {						
	display: block;
	text-align: right;
}
.wForm form .removeLink {}
/* Repeat/Remove link when used in a table row */
.wForm form td .duplicateSpan, .wForm form td .removeSpan {
	line-height: 100%;
	display: inline;
}

/* Paging behavior buttons */
.wForm form .wfPagingButtons {
	margin-top: 20px;
}

/* Buttons */
.wForm form .actions {
	margin: 20px 0 10px 0;	
}
.wForm form .actions .primaryAction {
	padding: 4px 15px;	
	font-weight: bold;
	cursor: pointer;
}
.wForm form .actions .secondaryAction {
	padding: 4px 15px;	
	margin-left: 6px;
	cursor: pointer;
	font-weight: bold;
	color: #777;
}
.wForm form .actions .secondaryAction:hover {

}
.wForm form .wfPagingButtons .wfPagePreviousButton {
	padding: 4px 15px;
	margin-right: 15px;	
}
.wForm form .wfPagingButtons .wfPageNextButton {
	padding: 4px 15px;
}
/* Captcha Dialog */
.wForm 
	.captcha .oneField 	{ width: 250px; float: left !important; }
.wForm 
	.captcha .oneField 
	.preField 			{ display:inline !important; }
.wForm 
	.captcha img 		{ border:1px solid #ccc; margin-bottom: 10px; }
.wForm 
	.captcha input 		{ width: 108px; }
.wForm fieldset.captcha 
	legend 				{ display: none; }
.wForm .captchaHelp 	{ font-size: 0.75em; }

/* form builder HTML Section */
.wForm .htmlsection {
	margin-bottom: 1em;
}

.wForm .wfLoader {	
	text-align: center;
}
.wForm .wfLoader .inner {
	padding: 5px 1em;
	display: inline-block;
	text-align: center;
	width: 150px;
	background-color: #000;
	color: #FFF;
	font-size: 1.2em;
	font-weight: bold;
}
.wForm .wfLoader img {
	vertical-align: middle;
	margin: 5px;
}

/* layout bug fix for divs with overflow:auto|hidden and absolute positioning */
.wForm form .inlineSection, x:-moz-any-link {
	overflow: inherit !important; 					/* override overflow setting */
}
.wForm .inlineSection:after, x:-moz-any-link { 		/* use :after pseudo-rule to clear floatting content */
	content: "."; display: block; height: 0; clear: both; visibility:hidden; 
}


/* Generic FA Error Messages */
.errorMessage 			{ color:red; background-color:white; margin: 1em 0; padding:5px; border:1px solid #F77; font-family:sans-serif; font-weight: bold; }
.errorMessage a 		{ color:red; text-decoration: none;  font-weight: normal; }
/* Support Link */
.supportInfo 			{ }


/* Thank you & Help messages */
.wFormThankYou  		{ min-height: 150px; }
.wFormHelp  			{ min-height: 150px; }

