/* 
 wFORMS 2.0 Stylesheet - Antique Theme: May 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-2006 Cedric Savarese (http://www.4213miles.com)	
 and licensed under the Creative Commons Attribution-ShareAlike License (http://creativecommons.org/licenses/by-sa/2.0/) 
*/
 
form {
	border-top-color: #878177;
	border-right-color: #878177;
	border-bottom-color: #878177;
	border-left-color: #878177;
}
/*  ----------------------------------------------------------------------------------
 *  Fieldset 
 *  ----------------------------------------------------------------------------------  
 */
fieldset {
	padding: 15px 10px;
	margin: 20px 0;
	border: 1px solid #999999;	
	overflow: auto;
}
fieldset fieldset  {
	border: 1px solid #ccc;
}
legend {
	padding: 2px 5px;
	color: #FF6600;
	font-weight: bold;
	font-size: large;
}
fieldset fieldset legend {
}
/*  ----------------------------------------------------------------------------------
 *  Inline section (div with left-floating content)
 *  ----------------------------------------------------------------------------------  
 */
.inlineSection {
	overflow: auto;
}
/*  ----------------------------------------------------------------------------------
 *  Table 
 *  ----------------------------------------------------------------------------------  
 */
form table {
	border-collapse: collapse;
}
form td, form th {
	padding: 0 4px;
}
form .alternate-1 {
}
form .alternate-0 {
}
/*  ----------------------------------------------------------------------------------
 *  Basic field+label wrappers 
 *  ----------------------------------------------------------------------------------  
 */
.oneField {
	clear: left;
}
.inlineSection .oneField {
	clear: none !important;
	float: left;	
	padding: 0;
	font-weight: bold; 
	margin-right: 4px;
}
/* Ties together a label and its checkbox or radio */
form .oneChoice {
	white-space: nowrap; 
}
/*  ----------------------------------------------------------------------------------
 *  Labels
 *  ----------------------------------------------------------------------------------  
 */
label, form .label {	/* .label is typically used on a span or p tag to label a radio or checkbox group */
	color: #333;
	font-size: small;
	margin: 0;
}
form .inlineLabel {
	display: block !important;	
	padding: 0 3px;
	font-weight: bold; 
}
label.preField, form .label {
	display: block;
	padding: 2px;
	margin: 0.4em 4px 0 0;
	font-weight: bold;
}
label.postField  {
	margin-left: 4px;
	margin-right: 4px;
}
/*  ----------------------------------------------------------------------------------
 *  Inputs
 *  ----------------------------------------------------------------------------------  
 */
form textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 0 1px 0;
}
form input {
}
form select {
	padding: 0;
	margin: 2px 0 1px 0;
}
form .inlineSection select {
	margin: 0;
}
/*  ----------------------------------------------------------------------------------
 *  Misc. wForms/Form Builder Related Rules
 *  ----------------------------------------------------------------------------------  
 */
/* Form or Fieldset instruction paragraph. */
form .instructions {
	margin: 1em 0;
}
/* Asterisk on required fields */
form .reqMark {
	color: #F00;
	font-size: xx-small;
	vertical-align: super;
}
/* 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: #000;
	width: 220px;
	margin: 15px 0 0 0;
	float: right;
}
/* Field-Hint without focus */
form .field-hint-inactive {
	color: #666;
	float: right;
	clear: right;
	width: 220px;
	margin: 15px 0 0 0;
}
/* Repeat Behavior divs (when not set on a fieldset) */
div.repeat {
	margin: 3px 0;
	padding-right: 3px;
}
div.removeable {
	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;
}
form td .duplicateLink, form td .removeLink  {
	margin-top: 0 !important;
	display: inline;
}
/* 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;
}
/*  ----------------------------------------------------------------------------------
 *  Internet Explorer Bug Fixes
 *  ----------------------------------------------------------------------------------  
 */
/* IE Pick-a-boo bug fix */ 
form {
	height: expression('1%'); 
}
/* Fixes IE problem with fieldset+legend boundaries */
form fieldset {
	position: expression('relative'); 
	margin-top: expression('1.5em');
	padding-top: expression('1.75em');
}
form legend {
	position: expression('absolute'); 
	top: expression('-.5em');
	left: expression('.5em');
}