/* 
 wFORMS 2.0 Stylesheet - Default Theme: March 2006
 See http://www.formassembly.com/wForms
 
 To be used along with wforms-jsonly.css
 This stylesheet and the associated images are Copyright (c) 2005 Cédric Savarese (http://www.4213miles.com)	
 and licensed under the Creative Commons Attribution-ShareAlike License (http://creativecommons.org/licenses/by-sa/2.0/) 
*/
 
form {
	font-family: Verdana, Arial, Sans-Serif;
	padding: 10px;
	height: expression('1%'); /* IE Pick-a-boo bug fix */
}
.formContent {
	padding: 7px 0;
	border-top: 3px solid #FFD37A;	
	border-bottom: 1px solid #CCC;	
}
fieldset {
	position: expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 15px 10px;
	background-color:#FAFAFA;
	margin: 20px 0;
	overflow: auto;	
}
fieldset fieldset  {
	border: 1px solid #ccc;
	background-color:#FFF;
}
legend {
	position: expression('absolute'); 
	top: expression('-9px'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 2px 5px;
}
fieldset fieldset legend {
	font-size: 90%;
}
label, form .label {	
	color: #333;
	font-size: small;
}
label.preField {
	display: -moz-inline-box;
	display: inline-block;	
	width: expression('9em'); /* Min-width for IE6 */
	min-width: 9em;
	padding: 0 2px;
	margin: 0.6em 4px 0 0;
}
label.postField  {
	margin: 0 4px;
}
/* .label is typically used on a span or p tag to label a radio or checkbox group */
form .label { 
	display: block; 
	width: auto; 
	padding: 0 2px;
	margin: 0.6em 4px 0 0;	
}
textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 0 1px 0;
}
input {
}
select {
	padding: 0;
	margin: 2px 0 1px 0;
}
/* Form or Fieldset instruction paragraph. */
form .instructions {
	margin: 1.5em 0;
}
/* Ties together a label and its checkbox or radio */
form .oneChoice {
	white-space: nowrap; 
}
/* Asterisk on required fields */
form .reqMark {
	color: #F00;
	font-size: xx-small;
	vertical-align: super;
}
/* Field w/ a validation error */
form .errFld {
	border: 1px solid #F00;
}
/* Styling for message associated with a validation error. */
form .errMsg {	
	color: #CC3333 !important;
	display: block;
}
/* Field-Hint with focus */
.field-hint {
	color: #000;
	float: right;
	clear: right;
	width: 190px;
	font-size: 85%;
	min-height: 2em;	
	background-image: url(/images/tfa-bracket.gif);
	background-repeat: no-repeat;
	background-position: left center;	
	padding: 0 0 0 20px ;
}
/* Field-Hint without focus */
.field-hint-inactive {
	color: #666;
	float: right;
	clear: right;
	width: 190px;
	font-size: 85%;
	min-height: 2em;
	background-image: url(/images/tfa-greybracket.gif);
	background-repeat: no-repeat;
	background-position: left center;		
	padding: 0 0 0 20px ;
}

/* Repeat Behavior  */
form .repeat {
	border: 1px solid #ddd;
	background-color: #FFFFFF;
	margin: 3px 0;
	padding-right: 6px;
}
form .removeable {
	border: 1px solid #ddd;
	background-color: #F3F3F3;
	padding-right: 6px;	
}
/* Links generated by the Repeat Behavior */
form .duplicateLink {
	margin-top: 10px;
	font-weight: bold;
	text-align: right;
	display: block;
}
form .removeLink {
	margin-top: 10px;
	text-align: right;
	display: block;
	color: #CC3300;
}
/* 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 {
	display: block;
}

/* offstate classes for the Switch Behavior are in wforms-jsonly.css */

/* Buttons */
form .actions {
	padding-top: 15px;
	text-align: right;
}
form .primaryAction {
}
form .secondaryAction {
	color: grey;
}
form .secondaryAction:hover {
	color: black;
}

