/* Shared refinements for thefilterbuilding.com only. */
/* Keep interior body copy balanced with the side photos. */
main .fs-5 {
  font-size: 1.125rem !important;
  line-height: 1.6;
}

nav button.dropdown-toggle {
  border: 0;
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

nav .dropdown-toggle.is-current-section {
  color: rgba(0, 0, 0, 0.9);
}

nav .dropdown-item.active,
nav .dropdown-item.active:hover {
  color: #166f72;
  background: transparent;
}

.site-button {
  display: inline-block;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid #166f72;
  border-radius: 3px;
  background: #166f72;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.site-button:hover {
  border-color: #11575a;
  background: #11575a;
  color: #fff;
}

.site-button:focus-visible,
.document-photo-link:focus-visible,
nav button.dropdown-toggle:focus-visible {
  outline: 3px solid var(--teal-color);
  outline-offset: 4px;
}

.next-step {
  margin: 24px 0 0;
}

.event-photos--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.policy-item {
  margin: 24px 0 0;
}

.policy-item h3,
.faq-topic h3,
.contact-details h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.policy-item p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
}

.rates-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}

.rates-table caption {
  caption-side: top;
  padding: 0 0 12px;
  color: var(--teal-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.rates-table th,
.rates-table td {
  padding: 12px;
  border-bottom: 1px solid #d5d5d5;
  vertical-align: middle;
}

.rates-table thead th {
  background: #fff2ec;
  font-weight: 700;
}

.rates-table tbody th {
  width: 35%;
  font-weight: 400;
}

.rates-table td {
  white-space: nowrap;
}

.weekday-rate {
  margin: 0 0 24px;
  color: #166f72;
  font-size: 1.125rem;
}

.faq-topic + .faq-topic {
  margin-top: 32px;
}

.faq-item {
  border-bottom: 1px solid #d5d5d5;
}

.faq-item summary {
  min-height: 48px;
  padding: 12px 0;
  color: var(--dark-grey);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.faq-item summary::marker {
  color: #166f72;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--teal-color);
  outline-offset: 3px;
}

.faq-answer {
  padding: 0 0 16px;
  font-size: 1.125rem;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

.contact-sidebar {
  display: grid;
  gap: 24px;
  margin: 0 24px;
}

.contact-details {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-details h3:not(:first-child) {
  margin-top: 24px;
}

.contact-details p,
.contact-details address {
  margin: 0;
  font-style: normal;
}

.inquiry-form {
  min-width: 0;
}

.inquiry-form iframe {
  width: 100%;
  max-width: 100%;
}

.document-photo-link,
.document-photo-link img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-note {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .contact-sidebar {
    margin: 0;
  }
}

@media (max-width: 575.98px) {
  .event-photos--pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .rates-table,
  .rates-table tbody {
    display: block;
  }

  .rates-table caption {
    display: block;
  }

  .rates-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .rates-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
    border: 1px solid #d5d5d5;
  }

  .rates-table tbody th {
    display: block;
    grid-column: 1 / -1;
    width: auto;
    background: #fff2ec;
    font-weight: 700;
    font-size: 1rem;
  }

  .rates-table td {
    display: block;
    min-width: 0;
    padding: 12px 4px;
    border: 0;
    text-align: center;
    font-size: 1rem;
  }

  .rates-table td::before {
    display: block;
    content: attr(data-day);
    margin-bottom: 6px;
    font-size: 0.8125rem;
  }
}
