.cm-layer {
  pointer-events: none;
  display: block;
  opacity: 0;
  transition: opacity 250ms ease;
}

.cm-layer.open {
  opacity: 1;
}

.cm-layer__body {
  pointer-events: none;
  transition: all 250ms ease;
  opacity: 0;
  scale: 0.75;
}

.ico-search:before {
  background-image: url(https://lad.digitalkanvas.ca/images/ico-search-black.png) !important;
}
.cp-locate-distributor
  .enter-postcode-popup
  .cm-enter-postcode-popup__use-location
  .cm-btn-more.is-location:after {
  background-image: url(https://lad.digitalkanvas.ca/images/ico-location-b-1.png);
}

.open-body .cm-layer__body {
  opacity: 1;
  scale: 1;
  pointer-events: all;
}

.cm-message-error {
  display: none;
}
.cm-message-error.open {
  display: block;
}

#map {
  height: 100vh;
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  max-height: 605px !important;
}
.gm-style .gm-style-iw-ch {
  padding: 0 !important;
}

.gm-style .gm-style-iw-d {
  padding: 0;
  overflow: hidden !important;
  max-height: 605px !important;
}

.gm-ui-hover-effect {
  display: none !important;
}

.cm-find-map .map-marker {
    color: white;
    padding-top: 2px;
    background-image: url("https://lad.digitalkanvas.ca/images/marker-default.png");
}

    .cm-find-map .map-marker.is-active {
        color: white;
        background-image: url("https://lad.digitalkanvas.ca/images/marker-default.png"); /* marker-active.png */
    }

.cp-locate-distributor
  .cm-find-map__use-location
  .cm-btn-more.is-location:after {
  background-image: url("https://lad.digitalkanvas.ca/images/ico-location-b-1.png");
}

.iw-header {
  display: flex;
}

.iw-header-texts {
  padding: 40px 20px 40px 40px;
  text-align: start;
  background-color: black;
  color: white;
  flex: 1;
  text-transform: uppercase;
  font-family: "genesis-head", sans-serif;
}

.iw-mobile .iw-header-texts {
  padding: 28px 20px 32px 20px;
}

.iw-header-texts-title {
  font-size: 30px;
  line-height: 30px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 19px;
  font-family: "genesis-head-light", sans-serif;
}

.iw-header-texts-services-offered {
  font-weight: 400;
  font-size: 13px;
  line-height: 15.6px;
  margin-bottom: 8px;
}

.iw-header-texts-service {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
}

.iw-header-image {
  flex: 1;
}
.iw-header-image img {
  width: 100%;
}

.iw-content {
  width: 680px;
}

.iw-content.iw-mobile {
  width: 526px !important;
}

.iw-body {
  padding: 40px 40px 30px 40px;
  display: flex;
  gap: 40px;
  font-family: "genesis-text-medium", sans-serif;
}

.iw-body.iw-mobile {
  gap: 24px;
}

.iw-body-address-icon::before {
  background-image: url(https://lad.digitalkanvas.ca/images/ico-location.png);
  width: 17.57px !important;
  height: 25px !important;
}

.iw-body-phone-icon::before {
  background-image: url(https://lad.digitalkanvas.ca/images/ico-phone.png) !important;
}

.iw-body-email-icon::before {
  background-image: url(https://lad.digitalkanvas.ca/images/ico-email.png);
  width: 23px !important;
  height: 16px !important;
  margin-top: 2px;
}

.iw-body-time-icon::before {
  background-image: url(https://lad.digitalkanvas.ca/images/ico-time.png);
}

.iw-footer {
  display: flex;
  gap: 15px;
  padding: 0 40px 40px 40px;
}

.iw-footer > * {
  flex: 1;
  min-width: 180px;
  font-weight: 400;
  height: 53px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.iw-footer .btn-text {
  line-height: 18px;
  font-size: 15px !important;
}

.iw-mobile.iw-footer > * .text {
  font-size: 16px;
}
.iw-mobile.iw-footer > * {
  display: block;
}

.iw-body-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.iw-mobile .iw-body-left {
  padding-bottom: 18px;
  border-bottom: 1px solid #e1e1e1;
}

.iw-body-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iw-body-desc {
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 500;
  color: black;
  word-wrap: break-word;
  position: relative;
  padding-left: 34px;
}

.iw-body-link-underline {
  text-decoration: underline;
}

.iw-body-weight-700 {
  font-family: "genesis-text-bold", sans-serif;
  font-weight: 700;
}

.iw-body-desc a {
  color: black;
}

.iw-body-desc a:visited {
  color: black;
}

.iw-body-desc::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 23px;
  height: 23px;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.iw-header.iw-mobile {
  flex-direction: column-reverse;
}

.iw-mobile .iw-header-texts-title {
  font-size: 24px;
}

.close-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  background-color: transparent;
}

.close-btn button {
  width: 20px;
  height: 20px;
  color: black;
}

.close-btn.white button {
  color: white;
}

.close-btn button svg {
  fill: currentColor;
  width: 1.5rem;
  height: 1.5rem;
}

.close-btn-v2 {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: -14px;
  top: -14px;
  width: 28px;
  height: 28px;
  background-color: white;
  border-radius: 50%;
  border: 1px solid black;
}

.close-btn-v2 button {
  width: 12px;
  height: 12px;
}

.close-btn-v2.is-mobile button {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn-v2 button .svg-icon {
  width: 100%;

}

.iw-body.iw-mobile {
  flex-direction: column;
  text-align: start;
  padding: 24px;
}

.iw-footer.iw-mobile {
  flex-direction: column;
  padding: 0 24px 24px 24px;
}

.iw-body a:focus {
  outline: none;
}

.cm-find-map__map-area.is-pc {
  width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
}

:root {
  --sidebar-width: 360px;
}

.iw-header:not(.iw-mobile) .iw-header-image img {
  width: 340px;
}

@media (min-width: 1366px) {
  :root {
    --sidebar-width: 440px;
  }
  .iw-content {
    width: 734px;
  }
  .iw-header-image img {
    width: 367px;
  }

  .cm-find-map__view-more {
    padding-left: 68px;
    padding-right: 40px;
  }
} 

.cm-find-map__search-desc {
  text-transform: uppercase;
}

.cm-find-map__scroll-area {
  flex-basis: auto;
  flex-grow: 0;
}

.cm-find-map__view-more {
  padding: 0px 3rem 16px;
  flex: 1;
}

.map-marker-label-active {
  margin-top: 10px;
}

.map-marker-label {
  margin-top: 6px;
}

.cm-find-map__store-list {
  padding-bottom: 16px;
}

@media (min-width: 1200px) {
  .cm-find-map__view-more {
    padding: 0 40px 32px 68px;
  }
}

.cta-button .text {
    font-size: 1.6rem !important;
}
