:root {
  --category-color: #808080;
}
.gtf-widget {
  position: relative;
}
.gtf-widget-loading-animation {
    content: '';
    display: flex;
    z-index: 9;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(248, 244, 244, 0.5);
    align-items: center;
    justify-content: center;
}
.gtf-widget-loading-animation .spinner-border {
  color: #e81d75;
}
/**/
.gtf-sti-testing-wrapper .sti-testing-questionaire {
  background: #f8f4f4;
  padding: 40px 20px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #fff;
  border-right: 5px solid #fff;
  position: relative;
}
.gtf-sti-testing-wrapper .gtf-block-section:not(.active),
.gtf-sti-testing-wrapper .gtf-testing-question:not(.active),
.gtf-sti-testing-wrapper .gtf-testing-result:not(.active),
.gtf-block-section.sti-testing-questionaire.is-result .gtf-testing-navigator {
  display: none !important;
}
.gtf-sti-testing-wrapper .sti-testing-close {
  --sti-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  background: transparent var(--sti-btn-close-bg) center / 1em auto no-repeat;
  border: 0;
  border-radius: 0.375rem;
  width: 30px;
  height: 30px;
  display: inline-block;
  position: absolute;
  top: 5px;
  right: 5px;
}
#syphilis-popup .modal-content,
#feedback-popup .modal-content {
  background: #fff;
}

/* SERVICE PROVIDER BLOCK */
.gtf-service-finder-wrapper .nav-tabs .nav-item {
  width: 50%;
  text-align: center;
}
.gtf-service-finder-wrapper .nav-tabs .nav-item:not(:last-child) {
  padding-right: 2px;
}
.gtf-service-finder-wrapper .nav-tabs .nav-link {
  background: #818181;
  border-color: #818181;
  color: #fff;
}
.gtf-service-finder-wrapper .nav-tabs .nav-link:not([data-bs-toggle="tab"]) {
  cursor: no-drop;
}
.gtf-service-finder-wrapper .nav-tabs .nav-link.active {
  background: #525252;
  border-color: #525252;
  color: #fff;
}
.gtf-service-finder-wrapper .nav-tabs .nav-link:hover {
  color: #fff;
}
/**/
#postcode-autocomplete-input {
  background: #818181;
  border-color: #818181;
}
.location-autocomplete {
  position: relative;
}
.location-autocomplete .location-autocomplete-result {
  position: absolute;
  top: 100%;
  width: 100%;
  background: #fff;
  z-index: 9;
}
.location-autocomplete .location-autocomplete-result a {
  display: block;
  padding: 6px 12px;
  cursor: pointer;
  border-left: var(--bs-border-width) solid var(--bs-border-color);
  border-right: var(--bs-border-width) solid var(--bs-border-color);
  border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}
.location-autocomplete .location-autocomplete-result a:hover {
  background: var(--bs-border-color);
}
.gtf-widget .btn-option-toggle {
  font-size: 12px;
  padding: 8px 16px;
}
/**/
.gtf-provider-categories .list-group-item {
  padding: 4px 0px 4px 30px !important;
  position: relative;
}
.gtf-provider-categories .list-group-item input {
  position: absolute;
  top: 4px;
  left: 0px;
  cursor: pointer;
}
.gtf-provider-categories .list-group-item label {
  cursor: pointer;
}
.gtf-provider-categories .list-group-item:before {
  content: '';
  width: 22px;
  height: 22px;
  background: red;
  display: block;
  position: absolute;
  top: 4px;
  left:0px;
  background: var(--category-color);
}
.gtf-provider-categories .list-group-item input[type=checkbox] {
  opacity: 0;
}
.gtf-provider-categories .list-group-item input[type=checkbox]:checked + label:after {
  content: '';
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  display: block;
  position: absolute;
  top: 4px;
  left:0px;
}
/**/
.gtf-service-provider-list {
  max-height: 500px;
}
.gtf-service-provider-list .gtf-service-provider-item {
  border-radius: 0px;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-color: #808080;
}
.gtf-service-provider-list .gtf-service-provider-item:hover {
  background: #f6f6f6;
}
.gtf-service-provider-list .mCSB_inside > .mCSB_container {
  margin-right: 0px;
}
.gtf-service-provider-list .mCSB_scrollTools {
  opacity: 0;
}
.gtf-service-provider-list:hover .mCSB_scrollTools {
  opacity: 1;
}
.gtf-service-provider-list .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
.gtf-service-provider-list .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  width: 10px;
  background: #999 !important;
}
.gtf-service-provider-list .mCSB_scrollTools .mCSB_draggerRail {
  opacity: 0;
}
#gtf-map {
  width: 100%;
  height: 100%;
  background: #f6f6f6;
  min-height: 500px;
}
/**/
.service-provider-marker-data * {
  margin: 0px 0px 4px;
}
.service-provider-marker-data .sp-categories {
  border-top: 1px solid #818181;
  margin: 8px 0px 0px;
  padding: 8px 0px 0px;
}
.sp-categories .sp-category {
  margin: 0px 0px 4px;
}
.sp-categories .sp-category span {
  display: inline-block;
  padding: 8px;
  color: #fff;
}
.service-provider-data,
.gtf-service-provider-item {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.25;
  color: inherit !important;
}
.service-provider-data a.btn {
  padding: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
}
/**/
.gtf-service-finder-search-wrapper {
  background: #f8f4f4;
  padding: 20px;
  margin: 50px 0 80px;
  position: relative;
}

/* FUN QUIZ */
.gtf-fun-quiz-wrapper {
  background: #f8f4f4;
  padding: 20px;
  margin-bottom: 10px;
  position: relative;
}
.gtf-fun-quiz-wrapper .gtf-block-section:not(.active),
.gtf-fun-quiz-wrapper .gtf-quiz-question:not(.active),
.gtf-fun-quiz-wrapper .gtf-quiz-question:not(.answered) .submit-answer,
.gtf-fun-quiz-wrapper .gtf-quiz-question:not(.submitted) .answer-feedback,
.gtf-fun-quiz-wrapper .gtf-quiz-question.submitted .submit-answer {
  display: none !important;
}
.gtf-fun-quiz-wrapper .gtf-quiz-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 0px 0px 12px;
} 
.gtf-fun-quiz-wrapper .gtf-quiz-status > * {
  width: 50%;
  flex-shrink: 0;
  max-width: 50%;
}
.gtf-fun-quiz-wrapper .gtf-quiz-progress {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.gtf-fun-quiz-wrapper .gtf-quiz-percentage-container {
  display: inline-block;
  position: relative;
  width: 150px;
  height: 22px;
  margin: 0px 0px 0px 8px;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}
.gtf-fun-quiz-wrapper .gtf-quiz-percentage {
  background: #28a745;
  transition: width 450ms ease;
  height: 100%;
}
/**/
.gtf-fun-quiz-wrapper .gtf-quiz-question .question,
.gtf-fun-quiz-wrapper .gtf-quiz-question .choices {
  margin: 0px 0px 16px;
}
.additional-information :last-child {
  margin: 0px;
}
.gtf-fun-quiz-wrapper .gtf-quiz-question .choice-item {
  margin: 0px 0px 8px;
  border-radius: 3px;
  background: #fff;
  position: relative;
  cursor: pointer;
}
.gtf-fun-quiz-wrapper .gtf-quiz-question .choice-item label {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 8px 8px 35px;
}
.gtf-fun-quiz-wrapper .gtf-quiz-question .choice-item input {
  position: absolute;
  top: 12px;
  left: 12px;
}
.gtf-fun-quiz-wrapper .gtf-quiz-navigator {
  margin: 16px 0px 0px;
}
.gtf-fun-quiz-wrapper .gtf-quiz-question.submitted .choice-item:after {
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 2;
  cursor: not-allowed;
}
.gtf-fun-quiz-wrapper .gtf-quiz-question .choice-item .fa-xmark {
  color: #ff0000;
}
.gtf-fun-quiz-wrapper .gtf-quiz-question .choice-item .fa-check {
  color: #009900;
}
/**/
@media all and (max-width: 767px) {
  .gtf-fun-quiz-wrapper .gtf-quiz-status > * {
    width: 100%;
    max-width: 100%;
  }
}

/* QUIZ ADMIN */
.gtf-quiz-export-result input[name="gtf-quiz-daterange"] {
  width: 375px;
}
.gtf-quiz-export-result .button {
  margin-right: 0px;
}
.gtf-table-result h3 i {
  font-weight: 400;
}