/* 
 Stylesheet
*/

form {
	padding: 5px;
	line-height: 150%;
}

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

/* Fieldset  */
fieldset {
	margin: .5em 0px 15px 10px;
	padding: 5px 10px 10px 10px;
	background-color:#dadab0;
	border-width:2px 2px 2px 10px;
	border-style:solid;
	border-color:#9c9c5e;
	overflow: auto;
	font-family:Arial, Helvetica, sans-serif ;
	font-size:12px; 
}
legend {
	line-height: 100%;
	position:absolute;
	padding: 3px 5px;
	top: -10px;	
	background-color:#ecefcb;
	border-width:1px 1px 1px 10px;
	border-color:#9c9c5e;
	border-style:solid;	
	color:#5F5034;
	font-weight:bold;
	text-transform:uppercase;
	font-size:90%;
	text-align:center;
} 	 
/* Nested Fieldset  */
fieldset fieldset  {
}
fieldset fieldset legend {
}
/* Inline Section */
.inlineSection {
	overflow: auto;
	width: 100%;	
}
/* Grid Section */
form table {
	border-collapse: collapse;
}
form td {
	padding: 0 4px;
	border-left: 1px solid #DFDED2;
	border-right: 1px solid #DFDED2;	
	line-height: normal;	
}
form th {
	padding: 0 4px;
}
form .alternate-1 {
	background-color:#ecefcb;
}
form .alternate-1 td {
	border-left: 1px solid #DFDED2;
	border-right: 1px solid #DFDED2;	
}
form .alternate-0 {
}
/* Combo Label + Input Field =========================================================== */
form .oneField {
}
form .inlineSection .oneField {
	margin-right: 2px;
	white-space: nowrap;	
	display: inline;
}
/* Ties together a label and its checkbox or radio */
form .oneChoice {
	white-space: nowrap; 	
}

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

/* Base */
label, form .label {	
	margin:0 5px 0 0;
	color:#5F5034;
	line-height: normal;
}
/* Text inputs / Select label */
label.preField {
	font-size:90%;
	font-weight:bold;
	display: -moz-inline-box;
	display: inline-block;	
	min-width:130px;
	text-align:right;
}
/* Radio / Checkbox group label */
form .label  {
	display: block; 
	margin: 0.6em 4px 0 0;
	padding: 2px;
}
/* Individual Checkbox / Radio label */
label.postField  {
	padding: 0 4px;
	font-size:90%;
	color:#5c71a2;
}
/* Label when inside an inline section */
form .inlineSection .oneField .inlineLabel {
	display: -moz-inline-box;
	display: inline-block;	
	font-size:90%;
	font-weight:bold;
	text-align:right;
	min-width:130px;
	white-space: normal;
}

/* Inputs ======================================================================== */

textarea, select {
	background-color:#edede7;
	padding:3px 4px 2px 3px; 
	vertical-align: top;
	border-width: 1px;
	border-style: solid;
	border-color:#b9b96f;
	color:#4b4b36;
	font-family:Arial, Helvetica, sans-serif ; 
	font-size:11px;
	margin: 2px 2px 1px 0;
}
input {
	background-color:#edede7;
	margin:2px 0 0 0;
	border-width: 1px;
	border-style: solid;
	border-color:#b9b96f;
	color:#4b4b36;
	font-family:Arial, Helvetica, sans-serif ; 
	font-size:11px; 
	padding:3px 4px 2px 3px; 
}
input[type='text'] { 
}
input[type='checkbox'] {		
	margin-right: 5px;
}

.inlineSection .oneField select {
	margin: 0 2px 1px 0 !important;
}
.gridSection select  {
	margin: 0 !important;
}
.gridSection input[type='checkbox'] {
	margin: 0 !important;
}
form .alternate-1 input {
	background-color:#ecefcb;
}

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

form .actions {
	padding-top: 5px;
	text-align: right;
	clear: right;
}
/* Submit button */
form .primaryAction {
	background-color:#dadab0;
	border:1px solid #9c9c5e;
	font-weight:normal;
	font-family:Arial, Helvetica, sans-serif; 
	padding:2px;
	margin:0px 0px 0px 20px
}
form .primaryAction:hover {
	background-color:#E9FDD7;
}
/* Cancel button */
form .secondaryAction {
	color: grey;
	background-color:#dadab0;
	border:1px solid #9c9c5e;
	font-weight:normal;
	font-family:Arial, Helvetica, sans-serif;
	padding:2px;
	margin:0px 0px 0px 20px	
}
form .secondaryAction:hover {
	color: black;
}

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

/* Form or Fieldset instruction paragraph. */
form .instructions {
	margin: 1.5em 0;
	line-height: 130%;
}
/* Asterisk on required fields */
form .reqMark {
	color: #80211f;
	padding: 0 4px;
}
/* wForms Related Rules ========================================================== */

/* Field w/ a validation error */
form .errFld {
	padding: 1px;
	border: 1px solid #80211f;
}
/* Styling for message associated with a validation error. */
form .errMsg {	
	color: #CC3333 !important;
	display: block;
}
/* Field-Hint with focus */
form .field-hint {
	position: absolute;
	width: 150px; 
	z-index:50;
	background-image: url(../img/hint_topborder.gif);
	background-repeat: no-repeat; 
	background-position: left top; 
	padding: 0 0 0 15px; 
	margin: -30px 0 0 140px; 
	color: #4b4b36; 
	font-size:11px; 
}
form .myhint1 .field-hint {
	margin: -30px 0 0 10px; 
}
form .myhint2 .field-hint {
	margin: -89px 0 0 300px; 
}
form .field-hint div { 
	height:29px; 
	vertical-align: middle; 
	background-color: #f6f6f6;
	border-top: 1px solid #5F5034;
	border-right: 1px solid #5F5034;
	border-bottom: 1px solid #5F5034;
	padding: 0px;
	line-height: 28px;
}
/* Field-Hint without focus */
form .field-hint-inactive {
	visibility: hidden;
	position: absolute;
}
/* Repeat Behavior divs (when not set on a fieldset) */
div.repeat {
	margin: 3px 0;
	padding-right: 6px;
	border: 1px dotted #ddd;
	background-color: #FFFFFF;
}
div.removeable {
	margin: 3px 0;
	padding-right: 6px;	
	border: 1px dotted #ccc;
	background-color: #F3F3F3;
	
}
/* Links generated by the Repeat Behavior */
form .duplicateLink {
	line-height: 260%;
	font-weight: bold;
}
form .removeLink {
	line-height: 260%;
}
form td .duplicateLink, form td .removeLink  {
	margin: 0;
	line-height: 100%;
}
/* Switch Behavior Classes */
.onstate-a,  .onstate-b,  .onstate-c,  .onstate-d,
.onstate-e,  .onstate-f,  .onstate-g,  .onstate-h, 
.onstate-i,  .onstate-j,  .onstate-k,  .onstate-l, 
.onstate-m,  .onstate-n,  .onstate-o,  .onstate-p, 
.onstate-q,  .onstate-r,  .onstate-s,  .onstate-t,
.onstate-u,  .onstate-v,  .onstate-w,  .onstate-x,  
.onstate-y,  .onstate-z,  .onstate-aa, .onstate-ab,
.onstate-ac, .onstate-ad, .onstate-ae, .onstate-af,
.onstate-ag, .onstate-ah, .onstate-ai, .onstate-aj,
.onstate-ak, .onstate-al, .onstate-am, .onstate-an,
.onstate-ao, .onstate-ap, .onstate-aq, .onstate-ar,
.onstate-as, .onstate-at, .onstate-au, .onstate-av,
.onstate-aw, .onstate-ax, .onstate-ay, .onstate-az {
	display: block;
}
/* offstate classes for the Switch Behavior are in wforms-jsonly.css */


 
/* IE6 BUG FIXES ==================================================================== */
form {
	height:expression('1%'); /* IE Pick-a-boo bug fix */
}
form fieldset {
	position:expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */
	margin-top:expression('1em');
	padding-top:expression('1.5em');
	overflow: expression('visible');
}
form fieldset legend {
	position: expression('absolute'); 
	top: expression('-.5em'); /* Fixes IE problem with fieldset+legend boundaries */
	left:expression('.5em');
}
form .inlineSection .oneField {
	display: expression('inline-block');		
}
label.preField, form .inlineSection .oneField .inlineLabel {
	width: expression('9em');
}
