/* Rules the site used to get from WordPress and its plugins, plus the static replacements. */

/* From wp-block-library: only the image block is used in post content. */
.wp-block-image { margin: 0 0 1em; }
.wp-block-image img { height: auto; max-width: 100%; vertical-align: bottom; }
.wp-block-image .aligncenter { display: table; margin-left: auto; margin-right: auto; }

/* The logo is wrapped in an h1 on the home page and a div elsewhere; keep it in the same place. */
.s-header__title { margin: 0; font: inherit; }

/* Review slider: the theme's Owl Carousel classes, driven by site.js */
.owl-carousel .owl-stage { display: flex; transition: transform .25s ease; }
.owl-carousel .owl-item { flex: 0 0 100%; min-width: 0; }

.js-submenu.is-open { display: block; }
.c-ajax-container-header__breadcrumbs[hidden],
.js-product-empty[hidden],
.js-product-pagination[hidden],
.c-product-block[hidden] { display: none !important; }
.t-archive__category,
.pagination__click { cursor: pointer; }

/* Store locator */
.wpsl-locate {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
/* The plugin hid this select and drew its own dropdown with JS; the native one does the job. */
#wpsl-search-wrap #wpsl-radius-dropdown {
  display: block;
  visibility: visible;
  opacity: 1;
  width: 100%;
  height: 56px;
  padding-left: 1.5rem;
  border: 0;
  border-radius: 0;
  background-color: #fff;
  color: #000;
  font: inherit;
  cursor: pointer;
}
#wpsl-gmap { z-index: 0; }
#wpsl-stores, #wpsl-gmap { height: 750px !important; }
#wpsl-gmap .wpsl-info-window { max-width: 225px; }
#wpsl-stores li.is-active { background: rgba(0, 0, 0, .04); }
#wpsl-stores .wpsl-no-results { padding: 16px; }
@media (max-width: 675px) {
  #wpsl-stores { height: auto !important; }
  #wpsl-gmap { height: 400px !important; }
}

.gform_confirmation_message { padding: 24px 0; }
