#subtileContainer {
  font-size: max(1.75vh, 10px);
  font-family: var(--font-body-light);
  font-weight: var(--font-weight-regular);
}

#subtileContainer .address-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rightSide hr,
.leftSide hr {
  margin: var(--hr-margin-map) !important;
  color: var(--hr-color-map) !important;
}

.mapKey {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.mapKey div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-body-light);
  font-size: 0.85rem;
}

.mapKey img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
}

.switchers-container {
  display: flex;
  gap: 1rem;
}

#hotspots img {
  border-radius: 50%;
  /* transition: all 0.3s; */
  border: none !important;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
  scale: 0.9;
}

#hotspots img:hover {
  outline: 2px solid rgba(255, 255, 255, 1);
  scale: 1;
}

#hotspots img:is([src*="employers-Adelaide-CBD"]) {
  outline: none !important;
  pointer-events: none !important;
  border-radius: 0% !important;
}

.mapPinInside {
  width: 100%;
  height: 100%;
  background-color: black;
  box-sizing: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  transition: all 0.2s ease;
  border: none !important;
  outline: 3px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  scale: 0.8;
}

.mapPinInside:hover {
  border: none !important;
  box-shadow: none !important;
  outline: 3px solid rgba(255, 255, 255, 1);
  scale: 0.9;
}

.mapPin,
.mapPoi,
.mapProjectPin {
  width: var(--hotspotSize);
  height: var(--hotspotSize);
  cursor: default;
  z-index: 1;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: var(--hotspotIconSize);
  transform: translateY(50%);
}

.mapPin[data-group="project"] .mapPinInside {
  background-image: url(/wp-content/uploads/icons/site-location/airport.svg);
  background-size: contain;
}
#hotspots
  img:is(
    [src*="employers-epping-cbd"],
    [src*="employers-melbourne-cbd"],
    [src*="future-rd"],
    [src*="craigieburn-rd"],
    [src*="andrew-rd"],
    [src*="epping-rd"],
    [src*="boundary-rd"],
    [src*="conservation"],
    [src*="sport"],
    [src*="lightindusrial"],
    [src*="localpark"],
    [src*="nonegovernment"],
    [src*="residential-lable"],
    [src*="overlable-school"],
    [src*="overlable-town-centre"],
    [src*="retail"]
  ) {
  outline: none !important;
  pointer-events: none !important;
  border-radius: 0% !important;
}
#hotspots
  img:is(
    [src*="stage1"],
    [src*="stage2"],
    [src*="new-road"],
    [src*="23-size"],
    [src*="25-size"],
    [src*="eoc"],

  ):hover {
  outline: none !important;
  scale: 1;
  cursor: default !important;
}
#hotspots img:is([src*="site"], ) {
  scale: 1.2 !important;
  animation: pulseOutline 2s infinite ease-out;
  border: 2px solid white !important;
}

#hotspots img:is([src*="site-mapkey-1"], ) {
  outline-width: 0px;
  outline-color: rgba(255, 255, 255, 0);
  border: 5px solid white !important;
  animation: pulseOutline 2s infinite ease-out;
}

.mapPinInsideNumber {
  display: none;
}

.mapPin[data-pin-id=""] > div {
  background-image: url("/wp-content/uploads/icons/site-location/building.svg") !important;
}

.gmapCircleLabel {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: rgb(25, 25, 25) !important;
}

.gMapPin.mapPin[data-group="medical"] > div {
  background-color: #3f65c7;
  background-image: url("/wp-content/uploads/icons/site-location/health.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="recreation"] > div {
  background-color: #93a83c;
  background-image: url("/wp-content/uploads/icons/site-location/recreation.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="shopping"] > div {
  background-color: #c7883f;
  background-image: url("/wp-content/uploads/icons/site-location/shopping.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="transit"] > div {
  background-color: #457c5b;
  background-image: url("/wp-content/uploads/icons/site-location/transit.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="education"] > div {
  background-color: #933fc7;
  background-image: url("/wp-content/uploads/icons/site-location/education.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="employers"] > div {
  background-color: #0e8780;
  background-image: url("/wp-content/uploads/icons/site-location/employers.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="arterials"] > div {
  background-color: #87480e;
  background-image: url("/wp-content/uploads/icons/site-location/arterials.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="petrol"] > div {
  background-color: #c74e3fff;
  background-image: url("/wp-content/uploads/icons/site-location/gas.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="fb"] > div {
  background-color: #ff60a8ff;
  background-image: url("/wp-content/uploads/icons/site-location/fb.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="logistics"] > div {
  background-color: #6358c7ff;
  background-image: url("/wp-content/uploads/icons/site-location/logistics.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="residential"] > div {
  background-color: #ec8a65ff;
  background-image: url("/wp-content/uploads/icons/site-location/residential.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="development"] > div {
  background-color: #2bcbcb;
  background-image: url("/wp-content/uploads/icons/site-location/development.svg") !important;
  background-size: contain;
}

.gMapPin.mapPin[data-group="siteLocation"] > div {
  background-color: #6358c7ff;
  background-image: url("/wp-content/uploads/icons/site-location/logo_circle.png") !important;
  background-size: contain;
  z-index: 10000 !important;
  transform: scale(1.4);
}

.gMapPin.mapPin[data-pin-id="884"] > div {
  background-image: url("/wp-content/uploads/icons/site-location/airport.svg") !important;
}

.gMapPin.mapPin[data-pin-id="645"] > div {
  background-image: url("/wp-content/uploads/icons/site-location/airport.svg") !important;
}

.gMapPin.mapPin[data-pin-id="1020"] > div {
  background-image: url("/wp-content/uploads/icons/site-location/port.svg") !important;
}

.gMapPin.mapPin[data-pin-id="448"] > div {
  background-image: url("/wp-content/uploads/icons/site-location/hotel.svg") !important;
}

.pinTooltip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: bolder;
  font-family: var(--fontHeader);
}

.pinTooltip div:nth-child(2) {
  font-weight: bold;
}

/* ----------------------------- */

.mapContainer {
  transform: translateX(0);
}

.panoContainer {
  transform: translateX(100%);
}

.locationPagePanoContainerHide {
  transform: translateX(100%);
}

.locationPagePanoContainerVisible {
  transform: translateX(0);
}

.locationMapContainerHide {
  transform: translateX(-100%);
}

.locationMapContainerVisible {
  transform: translateX(0);
}

.location360ContainerHide {
  transform: translateX(100%);
}

.location360ContainerVisible {
  transform: translateX(0);
}

/* -------TOGGLE SWITCH------- */

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid #cccccc73;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  vertical-align: bottom;
  margin: 0;
  margin-right: 0.5rem;
  transition: border 0.2s;
}

.toggleSwitchContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto !important;
  width: fit-content;
  margin-top: 1.5rem;
}

.toggle-switch {
  position: relative;
  width: max(3.5rem, 40px);
  height: max(1.75rem, 20px);
  /* margin-top: 10px; */
  pointer-events: auto !important;
  /* box-shadow: 0 0 20px rgb(60, 60, 60); */
}

.mode-view-title {
  padding: 0;
  margin: 0;
  text-shadow: 0 0 10px #2b2b2b;
  font-size: max(1.4vh, 13px);
  font-family: var(--font-body);
}

.toggle-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 30px;
  transition: background-color 0.3s;
  outline: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgb(60, 60, 60);
}

.toggle-label:before {
  position: absolute;
  content: "";
  height: max(1.35rem, 15px);
  width: max(1.35rem, 15px);
  left: max(0.1rem, 3px);
  bottom: max(0.1rem, 3px);
  background-color: var(--color-tertiary);
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-input:checked + .toggle-label:before {
  transform: translateX(max(1.7rem, 20px));
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-input:checked + .toggle-label {
  background-color: var(--color-primary);
}

input[type="checkbox"]:checked {
  background: var(--color-secondary);
}

label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body) !important;
  color: white;
}

/* --------------------------------------- */

/* Mobile Landscape  */
@media only screen and (min-width: 412px) and (max-height: 767px) and (orientation: landscape) {
  #subtileContainer {
    display: block;
  }
  [data-theme~="poi-popup-tippy"] .tippy-content {
    width: 120px !important;
  }

  .leftSide {
    width: 50% !important;
  }
}

/* Tablet Landscape  */
@media only screen and (min-width: 1024px) {
  .mapKey {
    display: flex;
  }

  #subtileContainer {
    display: block;
  }

  section {
    margin-top: 0;
  }

  .popup-poi-title {
    font-size: 1rem;
  }

  .popup-poi-description {
    font-size: 0.9rem;
  }

  .toggleSwitchContainer {
    margin-top: 0;
  }
  [data-theme~="poi-popup-tippy"] .tippy-content {
    width: 250px !important;
  }

  .switchers-container {
    flex-direction: column;
  }
}