.s-map__filter-icon-wrap,
.s-map__filter {
  transition: all 0.3s ease-out;
}
.s-map__filter-btn {
  top: 30px;
  left: 21px;
  background: var(--5-color);
  color: var(--4-color);
  padding: 15px;
  min-width: 120px;
  border-color: var(--5-color);
  font-size: var(--1-rem);
}
.s-map__mapbox {
  padding: 40px 55px;
}
.s-map__filter {
  position: relative;
  z-index: 2;
  background: var(--1-color);
  color: var(--2-color);
  padding: 80px 65px 70px;
  max-width: 420px;
  border-radius: 6px;
  pointer-events: auto;
  margin-right: 12px;
}
.s-map__filter-wrap {
  pointer-events: none;
}
.s-map__filter-wrap.is-active {
  opacity: 1 !important;
  visibility: visible !important;
}
.s-map__filter-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--body-color);
  border: 1px solid currentColor;
  top: 30px;
  left: 21px;
  z-index: 2;
}
.s-map__filter-close:after, .s-map__filter-close:before {
  content: "";
  position: absolute;
  width: 15px;
  background: var(--body-bg);
  height: 2px;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  transition: all 0.2s ease;
}
.s-map__filter-close:after {
  transform: rotate(45deg);
}
.s-map__filter-close:before {
  transform: rotate(-45deg);
}
.s-map__heading {
  font-size: calc(var(--1-rem) * 3);
  padding: 0;
  width: auto;
  max-width: none;
  flex: auto;
  margin: 0 -20px 16px;
}
.s-map__description {
  margin-bottom: 30px;
  max-width: 270px;
}
.s-map__filter-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--5-color);
  color: var(--4-color);
  border-radius: 50%;
  margin: 0 auto 6px;
}
.s-map__filter-item.active .s-map__filter-icon-wrap {
  background: var(--2-color);
}
.s-map__filter-item {
  flex: 0 0 auto;
  width: 50%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: calc(var(--1-rem) * 0.9375);
}
.s-map__filter-item:hover:not(.active) .s-map__filter-icon-wrap {
  background: var(--5-color);
}
.s-map__filter-item:not(:nth-last-child(-n + 2)) {
  margin-bottom: 45px;
}
.map-attribute.map-attribute__bottom-right .mapboxgl-ctrl-bottom-right {
  display: block;
  right: 56px;
  bottom: 44px;
}
.map-attribute.map-attribute__bottom-left .mapboxgl-ctrl-bottom-left {
  display: block;
  left: 55px;
  bottom: 44px;
}
.map-attribute.map-attribute__bottom-left .mapboxgl-ctrl-logo {
  display: none !important;
  margin: 0;
}
.map-attribute .mapboxgl-ctrl-attrib, .map-attribute .mapboxgl-ctrl-compass {
  display: none;
}
.map-attribute .mapboxgl-ctrl-zoom-out, .map-attribute .mapboxgl-ctrl-zoom-in {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: var(--1-color);
  border: 1px solid var(--1-color);
}
.map-attribute .mapboxgl-ctrl-zoom-in {
  margin-bottom: 7px;
}
.map-attribute .mapboxgl-ctrl-group {
  border: none;
  background: none;
  box-shadow: none;
  margin: 0;
}
.map-attribute .mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon {
  background: no-repeat url("../../images/icons/icon-map-minus.svg") center center !important;
}
.map-attribute .mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon {
  background: no-repeat url("../../images/icons/icon-map-plus.svg") center center !important;
}
.mapboxgl-ctrl button:not(:disabled):hover {
  background-color: #545454;
}
@media (min-width: 1200px) {
  .map-homepage {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
  }
  .map-scroll-zoom-blocker-left .mapboxgl-scroll-zoom-blocker,
  .map-scroll-zoom-blocker-left .mapboxgl-touch-pan-blocker {
    justify-content: flex-start;
    padding-left: 20%;
  }
}
@media (max-width: 1439.9px) {
  .map-scroll-zoom-blocker-left .mapboxgl-scroll-zoom-blocker,
  .map-scroll-zoom-blocker-left .mapboxgl-touch-pan-blocker {
    padding-left: 8%;
  }
  .s-map__mapbox {
    padding: 25px;
  }
}
@media (max-width: 1199.9px) {
  .map-homepage {
    height: 100%;
  }
  .s-map__mapbox {
    padding: 0;
    height: 700px;
  }
  .s-map__filter-wrap {
    position: absolute !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    z-index: 2 !important;
    border-top: 1px solid var(--5-color);
    border-bottom: 1px solid var(--5-color);
  }
  .s-map__filter {
    height: 100%;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  .s-map__heading {
    margin: 0 0 16px;
    width: 100%;
  }
  .s-map__description {
    max-width: 100%;
  }
}
@media (max-width: 767.9px) {
  .map-attribute.map-attribute__bottom-left .mapboxgl-ctrl-bottom-left {
    display: block;
    left: 30px;
    bottom: 30px;
  }
  .map-attribute.map-attribute__bottom-right .mapboxgl-ctrl-bottom-right {
    display: block;
    right: 30px;
    bottom: 30px;
  }
}
@media (max-width: 575.9px) {
  .map-attribute.map-attribute__bottom-left .mapboxgl-ctrl-bottom-left {
    left: 15px;
    bottom: 15px;
  }
  .map-attribute.map-attribute__bottom-left .mapboxgl-ctrl-bottom-right {
    right: 15px;
    bottom: 15px;
  }
  .s-map__filter-close {
    top: 15px;
    left: 15px;
  }
  .s-map__filter {
    padding: 60px 15px 20px;
  }
  .s-map__description {
    margin-bottom: 30px;
  }
  .s-map__filter-btn {
    min-width: 120px;
  }
  .s-map__heading {
    font-size: calc(var(--1-rem) * 2.375);
  }
}
@media (min-width: 576px) and (max-height: 999px) {
  .s-map__description {
    margin-bottom: 30px;
  }
}
@media (min-width: 576px) and (max-height: 879px) {
  .s-map__filter {
    padding: 30px 20px;
  }
}