/* Image Gallery Carousel Styles */
.image-gallery {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.gallery-image {
  flex: 0 0 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.image-gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 999;
  padding: 4px 8px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
}

.image-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: var(--cursor-pointer);
  transition: all 0.2s ease;
}

.image-gallery-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.image-gallery-dot.active {
  background-color: white;
  width: 24px;
  border-radius: 4px;
}

.image-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: var(--cursor-pointer);
  z-index: 999;
  transition: all 0.2s ease;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.image-gallery-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.image-gallery-nav.prev {
  left: 10px;
  background-image: url("../img/ui/arrow_back.png");
}

.image-gallery-nav.next {
  right: 10px;
  background-image: url("../img/ui/arrow_forward.png");
}

/* End Image Gallery Carousel Styles */

.text-block {
  margin-top: 5%;
  line-height: 1.2;
}

.image-block {
  margin-top: 3%;
}

.content-image,
.gallery-img {
  height: 150px;
  max-height: 150px;
  min-height: 150px;
  overflow: hidden;
  position: relative;
  text-align: center;
  margin-top: 5%;
}

.content-image .bg,
.gallery-img .bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(10px) brightness(1.1);
  transform: scale(1.1);
  z-index: 20;
}

.content-image .front,
.gallery-img .front {
  position: relative;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 64px;
  height: 100%;
  z-index: 9999;
  transform: translateY(-50%);
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: var(--cursor-pointer);
}

.gallery-nav-dots {
  position: absolute;
  bottom: 0;
  padding: 2px;
  left: 50%;
  max-height: 32px;
  width: fit-content;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.gallery-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 32px;
  background-color: #fffa;
  cursor: var(--cursor-pointer);
}

.gallery-nav-dot.active {
  background-color: white;
}

.gallery-nav.left {
  left: 0;
  background-image: url("../img/ui/arrow_back.png");
}

.gallery-nav.right {
  right: 0;
  background-image: url("../img/ui/arrow_forward.png");
}

.content-gallery-wrapper {
  width: 100%;
  height: 150px;
  max-height: 150px;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.content-gallery {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 100%;
}

.gallery-img {
  flex: 0 0 100%;
}

.content-video {
  margin: 18px 0;
  width: 100%;
}

.content-audio {
  min-height: 54px;
  margin: 18px 0;
}

audio::-webkit-media-controls-panel,
audio::-webkit-media-controls-enclosure {
  background: transparent !important;
  background-color: transparent !important;
}

.content-text {
  font-family:
    "Comic Neue",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-size: 16px;
}

.content-list {
  overflow-y: auto;
  overflow-x: hidden;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
  width: 100%;
}

.content-list::-webkit-scrollbar,
#game-ui .container-inner::-webkit-scrollbar {
  width: 4px;
  z-index: 8192;
}

.content-list::-webkit-scrollbar-track,
#game-ui .container-inner::-webkit-scrollbar-track {
  background-color: #c7cbb0;
}

.content-list::-webkit-scrollbar-thumb,
#game-ui .container-inner::-webkit-scrollbar-thumb {
  background-color: #b53135;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #cfa8a9;
}

.location-link {
  position: relative;
  justify-content: start;
  width: fit-content;
  background-color: transparent;
  border-radius: 5px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  padding: 8px 10px;
  transform: translateY(0);
  color: black;
}

.location-link-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  align-items: center;
  background-color: white;
  box-shadow: 0 4px 4px #0004;
}

.location-link-wrapper:hover {
  cursor: var(--cursor-pointer);
}

/* .location-link-wrapper:hover {
    box-shadow: 0 8px 4px #0004;
    transform: translateY(-8px);
} */

.location-icon {
  max-width: 64px;
  max-height: 64px;
  z-index: 100;
  background-color: #eee;
  padding: 8px;
}

.list-category {
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 0;
  color: black;
}

.content-item {
  width: 100%;
}

#content-address-link {
  cursor: var(--cursor-pointer);
  display: flex;
  transition: filter 0.2s linear;
  max-width: 100%;
}

.content-address-inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.content-address-wrap {
  background-color: var(--color-bg);
  display: flex;
  max-width: 90%;
}

#content-address-icon {
  width: 16px;
  height: 16px;
  transform-origin: bottom;
  transform: scale(1.5);
  margin: 0 8px;
}

#content-address {
  font-size: 13px;
  text-decoration: none;
  color: var(--text-dark);
  overflow: hidden;
  word-break: keep-all;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: italic;
  cursor: var(--cursor-pointer);
}

#content-address-link:hover {
  filter: brightness(1.1);
}

#content-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

#content-search-input {
  width: 100%;
  padding: 4px 8px;
  border: 2px solid var(--color-bg);
  border-radius: 7px;
  font-size: 16px;
  line-height: 1.5;
  background-color: #fff;
  box-shadow: 0 4px 4px #0004;
}

#btn-clear-search {
  position: absolute;
  width: 20px;
  right: 0;
  cursor: var(--cursor-pointer);
  border-radius: 6px;
  background-color: var(--color-bg);
  transform: translate(-50%, -50%);
  top: 50%;
  transition: all 0.1s linear;
}

#btn-clear-search:hover {
  background-color: var(--color-bg-highlight);
}

.pin-icon {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
}

#btn-search {
  padding: 8px;
  background-color: var(--color-bg);
  border-radius: 7px;
  border: 2px solid white;
  box-shadow: 0 4px 4px #0004;
  cursor: var(--cursor-pointer);
  transition: all 0.1s linear;
}

#btn-search:hover {
  background-color: var(--color-bg-highlight);
}

.search-input {
  width: 100%;
  position: relative;
}

.bottom-center-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -30px;
  z-index: 1000;

  cursor: var(--cursor-pointer);
  transition: all 0.2s ease;
}

.bottom-center-btn:hover {
  transform: translateX(-50%) scale(1.05);
  filter: brightness(1.1);
}

.button-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  z-index: 1001;

  pointer-events: none;
}

.optional-button-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  bottom: -100px;

  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;

  transition: all 0.3s linear;
}

.optional-button-show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  bottom: 24px;

  height: auto;
  padding: 0;
  margin: 0;

  transition: all 0.3s linear;
}

.blue-box-location-pin {
  position: absolute;
  top: 5%;
  left: 10%;
  padding: 2px 0;
  padding-right: 5%;
  background: url(/Assets/img/newui/ADRESA1.png);
  backdrop-filter: blur(5px);
  display: flex;
  gap: 8px;
  z-index: 1000;
  margin-bottom: 8px;
  flex-direction: row;
  flex-wrap: nowrap;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  /* min-width: 30%; */
  /* max-width: 60%; */
  width: fit-content;
  align-items: center;
}

.blue-box-location-pin img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  /* background: #33a7ff; */
}

.blue-box-location-pin span {
  color: #fff;
  /* background: #33a7ff; */
  font-size: 14px;
  font-weight: 600;
}
