/* Small additions on top of the original theme CSS (wp-*.css). */

/* Carousel slides (Bootstrap rules were loaded by the Content Views script) */
.pt-cv-carousel .carousel-inner > .item { display: none; }
.pt-cv-carousel .carousel-inner > .item.active { display: block; }
.pt-cv-carousel .carousel-inner { position: relative; overflow: hidden; width: 100%; }

/* Latest Posts while the next page is loading */
#latest-posts { transition: opacity .2s; }

/* Sticky share bar on posts (hidden while the footer is on screen, see site.js) */
.nc_wrapper.bottom .swp_social_panel { box-sizing: border-box; }
.nc_wrapper.bottom { transition: transform .3s ease, visibility .3s; }
.nc_wrapper.bottom.ww-share-hidden { transform: translateY(100%); visibility: hidden; }
@media (max-width: 767px) {
  .nc_wrapper.bottom .swp_social_panel { width: auto; margin-left: 8px !important; margin-right: 8px !important; }
}

/* Live search dropdown under the header search field */
.ast-search-menu-icon .search-form { position: relative; }
.ast-live-search-results[hidden] { display: none; }
.ast-live-search-results { top: 100%; min-width: 280px; right: 0; left: auto; text-align: left; }
.ast-live-search-results .ast-search--posttype-heading { display: block; width: 100%; padding: 10px 8px 4px; font-weight: 600; font-size: 13px; text-transform: uppercase; color: var(--ast-global-color-3); }
.ast-live-search-results .ast-search-item { display: block; width: 100%; padding: 8px; border-radius: 4px; color: var(--ast-global-color-2); line-height: 1.4; }
.ast-live-search-results .ast-search-item:hover,
.ast-live-search-results .ast-search-item:focus { background: var(--ast-global-color-5, #f3f4f6); color: var(--ast-global-color-0); }
.ast-live-search-results .ast-search--no-results-heading { padding: 10px 8px; }

/* Search page / 404 search form */
.ww-search-page-form { display: flex; gap: 8px; margin-top: 1em; max-width: 520px; }
.ww-search-page-form label { flex: 1; }
.ww-search-page-form .search-field { width: 100%; }
.ww-search-empty { padding: 0 1em; }

/* Contact form: hidden spam trap + CF7 spinner/tips */
.ww-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wpcf7-form.submitting .wpcf7-spinner { visibility: visible; }
.wpcf7-not-valid-tip { color: #dc3232; font-size: 1em; font-weight: normal; display: block; margin-top: -14px; margin-bottom: 14px; }
.wpcf7-response-output:empty { display: none; }
