/* 
 wFORMS 2.0 Stylesheet - Default 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 Cdric Savarese (http://www.4213miles.com)	
 and licensed under the Creative Commons Attribution-ShareAlike License (http://creativecommons.org/licenses/by-sa/2.0/) 
*/
 
#content form {
	padding: 0px;
}
#content fieldset {
	position: expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 15px 10px;
	margin: 20px 0;
}
#content fieldset fieldset  {
	border: 1px solid #ccc;
	background-color:#FFF;
}
#content legend {
	position: expression('absolute'); 
	top: expression('-9px'); /* Fixes IE problem with fieldset+legend boundaries */
	padding: 2px 5px;
}
#content fieldset fieldset legend {
	font-size: 90%;
}
#content label, #content .label {	
	color: #333;
	font-size: small;
	margin: 0;
}
/* .label is typically used on a span or p tag to label a radio or checkbox group */
#content label.preField, #content form .label  {
	display: -moz-inline-box;
	display: inline-block;	
	width: expression('13em'); /* Min-width for IE6 */
	min-width: 13em;
	padding: 0 2px;
	margin: 0.6em 4px 0 0;
}
#content .label { display: block; width: auto; }

#content label.postField  {
	margin-left: 4px;
	margin-right: 4px;
}
#content textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 0 1px 0;
}
#content input {
}
#content select {
	padding: 0;
	margin: 2px 0 1px 0;
}

/* Form Builder Related Rules */
/* ========================== */
/* Form or Fieldset instruction paragraph. */
#content form .instructions {
	margin: 1.5em 0;
}
/* Ties together a label and its checkbox or radio */
#content form .oneChoice {
	white-space: nowrap; 
}
/* Asterisk on required fields */
#content form .reqMark {
	color: #F00;
	font-size: xx-small;
	vertical-align: super;
}
/* wForms Related Rules */
/* ==================== */
/* Field w/ a validation error */
#content form .errFld {
	border: 1px solid #F00;
}
/* Styling for message associated with a validation error. */
#content form .errMsg {	
	color: #CC3333 !important;
	display: block;
}
/* Field-Hint with focus */
#content .field-hint {
	position: absolute;
	width: 160px;
	z-index: 50;
	background-image: url(../img/hint_topborder.gif);
	background-repeat: no-repeat;
	background-position: left top;	
	padding: 14px 0 0 0;
	margin: 2px 0 0 10px;
	color: #000;
	font-size: 80%;
	text-align: left;
}
#content .field-hint div {
	background-color: #fffbb8;
	border-left: 1px solid #ffc20d;
	border-right: 1px solid #ffc20d;
	border-bottom: 1px solid #ffc20d;
	padding: 4px
}
/* Field-Hint without focus */
#content .field-hint-inactive {
	visibility: hidden;
	position: absolute;
}

#content .field-hint-visible {
	float: right;
	clear: right;
	color: #000;
	background-color: #FFFFFF;
	border: 1px solid #bbb;
	margin: 2px 0 7px 0;
	padding: 2px;
	font-size: 85%;
	min-height: 2em;	
    width: 200px;
    white-space: normal;
}

#content .field-hint-visible-inactive {
	float: right;
	clear: right;
	color: #666;
	border: 1px solid #E4E3D3;
	background-color: #FFFFFF;
	margin: 2px 0 7px 0;
	padding: 2px;
	font-size: 85%;
	min-height: 2em;	
    width: 200px;
    white-space: normal;
}

/* Repeat Behavior  */
#content form .repeat {
	border: 1px solid #ddd;
	background-color: #FFFFFF;
	margin: 3px 0;
	padding-right: 6px;
}
#content form .removeable {
	border: 1px solid #ddd;
	background-color: #F3F3F3;
	padding-right: 6px;	
}
/* Links generated by the Repeat Behavior */
#content form .duplicateLink {
	margin-top: 10px;
	font-weight: bold;
	text-align: right;
	display: block;
}
#content form .removeLink {
	margin-top: 10px;
	text-align: right;
	display: block;
	color: #CC3300;
}
/* Switch Behavior Classes */
#content .onstate-a,  #content .onstate-b,  #content .onstate-c,  #content .onstate-d,
#content .onstate-e,  #content .onstate-f,  #content .onstate-g,  #content .onstate-h, 
#content .onstate-i,  #content .onstate-j,  #content .onstate-k,  #content .onstate-l, 
#content .onstate-m,  #content .onstate-n,  #content .onstate-o,  #content .onstate-p, 
#content .onstate-q,  #content .onstate-r,  #content .onstate-s,  #content .onstate-t,
#content .onstate-u,  #content .onstate-v,  #content .onstate-w,  #content .onstate-x,  
#content .onstate-y,  #content .onstate-z,  #content .onstate-aa, #content .onstate-ab,
#content .onstate-ac, #content .onstate-ad, #content .onstate-ae, #content .onstate-af,
#content .onstate-ag, #content .onstate-ah, #content .onstate-ai, #content .onstate-aj,
#content .onstate-ak, #content .onstate-al, #content .onstate-am, #content .onstate-an {
	display: block;
}

/* offstate classes for the Switch Behavior are in wforms-jsonly.css */

/* Buttons */
#content .actions {
	padding-top: 15px;
	text-align: right;
	clear: right;
}
#content .primaryAction {
	
}
#content .secondaryAction {
	color: grey;
	
}
#content .secondaryAction:hover {
	color: black;
}


#content #rotator {	
	overflow: hidden;
	margin: 0 auto;
	position: relative;
	width: 335px;
	height: 170px;
}
#content #rotator img {
	width: 335px;
	height: 170px;
	cursor: pointer;
}

/* Own rules */

#content input, #content textarea, #content select {
    border: 1px solid #a7a9ac;
}
