/* 
 wFORMS 2.0 Stylesheet - Antique 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: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background-color:#F8F8F6;
	background-image: url(images/formBg.png);
	border: 1px dotted #878177;	
	padding: 10px;
	height: expression('1%'); /* IE Pick-a-boo bug fix */
	
}
.formContent {
}
fieldset {
	position: expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 15px 10px;
	background-color:#F4F4F2;
	margin: 20px 0;
	border: 3px double #878177;	
	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;
	border: 1px solid #878177;
	background-color: #FFD;
	color: #1C1C1C;
}
fieldset fieldset legend {
	border: 1px solid #ccc;
}
label, form .label {	
	color: #333;
	font-size: small;
	margin: 0;
}
label.preField {
	display: block;
	padding: 2px;
	margin: 0.4em 4px 0 0;
	font-weight: bold;
}
label.postField  {
	margin-left: 4px;
	margin-right: 4px;
}
/* .label is typically used on a span or p tag to label a radio or checkbox group */
form .label  {
	display: block;
	padding: 2px;
	margin: 0.4em 4px 0 0;
	font-weight: bold;
}
textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 0 1px 0;
}
input {
}
select {
	padding: 0;
	margin: 2px 0 1px 0;
}

/* Form Builder Related Rules */
/* ========================== */
/* Form or Fieldset instruction paragraph. */
form .instructions {
	margin: 1em 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;
}
/* wForms Related Rules */
/* ==================== */
/* Field w/ a validation error */
form .errFld {
	padding: 1px;
	border: 1px solid #F00;
}
/* Styling for message associated with a validation error. */
form .errMsg {	
	color: #CC3333 !important;
	display: block;
}
/* Field-Hint with focus */
form .field-hint {
	color: #FF6700;
	float: right;
	width: 220px;
	margin: 15px 0 0 0;
}
/* Field-Hint without focus */
form .field-hint-inactive {
	color: #F4F4F2;
	float: right;
	clear: right;
	width: 220px;
	margin: 15px 0 0 0;
}
/* Repeat Behavior divs (when not set on a fieldset) */
div.repeat {
	border: 1px dotted #ccc;
	background-color: #FFFFFF;
	margin: 3px 0;
	padding-right: 3px;
}
div.removeable {
	border: 1px dotted #ccc;
	background-color: #F5F5F5;
	padding-right: 3px;	
}
/* Links generated by the Repeat Behavior */
form .duplicateLink {
	margin-top: 10px;
	font-weight: bold;
	text-align: right;
	display: block;
	color: #5C594E;
}
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 {
	text-align: center;
}
form .primaryAction {
}
form .secondaryAction {
	color: grey;
}
form .secondaryAction:hover {
	color: black;
}
