/* 
 wFORMS Extension Stylesheet - formassembly.com					
 Antique Theme: April 2005										
 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/) 
*/

/* please refrain from overwriting CSS outside of the #formGarden div */

 
/* Form Related Rules */
/* ================== */

.widget {
	overflow: hidden;
	position: relative;
	width: 100%;
}
form {
	background: #F8F8F6 url("images/FormBg.png");
	border: 3px solid #edefd7;	
	padding: 10px;
	display: inline-block; /* IE peek-a-boo bug fix */
}
fieldset {
	position: relative; /* IE fieldset+boundarie fix */
	padding: 15px 10px;
	background: #fbfaf4;
	margin: 20px 0;
	border: solid #dbd5b7 3px;
}
fieldset fieldset  {
	border: 3px solid #edefd7;
	background-color:#FFF;
	margin-bottom: 10px;
}
legend {
	position: absolute;
	top: -9px;
	padding: 2px 5px;
	border: solid #dbd5b7 3px;
	background: #edebd5;
	font-weight: bold; font-style: italic;
	color: #663;
}
legend div {
	margin-top: 1em;
}
fieldset fieldset legend {
	border: 3px solid #edefd7;
	background: #fbfaf4;
}
textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 0 1px 0;
}
select, textarea {
	width: 55%;
}
input[type="text"], input[type="password"] {
	width: 55%;
}
select {
	padding: 0;
	margin: 2px 0 1px 0;
}
label, .label {	
	margin: 0;
}
/* .label is typically used on a span or p tag to label a radio or checkbox group */
label.preField, .label  {
	display: block;
	padding: 2px;
	margin: 0.4em 4px 0 0;
	font-weight: bold;
}
label.postField  {
	padding: 2px 4px 2px 2px;
}
label.postField:hover {
	background: #edebd5;
}
label.postField input {
	vertical-align: middle;
}

/* Form Builder Related Rules */
/* ========================== */
/* Form or Fieldset instruction paragraph. */
.instructions {
	margin: 1em 0;
}
/* Ties together a label and its checkbox or radio */
.oneChoice {
	white-space: nowrap; 
}
/* wForms Related Rules */
/* ==================== */
/* Field w/ a validation error */
.error {	/* deprecated since wForms v0.92 */
	border: 1px solid #F00;
}
.errFld {
	padding: 1px;
	border: 1px solid #F00;
}
/* Styling for message associated with a validation error. */
.errorMsg { /* deprecated since wForms v0.92 */
	color: #CC3333 !important;
	display: inline;
}
.errMsg {	
	color: #CC3333 !important;
	display: block;
}
/* Field-Hint */
.field-hint, .field-hint-inactive {
	float: right;
	width: 35%;
	margin: 0.3em 0 0 0;
	padding: 0 0 0 20px ;
}
/* Field-Hint with focus */
.field-hint {
	color: #000;
	background: url(images/tfa-bracket.gif) no-repeat 0% 50%;
}
/* Field-Hint without focus */
.field-hint-inactive {
	color: #666;
	background: url(images/tfa-greybracket.gif) no-repeat 0% 50%;
}
/* 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 */
.duplicateLink {
	margin-top: 10px;
	font-weight: bold;
	text-align: right;
	display: block;
}
.removeLink {
	margin-top: 10px;
	text-align: right;
	display: block;
	color: #CC3300;
}
/* Switch Behavior Classes */
.onstate-a, .onstate-b, .onstate-c, .onstate-d {
	display: block;
}
.onstate-e, .onstate-f, .onstate-g {
	display: inline;
}
.onstate-h, .onstate-i, .onstate-j {
	display: inline;
}
/* offstate classes for the Switch Behavior are in wforms-jsonly.css */

/* Buttons */
.actions {
	text-align: center;
}
.primaryAction {
	display: inline;
}
.secondaryAction {
	color: grey;
	display: inline;
}
.secondaryAction:hover {
	color: black;
}
