/* 

 wFORMS Extension Stylesheet - formassembly.com					

 Default Theme: March 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;

	float: expression('left');

	position: relative;

*/

	padding: 7px 0;

	border-top: 3px solid #FFD37A;	

	border-bottom: 1px solid #CCC;	

}

#DBQForm form {

	font-family: Verdana, Arial, Sans-Serif;

	padding: 10px;

	height: expression('1%'); /* IE Pick-a-boo bug fix */

	

}

#DBQForm fieldset {

	position: expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */

	padding: 15px 10px;

	background-color:#FAFAFA;

	margin: 20px 0;

}

#DBQForm fieldset fieldset  {

	border: 1px solid #ccc;

	background-color:#FFF;

}

#DBQForm legend {

	position: expression('absolute'); 

	top: expression('-9px'); /* Fixes IE problem with fieldset+legend boundaries */

	padding: 2px 5px;

}

#DBQFrom fieldset fieldset legend {

	font-size: 90%;

}

#DBQFrom label, .label {	

	text-transform: capitalize;

	color: #333;

	font-size: small;

	margin: 0;

}

/* .label is typically used on a span or p tag to label a radio or checkbox group */

label.preField, .label  {

	display: -moz-inline-box;

	display: inline-block;	

	width: expression('7em'); /* Min-width for IE6 */

	min-width: 10em;

	padding: 0 2px;

	margin: 0.6em 4px 0 0;

}

.label { display: block; width: auto; }



label.postField  {

	margin-left: 4px;

	margin-right: 4px;

}

#DBQFrom textarea {

	padding: 0;

	vertical-align: top;

	margin: 2px 0 1px 0;

}

#DBQFrom input {

}

#DBQFrom select {

	padding: 0;

	margin: 2px 0 1px 0;

}



/* Form Builder Related Rules */

/* ========================== */

/* Form or Fieldset instruction paragraph. */

.instructions {

	margin: 1.5em 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 {

	border: 1px solid #F00;

}



.errMsgHidden { 

    display: none;

}



/* 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 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  */

.repeat {

	border: 1px solid #ddd;

	background-color: #FFFFFF;

	margin: 3px 0;

	padding-right: 6px;

}

.removeable {

	border: 1px solid #ddd;

	background-color: #F3F3F3;

	padding-right: 6px;	

}

/* Links generated by the Repeat Behavior */

.duplicateLink {

	margin-top: 10px;

	font-weight: bold;

	text-align: left;

	display: block;

}

.removeLink {

	margin-top: 10px;

	text-align: left;

	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 */

.actions {

	padding-top: 15px;

	text-align: left;

	clear: right;

}

.primaryAction {

	display: inline;

}

.secondaryAction {

	color: grey;

	display: inline;

}

.secondaryAction:hover {

	color: black;

}




