﻿body {
  font-family: Verdana;
  font-size: 14px;
}

.webform-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 8px;
}

/***********************************
*********** Generic Nodes **********
***********************************/

p {
  text-align: left;
}

p {
  margin: 0px;
  padding: 0px;
}

ol,
ul,
dl {
  /* IE7: reset rtl list margin. (#7334) */
  margin-right: 0px;
  /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
  padding: 0 40px;
  margin: 0;
}

input[type="radio"],
input[type="checkbox"] {
  filter: saturate(0);
}

table {
  border-spacing: 0px;
  width: 100%;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/***********************************
*********** Containers **********
***********************************/

.webform-preview {
  background-color: yellow;
  height: 15px;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
  padding: 5px 0;
  color: black;
}

.webform-logo {
  margin-bottom: 16px;
}

.webform-logo img {
  max-width: 100%;
}

.webform-greeting {
  display: flex;
  flex-direction: row-reverse;
  justify-content: start;
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.webform-greeting.webform-greeting-reverse {
  flex-direction: row;
}

.webform-greeting .greetingText,
.webform-greeting .greetingGraphic {
  flex: 1 1 50%;
}

.webform-greeting .greetingGraphic img {
  max-width: 100%;
}

.webform-questions-wrapper {
  margin-bottom: 16px;
}

.webform-confirmation {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
}

.webform-footer {
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 16px;
}

.staggered-header {
  text-align: center;
  width: 100%;
}

.innerDiv {
  padding-left: 10px;
  padding-right: 10px;
}

.webform-questions {
  margin-bottom: 16px;
}

.webform-questions .question-wrapper {
  /*border-bottom-width: 1px;
  border-bottom-style: solid;*/
  padding-bottom: 24px;
}

/***********************************
*********** Controls **********
***********************************/

.input-label {
  display: block;
  width: 100%;
  height: 100%;
}

.webform-questions div.question > span.req {
  float: left;
}

.webform-questions .question-wrapper ul,
.webform-questions .question-wrapper ol {
  padding-left: 5px;
}

.webform-questions .question-wrapper .question ul,
.webform-questions .question-wrapper .question ol {
  padding: 0;
  margin: 14px 0 14px 40px;
  list-style-position: outside;
}

.webform-questions .question-wrapper li {
  list-style: none;
}

.webform-questions .question-wrapper .question li {
  list-style: revert;
}

.question img {
  max-width: 100%;
}

.webform-questions-required-key {
  text-align: right;
  font-size: 0.8em;
}

/***********************************
*********** Progress Bar ***********
***********************************/

.webform-progress {
  margin-bottom: 16px;
  text-align: right;
}

.dvProgressBar {
  width: 50%;
  height: 16px;
  text-align: center;
  margin-left: 25%;
  float: left;
  border-width: 1px;
  border-style: solid;
}

.webform-progress-color {
  padding: 3px 0px 3px 0px;
  height: 10px;
  float: left;
}

.dvProgressBarText {
  float: left;
  margin-top: 2px;
  font-size: 0.8em;
}

/***********************************
************** Overlay *************
***********************************/

.overlay {
  display: none;
  border: 1px solid #173c88;
  padding: 10px;
  position: absolute;
  width: 500px;
  min-height: 75px;
  background-color: white;
  left: 50%;
  margin-left: -250px;
  top: 100px;
}

.overlay .header h3 {
  margin: 0px 0px 10px;
  border-bottom: 1px solid #173c88;
  padding-bottom: 7px;
}

.overlay > .header {
  position: relative;
  height: 35px;
}

.overlay > .header h2 {
  margin: 0;
  padding: 0;
}

.overlay .header .close {
  position: absolute;
  right: -11px;
  top: -11px;
  font-size: 20px;
  border: 1px solid #173c88;
  padding: 0 10px;
  cursor: pointer;
  margin: 0;
}

.alertbox {
  color: #555555;
  border-color: #000000;
}

/***********************************
********** Question Specific *******
***********************************/

.characterCounter {
  margin-left: 3px;
}

.characterCounter span {
  font-size: 0.8em;
  display: inline-block;
}

.characterCounter input {
  font-size: 0.8em !important;
  width: 40px;
  display: inline-block;
}

.input {
  margin-top: 4px;
  vertical-align: middle;
}

.question-wrapper [type="text"],
.question-wrapper [type="tel"] {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  padding: 4px;
}

.question-wrapper textarea {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  resize: none;
  border-style: groove;
}

.question {
  margin-top: 10px;
  display: block;
}

.question > p {
  margin: 0px;
}

.button {
  -webkit-appearance: none !important;
  width: auto !important;
  white-space: nowrap !important;
  height: 28px !important;
  margin-top: 15px;
  padding: 0 15px !important;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-style: normal;
  line-height: 28px;
  cursor: pointer;
  border: 0;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  vertical-align: top;
}

.question-wrapper .webform-question-label {
  display: flex;
  flex-direction: row;
}

.webform-error {
  display: none;
  padding-top: 4px;
  flex-direction: row;
  align-items: start;
}

.question-wrapper-error input[type="text"].ignore-validate {
  border-color: revert;
  border-style: revert;
}

input[type="text"].error {
  color: #000 !important;
}

.webform-question-textarea textarea {
  height: 100px;
  scrollbar-width: thin;
}

.webform-question-textarea textarea::-webkit-scrollbar {
  width: 8px;
  background: #f1f1f1; /* Match Edge scrollbar color. */
}
/* Handle */
.webform-question-textarea textarea::-webkit-scrollbar-thumb {
  background: #a8a8a8; /* Match Edge scrollbar color. */
  -webkit-border-radius: 1ex;
  border-radius: 1ex;
}

.webform-question-radio td {
  padding: 4px 4px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
}

.webform-question-radio table,
.webform-question-checkbox table {
  border-spacing: 4px;
}

.webform-question-checkbox td {
  padding: 4px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
}

.webform-radio,
.webform-checkbox {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
}

.webform-question-radio-with-other .webform-radio,
.webform-question-checkbox-with-other .webform-checkbox {
  min-height: 26px;
}

.webform-question-checkbox-disclaimer label.question {
  overflow-y: auto;
  max-height: 100px;
  scrollbar-width: thin;
}

.webform-question-checkbox-disclaimer label.question::-webkit-scrollbar {
  width: 8px;
  background: #f1f1f1; /* Match Edge scrollbar color. */
}

.webform-question-checkbox-disclaimer label.question::-webkit-scrollbar-thumb {
  background: #a8a8a8; /* Match Edge scrollbar color. */
  -webkit-border-radius: 1ex;
  border-radius: 1ex;
}

.webform-radio input[type="radio"] {
  display: none;
}

.webform-radio .webform-other,
.webform-checkbox .webform-other {
  margin-left: 8px;
  flex: 1;
  max-width: 300px;
  min-width: 125px;
}

.webform-radio label,
.webform-checkbox label {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: start;
}

.webform-radio label i,
.webform-checkbox label i {
  margin-right: 4px;
  margin-top: 2px;
  cursor: pointer;
}

.webform-checkbox label input[type="checkbox"] {
  display: none;
}

.webform-question-dropdown select,
.webform-question-contact-state select {
  display: inline-block;
  font-size: 16px;
  font-family: Verdana;
  color: #424a54;
  line-height: 22px;
  padding: 4px 24px 4px 8px;
  width: 100%;
  height: 32px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  margin-right: 0px;
  border: 1px solid #656d78;
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #e3e7eb;
  background-repeat: no-repeat, repeat;
  background-position: right 8px top 12px, 0 0;
  background-size: 0.65em auto, 100%;
  outline: none;
  scrollbar-width: thin;
}

.webform-question-rate-single .question {
  margin-bottom: 8px;
}

.webform-question-rate-single i {
  cursor: pointer;
}

.webform-question-rate-single .webform-question-rate-single-headers {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 4px;
}

.webform-question-rate-single .webform-question-rate-single-options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 8px;
}

.webform-question-rate-single .webform-question-rate-single-options > div {
  padding: 0px 0 4px 0;
  border: 1px solid transparent;
  flex: 1;
}

.webform-question-rate-single
  .webform-question-rate-single-options
  input[type="radio"] {
  display: none;
}

.webform-question-rate-multiple table {
  table-layout: fixed;
  border: none;
}

.webform-question-rate-multiple
  table
  .webform-question-rate-multiple-header-mobile {
  display: none;
}

.webform-question-rate-multiple table tr:first-child td {
  vertical-align: top;
  padding-bottom: 4px;
}

.webform-question-rate-multiple table td {
  text-align: center;
  width: 11%;
  min-width: 63px;
  font-weight: bold;
  border: 1px solid transparent;
}

.webform-question-rate-multiple table td:first-child {
  width: auto;
  text-align: left;
  font-weight: normal;
}

.webform-question-rate-multiple table td i {
  margin: 5px auto;
  display: block;
  cursor: pointer;
}

.webform-question-rate-multiple table td input[type="radio"] {
  display: none;
}

.webform-question-contact .webform-question-contact-additional {
  margin-top: 8px;
}

.webform-question-contact .webform-question-contact-state select {
  width: 300px;
}

.webform-question-contact-textbox .webform-question-contact-textbox-options {
  margin-top: 4px;
}

.webform-question-contact-textbox.webform-question-contact-textbox-phone
  .webform-question-contact-textbox-options {
  display: flex;
  flex-direction: row;
  justify-content: start;
}

.webform-question-contact-textbox .zipcode {
  max-width: 100px;
}

.webform-question-contact-textbox-phone .phone {
  width: 120px;
}

.webform-question-contact-textbox-phone
  .webform-question-contact-textbox-options-ext {
  max-width: 200px;
  width: 200px;
  flex: 0;
  display: flex;
  flex-direction: row;
  min-width: 200px;
  align-items: center;
  margin-left: 16px;
}

.webform-question-contact-textbox-phone
  .webform-question-contact-textbox-options-ext
  input {
  margin-left: 8px;
  width: 75px;
}

.overlay {
  display: none;
  border: 1px solid #173c88;
  padding: 10px;
  position: absolute;
  width: 500px;
  min-height: 75px;
  background-color: white;
  left: 50%;
  margin-left: -250px;
  top: 100px;
}
.overlay .header h3 {
  margin: 0px 0px 10px;
  border-bottom: 1px solid #173c88;
  padding-bottom: 7px;
}
.overlay > .header {
  position: relative;
  height: 35px;
}
.overlay > .header h2 {
  margin: 0;
  padding: 0;
}
.overlay .header .close {
  position: absolute;
  right: -11px;
  top: -11px;
  font-size: 20px;
  border: 1px solid #173c88;
  padding: 0 10px;
  cursor: pointer;
  margin: 0;
}
.alertbox {
  color: #555555;
  border-color: #000000;
}

.drop-area-upload {
  border: 1px dashed #c4c4c4;
  padding: 15px 25px;
  color: #555555;
  font-size: 10px;
  width: 200px;
  text-align: center;
  cursor: pointer;
  /*font-style:italic;*/
  background: #f9f9f9;
  position: inherit !important;
}

.drop-area-upload:after {
  clear: both;
}

.drop-area-upload img {
  display: block;
  margin: 0 auto 10px;
}

.drop-area-upload span {
  display: block;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
}

.drop-area-upload:hover {
  border-color: #434a54;
}

#AttachmentError {
  display: none;
  position: relative;
  margin-bottom: 25px;
}

@media (max-width: 800px) {
  body {
    font-size: 16px;
  }

  .webform-wrapper {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    margin: 0;
    padding: 8px;
  }

  select {
    width: 100%;
  }

  .button {
    font-size: 16px !important;
  }

  .webform-logo {
    margin-bottom: 8px;
  }

  .webform-greeting {
    flex-direction: column-reverse;
    margin-bottom: 0;
  }

  .webform-greeting.webform-greeting-reverse {
    flex-direction: column;
  }

  .webform-greeting .greetingText {
    width: 100%;
  }

  .webform-greeting .greetingGraphic {
    width: 100%;
  }

  .webform-progress {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .webform-progress .dvProgressBar {
    margin-left: 0;
  }

  .webform-question-radio table {
    width: calc(100% - 8px);
  }

  .webform-question-radio table td {
    width: 100% !important;
    display: block;
  }

  .webform-question-radio .webform-question-radio-empty {
    display: none;
  }

  .webform-question-checkbox table {
    width: calc(100% - 8px);
  }

  .webform-question-checkbox table td {
    width: 100% !important;
    display: block;
    margin-bottom: 8px;
  }

  .webform-question-checkbox .webform-question-checkbox-empty {
    display: none;
  }

  .webform-question-radio .webform-question-radio-empty {
    display: none;
  }

  .webform-question-rate-single
    .webform-question-rate-single-headers
    > div:last-child {
    text-align: right;
  }

  .webform-question-rate-single .webform-question-rate-single-options label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .webform-question-rate-multiple table {
    width: calc(100% - 8px);
    margin-top: 16px;
  }

  .webform-question-rate-multiple table .webform-question-rate-multiple-header {
    display: none;
  }

  .webform-question-rate-multiple
    table
    .webform-question-rate-multiple-header-mobile {
    display: table-row;
    font-size: 8px;
  }

  .webform-question-rate-multiple
    table
    .webform-question-rate-multiple-header-mobile
    td {
    font-size: 8px;
    padding-bottom: 8px;

    transform: rotate(-45deg);

    /* Safari */
    -webkit-transform: rotate(-45deg);

    /* Firefox */
    -moz-transform: rotate(-45deg);

    /* IE */
    -ms-transform: rotate(-45deg);

    /* Opera */
    -o-transform: rotate(-45deg);
  }

  .webform-question-rate-multiple table td {
    min-width: 10px;
  }

  .webform-question-radio-with-other .webform-radio,
  .webform-question-checkbox-with-other .webform-checkbox {
    flex-direction: column;
    align-items: start;
  }

  .webform-radio .webform-other,
  .webform-checkbox .webform-other {
    max-width: 100%;
    margin: 4px 0 0 0;
  }

  .webform-question-contact table {
    table-layout: fixed;
  }

  .webform-question-contact .webform-question-contact-state select {
    width: 100%;
  }

  .webform-footer {
    max-width: 100% !important;
  }
}
