header:not(.form-submitted header),
footer:not(.form-submitted footer) {
  display: none !important;
}

:root {
  /*  GLOBALS */
  --primary-color: #17666f;
  /* /// */
  --service-block-height: 80px; /* Height for services blocks */
  --progress-step-background: #217058;
  --muted-ui: #909090; /* De-emphasized UI (borders, secondary chrome) — not primary brand */
  --neutral-dark: #2b2e31; /* Neutral text/borders — not brand theme */
  --text-color: #1f1f1f;
  --color-pure-black: #000;
  --services-font-size: 18px;
  --services-icons-size: 45px;
  --submit-btn-padding: 11px 23px;
  --accent-color: #217058;
  --btn-hover-color: #165945;
  --service-hover-color: #217058;
  --service-hover-border-color: #217058;
  --plus-icon: url(/wp-content/uploads/2026/04/plus-icon.png);
  --minus-icon: url(/wp-content/uploads/2026/04/minus-icon.png);
  --calendar-border-color: #217058;
  --calendar-background-color: #E7F2EE;
  --choice-text-font-size: 18px;
  --calendar-toggle-icon: url(/wp-content/uploads/2026/04/up-arrow.png);
  --month-change-arrow-right: url(/wp-content/uploads/2026/04/right-arrow.png);
  --site-font-family: "Inter", sans-serif;
  --calendar-date-color: #217058;
  --calendar-date-background: #E7F2EE;
  --calendar-date-border-color: #217058;
  --calendar-date-font-size: 14px;
  --selected-date-background: #217058;
  --check-box: url(/wp-content/uploads/2026/04/checked-icon.png);
  --error-text-red: #790000;
  --time-select-background: #ffffff;
  --time-select-text-color: #000;
  --time-select-text-color-hover: #fff;
  --time-select-background-hover: #217058;
  --time-select-border-color-hover: #217058;
  --browsing-btn-width: 550px;
}

/* Absolute Center Spinner */
.elementor-editor-active .loading {
  display: none;
}
.loading {
  position: fixed;
  z-index: 9999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.8));
  background: -webkit-radial-gradient(
    rgba(20, 20, 20, 0.8),
    rgba(0, 0, 0, 0.8)
  );
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: "";
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow:
    rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
    rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
    rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
  box-shadow:
    rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
    rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
    rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

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

/**********Page Resets**********/
.form-submitted .main_header_area {
  background: #1f1f1f !important;
  padding: 0;
}

.form-submitted .main_header_area > .e-con-inner {
  padding-bottom: 0;
  max-width: 100%;
}

.form-submitted .main_header_area > .e-con-inner {
  padding-bottom: 0;
}

.form-submitted .main_header_area .logo_section {
  max-width: 1366px;
  margin: 0 auto;
}

.form-submitted .main_header_area .menu_section {
  background: var(--accent-color) !important;
}
.form-submitted header {
  position: relative !important;
}

.gform_wrapper.gravity-theme .gfield_error [aria-invalid=true]{
      border: 1px solid var(--error-text-red) !important;
}

.gform_validation_errors,
.appointment-details,
.branch-address summary::-webkit-details-marker,
.form-submitted .opening-hours,
.form-submitted .hide-on-submission,
.success-message br,
.elementor-location-header,
.continue-browsing,
.gf_progressbar_wrapper,
.separator .gsection_title,
.visually-hidden,
.visually-hidden label,
.visually-hidden .ginput_container,
.appt-details-section,
.appointment-details br,
.appointment-details .choice .choice-wrapper,
.page-title > p:empty,
.branch-name .wpsl-contact-details,
.branch-name .opening-hours,
.wpsl-location-address br,
.time-selection.second-option,
.branch-name .map,
.selected-service .ginput_container,
.branch-address .map {
  display: none;
}
.time-selection .gfield_error.visually-hidden.date-selection,
.gfield_error.visually-hidden.date-selection label,
.hide-legend legend,
.gfield_required .gfield_required_text,
.time-selection .toggle,
.time-selection.active .date-time.visually-hidden {
  display: none !important;
}
.gform_wrapper.gravity-theme .gfield_error legend {
  color: var(--text-color) !important;
}
.gfield_checkbox {
  position: relative;
}
.gform_wrapper.gravity-theme .gform_fields {
  gap: 0 !important;
}
.appointment-form p {
  margin-bottom: 0;
}
.appointment-form .gform_wrapper.gravity-theme .button {
  font-size: 14px;
  line-height: 1.4em !important;
  font-weight: 500;
  text-transform: uppercase;
  padding: var(--submit-btn-padding);
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  cursor: pointer;
  height: 44px;
}
.appointment-form .gform_wrapper.gravity-theme .button:hover,
.appointment-form .gform_wrapper.gravity-theme .gform_next_button.button:hover {
  background: var(--btn-hover-color);
  border-color: var(--btn-hover-color);
}

.cross-btn .elementor-button-text {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 14px;
}
.cross-btn svg {
  height: auto !important;
  width: auto !important;
}
.appointment-details .type {
  display: flex;
  margin-bottom: 8px;
}
.appointment-details.active .choice .choice-wrapper:nth-of-type(2) {
  display: block !important;
}
.ui-datepicker-calendar td a:hover {
  background-color: var(--selected-date-background) !important;
  color: #fff !important;
}
/*************Progress Bar CSS**************/
.progress-bar ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.5em;
  list-style: none;
  gap: 8px;
}
.progress-bar ul li {
  position: relative;
  color: var(--neutral-dark);
  font-weight: 400;
  /*min-width: 241px;*/
  text-align: center;
  transition: all 1s ease-in-out;
  flex-grow: 1;
}

.progress-bar ul li.active:after {
  background-color: #ffffff;
}
.progress-bar ul li.passed:not(.progress-bar ul li.passed.active):after {
  background-color: var(--muted-ui);
}
.progress-bar ul li span {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #909090;
  border-radius: 50px;
  vertical-align: middle;
  margin-right: 3px;
}
.progress-bar ul li span i {
  text-align: center;
  display: inline-block;
  margin: auto;
  position: absolute;
  left: 6px;
  /*top: 6px;*/
  font-size: 10px;
  color: var(--muted-ui);
}
.progress-bar ul li.active {
  color: var(--progress-step-background);
  font-weight: 500;
  /* border-color: #909090; */
}
.form-submitted .show-on-submission h3 {
  display: block !important;
  margin-bottom: 20px;
}
.show-on-submission h3 {
  display: none;
}

.progress-bar ul li.active span {
  border-color: var(--progress-step-background);
  background: var(--progress-step-background) !important;
}
.progress-bar ul li.passed span,
.progress-bar ul li.active span i {
  color: #fff;
  font-weight: 700;
}
.progress-bar ul li.passed span {
  background: #707070;
  border-color: #707070;
}
#branches-data {
  background-image: none;
}
.progress-bar
  ul
  li.passed
  span
  i:not(.progress-bar ul li.passed.active span i) {
  color: #ffffff;
}
div#gform_5_validation_container {
  display: none;
}

/****************Progress Line****************/
.progress-line {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-line .elementor-widget-html {
  left: 0;
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.progress-line span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--progress-step-background);
  border-radius: 10px;
  transition: width 0.3s ease;
}

/*************Overview Section************/
.elementor-widget-google_maps {
  overflow: visible !important;
}
.map p {
  margin-bottom: 0;
}
.map iframe {
  display: block;
  height: 118px;
}
.appointment-details h3 {
  font-family: "Inter";
  font-size: 18px;
  line-height: 28px;
  color: var(--color-pure-black);
  font-weight: 500;
  margin: 4px 0px 8px 0px;
}
.branch-address .wpsl-locations-details > span > strong {
  display: block;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-pure-black);
  font-weight: 500;
  margin: 0px 0px 4px 0px;
}
.branch-address .wpsl-contact-details,
.emergency_section .wpsl-contact-details {
  font-size: 0;
  line-height: 0;
}
/* .branch-address .wpsl-contact-details span a, .emergency_section .wpsl-contact-details span a {
    color: var(--primary-color) !important;
    font-size: 18px;
    line-height: 27px;
    font-weight: 500;
  } */
.emergency_section a {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5em;
  margin: 8px 0 0 0 !important;
  display: block;
}

.branch-address summary {
  list-style: none;
  position: relative;
  font-family: "Inter";
  font-size: 14px;
  line-height: 1.8em;
  font-weight: 500;
  color: var(--e-global-color-primary);
  cursor: pointer;
  text-transform: none !important;
  user-select: none;
}
.branch-address summary::after {
  content: "";
  font-weight: 300;
  position: absolute;
  top: 1px;
  left: 102px;
  width: 24px;
  height: 24px;
  background: var(--plus-icon) no-repeat right center / 24px;
}
.branch-address details[open] summary::after {
  /* background: var(--text-color);
    content: "";
    width: 14px;
    height: 1px;
    top: 12px;
    left: 118px; */
  background: var(--minus-icon) no-repeat right center / 24px;
}
.wpsl-opening-hours {
  margin-top: 20px;
}
.wpsl-opening-hours tr td {
  background: transparent !important;
  padding-bottom: 10px;
  font-size: 14px !important;
}
/* .emergency-contact {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    color: var(--primary-color) !important;
    margin-top: 10px;
  } */
/***************Form Success CSS*******************/
.form-submitted .elementor-location-header {
  display: block;
  border-bottom: 1px solid #5674b5;
}
.form-submitted .main-form-overview-wrapper {
  margin-bottom: 0 !important;
}
.form-submitted .main-form-overview-wrapper .e-con-inner {
  flex-direction: column;
  max-width: 550px !important;
  background-color: #fff;
}
.form-submitted .main-form-overview-wrapper .elementor-element.e-con-full {
  width: 100%;
}
.form-submitted .main-form-overview-wrapper .elementor-element.overview-col {
  padding: 32px 24px 0px;
}
.form-submitted .main-form-overview-wrapper .elementor-element {
  border-bottom: 0;
}
.form-submitted .appointment-details .elementor-widget-container {
  border: none;
}

.success-message {
  padding: 16px 0;
  text-align: center;
}

.success-message h1 {
  font-size: 34px;
  line-height: 1.5em;
  color: var(--text-color);
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  text-transform: none;
}
.success-message h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  text-align: center;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.success-message p,
.success-message {
  font-size: 16px;
  line-height: 1.5em;
  color: #3d3d3d;
  text-align: center;
  max-width: 550px;
  margin: 0 auto 32px;
}
.success-message p a {
  color: #3d3d3d !important;
  text-transform: lowercase;
}

.success-message p.thank-you-message {
  max-width: 540px;
  font-size: 16px;
  margin: 0 auto;
}

.success-message a {
  text-transform: lowercase;
  color: #3d3d3d;
}
.success-message a:hover {
  color: var(--btn-hover-color) !important;
}
.continue-browsing a {
  display: block;
  max-width: var(--browsing-btn-width);
  width: var(--browsing-btn-width);
  margin: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.form-submitted .continue-browsing {
  display: block;
}

/**********Form generic CSS************/
.ui-datepicker
  td.ui-datepicker-unselectable.ui-state-disabled:not(
    .ui-datepicker-other-month
  ) {
  background: #a8a8a8 !important;
}

img.gform_ajax_spinner {
  margin-left: 7px;
}
.appointment-form form {
  max-width: 619px;
}

.gform_wrapper.gravity-theme .gform_fields {
  display: flex !important;
  flex-direction: column !important;
}
.gform_wrapper.gravity-theme .separator {
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.appointment-form .gform_wrapper.gravity-theme .gfield_validation_message {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--error-text-red);
}

.time-selection.active .gfield_error.visually-hidden.date-selection {
  display: block !important;
  margin-left: 8px;
  margin-bottom: 5px;
}

.visually-hidden.gfield_error {
  display: block;
}
.gform_wrapper.gravity-theme .gfield_label {
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}
/* .gform_wrapper.gravity-theme .gfield_label label {
    font-weight: 500 !important;
    font-size: 14px;
    list-style: 1.5;
    margin-bottom: 8px !important;
  } */
/************Appointment Overview*************/
.branch-address a {
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
  margin: 12px 0px !important;
  display: inline-block;
}
.branch-address a:hover {
  color: var(--btn-hover-color) !important;
}
.appointment-details .label {
  display: inline-block;
  min-width: 90px;
  font-weight: 500;
  font-size: 14px !important;
}
.appointment-details #form-name-first .name-text {
  display: inline-block;
  min-width: 86px;
  font-weight: 500;
}
.appointment-details .choice .choice-wrapper .date {
  padding-right: 10px;
}
.appointment-details span.val,
.appointment-details .name-values,
.appointment-details #other-val,
.appointment-details #other-val .name-text {
  font-weight: 400;
  word-wrap: break-word;
  font-size: 14px !important;
}

.appointment-details #other-val {
  max-width: 150px;
  display: flex;
  gap: 6px;
  margin-left: 6px;
  word-break: break-all;
}

.appointment-details .name-values {
  margin-bottom: 8px;
}
.choice .choice-wrapper:first-child {
  margin-bottom: 8px;
}

/************Branch Selection**************/
.page-title h1,
.page-title h2 {
  font-size: 24px;
  line-height: 1.2em;
  color: var(--text-color);
  margin-bottom: 9px;
  font-weight: 500;
  text-transform: none;
}

.page-title h3 {
  font-size: 24px;
  line-height: 27px;
  color: #1f1f1f;
  margin-bottom: 9px;
}

.page-title > p {
  color: var(--neutral-dark);
  font-size: 16px;
  margin-bottom: 32px;
}

.branch-data .elementor-loop-container.elementor-grid {
  gap: 0;
}
.e-loop-item-11361 > div {
  display: flex;
  padding: 0;
}

.wpsl-locations-details {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  max-width: 220px;
  color: var(--text-color);
  margin-bottom: 0 !important;
}

.wpsl-location-address {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  max-width: 220px;
  color: var(--text-color);
  margin-bottom: 0 !important;
}

.branches.active {
  background-color: #f7fbfc !important;
  border-color: var(--muted-ui) !important;
}
/*********Purpose of visit***********/
.services-selection {
  margin-bottom: 16px !important;
}
.appointment-types-list {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.appointment-types-list li {
  display: flex;
  align-items: center;
  position: relative;
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 16px 16px 16px 77px;
  flex: 1;
  width: 100%;
  min-height: var(--service-block-height);
  cursor: pointer;
  flex-wrap: wrap;
}
.appointment-types-list li:hover,
.appointment-types-list li.active {
  background: #E7F2EE;
  border-color: var(--service-hover-color);
}
.appointment-types-list li img {
  position: absolute;
  left: 15px;
  top: 17px;
  width: var(--services-icons-size);
}
.appointment-types-list li .service-name {
  font-size: var(--services-font-size);
  line-height: 1.5em;
  font-weight: 500;
  color: var(--color-pure-black);
}
.appointment-types-list li .appointment-description {
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: #3d3d3d;
  margin-bottom: 0;
  width: 100%;
}

.service-availability.gfield_html {
  display: block;
}

.appointment-form
  .gform_wrapper.gravity-theme
  .gform-theme-button.button.close-popup {
  position: relative;
  left: unset;
  top: unset;
  display: block;
  margin: auto;
}
.other-exam-type {
  display: none;
}
.other-exam-type input {
  height: 46px;
  padding: 12.5px 14px !important;
}
/***************Date and time*********************/
.time-selection {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 22px 24px 30px;
  margin-bottom: 21px;
}
.time-selection.active {
  border: 2px solid var(--calendar-border-color);
  background: var(--calendar-background-color);
}
.time-selection.active .toggle {
  display: block !important;
  border: none;
}

.time-selection .date-field-title button,
.time-selection .date-field-title {
  position: relative;
  font-size: var(--choice-text-font-size);
  line-height: 1.5em;
  font-weight: 500;
  color: var(--color-pure-black);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  margin-bottom: 24px;
}
.time-selection .date-field-title p {
  position: relative;
  cursor: pointer;
}
.time-selection .date-field-title p::after {
  transform: rotate(180deg);
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background: var(--calendar-toggle-icon) no-repeat center right / 18px;
  width: 18px;
  height: 18px;
}
.time-selection.active .date-field-title p::after {
  transform: rotate(0deg);
}
.gfield_error .gfield_label {
  color: #333;
}

.time-selection .hasDatepicker {
  margin-top: 13px;
  margin-left: 6px;
  margin-bottom: 5px;
}
.time-selection .hasDatepicker .ui-datepicker {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0;
}
.time-selection .hasDatepicker .ui-datepicker .ui-datepicker-header {
  background: transparent;
  border: none;
  border-radius: 0;
}

.ui-datepicker-calendar {
  margin-bottom: 0 !important;
}
.ui-datepicker .ui-datepicker-title {
  font-size: 16px;
  line-height: 24px !important;
  font-weight: 500;
  padding: 4px 0;
  font-family: var(--site-font-family);
  color: var(--color-pure-black) !important;
}
.ui-datepicker-header > a {
  top: 3px !important;
}

.ui-datepicker-prev > span,
.ui-datepicker-next > span {
  background: var(--month-change-arrow-right) no-repeat center center / 14px !important;
}
.ui-datepicker .ui-datepicker-prev > span {
  transform: rotate(180deg);
}
.ui-datepicker td {
  padding: 0 !important;
}
.ui-datepicker-calendar thead > tr {
  border-bottom: 1px solid #ccc;
}
.ui-datepicker-calendar thead > tr th {
  font-weight: 600;
  font-size: 14px;
  padding: 7px !important;
  font-family: var(--site-font-family) !important;
  color: var(--color-pure-black) !important;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
  opacity: 0.45 !important;
}

.ui-datepicker td span,
.ui-datepicker td a,
.ui-datepicker-current-day.ui-datepicker-today .ui-state-default,
.ui-state-default {
  background: var(--calendar-date-background) !important;
  border-bottom: 0 !important;
  border-right: 0 !important;
  text-align: center;
  min-height: 51px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: var(--calendar-date-font-size);
  line-height: 1.5em;
  font-weight: 400 !important;
  color: var(--calendar-date-color) !important;
  font-family: var(--site-font-family);
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-state-default:hover,
.ui-state-default.ui-state-highlight:hover {
  background-color: var(--selected-date-background) !important;
  color: var(--accent-color) !important;
  font-weight: 500 !important;
}
/*  for clicked state */
.ui-datepicker-clicked.ui-datepicker-current-day.ui-datepicker-today
  a.ui-state-default,
html .ui-datepicker-current-day a {
  background-color: var(--selected-date-background) !important;
  font-weight: 500 !important;
  color: #ffffff !important;
}
.ui-datepicker-today a.ui-state-default.ui-state-active,
.ui-datepicker-current-day a.ui-state-default.ui-state-active {
  border: 2px solid var(--selected-date-background);
  background-color: var(--selected-date-background);
  color: #fff !important;
}

.ui-datepicker-today a.ui-state-default.ui-state-highlight {
  border: 2px solid var(--selected-date-background) !important;
  color: #1f1f1f !important;
  /* background: #F5FEFF; */
  /* color: var(--selected-date-background); */
}

.ui-datepicker-today a.ui-state-default.ui-state-highlight:hover {
  color: #fff !important;
}

td.ui-datepicker-unselectable.ui-state-disabled .ui-state-default {
  position: relative;
  overflow: hidden;
  opacity: 0.7;
}
td.ui-datepicker-unselectable.ui-state-disabled .ui-state-default::before {
  content: "";
  position: absolute;
  background: #cccccc;
  width: 1px;
  height: 240%;
  transform: rotate3d(0, 4, 6, 75deg);
}
.ui-datepicker td {
  padding: 0 !important;
  width: 40px;
  overflow: hidden;
  white-space: nowrap;
  opacity: 1 !important;
}
.preffered-time.day .gfield_radio {
  padding-bottom: 23px !important;
}
.preffered-time.day :nth-child(3),
.preffered-time.day :nth-child(7) {
  opacity: 0.4;
  pointer-events: none;
}
.preffered-time {
  margin-left: 7px !important;
  padding: 0;
}
.preffered-time .gfield_label {
  font-size: 16px !important;
  line-height: 1.5em;
  color: var(--color-pure-black);
  /* font-weight: 500 !important; */
}
.preffered-time .gfield_radio {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px 15px;
  justify-content: start;
}
.preffered-time .gchoice {
  flex: 0 0 23.8%;
  /* border: 1px solid #ccc; */
  border-radius: 4px;
  text-align: center;
  position: relative;
}
.second-pref .gfield_checkbox input {
  border: 1px solid #ccc;
}
.preffered-time .gchoice input {
  position: absolute;
}
.preffered-time .gchoice label {
  position: relative;
  width: 100%;
  background: var(--time-select-background);
  max-width: 100% !important;
  padding: 7px 19px;
  border-radius: 4px;
  color: var(--time-select-text-color) !important;
  font-size: 14px !important;
  line-height: 26px;
  font-weight: 500 !important;
  border: 1px solid #ccc;
}
.preffered-time .gchoice input:checked + label,
.preffered-time .gchoice label:hover,
.preffered-time .gchoice label:focus {
  color: var(--time-select-text-color-hover) !important;
  background: var(--time-select-background-hover);
  border-color: var(--time-select-border-color-hover);
  cursor: pointer;
}
.preffered-time .gfield-choice-input {
  display: none !important;
}
.time-selection .date-time.visually-hidden,
.time-selection .date-time.visually-hidden .ginput_container {
  display: block !important;
}
.time-selection .date-time.visually-hidden .ginput_container input {
  border: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
}
.second-pref {
  border: none;
  padding-left: 35px;
  padding-bottom: 23px !important;
}
.second-pref .gfield-choice-input {
  width: 22px;
  height: 23px;
  position: absolute;
  left: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 !important;
}

.second-pref .gfield-choice-input:checked::after {
  content: "";
  position: absolute;
  height: 23px;
  width: 22px;
  background: #fff var(--check-box) no-repeat center center / 24px;
  left: -1px;
  top: -1px;
}
.second-pref label {
  padding-left: 35px;
  font-size: 16px !important;
  line-height: 1.6;
  font-weight: 400 !important;
  color: #1f1f1f !important;
}
.time-selection.second-option.active,
.visually-hidden.selcted-date-time.active,
.visually-hidden.selcted-date-time.active .ginput_container {
  display: block;
}
.visually-hidden.selcted-date-time.active .ginput_container input {
  border: none;
  font-size: 16px;
  height: auto;
  color: #212121;
  padding: 0;
  pointer-events: none;
}
/******************Personal Info*********************/
.personal-info-wrapper ul{
    display: flex;
   flex-wrap: wrap;
   padding: 0;
   gap: 10px;
}
 
.gform-body ul{
  padding: 0;
}
 
.gform-body li{
  list-style-type: none;
}
 
.personal-info-wrapper .gfield {
  width: calc(50% - 10px);
}
.gform_wrapper.gravity-theme .personal-info-wrapper .gfield .gfield_label,
.gform_wrapper.gravity-theme .last-page-fields .gfield_label {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 4px !important;
  font-weight: 400 !important;
  color: #1f1f1f;
}
.personal-info-wrapper .gfield input,
.personal-info-wrapper .gfield textarea,
.personal-info-wrapper .gfield select {
  border: 1px solid var(--muted-ui);
  border-radius: 4px;
  height: 52px;
  font-size: 16px !important;
}
.personal-info-wrapper .gfield input:focus,
.personal-info-wrapper .gfield textarea:focus {
  border-color: var(--accent-color);
}
.gform_wrapper input:focus::placeholder,
.gform_wrapper textarea:focus::placeholder {
  opacity: 0.8 !important;
}
.appointment-form .charleft {
  display: none;
}
.already-customer .gfield_radio {
  display: flex;
  gap: 27px;
  margin-top: 3px;
  margin-bottom: 9px;
}
.already-customer{
  margin-top: 24px !important;
}
.already-customer .gfield-choice-input::before {
  content: "";
  background: #fff;
  width: 24px;
  height: 24px;
  z-index: 9999;
  position: absolute;
  border-radius: 50%;
  border: 1px solid #909090;
}

.already-customer .gfield-choice-input:checked::before {
  border: 7px solid var(--accent-color);
}
.already-customer .gfield_radio label {
  font-size: 16px;
  font-weight: 400;
  color: #1f1f1f !important;
}
.already-customer .gfield_radio .gfield-choice-input {
  width: 24px;
  height: 24px;
  margin-left: 0;
  margin-right: 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 !important;
  border: 0 !important;
}
.info-textarea {
  margin-top: 17px;
}
.info-textarea textarea {
  height: 114px !important;
  border-radius: 4px;
  padding-top: 9px;
  margin-bottom: 10px;
}
/*************Footer Styles******************/
.gform-page-footer {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

.appointment-form .gform_wrapper.gravity-theme .gform_previous_button {
  background: #fff;
  color: #1f1f1f !important;
  border: 1px solid var(--neutral-dark);
}
.appointment-form .gform_wrapper.gravity-theme .gform_previous_button:hover {
  background-color: #f6f6f6 !important;
}

/************Messages***************/

.form-submitted .branch-address .elementor-widget-container,
.form-submitted .appointment-details .elementor-widget-container {
  border-bottom: 0 !important;
}

.fixed_appt_btn_section {
  display: none !important;
}

@media screen and (max-width: 1366px) {
  .progress-bar ul {
    justify-content: center;
  }
  /*.progress-bar ul li {*/
  /*  min-width: 135px;*/
  /*}*/
}
@media screen and (max-width: 1100px) {
  .form-header .progress-container {
    order: 3;
  }
}
@media (max-width: 1024px) {
  .progress-bar ul li {
    max-width: 241px;
  }
}
@media screen and (min-width: 769px) {
  .time-selection .hasDatepicker {
    max-width: 429px;
  }
  .form-submitted .main_header_area .logo_section {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media screen and (max-width: 768px) {
  .form-submitted .main_header_area .logo_section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .elementor-location-footer {
    display: none;
  }
  .appointment-types-list li .service-name {
    font-size: var(--services-font-size);
  }
  .progress-bar ul {
    flex-wrap: wrap;
    gap: 32px;
  }
  .progress-bar ul li {
    min-width: auto;
  }
  .appointment-form form {
    max-width: 100%;
  }
  .page-title > p {
    margin-bottom: 16px;
  }
  .page-title h1,
  .page-title h2,
  .page-title h3 {
    font-size: 18px;
  }
  .preffered-time {
    margin: 0 !important;
    padding: 0;
  }
  .personal-info-wrapper {
    gap: 17px 20px;
  }
  .personal-info-wrapper .gfield {
    width: 100%;
  }
  .time-selection {
    padding: 16px 16px 24px;
  }
  .preffered-time .gchoice label {
    padding: 10px;
  }
  .time-selection .hasDatepicker {
    margin-left: 0;
  }
  .preffered-time .gfield_radio {
    flex-wrap: wrap;
  }
  .modal-content {
    padding: 24px 16px;
  }
  .modal-content ul {
    padding-left: 24px;
  }
  .close-popup img {
    margin-top: 10px !important;
  }
  /****After form submission***/
  .success-message {
    text-align: left;
  }
  .success-message h1 {
    font-size: 24px;
    line-height: 1.2em;
    text-align: left;
  }
  .form-submitted .form_section {
    padding-left: 0;
    padding-right: 0;
  }
  .form-submitted
    .main-form-overview-wrapper
    .elementor-container
    > .elementor-column.overview-col
    > div {
    margin-top: 0 !important;
  }
  .second-pref .gfield-choice-input {
    width: 20px;
    height: 20px;
    top: 3px !important;
  }
  .fixed-overview-col.closed-on-mob:not(
      .form-submitted .fixed-overview-col.closed-on-mob
    ) {
    /* display: none; */
    top: 100%;
  }

  .fixed-overview-col:not(.form-submitted .fixed-overview-col) {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    margin-top: 0;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    top: 0;
    transition: all 0.4s ease;
  }
  body.fixed-overview-open {
    overflow-y: hidden;
  }

  .fixed-overview-col .branch-address,
  .fixed-overview-col .appointment-details,
  .fixed-overview-col .branch-timing,
  .fixed-overview-col .appt-details-section,
  .fixed-overview-col .appt-details,
  .fixed-overview-col .emergency_section {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .gform_previous_button {
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
  }

  .back_btn {
    visibility: hidden;
  }

  .gform-page-footer {
    position: fixed;
    bottom: 0;
    left: 0px;
    right: 0px;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding: 10px 16px !important;
    background: #fff;
    flex-direction: column-reverse;
    box-shadow: 0px -4px 8px 0px rgba(0, 0, 0, 0.08);
    z-index: 9999 !important;
  }

  .gform-page-footer .gform-theme-button {
    margin-bottom: 0 !important;
  }

  .gform-page-footer .gform_button,
  .gform-page-footer .gform_next_button {
    margin-left: 0 !important;
  }

  .form-submitted .main-form-overview-wrapper .e-con-inner {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 16px;
  }
  .preffered-time .gchoice {
    /* flex: 0 0 30%; */
    flex: none;
    flex-grow: 1;
  }
  .preffered-time .gfield_radio {
    gap: 8px 15px;
  }
  body.form-submitted .branch-address,
  body.form-submitted .appointment-details {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  body.form-submitted
    .main-form-overview-wrapper
    .elementor-element.overview-col {
    padding: 32px 16px !important;
  }
  .success-message p,
  .success-message {
    margin-bottom: 0px !important;
  }
}

@media (max-width: 480px) {
  .gform-page-footer .gform_button,
  .gform-page-footer .gform_next_button {
    width: 100% !important;
  }
}
