/* Page-specific styles consolidated from index.html. */

.our_partner_2 .popular-make-grid-container-home {
  align-items: center;
  display: grid;
  column-gap: clamp(8px, 1vw, 14px);
  grid-template-columns: repeat(13, minmax(0, 1fr));
  padding-left: 0;
  padding-right: 0;
}

.our_partner_2 .popular-make-grid-item {
  align-items: center;
  display: flex;
  justify-content: center;
  max-width: none;
  min-width: 0;
  width: 100%;
  padding: 0;
}

.our_partner_2 .partner_item_home,
.our_partner_2 .partner_item_home > a {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 64px;
  padding: 0;
  width: 100%;
}

.our_partner_2 .home-partner-logo {
  display: block;
  flex: 0 1 78px;
  height: 56px;
  max-height: 56px;
  max-width: 78px;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

@media (max-width: 1199.98px) {
  .our_partner_2 .popular-make-grid-container-home {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .our_partner_2 .popular-make-grid-container-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Generated from inline style attributes in index.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
  ) {
  background-color: #f7f7f7;
}

.landmark-page-inline-style-003:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  color: white;
  margin-top: 15px;
}

.landmark-page-inline-style-004:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  position: relative;
}

.landmark-page-inline-style-005:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  color: #ffffff;
}

.landmark-page-inline-style-006:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s;
}

.landmark-page-inline-style-007:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  font-size: 28px;
  color: #10152a;
}

.landmark-page-inline-style-008:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  background-color: #10152a;
}

.landmark-page-inline-style-009:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  color: #ffffff;
  margin-top: 20px;
}

.landmark-page-inline-style-010:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  font-weight: 600;
  line-height: 60px;
}

.landmark-page-inline-style-011:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  background-color: #f1f1f1;
}

.landmark-page-inline-style-012:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  width: 400px;
}

.landmark-page-inline-style-013:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  border: 2px solid #d9d8d6;
}

.landmark-page-inline-style-014:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  padding: 0px 27px;
}

.landmark-page-inline-style-015:not(#landmark-page-inline-style-sentinel-a):not(
    #landmark-page-inline-style-sentinel-b
  ) {
  width: 50%;
}

/* Extracted from index.html. */
.modal-dialog-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  max-width: 100%;
}

.modal-content {
  border-radius: 0;
}

.font12 {
  font-size: 14px;
}

/* Extracted from index.html. */
.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(
    .input-group-btn
  ) {
  width: 100%;
}

.dropdown.bootstrap-select.home-insurance.h50 {
  border-radius: 8px;
}

input#serviceDate {
  font-size: 16px;
  color: #5f6973;
}

/* Keep every field in the homepage Book a Service tab visually consistent. */
#pills-service #book-service-form .home-service-field,
#pills-service #book-service-form .bootstrap-select,
#pills-service #book-service-form .bootstrap-select > .dropdown-toggle {
  width: 100% !important;
  min-width: 0;
  height: 50px;
  color: #595959;
  background-color: #f5f5f5 !important;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  box-shadow: none !important;
}

#pills-service #book-service-form .home-service-field {
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.5;
}

#pills-service #book-service-form .bootstrap-select.home-service-field {
  margin: 0 !important;
  padding: 0;
}

#pills-service #book-service-form .bootstrap-select > .dropdown-toggle {
  padding: 10px 12px;
}

#pills-service #book-service-form .bootstrap-select .dropdown-menu {
  width: 100% !important;
  min-width: 100% !important;
  background-color: #ffffff;
  border-radius: 8px;
}

#pills-service #book-service-form .home-service-field::placeholder,
#pills-service
  #book-service-form
  .bootstrap-select
  > .dropdown-toggle.bs-placeholder {
  color: #595959;
  opacity: 1;
}

#pills-service #book-service-form .home-service-field:focus,
#pills-service #book-service-form .bootstrap-select > .dropdown-toggle:focus,
#pills-service
  #book-service-form
  .bootstrap-select
  > .dropdown-toggle:focus-visible {
  border-color: #10152a;
  outline: 2px solid #10152a !important;
  outline-offset: 2px;
}

#pills-service
  #book-service-form
  .bootstrap-select:has(select.is-invalid)
  > .dropdown-toggle,
#pills-service
  #book-service-form.was-validated
  .bootstrap-select:has(select:invalid)
  > .dropdown-toggle {
  border-color: #dc3545 !important;
}

#pills-service #book-service-form input.home-service-field.is-invalid,
#pills-service #book-service-form input.home-service-field[aria-invalid="true"],
#pills-service
  #book-service-form.was-validated
  input.home-service-field:invalid {
  border-color: #dc3545 !important;
}

#pills-service #book-service-form .bootstrap-select + .invalid-feedback {
  margin-top: 4px;
}

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

.clear-background {
  background-image: none !important;
}

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

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

/*
 * Keep the compact homepage search card content-sized on phones.
 * responsive.css contains an old 320px-only spacer (190px) that leaves a
 * large empty block below the New Cars controls.
 */
@media only screen and (max-width: 575.98px) {
  .cstm-filter-wrap,
  .cstm-filter-wrap .home_serch,
  .cstm-filter-wrap .advance_search_panel,
  .cstm-filter-wrap .adss_bg_stylehome1,
  .cstm-filter-wrap #pills-tabContent,
  .cstm-filter-wrap #pills-allstatus {
    height: auto !important;
    min-height: 0 !important;
  }

  .cstm-filter-wrap #pills-allstatus {
    padding-bottom: 0 !important;
  }

  .cstm-filter-wrap .advance_search_panel .home1_advance_search_wrapper {
    padding: 16px 4px 6px;
  }

  .cstm-filter-wrap #pills-allstatus .select-boxes {
    margin-bottom: 12px;
  }

  /* The next section must follow whichever tab is active. */
  .our-par .section-about-us {
    margin-top: 35px !important;
  }
}

@media only screen and (max-width: 320px) {
  .cstm-filter-wrap {
    position: static !important;
  }
}
