/**
 * 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-sales-map {
  max-width: 100%;
  padding: 0;
  background-color: var(--c-grayscale-off-white);
}

.sales-map .for-desktop {
  display: none;
}
@media (min-width: 1023px) {
  .sales-map {
    height: 50rem;
  }
  .sales-map .for-desktop {
    display: block;
  }
  .sales-map .for-mobile {
    display: none;
  }
}
.sales-map__wrapper {
  height: 100%;
  position: relative;
  padding: var(--s-8xl) var(--s-7xl) var(--s-6xl) var(--s-7xl);
}
@media (max-width: 1024px) {
  .sales-map__wrapper {
    padding: 0;
  }
}
.sales-map__body {
  display: flex;
  height: 100%;
}
@media (max-width: 1024px) {
  .sales-map__body {
    flex-direction: column-reverse;
  }
}
.sales-map__zipcode {
  margin-top: var(--s-sm);
}
.sales-map__zipcode label {
  position: relative;
  margin: 0;
}
.sales-map__zipcode label input {
  padding-right: 2rem;
}
.sales-map__zipcode label .icon {
  font-size: 1rem;
  position: absolute;
  right: 0.625em;
  top: 50%;
  transform: translateY(-50%);
}
.sales-map__types {
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (max-width: 1024px) {
  .sales-map__types {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-md);
  }
}
.sales-map__types__item {
  display: flex;
  align-items: center;
  margin-bottom: var(--s-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
}
.sales-map__types__item[data-type=subsidiary] svg, .sales-map__types__item[data-type=branch] svg {
  color: #e2001a;
}
.sales-map__types__item[data-type=sales] svg {
  color: #767576;
}
.sales-map__types__item[data-type=partner] svg {
  color: #025a5a;
}
.sales-map__types__item .icon {
  font-size: 2rem;
}
.sales-map__nav, .sales-map__aside {
  padding: var(--s-xl);
}
.sales-map__aside {
  position: relative;
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  gap: var(--s-lg);
  justify-content: space-between;
  overflow-y: scroll;
}
@media (min-width: 1023px) {
  .sales-map__aside {
    flex-basis: 40%;
    max-width: 27rem;
  }
}
.sales-map__aside .spinner-wrapper {
  display: none;
}
.sales-map__aside.loading {
  overflow-y: hidden;
}
.sales-map__aside.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);
}
.sales-map__stores {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sales-map__map {
  width: 100%;
}
@media (max-width: 1024px) {
  .sales-map__map {
    min-height: 60vh;
  }
}
@media (min-width: 1023px) {
  .sales-map__content {
    display: none;
  }
}
.sales-map .gm-ui-hover-effect {
  top: -12px !important;
  right: -12px !important;
  width: 24px !important;
  height: 24px !important;
  color: #fff !important;
  background: #000 !important;
  border-radius: 50%;
  opacity: 1 !important;
}
.sales-map .gm-ui-hover-effect > span {
  width: 22px !important;
  height: 22px !important;
  margin: 0 auto !important;
  background-color: #fff;
}
.sales-map .gm-style .gm-style-iw-c {
  max-width: 380px !important;
  border-radius: 0 !important;
}
.sales-map .gm-style-iw.gm-style-iw-c {
  padding: var(--s-xl) !important;
  overflow: initial !important;
}
.sales-map .gm-style .gm-style-iw-d {
  padding: 0 !important;
}

.info-window {
  font-size: var(--text-sm);
}
.info-window a {
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .info-window {
    padding: var(--s-lg);
    background: #fff;
  }
}
.info-window__title, .info-window__subtitle {
  font-size: var(--text-md);
  font-weight: 700;
}
.info-window__title {
  margin: 0 0 var(--s-sm);
}
.info-window__subtitle {
  margin: var(--s-lg) 0 var(--s-sm);
}
.info-window__subtitle:last-child {
  display: none;
}
.info-window__person {
  display: flex;
  gap: var(--s-sm);
}
.info-window__person + .info-window__person {
  margin-top: var(--s-xl);
}
.info-window__person__image {
  width: var(--s-8xl);
  min-width: var(--s-8xl);
}
.info-window__person__info {
  margin: 0;
  list-style: none;
}
.info-window__person__item {
  margin: 0 0 var(--s-2xs);
}
.info-window__person__email {
  margin: var(--s-md) 0 var(--s-xs);
  line-height: 1.25;
}