@keyframes zoomInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes slideFromRightAndShake {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
  80%, 85%, 90%, 95% {
    transform: translateX(0) rotate(2deg);
  }
  82.5%, 87.5%, 92.5%, 97.5% {
    transform: translateX(0) rotate(-2deg);
  }
}
@keyframes slideFromLeft {
  to {
    left: -50px;
  }
}
@keyframes slideToLeft {
  to {
    left: -200px;
  } /* Adjust width as needed */
}
/* Global audio player styling (for persistent audio controls) */
.global-audio-player {
  position: fixed;
  bottom: 40px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.global-audio-player .player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.global-audio-player .player-button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.global-audio-player .player-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.global-audio-player .player-info {
  margin: 0 10px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}
@media (max-width: 480px) {
  .global-audio-player {
    bottom: 15px;
    right: 15px;
    padding: 8px 15px;
  }
  .global-audio-player .player-info {
    max-width: 150px;
    font-size: 13px;
  }
  .global-audio-player .player-button {
    width: 32px;
    height: 32px;
  }
}

body {
  background-color: #f0f0f0;
  font-family: "Syne", "Courier New", Courier, monospace;
}

.project-description {
  overflow-y: scroll;
  padding: 10px;
}

.project-description p {
  white-space: normal !important;
  text-align: left !important;
}

.project-description {
  overflow-y: scroll;
  padding: 10px;
}

.project-description p {
  white-space: normal !important;
  text-align: left !important;
}

.thumbhot.large {
  transition: all 0.3s;
  margin: 4px 0px 0px 7px;
  width: 33px !important;
  height: 33px !important;
}

.thumbhot.large:hover {
  margin: 4px 0px 0px 7px;
  width: 35px !important;
  height: 35px !important;
}

.thumbhot.medium .hoticon > img {
  transition: all 0.3s;
  margin: 4px 0px 0px 7px;
  width: 21px !important;
  height: 21px !important;
}

.thumbhot.medium:hover .hoticon > img {
  margin: 4px 0px 0px 7px;
  width: 24px !important;
  height: 24px !important;
}

.thumbhot.small .hoticon > img {
  transition: all 0.3s;
  margin: 5px 0px 0px 9px;
  width: 16px !important;
  height: 16px !important;
}

.thumbhot.small:hover .hoticon > img {
  margin: 6px 0px 0px 11px;
  width: 21px !important;
  height: 21px !important;
}

.thumbhot.very-small .hoticon > img {
  margin: 11px 0px 0px 10px;
  transition: all 0.3s;
  width: 12px !important;
  height: 12px !important;
}

.thumbhot.very-small:hover .hoticon > img {
  margin: 6px 0px 0px 11px;
  width: 21px !important;
  height: 21px !important;
}

.icon-corner {
  width: 35px !important;
  height: 35px !important;
  opacity: 0.7;
}

.video-file .ggskin_external img, .image-file .ggskin_external img {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  left: 0px !important;
  margin-left: 0px !important;
  top: 0px !important;
  margin-top: 0px !important;
}

.btnmenutags img, .btnmenuroutes img {
  pointer-events: all !important;
  cursor: pointer;
}

.tourplea {
  display: none;
}

.overlaymenutags > div, .overlaymenuroutes > div {
  text-align: center;
}

#tag_clicked {
  position: absolute;
  bottom: 133px;
  left: 77px;
  min-width: 120px;
  z-index: 12;
  background: orange;
  -webkit-transition: all 2s; /* Safari prior 6.1 */
  transition: all 2s ease;
}

#tag_clicked button {
  padding: 5px 12px 5px 40px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3), 0 3px 7px 0 rgba(0, 0, 0, 0.25);
}

.tag_cloner div {
  position: relative !important;
  display: inline-block;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
}

.tag_cloner > div > div > div {
  min-width: 70px;
  margin: 2px 6px;
  padding: 8px 15px !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3), 0 3px 7px 0 rgba(0, 0, 0, 0.25);
}

#grid-container .cbp-item-wrapper {
  position: relative;
}

#grid-container .pano-meta {
  position: absolute;
  display: block !important;
  z-index: 9;
  bottom: 0px;
  left: 0px;
  width: 100%;
  -webkit-transition: all 1s; /* Safari prior 6.1 */
  transition: all 1s ease;
}

#grid-container .pano-meta .pano-distance {
  padding: 2px 4px;
  background: rgb(42, 56, 70);
  float: left;
  border-radius: 0 6px 0 0;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);
  font-size: 11px;
  color: white;
}

#thumbnail-menu .currentpano .pano-meta {
  display: block;
  top: 0px;
  position: relative;
}

#thumbnail-menu button {
  z-index: 999;
}

#thumbnail-menu .slick-list {
  overflow: visible !important;
}

#vtcontainer {
  position: relative;
}

#grid-container {
  position: absolute !important;
  bottom: 35px;
  z-index: 9 !important;
  width: 90%;
  margin-left: 5%;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3), 0 3px 7px 0 rgba(0, 0, 0, 0.25);
}

#filters-container {
  position: static;
}

#thumbnail-menu img {
  position: absolute;
  left: 3px;
  top: 4px;
  width: 94%;
  opacity: 0.75;
  cursor: pointer;
  -webkit-transition: all 1s; /* Safari prior 6.1 */
  transition: all 1s ease;
}

#thumbnail-menu img:hover {
  left: -2px;
  width: 98%;
  top: 1px;
  opacity: 1;
}

#thumbnail-menu .currentpano img {
  opacity: 1;
  height: 82px;
  border: 2px solid red;
  box-shadow: 0 2px 5px 0 rgba(234, 135, 135, 0.5) inset, 0 3px 7px 0 rgba(234, 135, 135, 0.25) inset;
}

#thumbnail-menu .currentpano img:hover {
  left: 3px;
  width: 94%;
  top: 4px;
  opacity: 1;
}

.menu-item {
  -webkit-transition: background 1s; /* Safari prior 6.1 */
  transition: background 1s ease;
}

.menu-item:hover {
  background: black;
}

.menu-container {
  box-shadow: 0 2px 5px 0 rgba(234, 135, 135, 0.5), 0 3px 7px 0 rgba(234, 135, 135, 0.25);
}

.ggskin_text a {
  color: #a2eaa2;
  -webkit-transition: all 1s; /* Safari prior 6.1 */
  transition: all 1s ease;
}

.ggskin_text a:hover {
  color: #3cb53c;
  text-decoration: underline;
}

.nodetext {
  text-shadow: 0 0px 5px rgba(0, 0, 0, 0.7), 0px 0px 12px #22a575, 0px 0px 20px #22a575;
}

/* Basic tooltip styling - adjust as needed */
.tippy-box[data-theme~=my-theme] {
  background-color: #333;
  color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding: 10px;
  font-size: 13px;
  line-height: 1.4;
  min-width: 500px; /* Minimum width */
  max-height: 300px; /*For vertical scrolling */
  overflow-y: auto; /* Vertical scrollbar when needed */
  overflow-x: hidden;
  /* --- Font Crispness --- */
  -webkit-font-smoothing: antialiased; /* For Safari and Chrome on macOS */
  -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
  text-rendering: optimizeLegibility; /* General improvement (may not always work) */
  font-smooth: always; /* Non-standard, but might help in some cases */
}
.tippy-box[data-theme~=my-theme] .audio-play-button {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 26px;
}

.tippy-box[data-theme~=my-theme] .ggskin_text div {
  text-align: justify;
  text-shadow: none; /* Make sure no text-shadow is causing blur */
}

.tippy-content > div {
  white-space: normal !important;
}

/* Style the content within the tooltip */
.tippy-box[data-theme~=my-theme] .tippy-content {
  padding: 0; /* Remove default padding */
  white-space: normal; /* Allow text wrapping */
  text-align: justify;
}

.animate__animated.animate__bounceIn {
  margin: 0 0 25px -250px !important;
}

.animate__animated.animate__hinge {
  margin: 100px 20px -235px 0px !important;
  z-index: 1;
}

/* Mobile Fullscreen Styles (KEEP THESE) */
.tippy-box[data-fullscreen=true] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
}

.tippy-arrow {
  color: #333; /* Match the tooltip background (adjust as needed) */
  width: 16px; /* Optional: Adjust the size of the arrow */
  height: 16px;
}

/*To center the tootip*/
.tippy-box[data-placement^=center] { /*^ means starts with */
  margin-left: auto; /*Centers horizontally */
  margin-right: auto;
}

.fullscreen-content {
  max-width: 800px;
  background-color: white;
  color: black;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow-y: auto; /* Ensure scrollbar appears if content overflows */
}

.fullscreen-close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10000;
}

/* Example of image inside tooltip content */
.tooltip-image {
  max-width: 100%; /* Make image responsive */
  height: auto;
  display: block;
  margin-bottom: 10px;
}

/* Hide tippy by default */
.tippy-box {
  visibility: hidden;
}

.tippy-box[data-state=visible] {
  visibility: visible;
}

.tippy-box[data-theme~=my-theme] .ggskin_text div {
  text-align: justify; /* Justify text */
  white-space: normal; /* Added for text wrapping */
}

.tippy-arrow {
  color: #333; /* Match the tooltip background */
}

.geotour-listings {
  position: fixed;
  z-index: 998;
  right: 2px;
  top: 67px;
  height: calc(100vh - 137px);
  overflow-y: scroll;
  overflow-x: visible;
  padding: 8px;
  background-color: rgba(34, 165, 117, 0.3);
  box-shadow: rgba(0, 0, 0, 0.3) 1px 2px 12px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.geotour-listings::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.geotour-listings .listing {
  position: relative;
  width: 60px;
  height: 60px;
  margin-left: 225px;
  border-radius: 15%;
  overflow-x: visible;
  border: solid 3px white;
  box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 18px;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.geotour-listings .listing a { /* Target the <a> tag inside .listing */
  display: block; /* Make it a block element to fill the container */
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: all 0.2s;
}

.geotour-listings .listing a img {
  width: 100%;
  transition: all 0.3s;
}

.geotour-listings .listing a:hover img {
  scale: 1.2;
}

.geotour-listings .listing a:hover {
  scale: 1.15;
  border: #22a575 2px solid;
  border-radius: 9px;
}

.geotour-listings .listing .metadata {
  position: absolute;
  z-index: -1;
  top: -9px;
  border: #22a575 solid 3px;
  border-radius: 12px;
  left: -50px; /* Initially hide metadata to the left (adjust width as needed) */
  min-width: 260px; /* Adjust width as needed */
  height: 100%;
  padding: 8px 8px 8px 8px;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: left 0.3s ease; /* Add smooth transition for left property */
  color: black;
  font-size: 12px;
  font-family: "Syne", "Courier New", Courier, monospace;
}

.geotour-listings .metadata-title {
  font-weight: bold;
  padding: 0px 5px 5px 5px;
  color: #22a575;
  font-size: 16px;
  margin-right: 60px;
}

.geotour-listings .metadata-icon {
  position: absolute;
  left: -18px;
  top: -7px;
  width: 30px !important;
  height: auto;
}

.geotour-listings h3 {
  margin: 10px 0px;
  font-weight: 400;
  font-size: 19px;
  font-family: "Syne";
  text-align: right;
}

span.distance {
  font-size: 13px;
  font-family: "Syne", "Courier New", Courier, monospace;
  padding: 0px;
  display: block;
  margin: -25px 2px 0px 3px;
}

.close-button-container {
  top: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #22a575;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: fixed;
  z-index: 9999;
}

.close-button-container:hover {
  background-color: darkgreen;
}

.close-button-container .hamburger {
  width: 30px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-button-container .hamburger .line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  margin-bottom: 5px;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-button-container .hamburger.open .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.close-button-container .hamburger.open .line:nth-child(2) {
  opacity: 0;
}

.close-button-container .hamburger.open .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .close-button-container {
    top: 50px;
  }
  .geotour-listings {
    top: 120px;
    height: calc(100vh - 170px);
  }
}