#subtileContainer {
  font-size: max(2vh, 10px);
  font-weight: 400;
  font-family: var(--fontRegular);
}

#subtileContainer .subtileText {
  margin: 10px 0;
  font-weight: 100;
  display: none;
  max-width: 80%;
}

.mapKey {
  /* display: flex; */
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}

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

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

.leftSide hr {
  margin: 12px 0 !important;
}

#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.8;
}

#hotspots img:hover {
  outline: 2px solid rgba(255, 255, 255, 1);
  scale: 1.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;
  /* border: solid 2px rgba(255, 255, 255, 0.2); */
  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;
}

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

.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-Brisbane-CBD"]) {
  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 !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;
}

.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="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="439"] > div {
  background-image: url("/wp-content/uploads/icons/site-location/airport.svg") !important;
}

.gMapPin.mapPin[data-pin-id="390"] > div {
  background-image: url("/wp-content/uploads/icons/site-location/airport.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;
}

.panoContainer,
.mapContainer {
  width: 100%;
  height: 100%;
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 0;
}

.mapContainer {
  transform: translateX(0);
}

.panoContainer {
  transform: translateX(100%);
  z-index: 1;
}

.mapContainer,
.panoContainer {
  transition: transform 1.5s ease;
}

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

.locationPagePanoContainerVisible {
  transform: translateX(0);
}

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

.locationMapContainerVisible {
  transform: translateX(0);
}

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

.location360ContainerVisible {
  transform: translateX(0);
}

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

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

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;
}

.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); */
}

.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.4rem, 15px);
  width: max(1.4rem, 15px);
  left: max(0.1rem, 3px);
  bottom: max(0.1rem, 3px);
  background-color: white;
  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(--colorBrandSecondary);
}

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

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

/* --------------tippy-------------------- */

[data-theme~="poi-popup-tippy"] .tippy-content {
  width: 200px !important;
}

.popup-poi-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-poi-top {
  margin-bottom: 0.6rem;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  overflow: hidden;
}

.popup-poi-top img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 65px;
  display: block;
}

.popup-poi-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-poi-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0.6rem;
  /* font-weight: bold; */
  font-size: 1.2rem;
  font-family: var(--fontHeader);
  font-weight: 550;
}

.popup-poi-route {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}

.popup-poi-route img {
  width: 1.3rem;
  height: auto;
  vertical-align: middle;
}

.popup-poi-route div {
  font-size: 0.8rem;
  color: #888;
  font-weight: bold;
}

.popup-poi-description {
  text-align: center;
  font-weight: normal;
  line-height: 1.6;
  font-size: 1rem;
  font-family: var(--fontRegular);
  font-weight: 400;
}

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

/* Styles for mobile portrait screens */
@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;
  }
}

/* Tablet Portrait (768px to 1023px) */
@media only screen and (min-width: 992px) {
  [data-theme~="poi-popup-tippy"] .tippy-content {
    width: 250px !important;
  }
}

/* Styles for tablet landscape screens */
@media only screen and (min-width: 1024px) {
  .mapKey {
    display: flex;
  }

  #subtileContainer {
    display: block;
  }

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

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

  .toggleSwitchContainer {
    margin-top: 0;
  }

  #subtileContainer .subtileText {
    display: block;
  }
}
