/* Page-specific styles consolidated from book-service.html. */

/* Generated from inline style attributes in book-service.html. */
.landmark-page-inline-style-001:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  display: none;
}

.landmark-page-inline-style-002:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  display: none;
}

.landmark-page-inline-style-003:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  width: 15px;
  height: 15px;
  border: 1px solid gray;
}

/* Extracted from book-service.html. */
input#serviceDate {
  font-size: 17px;
  color: #5f6973;
}

#book-service-form .bootstrap-select.form-control,
#book-service-form .bootstrap-select > .dropdown-toggle,
#book-service-form .bootstrap-select .dropdown-menu {
  width: 100% !important;
}

#book-service-form .bootstrap-select .dropdown-menu {
  min-width: 100% !important;
}

/* Keep each Bootstrap Select menu inside its own grid column. Popper's
   translated position could otherwise place it over the field on the right. */
#book-service-form .bootstrap-select {
  position: relative !important;
  max-width: 100% !important;
}

#book-service-form .bootstrap-select.show {
  z-index: 20;
}

#book-service-form .bootstrap-select > .dropdown-menu {
  inset: 100% auto auto 0 !important;
  left: 0 !important;
  right: auto !important;
  top: 100% !important;
  transform: none !important;
  max-width: 100% !important;
}

#book-service-form .bootstrap-select > .dropdown-menu .inner {
  max-width: 100% !important;
}

/* The original native select must never cover the neighbouring grid field.
   Bootstrap Select's button remains the only interactive click target. */
#book-service-form .bootstrap-select > select,
#book-service-form .bootstrap-select > select.mobile-device {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: -1 !important;
  display: block !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
}

/* Flatpickr hides #serviceDate and creates the visible field beside it. */
#book-service-form
  input[type="hidden"].flatpickr-input.is-invalid
  + input.form-control,
#book-service-form input.flatpickr-input.is-invalid {
  border-color: #dc3545 !important;
}

#book-service-form
  input[type="hidden"].flatpickr-input.is-valid
  + input.form-control,
#book-service-form input.flatpickr-input.is-valid {
  border-color: #28a745 !important;
}

#book-service-form.was-validated
  .bootstrap-select:has(select:invalid)
  + .invalid-feedback {
  display: block !important;
}

footer-component,
footer-component > .footer_one {
  display: block;
  width: 100%;
  max-width: none;
}

.service-forms,
.service-forms > .container,
.service-forms .service_form,
#book-service-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 991.98px) {
  .new-breadcrumb-fixed {
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }

  .new-breadcrumb-fixed .mt80-992-56 {
    margin-top: 80px !important;
  }

  .book-a-service-responsive {
    padding: 24px 0 !important;
  }

  .book-a-service-responsive .container {
    width: 100%;
    max-width: none;
    padding-right: 16px;
    padding-left: 16px;
  }

  .book-a-service-responsive .breadcrumb_title {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.25;
  }

  .book-a-service-responsive .book-service-para {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .service-forms > .container > .row {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .service-forms > .container > .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  html,
  body {
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }

  html,
  body,
  .wrapper,
  #main-content,
  .service-forms {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .wrapper,
  #main-content,
  inner-header-component {
    display: block;
    position: relative;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .mobile-menu {
    right: 0;
    left: 0;
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .mobile-menu .header.stylehome1 {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    padding-right: 14px !important;
    padding-left: 14px !important;
    align-items: center;
    overflow: hidden;
  }

  .mobile-menu .mobile_menu_main_logo {
    flex: 0 0 92px;
    width: 92px;
    max-width: 92px;
    min-width: 0;
    overflow: hidden;
  }

  .mobile-menu .mobile_menu_main_logo .nav_logo_img {
    display: block;
    width: 92px;
    max-width: 100%;
    height: 70px;
    margin-top: 5px;
    object-fit: contain;
  }

  .mobile-menu .mobile-user-right {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 142px);
    margin-left: auto;
    margin-right: 40px;
    white-space: nowrap;
  }

  .mobile-menu .profile-btn-user,
  .mobile-menu .profile-btn-user > a {
    max-width: 100%;
  }

  .new-breadcrumb-fixed,
  .book-a-service-responsive,
  .service-forms {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .new-breadcrumb-fixed .container-fixed-new,
  .new-breadcrumb-fixed .d-flex {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .book-a-service-responsive .breadcrumb_content,
  .book-a-service-responsive .book-service-para {
    width: 100%;
    text-align: left;
  }

  .service-forms {
    padding: 24px 0 40px;
  }

  .service-forms > .container {
    width: 100%;
    max-width: none;
    padding-right: 16px;
    padding-left: 16px;
  }

  .service-forms > .container > .d-flex {
    width: 100%;
  }

  .service-schedule-btn {
    width: 100%;
    padding: 14px 16px;
    text-align: center;
  }

  .service-forms .service_form {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding: 24px 16px !important;
  }

  #book-service-form .row {
    margin-right: 0;
    margin-left: 0;
  }

  #book-service-form .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  #book-service-form .form-control,
  #book-service-form .bootstrap-select,
  #book-service-form .bootstrap-select > .dropdown-toggle,
  #book-service-form input[type="hidden"].flatpickr-input + input.form-control {
    width: 100% !important;
    max-width: 100%;
  }

  .service-form-submit,
  .service-form-submit .service-search-btn {
    width: 100%;
  }

  .lio-chatbot__welcome {
    display: none !important;
  }
}
