.nqm-progress-bar {
  position: relative;
  flex-grow: 2;
}

.ui-tooltip {
  max-width: 500px !important;
}

.ui-tooltip-content {
  max-width: 500px !important;
}

.xln_nqm_hint_link {
  text-decoration: underline;
  color: rgb(0, 0, 255);
}

@-moz-keyframes spinner-loader {
  0% {
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spinner-loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner-loader {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* :not(:required) hides this rule from IE9 and below */
.nqm-spinner-loader:not(:required) {
  -moz-animation: spinner-loader 1500ms infinite linear;
  -webkit-animation: spinner-loader 1500ms infinite linear;
  animation: spinner-loader 1500ms infinite linear;
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
  border-radius: 0.5em;
  -moz-box-shadow: rgba(0, 0, 51, 0.3) 1.5em 0 0 0, rgba(0, 0, 51, 0.3) 1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) 0 1.5em 0 0, rgba(0, 0, 51, 0.3) -1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) -1.5em 0 0 0, rgba(0, 0, 51, 0.3) -1.1em -1.1em 0 0, rgba(0, 0, 51, 0.3) 0 -1.5em 0 0, rgba(0, 0, 51, 0.3) 1.1em -1.1em 0 0;
  -webkit-box-shadow: rgba(0, 0, 51, 0.3) 1.5em 0 0 0, rgba(0, 0, 51, 0.3) 1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) 0 1.5em 0 0, rgba(0, 0, 51, 0.3) -1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) -1.5em 0 0 0, rgba(0, 0, 51, 0.3) -1.1em -1.1em 0 0, rgba(0, 0, 51, 0.3) 0 -1.5em 0 0, rgba(0, 0, 51, 0.3) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 51, 0.3) 1.5em 0 0 0, rgba(0, 0, 51, 0.3) 1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) 0 1.5em 0 0, rgba(0, 0, 51, 0.3) -1.1em 1.1em 0 0, rgba(0, 0, 51, 0.3) -1.5em 0 0 0, rgba(0, 0, 51, 0.3) -1.1em -1.1em 0 0, rgba(0, 0, 51, 0.3) 0 -1.5em 0 0, rgba(0, 0, 51, 0.3) 1.1em -1.1em 0 0;
  display: inline-block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin: 1.5em;
  overflow: hidden;
  text-indent: 100%;
}


.xln_nqm_message_before {
  color: #666;
  font-size: 18px;
  display: block;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.xln_nqm_message_before p {
  margin: 0 0 10px 0;
}

.quiz_section {
  display: block;
  border: 0;
  margin: 0;
  padding: 15px 0 15px 0;
}

.quiz_section.border {
  border-top: 1px solid #f3f3f3;
}

.quiz_section label,
.quiz_section .xln_nqm_question {
  display: block;
  margin: 0 0 5px 0;
  font-weight: bold;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.quiz_section>.quiz-cat {
  margin-left: 15px;
  font-size: 14px;
  font-style: italic;
  float: right;
}

.nqm_contact_div {
  margin: 10px 0;
}

.quiz_section .nqm-contact-type-checkbox label,
.quiz_section .nqm-contact-type-checkbox input {
  display: inline;
}

label.inline,
label.inline .xln_nqm_question,
.quiz_section.inline .xln_horizontal_multiple {
  display: inline-block;
}

.quiz_section p.form-help {
  margin: 5px 0 0 0;
  font-size: 12px;
  color: #999;
}

.quiz_section iframe {
  margin-bottom: 10px;
}

.nqm_mc_answer_wrap {
  display: block;
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid #fff;
}

.nqm_mc_answer_wrap input[type="radio"] {
  display: none;
}

.nqm_auto_pagination_enabled .nqm_mc_answer_wrap:hover{
  border: 1px solid #3498db;
}

.nqm_auto_pagination_enabled .nqm_mc_answer_wrap.on-select {
  background: #3498db;
  color:#eee;
}

.nqm_mc_answer_wrap:hover{
  color: #3498db;
}

.nqm_mc_answer_wrap.on-select {
  color: #3498db;
}

.nqm_mc_answer_wrap .nqm-input-label::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23999' stroke-width='4'/%3E%3C/svg%3E");
  display: inline-block;
  width: 12px;
  height: 12px;
  padding-right: 1rem;
}

.nqm_auto_pagination_enabled .nqm_mc_answer_wrap.on-select .nqm-input-label::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23eee' stroke-width='4'/%3E%3C/svg%3E");
}

.nqm_mc_answer_wrap.on-select .nqm-input-label::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%233498db' stroke-width='4'/%3E%3C/svg%3E");
}

.nqm_mc_answer_wrap.data-correct-answer .nqm-input-label::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23008000' stroke-width='4'/%3E%3C/svg%3E");
}
.quiz_section .nqm_radio_answers label,
.quiz_section .nqm_check_answers label,
.quiz_section .nqm_accept_answers label {
  display: inline-block;
  margin: 0 5px;
  padding: 0;
  font-weight: normal;
  font-size: 14px;
  cursor: pointer;
  max-width: calc(100% - 40px);
}

.quiz_section.text-block h2 {
  display: block;
  margin: 0 0 10px 0;
}

.quiz_section select,
.quiz_section textarea,
.quiz_section input[type="text"],
.quiz_section input[type="email"],
.quiz_section input[type="url"],
.quiz_section input[type="number"] {
  width: 70%;
  min-height: 35px;
  display: inline-block;
  padding: 10px 8px 10px 8px;
  font-size: 14px;
  color: #555;
  background: #fff;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.quiz_section select.nqm_select.nqm_dropdown {
  height: auto;
  margin-bottom: 5px;
}
.quiz_section select:hover,
.quiz_section textarea:hover,
.quiz_section input[type="text"]:hover,
.quiz_section input[type="email"]:hover,
.quiz_section input[type="url"]:hover,
.quiz_section input[type="number"]:hover,
.quiz_section select:focus,
.quiz_section textarea:focus,
.quiz_section input[type="text"]:focus,
.quiz_section input[type="email"]:focus,
.quiz_section input[type="url"]:focus,
.quiz_section input[type="number"]:focus {
  outline: 0;
  background: #f7f7f7;
  border: 1px solid #bdc3c7;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.nqm-results-page .nqm_image_option img,
.quiz_section .nqm_image_option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.nqm_fill_blank {
  margin: 0 5px 0 5px;
  width: 100px !important;
}

.nqm_fill_blank.small {
  width: 50px;
}

.nqm_fill_blank.medium {
  width: 100px;
}

.nqm_fill_blank.large {
  width: 150px;
}
.nqm-results-page .nqm_image_option,
.quiz_section .nqm_image_option {
  width: 48%;
  height: 250px;
  display: inline-flex !important;
  position: relative;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 1%;
  box-sizing: border-box;
  align-items: flex-end;
}

.nqm-results-page .nqm_image_option input[type="radio"],
.nqm-results-page .nqm_image_option input[type="checkbox"],
.quiz_section .nqm_image_option input[type="radio"],
.quiz_section .nqm_image_option input[type="checkbox"] {
    margin: 0 0 3px;
    min-width: 15px;
    min-height: 15px;
}

/* Alerts and error state */

.nqm_error_message {
  color: #da4f49;
  border: 1px solid #da4f49;
  background: #F2DEDE;
  display: block;
  padding: 10px;
  margin: 10px 0 10px 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.nqm-quiz-form .nqm_error select,
.nqm-quiz-form .nqm_error textarea,
.nqm-quiz-form .nqm_error input[type="text"],
.nqm-quiz-form .nqm_error input[type="number"],
.nqm-quiz-form .nqm_error input[type="email"],
.nqm-quiz-form .nqm_error input[type="url"],
.nqm-quiz-form .nqm_error input[type="checkbox"],
.nqm-quiz-form .nqm_error input[type="file"],
.nqm-quiz-form .nqm_error input[type="date"],
.nqm-quiz-form .nqm_error select:hover,
.nqm-quiz-form .nqm_error textarea:hover,
.nqm-quiz-form .nqm_error input[type="text"]:hover,
.nqm-quiz-form .nqm_error input[type="number"]:hover,
.nqm-quiz-form .nqm_error input[type="email"]:hover,
.nqm-quiz-form .nqm_error input[type="url"]:hover,
.nqm-quiz-form .nqm_error input[type="checkbox"]:hover,
.nqm-quiz-form .nqm_error input[type="file"]:hover,
.nqm-quiz-form .nqm_error input[type="date"]:hover,
.nqm-quiz-form .nqm_error select:focus,
.nqm-quiz-form .nqm_error textarea:focus,
.nqm-quiz-form .nqm_error input[type="text"]:focus,
.nqm-quiz-form .nqm_error input[type="number"]:focus,
.nqm-quiz-form .nqm_error input[type="email"]:focus,
.nqm-quiz-form .nqm_error input[type="url"]:focus,
.nqm-quiz-form .nqm_error input[type="checkbox"]:focus,
.nqm-quiz-form .nqm_error input[type="file"]:focus
.nqm-quiz-form .nqm_error input[type="date"]:focus {
  position: relative;
  border: 1px solid #da4f49;
  background: #F2DEDE;
  -webkit-box-shadow: 0 0 10px rgba(218, 79, 73, .35);
  -moz-box-shadow: 0 0 10px rgba(218, 79, 73, .35);
  box-shadow: 0 0 10px rgba(218, 79, 73, .35);
}

.nqm-quiz-form .nqm_error {
  position: relative;
}

.nqm-quiz-form .nqm_error:after {
  content: '-';
  color: #fff;
  font-size: 20px;
  font-family: 'Helvetica', Arial, sans-serif;
  background: #da4f49;
  text-align: center;
  display: inline-block;
  height: 20px;
  line-height: 20px;
  width: 20px;
  position: absolute;
  right: 0;
  top: 12px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;

}

.nqm-quiz-form .nqm_error .nqm_radio_answers,
.nqm-quiz-form .nqm_error .nqm_check_answers,
.nqm-quiz-form .nqm_error .nqm_accept_answers{
  border: 1px solid #da4f49;
  background: #F2DEDE;
  padding: 5px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.nqm_btn:hover,
.nqm_quiz_container .btn:hover {
  color: #fff;
  background: #666;
}

.nqm_pagination, .nqm_auto_pagination_enabled .nqm_pagination.pagination-init {
  justify-content: center;
}

.nqm_pagination, .nqm_auto_pagination_enabled .nqm_pagination {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  padding: 15px 0 15px 0;
  flex-wrap: initial;
  justify-content: space-between;
  width: 100% !important;
  margin: 3px;
}

.nqm_pagination .xln_previous {
  margin-right: 5px;
  margin-top: 5px;
}

.nqm_pagination .xln_next, .nqm_pagination .nqm-submit-btn {
  margin-top: 5px;
}

.xln_nqm_timer {
  z-index: 999;
  display: inline-block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  background: #34495e;
  color: #fff;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, .10);
  -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, .10);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .10);
}

.nqm_quiz_container select,
.nqm_quiz_container textarea,
.nqm_quiz_container input[type="text"],
.nqm_quiz_container input[type="email"],
.nqm_quiz_container input[type="url"],
.nqm_quiz_container input[type="number"] {
  background: #fff;
  border: 1px solid #3498db;
}

.nqm_quiz_container select:hover,
.nqm_quiz_container textarea:hover,
.nqm_quiz_container input[type="text"]:hover,
.nqm_quiz_container input[type="email"]:hover,
.nqm_quiz_container input[type="url"]:hover,
.nqm_quiz_container input[type="number"]:hover,
.nqm_quiz_container select:focus,
.nqm_quiz_container textarea:focus,
.nqm_quiz_container input[type="text"]:focus,
.nqm_quiz_container input[type="email"]:focus,
.nqm_quiz_container input[type="url"]:focus,
.nqm_quiz_container input[type="number"]:focus {
  outline: 0;
  background: #fff;
  border: 1px solid #3498db;
  -webkit-box-shadow: 0 0 10px rgba(52, 152, 219, .35);
  -moz-box-shadow: 0 0 10px rgba(52, 152, 219, .35);
  box-shadow: 0 0 10px rgba(52, 152, 219, .35);
}

.nqm_quiz_container .nqm_btn,
.nqm_quiz_container .btn {
  color: #fff !important;
  background: #3498db !important;
}

.nqm_quiz_container .nqm_btn:hover,
.nqm_quiz_container .btn:hover {
  background: #2980b9 !important;
}

/* Helper classes */

.border-none {
  border: 0;
}

.margin-bottom {
  margin-bottom: 20px;
}


@media (max-width: 768px) {

  .quiz_section label,
  .quiz_section .xln_nqm_question {
    font-size: 18px;
  }

  .quiz_section p.form-help {
    font-size: 14px;
  }

  .quiz_section select,
  .quiz_section textarea,
  .quiz_section input[type="text"] {
    display: block;
    width: 100%;
    padding: 12px 10px 12px 10px;
    font-size: 16px;
  }

  .xln_previous,
  .xln_next,
  .nqm_page_counter_message {
    display: inline-block;
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
  }

}

.quick-question-res-p {
  border: 2px solid;
  padding: 5px 10px;
  margin: 0;
  border-radius: 5px;
}

.xln_nqm_quiz_link {
  cursor: pointer;
}

.nqm-results-page .nqm_question_answer {
  margin-bottom: 30px;
}

.page-timer-wrapper {
  display: flex;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.page-timer-wrapper .nqm-pagetimer {
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  color: #333;
  padding: 5px 10px;
  box-shadow: 0 0 10px 1px #eee;
  border-radius: 5px;
}

.page-timer-wrapper .nqm-pagetimer-warning {
  box-sizing: border-box;
  color: red;
  font-size: 18px;
  line-height: 24px;
}

.data-correct-answer {
    color: green;
}
