/* 
 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 Cdric 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;	
}
form {
	font-family: Verdana, Arial, Sans-Serif;
	padding: 10px;
	height: expression('1%'); /* IE Pick-a-boo bug fix */
	font-size: 12px;
		background: white;
}
fieldset {
	position: expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 30px 10px 15px 10px;
	background-color:#FAFAFA;
	margin: 20px 0;
	background: white url(wforms_bg.gif) bottom repeat-x;
	border: 1px solid #62B7FF;
}
fieldset fieldset  {
	border: 1px solid #ccc;
	background-color:#FFF;
}
legend {
	position: expression('absolute'); 
	top: expression('-9px'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 0 20px;
	height: 32px;
	line-height: 32px;
	text-align: left;
	color: #000;
	font-weight: bold;
	text-transform: uppercase;
}
fieldset fieldset legend {
	font-size: 12px;
}
label, .label {	
	color: #333;
	font-size: small;
}
/* .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: 7em;
	padding: 0 2px;
	margin: 0 4px 0 0;
	height: 26px;
}
.label { display: block; width: auto; }

label.postField  {
	margin-left: 4px;
	margin-right: 4px;
}
textarea {
	padding: 0;
	vertical-align: top;
	margin: 4px 0 1px 0;
	border: 1px solid #62B7FF;
}
input {
	background: url(field_bg.gif) bottom repeat-x;
	border: 1px solid #62B7FF;
	height: 22px;
	margin: 2px 0;
}
input[type=text], input[type=password] {
	width: 170px;
	height: 22px;
	background: url(field_bg.gif) bottom repeat-x;
	border: 1px solid #62B7FF;
}
select {
	padding: 0;
	margin: 2px 0 1px 0;
	background: #FFF;
}
.reqMark {
	color: red;
	margin: 0 3px;	
}

/* 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; 
}
.oneChoice input {
	vertical-align: left;
	border: none 0;
	background: transparent;
	height: 16px;
}
/* wForms Related Rules */
/* ==================== */
/* Field w/ a validation error */
.error {	/* deprecated since wForms v0.92 */
	/*border: 1px solid #F00;*/
}
.errFld {
	/*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: inline;

}
/* Field-Hint with focus */
.field-hint {
	color: #FFF;
	float: right;
	clear: right;
	width: 190px;
	font-size: 85%;
	min-height: 2em;	
	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: 90%;
	height: 30px;
	background: url(arrow.gif) left center no-repeat;
	padding: 0 0 0 35px;
	vertical-align: middle;
}
/* Repeat Behavior  */
.repeat {
	border: 1px solid #62B7FF;
	background-color: #FFFFFF;
	margin: 3px 0;
	padding-right: 6px;

}
.removeable {
	border: 1px solid #62B7FF;
	background-color: #FFF;
	padding-right: 6px;	
}
/* Links generated by the Repeat Behavior */
a.duplicateLink:link, a.duplicateLink:visited {
	margin: 10px 10px 0 0;
	font-weight: bold;
	text-align: right;
	color: #ff6705;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 2px solid #62B7FF;
	float: right;
}	
a.duplicateLink:hover {
	border-bottom: 2px dotted #ff6705;
}
a.duplicateLink:active, a.duplicateLink:focus {
		outline: none;
	}

a.removeLink:link, a.removeLink:visited {
	margin: 10px 10px 0 0;
	font-weight: bold;
	text-align: right;
	color: #ff6705;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 2px solid #62B7FF;
	float: right;
}
a.removeLink:hover {
	color: red;
	border-bottom: 2px dotted red;
}
/* 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,
.onstate-ao, .onstate-ap, .onstate-aq, .onstate-ar,
.onstate-as, .onstate-at, .onstate-au, .onstate-av,
.onstate-aw, .onstate-ax, .onstate-ay, .onstate-az {
	display: block;
}

/* offstate classes for the Switch Behavior are in wforms-jsonly.css */

/* Buttons */
.actions {
	padding-top: 15px;
	text-align: right;
	clear: right;
}
.primaryAction {
	display: inline;
}
.secondaryAction {
	color: grey;
	display: inline;
}
.secondaryAction:hover {
	color: black;
}
