/**
 * Material Dealer Map component style.
 */
/**
 * Global settings.
 */
/**
 * Bacon overrides.
 */
/**
 * Mixins (imported after variables so they can use them)
 */
@keyframes skeleton-loading {
  0% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.c-store-locator {
  display: flex;
  max-width: 100%;
  padding: 0;
}

.store-locator {
  height: 50rem;
}
.store-locator__search {
  display: flex;
}
.store-locator__search button {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
}
.store-locator__search label {
  position: relative;
  display: flex;
  flex: 1;
  margin: 0;
}
.store-locator__search label input {
  padding-right: 2rem;
}
.store-locator__search label .icon {
  position: absolute;
  right: 0.625em;
  width: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
}
.store-locator__nav {
  position: relative;
  flex-basis: 100%;
  padding: 1.5rem;
  overflow-y: scroll;
  background-color: var(--c-grayscale-off-white);
}
@media (min-width: 992px) {
  .store-locator__nav {
    flex-basis: 40%;
    max-width: 27rem;
  }
}
.store-locator__map {
  display: none;
}
@media (min-width: 992px) {
  .store-locator__map {
    display: initial;
    flex: 1;
    width: 100%;
  }
}
.store-locator__stores {
  padding: 0;
  margin: 0;
  list-style: none;
}
.store-locator__partners {
  margin-top: var(--s-sm);
}
.store-locator__partners-title {
  font-weight: 700;
  margin-bottom: var(--s-sm);
}
.store-locator__partners-container img {
  width: auto;
  margin-bottom: var(--s-sm);
}

.single-store {
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  cursor: pointer;
  background-color: #fff;
}
.single-store > *:not(a) {
  cursor: initial;
}
.single-store .opening-hours {
  margin-top: 14px;
  font-size: 0.9em;
}
.single-store .opening-hours__current {
  display: flex;
  align-items: center;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  text-align: left;
  background: none;
  border: none;
}
.single-store .opening-hours__current[data-isopen=true] span:first-child {
  margin-right: 10px;
  font-weight: bold;
  color: green;
}
.single-store .opening-hours__current[data-isopen=false] span:first-child {
  margin-right: 10px;
  font-weight: bold;
  color: #e2001a;
}
.single-store .opening-hours__current .time {
  flex: 1;
}
.single-store .opening-hours__current.active .icon {
  transform: scale(-1);
}
.single-store .opening-hours ul {
  display: none;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding: 0;
  margin: 0;
  margin-top: 0.625rem;
  list-style: none;
}
.single-store .opening-hours li {
  display: flex;
  justify-content: space-between;
  margin: 2px 0;
}
.single-store .opening-hours li .time {
  margin-left: 0.625rem;
}
.single-store .opening-hours__current.active ~ ul {
  display: inline-block;
}
.single-store.active, .single-store:hover {
  box-shadow: -4px 0 0 0 var(--c-brand);
}
.single-store.no-state {
  cursor: initial;
  box-shadow: none;
}
.single-store__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.27;
  color: #000;
}
.single-store__details {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.single-store__distance {
  display: flex;
  align-items: center;
  /* stylelint-disable */
  /* stylelint-enable */
}
.single-store__distance svg {
  margin-right: 4px;
}
.single-store__address {
  flex: 1;
}

.store-locator__nav .spinner-wrapper {
  display: none;
}

.store-locator__nav.loading {
  overflow-y: hidden;
}

.store-locator__nav.loading .spinner-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 226, 226, 0.6);
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: 100px auto;
  text-indent: -9999px;
  background-color: #333;
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}