/* 
 wFORMS 2.0 Stylesheet -  Design Melt Down Theme v3 - Aug. 2006

 Adapted from Forms With Style -  Design Melt Down (www.designmeltdown.com)
 This notice MUST stay intact for legal use
 Visit Design Melt Down at http://www.designmeltdown.com/ 
 
 To be used along with wforms-jsonly.css
 See http://www.formassembly.com/wForms
*/

div.formAssembly form {
	background-color:#f3f3fc;
	padding: 10px;
	line-height: 200%;
   border: 1px solid #0f6283;
}
div.formAssembly span {
	color:#415073;
}

div.formAssembly p, div.formAssembly div {
   margin: 0;
   padding: 0 1em;
}
/* Form Sections =========== */

/* Fieldset  */
div.formAssembly fieldset {
	position:relative;
	margin: 1em 0px 20px 20px;
	padding: 2em 10px 10px 10px;
	/*background-color:#E7E4D1;*/
	background-color:#ecf0f4;
	border-width:2px 2px 2px 10px;
	border-style:solid;
	border-color:#7696B3;
	overflow: none;
	font-family:Arial, Helvetica, sans-serif ;
}
div.formAssembly legend {
	line-height: 100%;
	position: relative;
	padding: 3px 5px;
   top: 0px;
	background-color:#dce3eb;
	border-width:1px 1px 1px 10px;
	border-color:#0f628e;
	border-style:solid;
	color:#213053;
	font-weight:bold;
	text-transform:uppercase;
	font-size:90%;
	text-align:center;
} 	 
/* Nested Fieldset  */
div.formAssembly fieldset fieldset  {
}
div.formAssembly fieldset fieldset legend {
}
/* Inline Section */
div.formAssembly .inlineSection {
	overflow: auto;
	width: 100%;	
}
/* Grid Section */
div.formAssembly form table {
	border-collapse: collapse;
}
div.formAssembly form td {
	padding: 0 4px;
	border-left: 1px solid #DFDED2;
	border-right: 1px solid #DFDED2;	
	line-height: normal;	
}
div.formAssembly form th {
	padding: 0 4px;
}
div.formAssembly form .alternate-1 {
	background-color:#f3f2ea;
}
div.formAssembly form .alternate-1 td {
	border-left: 1px solid #DFDED2;
	border-right: 1px solid #DFDED2;	
}
div.formAssembly form .alternate-0 {
}
/* Combo Label + Input Field =========================================================== */
div.formAssembly form .oneField {
	margin: 6px 0;
	display: block;
	vertical-align: middle;
}
div.formAssembly form .inlineSection .oneField {
	margin-right: 2px;
	white-space: nowrap;	
	display: inline;
}
/* Ties together a label and its checkbox or radio */
div.formAssembly form .oneChoice {
	white-space: nowrap; 	
}

/* Field Labels ======================================================================== */

/* Base */
div.formAssembly label, form .label {	
	margin:0 5px 0 0;
	color:#213053;
	line-height: normal;
}
/* Text inputs / Select label */
div.formAssembly label.preField {
	font-size:99%;
	font-weight:bold;
	display: -moz-inline-box;
	display: inline-block;	
	min-width:9em;
   width: 9em;
	text-align:right;
	white-space: nowrap;
}
/* Radio / Checkbox group label */
div.formAssembly form .label  {
	display: block; 
	margin: 0.6em 4px 0 0;
	padding: 2px;
}
/* Individual Checkbox / Radio label */
div.formAssembly label.postField  {
	padding: 0 4px;
	font-size:99%;
	color:#213053;
}
/* Label when inside an inline section */
div.formAssembly form .inlineSection .oneField .inlineLabel {
	display: -moz-inline-box;
	display: inline-block;	
	font-size:99%;
	font-weight:bold;
	text-align:right;
	min-width:100px;
}

/* Inputs ======================================================================== */

div.formAssembly textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 2px 1px 0;
}
div.formAssembly input {
	background-color:#fff;
	margin:2px 5px 0 0;
	border-width: 0px 0px 1px 0px;
	border-style: solid solid dotted solid;
	border-color:#809431;
	color:#415073;
	font-family:"Courier New", Courier, mono;
	padding:1px 2px;
}
div.formAssembly input[type='text'] {		
}
div.formAssembly input[type='checkbox'] {		
	margin-right: 5px;
}
div.formAssembly select {
	margin: 2px 2px 1px 0;
	padding: 0;
}
div.formAssembly .inlineSection .oneField select {
	margin: 0 2px 1px 0 !important;
}
div.formAssembly .gridSection select  {
	margin: 0 !important;
}
div.formAssembly .gridSection input[type='checkbox'] {
	margin: 0 !important;
}
div.formAssembly form .alternate-1 input {
	background-color:#f3f2ea;
}

/* Buttons ======================================================================= */

div.formAssembly form .actions {
	padding-top: 15px;
	text-align: right;
	clear: right;
}
/* Submit button */
div.formAssembly form .primaryAction {
	background-color:#e9f9ac;
	border:1px solid #809431;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	padding:2px;
	margin:0px 0px 0px 20px
}
div.formAssembly form .primaryAction:hover {
	background-color:#E9FDD7;
}
/* Cancel button */
div.formAssembly form .secondaryAction {
	color: grey;
	background-color:#e9f9ac;
	border:1px solid #809431;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	padding:2px;
	margin:0px 0px 0px 20px	
}
div.formAssembly form .secondaryAction:hover {
	color: black;
}

/* Form Builder Related Rules ===================================================== */

/* Form or Fieldset instruction paragraph. */
div.formAssembly form .instructions {
	margin: 1.5em 0;
	line-height: 130%;
}
/* Asterisk on required fields */
div.formAssembly form .reqMark {
	color: #F00;
	padding: 0 4px;
}
/* wForms Related Rules ========================================================== */

/* Field w/ a validation error */
div.formAssembly form .errFld {
	padding: 1px;
	border: 1px solid #F00;
}
/* Styling for message associated with a validation error. */
div.formAssembly form .errMsg {	
	color: #CC3333 !important;
	display: block;
}

/* Field-Hint with focus */
div.formAssembly form .field-hint {
	position: absolute;
	width: 180px;
	z-index: 50;
	background-image: url(/images/css/hint_topborder.gif);
	background-repeat: no-repeat;
	background-position: left top;	
	padding: 14px 0 0 0;
	margin:  22px 0 0 0;
	color: #000;
}
div.formAssembly form .field-hint div {
	background-color: #fffbb8;
	border-left: 1px solid #ffc20d;
	border-right: 1px solid #ffc20d;
	border-bottom: 1px solid #ffc20d;
	padding: 4px;
	line-height: normal;
}
/* Field-Hint without focus */
div.formAssembly form .field-hint-inactive {
	visibility: hidden;
	position: absolute;
}
/* Repeat Behavior divs (when not set on a fieldset) */
div.formAssembly div.repeat {
	margin: 3px 0;
	padding-right: 6px;
	border: 1px dotted #aaa;
	background-color: transparent;
}
div.formAssembly div.removeable {
	margin: 3px 0;
	padding-right: 6px;	
	border: 1px dotted #ccc;
	background-color: #F3F3F3;
	
}
/* Links generated by the Repeat Behavior */
div.formAssembly form .duplicateLink {
	line-height: 260%;
	font-weight: bold;
}
div.formAssembly form .removeLink {
	line-height: 260%;
}
div.formAssembly form td .duplicateLink, form td .removeLink  {
	margin: 0;
	line-height: 100%;
}
/* 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 */

/* adding copy of /scripts/jquery.tabs/ui.tabs.css to reduce # HTTP req's */

/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0 0 0 1px;
    min-width: 84px; /* be nice to Opera */
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 10px;
    background: url(/images/css/tab.png) no-repeat;
}
.ui-tabs-nav a {
    position: relative;
    top: 1px;
    z-index: 2;
    padding-left: 0;
    color: #27537a;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */    
}
.ui-tabs-nav .ui-tabs-selected a {
    color: #000;
}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
    outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 18px; /* IE 6 treats height as min-height */
    min-height: 18px;
    padding-top: 6px;
    padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-top: 7px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-nav .ui-tabs-disabled {
    opacity: .4;
}
.ui-tabs-container {
    border-top: 1px solid #97a5b0;
    padding: 1em 8px;
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}
