html {
  font-size: 18px;
  -ms-text-size-adjust:100%;
  -webkit-text-size-adjust:100%;
  cursor: default;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  text-align: center;
  font-family: 'effra', sans-serif;
  font-weight: 300;
  /*font-style: normal;*/
  touch-action: none;
  text-align: left;
  color: white;
  background-color: black;
  height: -webkit-fill-available;
}

body {
  min-height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 10px; /* Scrollbar width */
}

::-webkit-scrollbar-track {
  background: transparent; /* No background */
}

::-webkit-scrollbar-thumb {
  background: white; /* Scrollbar color */
}

a {
  color: white;
  /*display: inline-flex;*/
  align-items: center;
}

.link-icon {
  width: 20px; /* Adjust the size of the icon */
  height: 20px;
  margin-left: 6px; /* Space between text and icon */
  vertical-align: middle;
}

h1 {
  font-size: 60px;
  margin: 0;
}

h2 {
  font-size: 48px;
  font-weight: normal;
  margin: 0;
}

#panorama {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  transition: filter 0.5s ease;
}

.desktop-instructions {
  display: block;
}
.mobile-instructions {
  display: none;
}

.intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  background-color: rgba(0.0, 0.0, 0.0, 0.6);
}

.intro-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000000;
} 

.overlay,
.partial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000000;
  display: none;
  /*background-color: dodgerblue;*/
}

.partial-overlay {
  width: 33vw;
}

.pano-info-container {
  position: absolute;
  top: 24px;
  left: 24px;
  height: calc(100vh - 48px);
  width: calc(33vw - 24px);
  background-color: rgba(46,136,64,0.8);
}

.pano-info-content {
  position: absolute;
  top: 96px;
  left: 36px;
  right: 12px;
  bottom: 96px;
  padding-right: 24px; /* for scrollbar */
  overflow: auto; /* Enable scrolling */
}

.pano-info-audio-btn-container,
.text-info-audio-btn-container,
.img-info-audio-btn-container {
  /*background-color: aqua;*/
  position: absolute;
  left: 0;
  bottom: 12px;
  right: 0;
  height: 50px;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 140px;
}

.img-info-audio-btn-container {
  right: 50%;
}

.pano-info-audio-btn,
.text-info-audio-btn,
.img-info-audio-btn,
.pano-info-restart-audio-btn,
.text-info-restart-audio-btn,
.img-info-restart-audio-btn {
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
  opacity: 0.8;
  background-size: 50px auto; 
  background-repeat: no-repeat;
  background-position: top center;
}

.pano-info-audio-btn:hover,
.text-info-audio-btn:hover,
.img-info-audio-btn:hover,
.pano-info-restart-audio-btn:hover,
.text-info-restart-audio-btn:hover,
.img-info-restart-audio-btn:hover {
  background-position: bottom center;
}

.pano-info-audio-btn::after,
.text-info-audio-btn::after,
.img-info-audio-btn::after,
.pano-info-restart-audio-btn::after,
.text-info-restart-audio-btn::after,
.img-info-restart-audio-btn::after {
  content: attr(data-tooltip);
  white-space: pre-wrap; /* Allows line breaks to be displayed */
  position: absolute;
  color: white;
  font-size: 16px;
  padding: 5px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Ensures the border is included in the element's size */
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 5px;
}

.pano-info-audio-btn:hover::after,
.text-info-audio-btn:hover::after,
.img-info-audio-btn:hover::after,
.pano-info-restart-audio-btn:hover::after,
.text-info-restart-audio-btn:hover::after,
.img-info-restart-audio-btn:hover::after {
  display: block;
  opacity: 1;
}

.pano-info-audio-btn,
.text-info-audio-btn,
.img-info-audio-btn {
  background-image: url('../img/narration-on.svg');
}

.pano-info-audio-btn.sound-is-off,
.text-info-audio-btn.sound-is-off,
.img-info-audio-btn.sound-is-off {
  background-image: url('../img/narration-off.svg');
}

.pano-info-audio-btn.sound-is-on,
.text-info-audio-btn.sound-is-on,
.img-info-audio-btn.sound-is-on {
  background-image: url('../img/narration-on.svg');
}

.pano-info-restart-audio-btn,
.text-info-restart-audio-btn,
.img-info-restart-audio-btn {
  background-image: url('../img/replay-narration.svg');
}

.ol-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

.text-info-point-container {
  width: 60vw;
  max-width: 900px;
  /*height: 60vh;*/
  position: relative;
  background-color: rgba(46,136,64,0.8);
  height: 70vh;
}

.text-info-point-content {
  position: absolute;
  top: 96px;
  left: 120px;
  right: 120px;
  bottom: 132px;
  padding-right: 24px; /* for scrollbar */
  overflow: auto; /* Enable scrolling */
}

.img-info-point-container {
  position: absolute;
  /*top: 24px;
  bottom: 24px;
  left: 24px;
  right: 24px;*/
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.img-info-point-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  display: grid; /* Use grid for layout */
  grid-template-columns: 1fr 1fr; /* Divide into two equal columns */
  gap: 0; /* No gap between the columns */
  /*background-color: aqua;*/
}

.text-section {
  position: absolute;
  top: 84px;
  left: 7.5%;
  bottom: 84px;
  right: 57.5%;
  overflow: auto;
  padding-right: 24px;
}

.img-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;  /* Centers horizontally */
  align-items: center;      /* Centers vertically */
  height: 100%;
  width: 100%;
}

.info-point-section-container {
  background-color: rgba(46,136,64,0.8);
}

.info-point-section-container.image-container {
  background-color: rgba(255, 255, 255, 0.8);
  color: rgb(46,136,64);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;  /* Centers horizontally */
  align-items: center;      /* Centers vertically */
}

#img-info-point-image,
#bsl-img-info-point-image {
  max-width: 70%;          /* Ensures the image does not exceed the container's width */
  max-height: 70%;         /* Ensures the image does not exceed the container's height */
  object-fit: contain;      /* Scales the image to fit within the container */
  display: block;           /* Removes the gap below the image */
} 

.ol-title {
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: bold;
}

.map-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 50px;
  height: 50px;
  background: url('../img/close-green-cross.svg') no-repeat 0 0;
  background-size: cover;
  background-color: white;
  border: 1px solid rgb(46,136,64);
  cursor: pointer;
  z-index: 10;
}

.map-close-btn:hover {
  border: 3px solid rgb(46,136,64);
  width: 46px;
  height: 46px;
}

.ol-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 50px;
  height: 50px;
  background: url('../img/close-white-cross.svg') no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
  z-index: 10;
}

.ol-close-btn-green {
  background: url('../img/close-green-cross.svg') no-repeat 0 0;
  background-size: 50px auto;
  background-repeat: no-repeat;
  background-position: top center;
}

.ui {
  display: none;
  z-index: 10;
}

.map-ui {
  display: none;
  z-index: 10;
}

.map-ui .ui-button,
.map-ui .ui-button:hover {
  border: 0;
  width: 50px;
  height: 50px;
}

.map-ui .ui-button:hover {
  background-position: bottom center;
}

.logo {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 12vw;
  z-index: 10;
}
.logo img { width: 100%; }

.patrons {
  position: absolute;
  bottom: 24px;
  right: 36px;
  height: 20vh;
  max-height: 90px;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.patrons img { height: 100%; }

#follow-explore-container {
  display: none;
}

#instructions {
  display: none;
}

#instructions img {
  width: 25vw;
}

.intro-layer-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  text-align: center;
}

.intro-layer-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  text-align: center;
}

.intro-button-container {
  margin-top: 24px;
}

.intro-button {
  background-color: rgb(46,136,64);
  width: 400px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 12px;
  cursor: pointer;
}

.intro-button .arrow {
  position: absolute;
  right: 12px;
  font-size: 24px;
  font-weight: bold;
}

.credits {
  position: absolute;
  bottom: 24px;
  right: 30px;
  transform: rotate(90deg);
  transform-origin: bottom right;
  z-index: 20;
}
.credits a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.bsl-video-container {
 /* background-color: aqua;*/
  z-index: 11;
  cursor: pointer;
  position: absolute;
  bottom: 24px;
  right: 48px;
  width: 400px;
  top: 80vh;
  display: none;
}

.bsl-video-container::after {
  content: attr(data-tooltip);
  white-space: nowrap;
  position: absolute;
  color: white;
  font-size: 16px;
  padding: 5px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  bottom: 0;
  right: 100%;
  margin-right: 5px;
}
.bsl-video-container:hover::after,
.bsl-video-container.hovered::after {
  display: block;
  opacity: 1;
}

#bsl-video {
  width: 100%;
  height: auto;
  display: block; /* Remove any inline-block spacing */
  cursor: pointer;
  position: absolute;
  bottom: 0;
  left: 0;
}

.controls-container,
.map-controls-container {
  position: absolute;
  bottom: 24px;
  left: 0px;
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100vw;
  z-index: 9;
}

.map-controls-container {
  width: 60vw;
}

.ui-button {
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
  opacity: 1;
  background-size: 50px auto;        /* Scale the SVG width to 50px, height auto to maintain aspect ratio */
  background-repeat: no-repeat;      /* Ensure the image doesn't repeat */
  background-position: top center;   /* Align the top part of the SVG to be visible */
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.ui-button::after {
  content: attr(data-tooltip);
  white-space: pre-wrap; /* Allows line breaks to be displayed */
  position: absolute;
  color: white;
  font-size: 16px;
  padding: 5px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Ensures the border is included in the element's size */
}
/*
.zoom-in-btn::after {
  content: "Zoom\A In";
}

.zoom-out-btn::after {
  content: "Zoom\A Out";
}

.toggle-audio-btn::after {
  content: "Toggle\A Audio";
}
*/
.controls-container .ui-button::after,
.map-controls-container .ui-button::after {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 5px;
}

.map-controls-container .ui-button::after {
  color: rgb(46,136,64);
}

.ui-button:hover::after,
.ui-button.hovered::after {
  display: block;
  opacity: 1;
}

.ui-button:hover, 
.ui-button.hovered {
  background-position: center calc(100% + 1px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  width: 48px;
  height: 48px;
}

.map-zoom-in-btn {
  background-image: url('../img/map-zoom-in.svg');
}

.map-zoom-out-btn {
  background-image: url('../img/map-zoom-out.svg');
}

.zoom-in-btn {
  background-image: url('../img/zoom-in.svg');
}

.zoom-out-btn {
  background-image: url('../img/zoom-out.svg');
}

.sound-is-on {
  background-image: url('../img/audio-on.svg');
}

.sound-is-off {
  background-image: url('../img/audio-off.svg');
}

.left-btn-container {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 12px;
  height: 100vh;
}

.left-btn-container .ui-button::after {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: 5px;
  display: block;
  opacity: 1;
}

.map-btn {
  background-image: url('../img/navigation.svg');
  display: none;
}

.pano-info-btn {
  background-image: url('../img/panorama-info.svg');
}

.right-btn-container {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 12px;
  height: 100vh;
}

.right-btn-container .ui-button::after {
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  margin-right: 5px;
}

.home-btn::after {
  width: 120px;
}

.home-btn {
  background-image: url('../img/home.svg');
}

.help-btn {
  background-image: url('../img/instructions.svg');
}

.accessibility-btn {
  background-image: url('../img/accessibility.svg');
}

.weather-btn {
  background-image: url('../img/weather.svg');
}

.left-btn-container, .right-btn-container {
  z-index: 10;
}

.image-select-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4vh;
  gap: 12px;
}

.image-select {
  width: 12px;
  height: 12px;
  border: 2px solid rgb(46,136,64);
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
}

.image-select.selected {
  background-color: rgb(46,136,64);
}

.accessibility-widget-container {
  display: none;
  position: absolute;
  z-index: 12;
  top: 24px;
  right: 86px;
/*  width: 200px;
  height: 600px;
  background-color: blueviolet;*/
}

.weather-widget-container {
  display: none;
  position: absolute;
  z-index: 12;
  top: 24px;
  right: 86px;
  width: 300px;
/*  height: 600px;
  background-color: blueviolet;*/
}

.accessibility-widget-header {
  color: white;
  background-color: rgb(46,136,64);
  height: 50px;
  line-height: 50px;
  padding-left: 10px;
}

.widget-close-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 36px;
  height: 36px;
  background: url('../img/close-white-cross.svg') no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
  z-index: 10;
}

.weather-widget-close-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 36px;
  height: 36px;
  background: url('../img/close-white-cross.svg') no-repeat 0 0;
  background-size: cover;
  cursor: pointer;
  z-index: 10;
}

.accessibility-widget {
  background-color: white;
  width: 240px;
}

.accessibility-widget-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgb(46,136,64);
  padding-top: 24px;
  padding-bottom: 24px;
}

.accessibility-button {
  cursor: pointer;
  border: 2px solid rgb(46,136,64);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  width: 150px;
  text-align: center;
}

.accessibility-button .icon {
  margin-bottom: 10px;
  width: 48px;
}

.separator {
  height: 2px;
  width: 100%;
  background-color: rgb(46,136,64);
  margin-bottom: 10px;
}

.static-version {
  z-index: 1000000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  color: black;
  overflow-y: auto;
  box-sizing: content-box;
}

.main-container {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 10vw 0 10vw;
  display: flex;
  flex-direction: column;
  /*background-color: aquamarine;*/
}

.title-section {
  margin-top: 24px;
  text-align: center;
}

.static-version .separator {
  background-color: black;
  margin: 36px 0 36px 0;
}

/* Custom scrollbar styling */
.static-version::-webkit-scrollbar {
  width: 10px; /* Scrollbar width */
}

.static-version::-webkit-scrollbar-track {
  background: transparent; /* No background */
}

.static-version::-webkit-scrollbar-thumb {
  background: black; /* Scrollbar color */
}

.pano-flat-img img {
  width: 100%;
  margin-bottom: 36px;
}

.hotspot-links a {
  color: -webkit-link;
}

.hotspot-links {
  margin-top: 24px;
}

figure {
  margin: 24px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

figure img {
  width: auto;
  height: auto;
  max-width: 1000px;
  max-height: 1000px;
}

figcaption {
  align-self: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

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

.bsl-welcome-container,
.bsl-text-info-point-container {
  width: 60vw;
  max-width: 800px;
  position: relative;
  background-color: rgba(46,136,64,0.8);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bsl-welcome-video,
#bsl-text-info-point-video,
#bsl-img-info-point-video {
  width: 400px;
  height: 400px;
}

.bsl-img-info-point-video-container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bsl-welcome-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 12px;
}

#map-download-btn {
  background-image: url('../img/download-button.svg');
}

#map-download-btn::after {
  color: rgb(46,136,64);
}

#img-info-point-caption,
#bsl-img-info-point-caption,
figcaption {
  text-align: center;
}

#pano-info-btn::after {
  width: 95px;
  text-align: left;
}

.mobile-logo {
  display: none;
}

.burger-menu-btn {
  display: none;
}

.left-btn-container .toggle-audio-btn {
  display: none;
}

#landscapeOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(46, 136, 64, 1.0);
  z-index: 99999999;
  pointer-events: all;
  /* center contents */
  display: flex;
  align-items: center;
  justify-content: center;
}

#landscapeOverlay img {
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
}
