/*
 wFORMS 3.0 Stylesheet - Minimal Stylesheet
 See http://www.formassembly.com/wForms

 To be used along with wforms-jsonly.css
 This stylesheet and the associated images are Copyright (c) 2007 Veer West LLC (http://www.veerwest.com)	
 and licensed under the Creative Commons Attribution-ShareAlike License (http://creativecommons.org/licenses/by-sa/2.0/) 
*/
/*  wforms-layout.css  Sapphire  2014-08-07  jrg  */
.wForm form {
  margin: 0;
  padding: 0;
}

.wForm p {
  margin: 0 0 1em 0;
}

.wForm fieldset {
  margin: 0 0 1.5em 0;
  /* overflow: auto; */
  padding: 0.8em 1em 1.2em 1em;
}

.wForm legend {
  margin: 0;
  padding: 0.3em 0.4em;
  line-height: 1;
}

/* Label positioning (above, left-aligned, right-aligned) */
.wForm label.preField,
.wForm .labelsLeftAligned label.preField,
.wForm .labelsRightAligned label.preField {
  float: left;
  display: block;
  min-width: 13em;
  margin: .2em 0 0 0;
  padding: 0 10px 0 0;
}

.wForm .labelsAbove label.preField {
  display: block;
  width: auto;
  float: none;
}

.wForm .labelsLeftAligned label.preField {
  text-align: left;
}

.wForm .labelsRightAligned label.preField {
  text-align: right;
}

/* Local override of label position (above, left-aligned, right-aligned) */
.wForm form .labelsLeftAligned label.preField,
.wForm form .labelsRightAligned label.preField {
  float: left;
}

.wForm form .labelsAbove label.preField {
  float: none;
}

/* Label positioning for radio & checkboxes */
.wForm label.postField {
  margin-left: 4px;
  margin-right: 4px;
}

/* Inputs */
.wForm textarea {
  vertical-align: top;
  margin: 0;
  padding: 0;
}

/*
.wForm select {
	vertical-align: top;
	margin: 0;
	padding: 0;
}
*/
/* Label + input wrapper */
.wForm .oneField,
.wForm form .oneField {
  display: block;
  padding: 2px 0;
  margin-bottom: 0.75em;
  clear: both;
}

/* Radio/checkbox + label wrapper */
.wForm form .oneChoice {
  /*	white-space: nowrap;*/
  margin-right: 1em;
}

.wForm .labelsAbove span.oneChoice,
.wForm form .labelsAbove span.oneChoice {
  margin-left: 1em;
}

/* Place the label and checkbox/radio on its own line */
.wForm form .oneChoicePerLine .oneChoice {
  display: block;
}

.wForm .labelsLeftAligned .oneChoicePerLine .oneChoice,
.wForm .labelsRightAligned .oneChoicePerLine .oneChoice {
  margin-left: 13em;
}

/* Inline section */
.wForm form .inlineSection {
  width: 100%;
  overflow: hidden;
  padding: 2px 0;
}

.wForm form .inlineSection label.preField {
  margin-right: 4px;
  margin-top: .2em;
  margin-right: 0.5em;
}

/* Label+Field when inside an inline section */
.wForm form .inlineSection .oneField {
  float: left;
  margin-right: 1.5em;
  padding: 0;
  clear: none;
}

.wForm form .inlineSection .inlineLabel,
.wForm .labelsLeftAligned .inlineSection .inlineLabel,
.wForm .labelsRightAligned .inlineSection .inlineLabel {
  padding: .2em 2px 0 0;
  float: left;
}

/* Label when inside an inline section */
.wForm .labelsAbove .inlineSection .inlineLabel,
.wForm .inlineSection .labelsAbove .inlineLabel {
  display: block;
  white-space: normal;
}

/* Label + checkbox/radio on its own line */
.wForm .labelsLeftAligned .inlineSection .oneChoicePerLine .oneChoice,
.wForm .labelsRightAligned .inlineSection .oneChoicePerLine .oneChoice {
  margin-left: 0;
}

/* Table */
.wForm form td {
  padding: 0 4px;
  vertical-align: top;
}

.wForm form th {
  vertical-align: middle;
  text-align: left;
  padding: 0 4px;
}

.wForm form .headerRow th {
  vertical-align: bottom;
}

.wForm form td .oneField {
  margin: 0;
  white-space: nowrap;
}

/* Input Validation Rules */
/* Asterisk on required fields */
.wForm form .reqMark {
  color: #ed5e1a;
  font-weight: bold;
}

/* Field with a validation error */
.wForm form .errFld {
  border: 1px solid #ed5e1a;
  background: #fff9e7;
}

/* Styling for message associated with a validation error. */
.wForm form .errMsg {
  color: #ed5e1a !important;
  display: block;
}

/* Field Hints (Tooltips)  */
/* Field Hint with focus (displayed on the side)*/
.wForm form .field-hint {
  display: inline;
  color: #333;
}

.wForm form .field-hint-inactive {
  display: inline;
  color: #CCC;
}

/* Field Hint with focus (displayed as a tooltip)*/
.wForm .hintsTooltip .field-hint {
  position: absolute;
  z-index: 50;
  display: block;
  width: 180px;
  margin: 2px 0 0 10px;
  padding: 4px;
  background-color: #fffbb8;
  color: #333;
  border: 1px solid #ffc20d;
}

.wForm .hintsTooltip .field-hint span {
  display: block;
}

/* Field Hint without focus */
.wForm .hintsTooltip .field-hint-inactive {
  display: block;
  position: absolute;
  visibility: hidden;
}

/* Repeated section (when not on a fieldset) */
.wForm form div.repeat {
  margin-left: -5px;
  margin-right: -5px;
  padding-left: 5px;
  padding-right: 5px;
}

/* Removeable section (when not on a fieldset) */
.wForm form div.removeable {
  margin-left: -5px;
  margin-right: -5px;
  padding-left: 5px;
  padding-right: 5px;
}

/* Add Link (generated by the Repeat Behavior) */
.wForm form .duplicateSpan {
  display: block;
  /*	text-align: right;	*/
}

/* Remove link (generated by the Repeat Behavior) */
.wForm form .removeSpan {
  display: block;
  /*	text-align: right;*/
}

/* Repeat/Remove link when used in a table row */
.wForm form td .duplicateSpan, .wForm form td .removeSpan {
  line-height: 100%;
  display: inline;
}

/* Switch Behavior Classes */
.wForm form .onstate-a, .wForm form .onstate-b, .wForm form .onstate-c, .wForm form .onstate-d,
.wForm form .onstate-e, .wForm form .onstate-f, .wForm form .onstate-g, .wForm form .onstate-h,
.wForm form .onstate-i, .wForm form .onstate-j, .wForm form .onstate-k, .wForm form .onstate-l,
.wForm form .onstate-m, .wForm form .onstate-n, .wForm form .onstate-o, .wForm form .onstate-p,
.wForm form .onstate-q, .wForm form .onstate-r, .wForm form .onstate-s, .wForm form .onstate-t,
.wForm form .onstate-u, .wForm form .onstate-v, .wForm form .onstate-w, .wForm form .onstate-x,
.wForm form .onstate-y, .wForm form .onstate-z, .wForm form .onstate-aa, .wForm form .onstate-ab,
.wForm form .onstate-ac, .wForm form .onstate-ad, .wForm form .onstate-ae, .wForm form .onstate-af,
.wForm form .onstate-ag, .wForm form .onstate-ah, .wForm form .onstate-ai, .wForm form .onstate-aj,
.wForm form .onstate-ak, .wForm form .onstate-al, .wForm form .onstate-am, .wForm form .onstate-an,
.wForm form .onstate-ao, .wForm form .onstate-ap, .wForm form .onstate-aq, .wForm form .onstate-ar,
.wForm form .onstate-as, .wForm form .onstate-at, .wForm form .onstate-au, .wForm form .onstate-av,
.wForm form .onstate-aw, .wForm form .onstate-ax, .wForm form .onstate-ay, .wForm form .onstate-az,
.wForm form .onstate-ba, .wForm form .onstate-bb, .wForm form .onstate-bc, .wForm form .onstate-bd,
.wForm form .onstate-be, .wForm form .onstate-bf, .wForm form .onstate-bg, .wForm form .onstate-bh,
.wForm form .onstate-bi, .wForm form .onstate-bj, .wForm form .onstate-bk, .wForm form .onstate-bl {
  display: block !important;
}

/* offstate classes for the Switch Behavior are in wforms-jsonly.css */
/* Paging behavior buttons */
.wForm form .wfPagingButtons {
  margin-top: 20px;
}

/* Buttons */
.wForm form .actions {
  margin: 20px 0 10px 0;
}

.wForm form .actions .primaryAction {
  font-weight: bold;
  margin-right: 10px;
}

.wForm form .actions .secondaryAction {
  margin-right: 10px;
}

.wForm form .wfPagingButtons .wfPagePreviousButton {
  padding: 4px 15px;
  margin-right: 15px;
}

.wForm form .wfPagingButtons .wfPageNextButton {
  padding: 4px 15px;
}

/* Captcha */
.wForm .captchaHelp {
  font-size: 92%;
}

/* form builder HTML Section */
.wForm .htmlsection {
  margin-bottom: 1em;
}

/* FIREFOX BUG FIXES ================================================================ */
/* layout bug fix for divs with overflow:auto|hidden and absolute positioning */
.wForm form .inlineSection, x:-moz-any-link {
  overflow: inherit !important;
  /* override overflow setting */
}

.wForm .inlineSection:after, x:-moz-any-link {
  /* use :after pseudo-rule to clear floatting content */
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* IE6 BUG FIXES ==================================================================== */
/* IE Pick-a-boo bug fix */
* html .wForm form {
  height: 1%;
}

/* Fixes IE 6 problem with fieldset+legend boundaries */
* html .wForm form fieldset {
  position: relative;
  margin-top: 1.9em;
  padding-top: 2em;
}

* html .wForm form fieldset legend {
  position: absolute;
  top: -.8em;
  left: .4em;
}

/* Fix min-width support */
* html .wForm label.preField,
* html .wForm .labelsLeftAligned label.preField,
* html .wForm .labelsRightAligned label.preField {
  width: expression(!this.offsetWidth || this.offsetWidth > 180 ? 'auto' : '170px');
  /* 180px less 10px right padding = 170px */
}

* html .wForm .labelsAbove label.preField {
  width: auto;
}

.wForm form {
  padding: 0 !important;
  margin-bottom: 35px;
}

.wForm fieldset fieldset,
.wForm fieldset {
  background-color: #f9f9f9;
  position: relative;
  border: 1px solid #9c9c9c;
}

.wForm fieldset fieldset legend,
.wForm legend {
  border: 1px solid #9c9c9c;
  position: absolute;
  top: -1px;
  left: -1px;
  width: 100%;
  background: #e5e5e5;
  padding: 12px 0;
  margin: 0;
  text-indent: 12px;
  white-space: nowrap;
  font-size: 120%;
  color: #343434;
  min-height: 15px;
}

.wForm fieldset fieldset legend {
  font-size: 112%;
}

.wForm legend + fieldset,
.wForm legend + div {
  margin-top: 3.5em;
}

.wForm div#rememberme {
  font-size: 92%;
  padding-left: 20px;
}

.wForm div#rememberme strong {
  font-size: 108.5%;
}

.wForm div#rememberme input[type=checkbox] {
  float: left;
  margin-left: -20px;
}

.wForm label, .wForm form .label {
  color: #444;
}

.wForm form .field-hint-inactive {
  color: #9c9c9c;
}

.wForm form .actions .primaryAction {
  font-size: 100%;
  font-weight: bold !important;
  padding: 5px 12px;
  background: #676767;
  border: 1px solid #343434;
  border-bottom-width: 3px;
  color: white;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.wForm form .actions .primaryAction:hover {
  background: #555555;
  text-decoration: none;
  cursor: pointer;
}

.wForm form .actions .secondaryAction {
  font-size: 100%;
  font-weight: bold !important;
  border: none;
  background: none;
  color: #e90029;
  cursor: pointer;
}

.wForm form .actions .secondaryAction:hover {
  text-decoration: underline;
}

.wForm form .errFld {
  border: none;
  background: none;
}

.wForm form .errFld textarea,
.wForm form .errFld input[type=text],
.wForm form .errFld select {
  border: 1px solid #ed5e1a;
  background: #fff9e7;
}

.wForm form .errMsg {
  display: none;
}

.wForm form .errFld label {
  color: #ed5e1a;
  font-style: italic;
}

.firefox select {
  padding: 2px 1px;
}

.wForm form .removeLink,
.wForm form .duplicateLink {
  color: #0085D5;
}
