/* Small portability and interaction additions to the original TAcc+ styles. */
html { scroll-behavior: smooth; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f0b228; outline-offset: 4px; }
.events-content { overflow-wrap: anywhere; }
.events-content img, .events-content iframe, .events-content video { max-width: 100%; }
.events-content img { height: auto; }
.events-content table { max-width: 100%; }
.source-image-unavailable { display: block; max-width: 100%; overflow: hidden; color: #666; font-size: 14px; font-weight: 400; }
.event-card__img-wrap .source-image-unavailable { width: 100%; height: 100%; padding: 10px; }
.events-content .source-image-unavailable { margin: 12px 0; }

.static-search {
  width: min(720px, calc(100% - 32px)); max-height: min(780px, 85dvh);
  padding: 30px; border: 0; border-radius: 8px; color: #333;
  box-shadow: 0 20px 80px #0005;
}
.static-search::backdrop { background: #000b; }
.static-search__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.static-search__heading h2 { font-size: 24px; margin: 0; }
.static-search__close { border: 0; background: none; padding: 0 8px; font-size: 32px; line-height: 1; cursor: pointer; }
.static-search__form { display: flex; gap: 10px; }
.static-search__input { min-width: 0; flex: 1; padding: 12px; border: 1px solid #aaa; border-radius: 3px; }
.static-search__submit { border: 0; background: #f0b228; color: #222; padding: 12px 22px; border-radius: 3px; cursor: pointer; }
.static-search__status { margin: 18px 0; color: #666; }
.static-search__results { list-style: none; padding: 0; margin: 0; }
.static-search__results li { border-top: 1px solid #e7e7e7; padding: 16px 0; }
.static-search__results a { color: #004a99; font-size: 18px; font-weight: 600; text-decoration: none; }
.static-search__results a:hover { text-decoration: underline; }
.static-search__results p { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: #666; }
.static-search__more { display: block; margin: 16px auto 0; padding: 10px 24px; background: #f0b228; color: #222; border: 0; border-radius: 3px; }

.static-demo-note { font-size: 12px; line-height: 1.6; color: #fff; margin: 16px 0 8px; text-align: center; }
.static-terms-link { display: block; margin: 0 auto; padding: 0; border: 0; background: transparent; color: #fff; font-size: 12px; text-decoration: underline; cursor: pointer; }
.newbody .modal-dialog { max-height: calc(100dvh - 32px); }
.newbody .modal-body { overflow-y: auto; max-height: 70dvh; }
.newbody .modal-content { overflow-wrap: anywhere; }
.newbody #membership_term .modal-body { margin-right: 0 !important; }
.newbody #membership_term ul { padding-left: 24px; }

@media (max-width: 575px) {
  .container > .row.g-5 { --bs-gutter-x: 1.5rem; }
  .bt-pagination .pagination-wrapper ul { display: flex; flex-wrap: wrap; max-width: 100%; justify-content: center; row-gap: 8px; }
  .bt-fancy-box-element .bt-title, .stats-text { overflow-wrap: anywhere; }
  .events-content table { width: 100%; table-layout: fixed; white-space: normal; }
  .events-content td, .events-content th { width: auto; overflow-wrap: anywhere; }
  .static-search { padding: 22px 18px; }
  .static-search__submit { padding: 12px 16px; }
  .newbody .form-signin { max-width: 100%; padding: 16px; }
  .newbody #login .w-75 { width: 100% !important; }
  .rs-layer-wrap .rs-layer-3 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
