body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  padding: 0;
  background: #56565a;
  background: #111;
  background: url(img/grid-background-dark.svg);
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.interactive-map {
  background: url(img/grid-background.svg);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  max-width: 1212px;
  max-height: 920px;
  position: relative;
  outline: 0;
}
@supports (-webkit-touch-callout: none) {
  .interactive-map {
    height: -webkit-fill-available;
  }
}
.interactive-map .map {
  width: 1212px;
  height: 920px;
  background: url(img/map-background.svg);
  background: url(img/map-background-sans-north.svg);
  background-size: cover;
}
.interactive-map .map:hover {
  cursor: -webkit-grab;
  cursor: grab;
}
.interactive-map .map:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.interactive-map .map img {
  position: absolute;
  -webkit-transition: all 600ms ease;
  transition: all 600ms ease;
}
.interactive-map .map img.text-header {
  margin-bottom: 1rem;
}
.interactive-map .map img.access {
  left: 202.99px;
  top: 217.99px;
  z-index: 1;
}
.interactive-map .map img.offices {
  left: 525.13px;
  top: 278.5px;
}
.interactive-map .map img.hotels {
  left: 841.03px;
  top: 563.39px;
}
.interactive-map .map img.recreational {
  left: 668.09px;
  top: 304.72px;
  z-index: 1;
}
.interactive-map .map img.residential {
  left: 258.26px;
  top: 8.79px;
}
.interactive-map .map img.shopping {
  left: 814.89px;
  top: 687.21px;
}
.interactive-map .map img.routes-streetnames {
  left: 214.82px;
  top: 214.12px;
  z-index: 1;
}
.interactive-map .map img.routes-slex {
  left: 117px;
  top: 241px;
  z-index: -1;
}
.interactive-map .map img.routes-edsa {
  left: 364.2px;
  top: 210.9px;
  z-index: -1;
}

.map-controls {
  position: absolute;
  right: 1rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.map-controls .btn {
  background: rgba(213, 144, 33, 0.75);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  padding: 0.5rem;
}

.map-layers {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  -webkit-transition: all 600ms ease;
  transition: all 600ms ease;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: blur(0.75rem);
          backdrop-filter: blur(0.75rem);
  font-family: "Barlow Condensed", serif;
  color: #707070;
  padding: 1rem 1rem 2rem;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem;
  z-index: 3;
  -webkit-box-shadow: 0 -20px 25px -5px rgba(0, 0, 0, 0.1), 0 -8px 10px -6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 -20px 25px -5px rgba(0, 0, 0, 0.1), 0 -8px 10px -6px rgba(0, 0, 0, 0.1);
}
.map-layers.hide {
  bottom: -9rem;
}
@media (min-width: 992px) {
  .map-layers {
    padding: 1rem 3rem 1.5rem;
  }
}
.map-layers h1 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.25rem;
}
.map-layers ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 1rem;
}
.map-layers ul li {
  cursor: pointer;
}
.map-layers ul li.btn {
  pointer-events: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0.25rem 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all 600ms ease;
  transition: all 600ms ease;
}
.map-layers ul li.btn::before {
  content: "";
  display: block;
  height: 18px;
  width: 18px;
  background: #fff;
  margin-right: 0.25rem;
}
.map-layers ul li.btn-access::before {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 6px #6f4a9d solid;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.map-layers ul li.btn-offices::before {
  background: #4686c6;
}
.map-layers ul li.btn-hotels::before {
  background: #fecd2f;
}
.map-layers ul li.btn-shopping::before {
  background: #ec3546;
}
.map-layers ul li.btn-residential::before {
  background: #4f777b;
}
.map-layers ul li.btn-recreational::before {
  background: #70b581;
}
.map-layers ul li.btn-routes-slex::before {
  background: #e4b66e;
}
.map-layers ul li.btn-routes-edsa::before {
  background: #e4b66e;
}
.map-layers ul li.btn.unchecked {
  opacity: 0.35;
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}

.map-layers-overlay {
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  -webkit-transition: all 600ms ease;
  transition: all 600ms ease;
}

.hide {
  opacity: 0;
}
.hide:not(.routes) {
  -webkit-transform: translateY(-2rem);
          transform: translateY(-2rem);
}