.dnd-module {
  --contact-locations-mobile-height: 400px;
  --contact-locations-desktop-min-height: 500px;
  --contact-locations-desktop-height: 75vh;
  --contact-locations-desktop-max-height: 800px;
  --contact-locations-find-contact-location-height: 35px;
  --contact-locations-line-separator: rgb(0 0 0 / 20%);
}

/* overall grouping */

.flex-wrapper {
  display: flex;
  flex-flow: column-reverse wrap;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
}

.flex-item-33 {
  width: 100%;
  overflow: hidden;
}

.flex-item-66 {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.flex-item-33 .sorting--block {
  background: var(--contact-locations-background-color);
  /* height: 400px; */
  padding: 20px;
  position: relative;
  border-right: 1px solid #e5e7eb;
}

.flex-item-33 .sorting--block .list-scroll {
  height: 100%;
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  padding-right: 20px;
  margin-right: -25px;
}

.flex-item-66 #map {
  height: var(--contact-locations-mobile-height);
}

/* header */

.flex-item-33 .sorting--block h4 {
  color: var(--contact-locations-text-font-color);
  display: block;
}

@media (min-width: 768px) { /* desktop specific */
  .flex-wrapper {
    flex-flow: row wrap;
  }

  .flex-item-33 {
    width: 33%;
  }

  .flex-item-66 {
    width: 67%;
  }

  .flex-item-33 .sorting--block {
    padding: 20px 40px;
  }

  .flex-item-33 .sorting--block,
  .flex-item-66 #map {
    min-height: var(--contact-locations-desktop-min-height);
    height: var(--contact-locations-desktop-height);
    max-height: var(--contact-locations-desktop-max-height);
  }
}

.store--navigation {
  display: none;
}

.store--navigation.active--store {
  display: block;
}

.container.xsmall-container {
  width: 600px !important;
}

.no-padding-bottom {
  padding-bottom: 0 !important;
}

/* contact location list */

.contact-locations--sorting {
  font-weight: normal;
  color: var(--contact-locations-text-font-color);
  padding: 12px 0;
}

.contact-locations--sorting:not(.last-child) {
  border-bottom: 1px solid var(--secondary1-color);
}

.contact-locations--sorting .btn {
  margin-top: 15px;
  margin-right: 10px;
}

.contact-locations--sorting a:not(.btn) {
  font-weight: normal;
  color: var(--contact-locations-text-font-color);
}

.contact-locations--info {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 15px;
}

.contact-locations--info--arrow {
  cursor: pointer;
  width: 35px;
  height: 35px;
  padding: 10px;
  position: absolute;
  top: -2px;
  right: 10px;
  transition: transform 0.1s linear;
  transform: rotate(0);
  fill: var(--contact-locations-text-font-color);
  display: none;
}

.contact-locations--sorting.active .contact-locations--info--arrow {
  transform: rotate(180deg);
}

.contact-locations--info--header {
  display: inline-block;
  font-size: var(--theme-typography-heading-h5-font-size);
  font-weight: var(--theme-typography-heading-h5-font-weight);
  /* margin-right: 35px; /* space for expand arrow */
  float: left;
}

.contact-locations--info--header2 {
  display: inline-block;
  /* margin-right: 35px; /* space for expand arrow */
  clear: both;
  float: left;
}

.contact-locations--info--clickable {
  cursor: pointer;
}

/* adjustment for tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .contact-locations--info--arrow {
    right: 0;
  }

  .contact-locations--info--header {
    padding-right: 15px; /* space for expand arrow */
  }
}

.contact-locations--expand {
  height: 0;
  overflow: hidden;
}

.contact-locations--sorting.active .contact-locations--expand {
  height: 100%;
}

.contact-locations--expand--info {
  margin-bottom: 15px;
}

/* Map overlay loading current position */
.map-overlay-loading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(229 227 223); /* google maps bg */
  z-index: 20;
}

.map-overlay-loading .map-overlay-loading-icon {
  font-size: 60px;
  color: #666;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-overlay-loading.loader-active {
  display: block;
}
