/* Phase2 styles */

* {
  padding: 0;
  margin: 0;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.italic {
  font-style: italic;
}

.form_list {
  list-style: none;
}

html, body {
  font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  padding-top: 50px;
}

html {
  background: #EEE;
}

label { display: block; margin-bottom: 10px; font-size: 18px; }
label.error { display: inline; }
label.choice { display: inline; }
input[type="radio"], input[type="checkbox"] { width: inherit; }

#fh_logs, #fh_wufoo_content, #fh_wufoo_form_list, #fh_wufoo_settings {
  background: #fff;
  width: 97%;
  margin: 0 auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px 0 10px 0;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
  -ms-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
  -o-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
}

#fh_logs {
  overflow: auto;
}

#fh_wufoo_drafts .list, #fh_wufoo_pending .list {
  -webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.75);
  -moz-box-shadow:    0px 1px 0px rgba(255, 255, 255, 0.75);
  box-shadow:         0px 1px 0px rgba(255, 255, 255, 0.75);
}

#fh_wufoo_content {
  padding: 0;
}

#fh_wufoo_content .field_container {
  padding: 18px 20px 18px 20px;
  font-size: 24px;
  border-bottom: 1px solid #e4e4e4;
}

#fh_wufoo_content .field_container:hover {
  background: #e8f8fc;
  -webkit-transition: background 0.3s linear;
  -moz-transition: background 0.3s linear;
  -o-transition: background 0.3s linear;
  transition: background 0.3s linear;
}

#fh_wufoo_content input, #fh_wufoo_content select, #fh_wufoo_content textarea {
  font-size: 24px;
}

#fh_wufoo_sent select {
  padding: 5px;
}

#fh_wufoo_content .field_container:last-child { border: none; }

#fh_wufoo_content .form_title {
  padding: 20px 0 0 20px;
}

.sentSaveMaxLabel {
  font-size: 14px;
  font-weight: bold;
}

.fh_action_bar {
  color: #444;
  background: #F4FCE8;
  border-top: 1px solid #EDEDED;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  -ms-border-radius: 0 0 5px 5px;
  -o-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  padding: 18px 20px 18px 20px;
  text-align: right;
}

.fh_action_bar button {
  -webkit-appearance: button;
}

.fh_action_bar button.two_button {
  width: 50%;
}

.fh_action_bar button.three_button {
  width: 33.3%;
}

input {
  width: 100%;
  font-family: inherit;
  line-height: 1.4em;
  border: 0;
  outline: none;
  padding: 6px 0 6px 0;
  border: 1px solid #999;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -ms-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}

select {
  width: 100%;
  line-height: 1.4em;
}

textarea {
  width: 100%;
  min-height: 100px;
  font-family: inherit;
  border: 0;
  outline: none;
  border: 1px solid #999;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -ms-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  -o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}

.special_button img {
  min-height: 20px;
}

.special_button {
  padding: 4px;
  font-size: 16px;
  width: 100%;
  margin-top: 10px;
  line-height: 28px;
}

.checkbox, .radio {
  margin-right: 10px;
}

/* Steps */
.progress_steps {
  width: 100%;
}

.progress_wrapper {
  padding-top: 20px;
}

.progress_steps td {
  text-align: center;
}

.progress_steps .number_container {
  border: 1px solid #c3c3c3;
  display: inline-block;
  height: 24px;
  width: 24px;
  text-align: center;
  border-radius: 13px;
}

.progress_steps .active .number_container {
  background: black;
  color: #fff;
  border: 1px solid #000;
}

.progress_steps .page_title {
  padding-left: 10px;
  font-weight: bold;
}

.progress_steps .number {
  padding-top: 4px;
}

td .page_title {
  display: none;
}

td.active .page_title {
  display: inline;
}

/* Form List */
.form_list {
  padding: 20px;
}

.form_list .button-main:disabled {
  background-color: #ddd;
  background-image: -webkit-linear-gradient(top, #ddd 0, #bbb 100%);
  background-image: linear-gradient(to bottom, #ddd 0, #bbb 100%);
  border: 1px solid #aaa;
}

/* Error highlighting */
.field_container.error input, .field_container.error textarea, .field_container.error select, .shortname.error input.error, .address.error input.error, .address.error textarea.error, .address.error select.error {
  border: 2px solid red;
}
.shortname.error input, .address.error input, .address.error textarea, .address.error select {
  border: 1px solid #999;
}
.field_container.error .error {
  color: red;
}

/* Custom field styling */
.field_container label:first-child {
  font-weight: bold;
}

.field_container span label:first-child {
  font-weight: normal;
}

.likert_subfield label.font-normal {
  font-weight: normal;
  margin-bottom: 0px;
}

.field_container.required label:first-child:after {
  color: #e32;
  content: ' *';
  display: inline;
}

.likert_subfield {
  margin-bottom: 10px;
}

.sigImage {
  width: 100%;
  max-height: 100%;
}

.sigNav {
  border-bottom: 1px solid #ccc;
}

.sigWrapper.current {
  border: none;
}

.sigNav .clearButton {
  bottom: 0.2em;
  position: absolute;
  font-size: 0.75em;
  line-height: 1.375;
  right: 86px;
}

.sigNav .cap_sig_done_btn {
  bottom: 0.2em;
  position: absolute;
  right: 10px;
  font-size: 0.75em;
  line-height: 1.375;
}

.fancy_name input {
  width: 100%;
  display: block;
}

.fancy_name label {
  padding-top: 5px;
}

table.likert {
  width: 100%;
}

.likert table {
  background: #fff;
  border: 1px solid #dedede;
  border-bottom: none;
  margin: 0 0 .9em 0;
  width: 100%;
}

.likert input {
  margin: 2px 0;
  padding: 0;
}

.likert tbody td label {
  color: #565656;
  display: block;
  font-size: 85%;
}

.likert thead td,.likert thead th {
  background-color: #e6e6e6;
}

.likert td {
  border-left: 1px solid #ccc;
  padding: 4px 6px;
  text-align: center;
}

.likert thead td {
  font-size: 85%;
  padding: 10px 6px;
}

.likert th,.likert td {
  border-bottom: 1px solid #dedede;
}

.likert tbody th {
  padding: 8px 8px;
  text-align: left;
}

.likert tbody th label {
  color: #222;
  font-size: 95%;
  font-weight: bold;
}

.likert tbody tr.alt td,.likert tbody tr.alt th {
  background-color: #f5f5f5;
}

.likert tbody tr:hover td,.likert tbody tr:hover th {
  background-color: #FFFFCF;
}

.instruct {
  margin-bottom: 10px;
  font-size: 13px;
  padding: 5px;
}

#logo {
  margin: 0;
  padding: 10px 0 10px 20px;
  min-height: 0;
  background-color: #DEDEDE;
  text-indent: -9000px;
  text-decoration: none;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#logo a {
  min-height: 40px;
  height: 40px;
  display: block;
  background: url(../img/wflogo.png) no-repeat left top;
  overflow: hidden;
}

.form_list li button {
  width: 100%;
  font-size: 125%;
  margin-bottom: 10px;
  margin-top: 10px;
}

/* Disable Android "Orange" selection */
* {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

#fh_wufoo_header .count {
  float: right;
}

.segmented-controller li > a {
  padding: 5px 8px;
  line-height: 21px;
}

#fh_wufoo_pending .list.inset, #fh_wufoo_drafts .list.inset {
  margin-left: 5px;
  margin-right: 5px;
}

.list.inset .first_button {
  right: 107px;
}

.list.inset .second_button {
  right: 33px;
}

#fh_wufoo_pending .list.inset .name, #fh_wufoo_drafts .list.inset .name {
  font-size: 14px;
}

#fh_wufoo_pending .list.inset .ts,
#fh_wufoo_drafts .list.inset .ts,
#fh_wufoo_sent .list.inset .ts {
  font-size: 10px;
  font-style: italic;
}

#fh_wufoo_pending .list.inset .title,
#fh_wufoo_drafts .list.inset .title,
#fh_wufoo_sent .list.inset .title {
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
}

#fh_wufoo_pending .list.inset button, #fh_wufoo_drafts .list.inset button {
  font-size: 12px;
}

.pending_submission {
  cursor: pointer;
}

.loading {
  float: right;
  background: url(../img/loading.gif);
  background-size: 16px 16px;
  height: 16px;
  width: 16px;
}

.fetching {
  background: #ddd;
}

.fetch_error {
  background: #E75252;
}

.fetching .loading {
  display: inherit;
  margin-right: 10px;
  position: absolute;
  right: 0;
  top: 29%;
}

.fetched .loading, .fetch_error .loading {
  display: none;
}

.list li {
  padding: 20px 10px 20px 10px;
}

.pending_review_type {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2px 0 2px 10px;
  color: #fff;
  font-size: 13px;
  background-color: #E71E1E;
  background-image: -webkit-linear-gradient(top, #E71E1E 0,#C71A1A 100%);
  background-image: linear-gradient(to bottom, #E71E1E 0, #C71A1A 100%);
  border: 1px solid #B51A1A;
}

.pending_review_type.network, .pending_review_type.offline, .pending_review_type.timeout{
  background-color: #F89406;;
  background-image: -webkit-linear-gradient(top, #F89406 0,#D89406 100%);
  background-image: linear-gradient(to bottom, #F89406 0, #D89406 100%);
}

.pending_review_list li.pending_submission ,.pending_waiting_list li.pending_submission {
  padding-top: 34px;
}

.pending_waiting_list .submit-all, .sent_list .dismiss-all {
  position: inherit;
  top: inherit;
  right: inherit;
  width: 100%;
  margin: 0;
  padding: 4px 12px;
  font-size: 12px;
}

/* Loading Spinner styling */
div.loading_spinner {
  position: relative;
  width: 100px;
  height: 100px;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}

div.loading_spinner div {
  width: 12%;
  height: 26%;
  background: #000;
  position: absolute;
  left: 44.5%;
  top: 37%;
  opacity: 0;
  -webkit-animation: fade 1s linear infinite;
  -webkit-border-radius: 50px;
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

div.loading_spinner div.bar1 {-webkit-transform:rotate(0deg) translate(0, -142%); -webkit-animation-delay: 0s;}
div.loading_spinner div.bar2 {-webkit-transform:rotate(30deg) translate(0, -142%); -webkit-animation-delay: -0.9167s;}
div.loading_spinner div.bar3 {-webkit-transform:rotate(60deg) translate(0, -142%); -webkit-animation-delay: -0.833s;}
div.loading_spinner div.bar4 {-webkit-transform:rotate(90deg) translate(0, -142%); -webkit-animation-delay: -0.75s;}
div.loading_spinner div.bar5 {-webkit-transform:rotate(120deg) translate(0, -142%); -webkit-animation-delay: -0.667s;}
div.loading_spinner div.bar6 {-webkit-transform:rotate(150deg) translate(0, -142%); -webkit-animation-delay: -0.5833s;}
div.loading_spinner div.bar7 {-webkit-transform:rotate(180deg) translate(0, -142%); -webkit-animation-delay: -0.5s;}
div.loading_spinner div.bar8 {-webkit-transform:rotate(210deg) translate(0, -142%); -webkit-animation-delay: -0.41667s;}
div.loading_spinner div.bar9 {-webkit-transform:rotate(240deg) translate(0, -142%); -webkit-animation-delay: -0.333s;}
div.loading_spinner div.bar10 {-webkit-transform:rotate(270deg) translate(0, -142%); -webkit-animation-delay: -0.25s;}
div.loading_spinner div.bar11 {-webkit-transform:rotate(300deg) translate(0, -142%); -webkit-animation-delay: -0.1667s;}
div.loading_spinner div.bar12 {-webkit-transform:rotate(330deg) translate(0, -142%); -webkit-animation-delay: -0.0833s;}

@-webkit-keyframes fade {
  from {opacity: 1;}
  to {opacity: 0.25;}
}

div.loading_container {
  display: inline-block;
  padding: 1.5em 1.5em 1.25em;
  background: rgba(0,0,0,0.8);
  -webkit-border-radius: 1em;
  position: fixed;
  top: 30%;
  left: 10%;
  right: 10%;
  z-index: 101;
  background: rgba(0,0,0,0.2);
}

div.loading_container div.loading_spinner {
  width: 60px;
  height: 60px;
}

div.loading_container div.loading_spinner div { background: #fff; }

#loading_overlay {
  background: #000;
  opacity: 0.7;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.loading_spinner {
  position: absolute;
  left: 50%;
  margin-left: -30px;
}

.loading_container .message {
  padding-top: 10px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.loading_container .progress {
  margin-top: 5px;
  height: 16px;
  border: 1px solid #fff;
  padding: 2px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.loading_container .progress .bar {
  width: 1%;
  background: #fff;
  height: 11px;
  padding-top: 5px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.dismiss-all {
  width: 100%;
}


.fh_wufoo_alert {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: 13px;
  color: #fff;
  padding: 7px 10px 7px 10px;
  border: 1px solid #000;
}

.fh_wufoo_alert.error , .fh_wufoo_alert.warn {
  background-color: #c43c35;
  background-repeat: repeat-x;
  background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(top, #ee5f5b, #c43c35);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  border-color: #c43c35 #c43c35 #882a25;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.fh_wufoo_alert.warn {
  background-color: #F89406;
}

.fh_wufoo_alert.success {
  background-color: #57a957;
  background-repeat: repeat-x;
  background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -ms-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(top, #62c462, #57a957);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  border-color: #57a957 #57a957 #3d773d;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
#app_version {
  padding-top: 10px;
  text-align: center;
  font-size: 10px;
  font-family: Verdana;
}
#fh_wufoo_alerts_area span.small {
  max-width: 30%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

#fh_wufoo_alerts_area progress,          /* All HTML5 progress enabled browsers */
#fh_wufoo_alerts_area progress[role]     /* polyfill */
{

  /* Turns off styling - not usually needed, but good to know. */
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;

  /* gets rid of default border in Firefox and Opera. */
  border: none;

  /* Needs to be in here for Safari polyfill so background images work as expected. */
  background-size: auto;

  padding-left : 1em;
  float : right;
  min-width : 60%;

}

/* Polyfill */
#fh_wufoo_alerts_area progress[role]:after {
  background-image: none; /* removes default background from polyfill */
}

/* Ensure fallback text doesn't appear in polyfill */
#fh_wufoo_alerts_area progress[role] strong {
  display: none;
}


@media only screen and (orientation : portrait) {
  li span.name {
    list-style-position: inside;
    max-width: 40%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  }
}
@media only screen and (orientation : landscape) {
  li span.name {
    list-style-position: inside;
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  }
}

/* Ratchet overrides */
.toggle {
  float:right;
  top:5px;
  right:10px;
}

.input-row label {
  margin-bottom: 0;
  font-size: 14px;
}

#fh_wufoo_settings .button-negative {
  width: 40%;
}

#fh_wufoo_settings .button-positive {
  width: 40%;
  float: right;
}

.hidden, #fh_wufoo_header .count.hidden {
  display: none;
}

#fh_wufoo_banner {
  /*left: 25%;*/
  /*width: 50%;*/

  background-color: #1eb0e9;
  background-image: -webkit-linear-gradient(top, #1eb0e9 0, #109adc 100%);
  background-image: linear-gradient(to bottom, #1eb0e9 0, #109adc 100%);
  border-bottom: 1px solid #0e5895;
}

#fh_wufoo_banner:before,
#fh_wufoo_banner:after {
  border: 0;
}

.progress_bar_container {
  height: 1em;
  position: relative;
  float:right;
  width : 70%;
  background-color:gray;
}

.progress_bar.complete {
  height: 100%;
  background-color:green;
  z-index: 2;
  display:block;
}

.settings img ,.about img {
  position: relative;
  width: 16px;
  height: 16px;
  bottom: 12px;
}


a.about {
  margin-left:1em;
  float: left;
}
a.settings{
  margin-right:1em;
  float: right;
}
#fh_wufoo_banner ul.list {
  font: 7px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#fh_wufoo_banner ul.list span {
  width: 60%;
}
#fh_wufoo_banner ul.list span:first-child {
  font-style: italic;
  width: 30%;
}
