/*
 wFORMS 3.0 Stylesheet - Minimal Stylesheet
 See http://www.formassembly.com/wForms

 To be used along with wforms-jsonly.css
 This stylesheet and the associated images are Copyright (c) 2007-2008 Veer West LLC (http://www.veerwest.com)	
 and licensed under the Creative Commons Attribution-ShareAlike License (http://creativecommons.org/licenses/by-sa/2.0/) 
*/

.wForm form {
	margin: .8em 0 1.6em 0; 
	padding: 10px;
}
.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 {
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: 700;
}
.wForm select {
	vertical-align: top;
	margin: 0;
	padding: 0;
}
/* Label + input wrapper */
.wForm form .oneField {						
	display: block;
	padding: 2px 0;
	margin-bottom: 0.75em; 	
	width: 100%
}

/* 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; 
}


/* 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: 1px solid #FBB;
}
.wForm form div.errFld {
	background-color: #FEE;
	margin: 0 -3px;
	padding: 0 3px;
}
.wForm form span.errFld {
	background-color: #FEE;	
}
/* Styling for message associated with a validation error. */
.wForm form .errMsg {							
	color: #CC3333 !important;
	display: block;
}

/* Field Hints (Tooltips)  */

/* Field Hint with focus (displayed on the side)*/
.wForm form .field-hint {						
	display: inline;	
	color: #333;
	white-space: normal !important;
}
.wForm form .field-hint-inactive {
	display: inline;	
	color: #CCC;
	white-space: normal !important;
}
/* Field Hint with focus (displayed as a tooltip)*/
.wForm .hintsTooltip .field-hint {		
	position: absolute;
	z-index: 50;
	display: block;
	width: 180px;	
	margin: 2px 0 0 10px;
	padding: 4px;
	background-color: #fffbb8;
	color: #333;
	border: 1px solid #ffc20d;	
}

.wForm .hintsTooltip .field-hint span {
	display: block;
 }
/* 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;
}

/* 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;
}

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

/* FIREFOX BUG FIXES ================================================================ */
/* 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; 
}

/* IE6 BUG FIXES ==================================================================== */
 /* IE Pick-a-boo bug fix */
* html .wForm form {
	height: 1%; 
}
/* Fixes IE 6 problem with fieldset+legend boundaries */
* html .wForm form fieldset {	
	position: relative; 
	margin-top: 1em;
	padding-top: 2em;
}
* html .wForm form fieldset legend {
	position: absolute; 
	top: -.5em; 
	left: .5em;
} 
/* Fix min-width support */
* html .wForm label.preField,
* html .wForm .labelsLeftAligned  label.preField,
* html .wForm .labelsRightAligned label.preField {
	

}

