/*
 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 Veer West LLC (http://www.veerwest.com)	
 and licensed under the Creative Commons Attribution-ShareAlike License (http://creativecommons.org/licenses/by-sa/2.0/) 
*/
 
form {
	margin: .8em 0 1.6em 0; 
	padding: 0; 
}
fieldset {
	margin: 0 0 1em 0;
	padding: .5em 1em 1.2em 1em;
	/* overflow: auto; */
}
legend {
	margin: 0;
	padding: 0 2px;
}

label.preField,
.labelsLeftAligned label.preField,
.labelsRightAligned label.preField {
	float: left;
	display: block; 
	min-width: 13em;	
	margin: 0;
	padding: 0 2px 0 0;
}
.labelsAbove label.preField {
	display: block; 
	width: auto;
	float: none; 
}
/* field-level label position override */
form .labelsLeftAligned label.preField,
form .labelsRightAligned label.preField  {
	float: left;
}
form .labelsAbove label.preField {
	float: none; 
}

.labelsLeftAligned label.preField {
	text-align: left;
}
.labelsRightAligned label.preField {
	text-align: right;
}
label.postField  {
	margin-left: 4px;
	margin-right: 4px;
}
textarea {
	vertical-align: top;
	margin: 1px 0;
	padding: 0;
}

input {
}

select {
	margin: 0;
	padding: 0;

}

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

form .instructions {					/* DEPRECATED */
	margin: 1em 0;
}
form .oneChoice {						/* Ties together a label and its checkbox or radio */
	white-space: nowrap; 
}
form .oneChoicePerLine .oneChoice {		/* Place the label and checkbox/radio on its own line */
	display: block;	 
}
.labelsLeftAligned .oneChoicePerLine .oneChoice, 
.labelsRightAligned .oneChoicePerLine .oneChoice {		/* Place the label and checkbox/radio on its own line */
	margin-left: 13em; 
}
form .reqMark {							/* Asterisk on required fields */
	color: #F00;
	font-size: xx-small;
	margin-left: 5px;
	font-weight: bold;
}
form .oneField {						/* Combo Label + Input Field */
	display: block;
	padding: 2px 0;
	margin-bottom: 0.75em; 	
}
/* Inline Section */
form .inlineSection {
	width: 100%;
	overflow: auto;
	padding: 2px 0;
}
form .inlineSection .oneField {			/* Label+Field when inside an inline section */
	float: left;	
	margin-right: 4px;
	padding: 0;
}
form .inlineSection .inlineLabel,
.labelsLeftAligned .inlineSection .oneField .inlineLabel,
.labelsRightAligned .inlineSection .oneField .inlineLabel {
	padding: 0 2px 0 0;
}
.labelsAbove .inlineSection .oneField .inlineLabel {	/* Label when inside an inline section */
	display: block;	
	white-space: normal;
}
.labelsLeftAligned .inlineSection .oneChoicePerLine .oneChoice, 
.labelsRightAligned .inlineSection .oneChoicePerLine .oneChoice {		/* Place the label and checkbox/radio on its own line */
	margin-left: 0; 
}
/* Grid Section */
form table {}
form td {
	padding: 0 4px;
}
form th {
	padding: 0 4px;
}

/* wForms Related Rules */
/* ==================== */

form .errFld {							/* Field with a validation error */
	border: 1px solid #F00;
}
form .errMsg {							/* Styling for message associated with a validation error. */
	color: #CC3333 !important;
	display: block;
}

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

form.hintsTooltip .field-hint-inactive {		/* Field-Hint without focus */
	display: block;
	position: absolute;
	visibility: hidden;	
}

form div.repeat {						/* Repeated section (when not on a fieldset) */
	padding-right: 3px;	
}
form div.removeable {					/* Removeable section (when not on a fieldset) */
	padding-right: 3px;
}
form .duplicateLink {					/* Add Link (generated by the Repeat Behavior) */
	text-align: right;
	display: block;
}
form .removeLink {						/* Remove link (generated by the Repeat Behavior) */
	text-align: right;
	display: block;
}
form td .duplicateLink, form td .removeLink {}

.captchaHelp {
	font-size: 1.2em;
}

/* Switch Behavior Classes */
form .onstate-a,  form .onstate-b, form .onstate-c,  form .onstate-d,
form .onstate-e,  form .onstate-f, form .onstate-g,  form .onstate-h, 
form .onstate-i,  form .onstate-j, form .onstate-k,  form .onstate-l, 
form .onstate-m,  form .onstate-n, form .onstate-o,  form .onstate-p, 
form .onstate-q,  form .onstate-r, form .onstate-s,  form .onstate-t,
form .onstate-u,  form .onstate-v, form .onstate-w,  form .onstate-x,  
form .onstate-y,  form .onstate-z, form .onstate-aa, form .onstate-ab,
form .onstate-ac, form .onstate-ad,form .onstate-ae, form .onstate-af,
form .onstate-ag, form .onstate-ah,form .onstate-ai, form .onstate-aj,
form .onstate-ak, form .onstate-al,form .onstate-am, form .onstate-an,
form .onstate-ao, form .onstate-ap,form .onstate-aq, form .onstate-ar,
form .onstate-as, form .onstate-at,form .onstate-au, form .onstate-av,
form .onstate-aw, form .onstate-ax,form .onstate-ay, form .onstate-az,
form .onstate-ba, form .onstate-bb,form .onstate-bc, form .onstate-bd,
form .onstate-be, form .onstate-bf,form .onstate-bg, form .onstate-bh,
form .onstate-bi, form .onstate-bj,form .onstate-bk, form .onstate-bl {
	display: block !important;
}
/* offstate classes for the Switch Behavior are in wforms-jsonly.css */

/* Buttons */
form .actions {
	margin-top: -12px;
}
form .actions .primaryAction {
	padding: 4px 15px;	
}
form .actions .secondaryAction {
	padding: 4px 15px;	
}
form .actions .secondaryAction:hover {
}
form .wfPagingButtons .wfPagePreviousButton {
	padding: 4px 15px;
	margin-right: 15px;	
}
form .wfPagingButtons .wfPageNextButton {
	padding: 4px 15px;
}

/* IE6 BUG FIXES ==================================================================== */
form {
	height:expression('1%'); /* IE Pick-a-boo bug fix */
}
form fieldset {
	/* Fixes IE problem with fieldset+legend boundaries */
/*	
	position:expression('relative'); 
	margin-top:expression('1em');
	padding-top:expression('1.5em');
*/
}
form fieldset legend {
	background-color: darkorange;	/* Fixes IE problem with fieldset+legend boundaries */
	color: white;/*	
	position: expression('absolute'); 
	top: expression('-.5em'); 
	left:expression('.5em');
*/
}