.brookshire-contact-form .spinner-border {
  display: none;
  margin-right: 0.5rem;
  vertical-align: -0.125em;
}

.brookshire-contact-form.submitting .spinner-border {
  display: inline-block;
}

.brookshire-contact-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.75;
}

.brookshire-contact-status {
  border: 2px solid transparent;
  margin: 1.5rem 0.5rem 1rem;
  padding: 0.5rem 1rem;
}

.brookshire-contact-status[data-state="success"] {
  border-color: #46b450;
}

.brookshire-contact-status[data-state="error"] {
  border-color: #dc3232;
}

.brookshire-contact-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.contact-page .brookshire-contact-control {
  border: 1px solid #000 !important;
}

.contact-page .brookshire-contact-control::placeholder {
  color: #000 !important;
}

/* Inside Brookshire: Facebook feed section on the home page */
.inside-brookshire {
  background: linear-gradient(180deg, #f3f8f7 0%, #ffffff 100%);
}

.inside-brookshire-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #0083a9;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.inside-brookshire-card {
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(78, 158, 143, 0.2);
  border-radius: 1.25rem;
  border-top-right-radius: 4rem;
  border-bottom-left-radius: 4rem;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.14);
}

.inside-brookshire-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem 0.95rem 1.25rem;
  background: #4e9e8f;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.inside-brookshire-card-header i {
  font-size: 1.25rem;
}

.inside-brookshire-card iframe {
  display: block;
  width: 100%;
  border: 0;
}

@media (max-width: 575.98px) {
  .inside-brookshire-card {
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
  }

  .inside-brookshire-card iframe {
    height: 540px;
  }
}

/* Brookshire gallery page */
.brookshire-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  border-top-right-radius: 3rem;
  border-bottom-left-radius: 3rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.brookshire-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.brookshire-gallery-item:hover img,
.brookshire-gallery-item:focus-visible img {
  transform: scale(1.04);
}

.brookshire-gallery-item:focus-visible {
  outline: 3px solid #0083a9;
  outline-offset: 3px;
}

.brookshire-lightbox .modal-content {
  background: transparent;
  border: 0;
}

.brookshire-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.brookshire-lightbox .btn-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.65rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.brookshire-lightbox-nav {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0 0 0.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0083a9;
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.brookshire-lightbox-prev {
  left: 0.75rem;
}

.brookshire-lightbox-next {
  right: 0.75rem;
}

.brookshire-lightbox-caption {
  margin: 1rem 0 0;
  color: #ffffff;
  font-size: 1.1rem;
  text-align: center;
}

/* Gallery added to the top menu: keep all seven links on one line on laptop screens. */
@media (min-width: 992px) and (max-width: 1099.98px) {
  #menu-main-menu .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (min-width: 1100px) and (max-width: 1399.98px) {
  #menu-main-menu .nav-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
