/* Google Fonts fallback - commented out to use local fonts */
/* @import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200;0,6..12,300;0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;0,6..12,800;0,6..12,900;0,6..12,1000;1,6..12,200;1,6..12,300;1,6..12,400;1,6..12,500;1,6..12,600;1,6..12,700;1,6..12,800;1,6..12,900;1,6..12,1000&display=swap&subset=latin-ext"); */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); */

/* Inter Variable Font - Tek dosyayla tüm font ağırlıkları */
@font-face {
  font-family: "Inter";
  src: url("../indx-modules/indx-map-engine/public/assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900; /* Tüm font ağırlıklarını destekler (100-900) */
  font-style: normal;
  font-display: swap;
}

/*
@font-face {
  font-family: "Inter";
  src: url("../indx-modules/indx-map-engine/public/assets/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
} 
*/

/* Local Nunito Font but woff */
@font-face {
  font-family: "Nunito";
  src: url("../indx-modules/indx-map-engine/public/assets/fonts/nunito-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body,
html {
  margin: 0;
  padding: 0;
}
* {
  /* font-family: "Nunito Sans", sans-serif; */
  font-family: "Inter";
  /* user-select: none; */
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* VERIABLES */
:root {
  --sidebar-width: 250px;
  --toolbar-height: 50px;
  --color-active: #007bff;
  --color-passive: #7790aa;
  --dark-bg-color: #242525;
}
body {
  cursor: pointer;
}
#mapContainer {
  height: calc(100vh - var(--toolbar-height));
  width: 100%;
}
/* #mapContainer > canvas {
  width: 100vw !important;
  height: 100vh !important;
} */
canvas {
  /* */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
#floor_numbers {
  /* position : fixed;
            right : 20px;
            bottom : 180px; */
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
}
.floor_number {
  background-color: black;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  margin-top: 10px;
  font-weight: 0;
  cursor: pointer;
}

.floor_number.active {
  background-color: #14e147;
  color: black;
  width: 50px;
  font-weight: 900;
  transition: all 0.2s ease-out;
}

.unitLabel {
  font-size: 8px;
  color: #4d5e6f;
  text-shadow: 1px 1px 0px white, -1px -1px 0px white, 1px -1px 0px white,
    -1px 1px 0px white;
  /* font-family: "Nunito Sans", sans-serif; */
  font-family: "Inter";
  font-weight: 900;
  padding: 5px;
  position: relative;
  margin-top: -68px;
  opacity: 0.1;
  background: white;
}

#poiSelector {
  position: fixed;
  bottom: 100px;
  left: 10px;
}

#distanceIndicator {
  background: #015c4d;
  color: white;
  border: 3px solid white;
  border-radius: 4px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
  position: absolute;
  top: 100px;
  left: 10px;
  padding: 10px;
  font-weight: 900;
}

#indxContainer {
  width: calc(100vw - calc(var(--sidebar-width) * 2));
  height: 100vh;
  position: fixed;
  left: var(--sidebar-width);
  top: var(--toolbar-height);
}

#indxContainer .ui-element {
  z-index: 99999999999 !important;
}

#indxContainer .ui-element.back-button {
  height: 20px;
  padding: 10px 20px;
  width: 100%;
  font-size: 12px;
  position: fixed;
  top: 10px;
  display: flex;
  align-items: center;
  color: #909090;
}
#indxContainer .ui-element.back-button img {
  margin-right: 10px;
}

#indxContainer .ui-element.search-input {
  position: fixed;
  top: calc(var(--toolbar-height) + 10px);
  width: 100%;
  display: flex;
}

#indxContainer .ui-element.search-input .left-part {
  padding-left: 30px;
  height: 48px;
}
#indxContainer .ui-element.search-input .center-part {
  flex-grow: 1;
  background-color: #f9f9f9;
  height: 48px;
  border: 1px solid #eeeeee;
  border-right: none;
  border-left: none;
}

#indxContainer .ui-element.search-input .center-part input {
  width: 100%;
  padding: 0px;
  margin: 0px;
  outline: 0px;
  border: 0px;
  height: 48px;
  font-size: 16px;
  background: none;
}

#indxContainer .ui-element.search-input .right-part {
  padding-right: 30px;
}
#indxContainer .ui-element.search-input .left-part > div {
  background-color: #f9f9f9;
  width: 50px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50% 0 0 50%;
  border: 1px solid #eeeeee;
  border-right: none;
}
#indxContainer .ui-element.search-input .right-part > div {
  background-color: #f9f9f9;
  width: 50px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 50% 50% 0;
  border: 1px solid #eeeeee;
  border-left: none;
}

#indxContainer #categoryList.hidden {
  display: none;
}

#indxContainer #categoryList {
  max-width: 100vw;
  position: absolute;
  left: 0;
  padding: 15px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#indxContainer #categoryList::-webkit-scrollbar {
  display: none;
}

#indxContainer #categoryList ul {
  display: flex;
  margin: 0px;
  padding: 0px;
  min-width: 100vw;
  padding-right: 80vw;
}

#indxContainer #categoryList ul li {
  background: white;
  list-style-type: none;
  margin-right: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  min-width: 150px;
  border-radius: 100px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  user-select: none;
}

#indxContainer .ui-element.floor-numbers {
  position: fixed;
  right: calc(var(--sidebar-width) + 10px);
  bottom: 140px;
}

#indxContainer .ui-element.function-buttons {
  width: 100vw;
  display: flex;
  position: fixed;
  bottom: 40px;
  z-index: 99999999999 !important;
}
#indxContainer .function-button {
  border: none;
  outline: none;
  border-radius: none;
  background: none;
  background-color: black;
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  z-index: 99999999999 !important;
}
#indxContainer .function-icon-button {
  background-color: black;
  color: white;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  z-index: 99999999999 !important;
}

#indxContainer .function-buttons-column:nth-of-type(1) {
  width: 25%;
  text-align: center;
  display: flex;
  justify-content: center;
}
#indxContainer .function-buttons-column:nth-of-type(2) {
  width: 50%;
  text-align: center;
}
#indxContainer .function-buttons-column:nth-of-type(3) {
  width: 25%;
  text-align: center;
  display: flex;
  justify-content: center;
}
.label {
  z-index: 99 !important;
  position: relative;
}
.label .poiLabel {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1px 6px;
  border-radius: 15px;
  color: whitesmoke;
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 1);
  /* box-shadow: 0px 0px 8px rgba(0,0,0,.8); */
}

.label.dimmed {
  opacity: 0.1 !important;
}

.label.dimmed:hover,
.label:hover {
  opacity: 1 !important;
}

.label .distanceLabel {
  /* background:#015c4d; */
  background: #1d5eba;
  color: white;
  border: 3px solid white;
  border-radius: 4px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  padding: 5px 10px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  bottom: 10px;
  position: absolute;
  width: max-content;
}
.label .distanceLabel::before {
  content: "";
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  position: absolute;
  display: flex;
  clip-path: polygon(12.5% 0, 87.5% 0, 50% 100%);
  width: 20px;
  height: 10px;
  top: 100%;
  background-color: white;
}

#bridgeValue {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.1);
  color: #4d5e6f;
  width: 100%;
  font-size: 10px;
  user-select: none;
  display: none;
}

#loadingScreen {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  z-index: 3000;
}

#indxContainer .ui-element.hidden {
  display: none;
}
/* Search */
#poiContainer {
  background-color: #fefefe;
  height: max-content;
  max-height: 240px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  justify-content: start;
  border-radius: 24px;
  margin: 0px 30px;
  width: 100%;
}
#poiContainer::-webkit-scrollbar {
  display: none;
  width: 5px;
  height: 8px;
}
#poiContainer::-webkit-scrollbar-thumb {
  background: #fff !important;
}
#poiContainer::-webkit-scrollbar-track {
  background: #000 !important;
}
#poiContainer::-webkit-scrollbar-track-piece {
  background: #000 !important;
}
.poiTitle {
  display: flex;
  align-items: center;
  justify-content: start;
  min-height: 40px;
  padding: 0 24px;
  font-size: 12px;
  cursor: pointer;
  background-color: #f9f9f9;
}
.poiTitle:nth-child(even) {
  background-color: #ebebeb;
}
.poi-container {
  position: fixed;
  justify-content: center;
  top: 69px; /*105px*/
  width: 100%;
  display: flex;
}

/* Find My Car */
#placeMyCar {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #000000;
  border-radius: 50%;
  bottom: 50%;
  right: 5px;
  z-index: 2500;
  border: none;
}

#deleteMyCar {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #000000;
  border-radius: 50%;
  bottom: 50%;
  right: 5px;
  z-index: 2500;
  border: none;
}

#cancelMyCarButton {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #000000;
  border-radius: 50%;
  z-index: 2500;
  border: none;
}
#selectPositionTitle {
  position: absolute;
  top: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2500;
  background-color: #000;
  margin: 8px;
  padding: 8px;
  border-radius: 4px;
  opacity: 0.76;
  border: none;
  width: calc(100vw - 100px);
}
#saveMyCarButton {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #000000;
  border-radius: 50%;
  z-index: 2500;
  border: none;
}

/* Click Menu */

#plusButton {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  background-color: #000;
  border-radius: 4px;
}
#actionMenu {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100px;
  background-color: #000;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
}
#poiActionMenu {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: max-content;
  background-color: #000;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
}
#poiSelectBox {
}

#dltBtn {
  cursor: pointer; 
  padding: 10px; 
  background: #284075; 
  color: #fff; 
  border-radius: 5px; 
  text-align: center;
  margin: 5px;
}

/* LOADING */
#loading {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* transition: all 1s ease-out; */
  opacity: 1;
}

#loading.blurred {
  /* transition: all 1s ease-out; */
  backdrop-filter: blur(8px);
}

#loading.fadeOut {
  opacity: 0;
}

#loading .contentContainer {
  background: transparent;
  width: 30vw;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading .loading-cube {
  width: 40px;
  height: 40px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 5s infinite linear;
  background-color: white;
  border-radius: 22px;
  box-shadow: 0px 0px 10px white;
}

#loading .loading-cube:before {
  content: "";
  width: 140px;
  height: 40px;
  position: relative;
  transform-style: preserve-3d;
  background-color: pink;
  border-radius: 22px;
  box-shadow: 0px 0px 10px pink;
}

#loading .loading-cube div {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 50, 0.2);
  border: 4px solid black;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading .face1 {
  transform: rotateY(0deg) translateZ(50px);
}
#loading .face2 {
  transform: rotateY(90deg) translateZ(50px);
}
#loading .face3 {
  transform: rotateY(180deg) translateZ(50px);
}
#loading .face4 {
  transform: rotateY(270deg) translateZ(50px);
}
#loading .face5 {
  transform: rotateX(90deg) translateZ(50px);
}
#loading .face6 {
  transform: rotateX(-90deg) translateZ(50px);
}

@keyframes rotateCube {
  from {
    transform: rotateX(360deg) rotateY(0deg);
  }
  to {
    transform: rotateX(0deg) rotateY(360deg);
  }
}

/* Poi Content Box */
#poiContentBox {
  background: white;
  border-radius: 24px; /* 20px */
  position: absolute;
  /* top: 70px; */
  /* left: 30px; */
  left: 0;
  top: 20px;
  z-index: 999999999999;
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

#poiContentBox .row {
  padding: 18px 20px;
}
#poiContentBox .row:last-child {
  border-top: 1px solid #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
}

#poiContentBox h3 {
  margin: 0px;
  padding: 0px;
}
#poiContentBox button.getDirections {
  outline: none;
  border: none;
  background: none;

  background: #297df1;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}
#poiContentBox button.close {
  outline: none;
  border: none;
  background: none;

  background: #f5f5f5;
  color: rgb(85, 85, 85);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}
#poiContentBox .title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  gap: 5px;
}

/* Color Filter */
#color-filter {
  width: 100vw;
  height: 100vh;
  background: #35aeee;
  /* background:black; */
  opacity: 0.12;
  position: absolute;
  top: 0px;
  left: 0px;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Tilt Shifting */
#tilt-shift {
  display: block;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0);
  position: absolute;
  top: 0px;
  left: 0px;
  pointer-events: none;
  user-select: none;
  opacity: 0.8;

  mask-image: linear-gradient(
    to top,
    black 0%,
    transparent 20%,
    transparent 75%,
    black 100%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    black 0%,
    transparent 20%,
    transparent 75%,
    black 100%
  );
  -moz-mask-image: linear-gradient(
    to top,
    black 0%,
    transparent 20%,
    transparent 75%,
    black 100%
  );
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  -moz-mask-size: 100% 100%;

  backdrop-filter: blur(2px);
}

/* Editor UI */
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-h {
  display: flex;
  justify-content: center;
}

.center-v {
  display: flex;
  align-items: center;
}

.justify-end {
  justify-content: flex-end;
}

.width-100 {
  width: 100%;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.text-center {
  text-align: center;
}

.m-5 {
  margin: 5px;
}

#editor-layout {
  height: 100vh;
  width: 100vw;
  background: #25262a;
  display: flex;
}

#sidebar-left {
  width: var(--sidebar-width);
  background: #333535;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  z-index: 9999;
  box-shadow: 10px 0px 30px 2px rgba(0, 0, 0, 0.3);
}
#map {
  flex-grow: 1;
}

#map #toolbar {
  height: var(--toolbar-height);
  background: #333535;
  z-index: 9999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0px 10px 30px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  color: white;
}

#map #toolbar #tools {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

#map #toolbar #toolOptions {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invisible {
  visibility: hidden;
}

#map #toolbar #callToAction {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

#map #toolbar #callToAction button {
  padding: none;
  margin: none;
  background: var(--color-active);
  border-radius: 6px;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 14px;
  padding: 5px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
#map #toolbar #callToAction button:disabled {
  background: var(--color-passive);
}

#sidebar-right {
  width: var(--sidebar-width);
  background: #333535;
  /* z-index: 9999; */
  border-left: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: -10px 0px 30px 2px rgba(0, 0, 0, 0.3);
}

#sidebar-left .sidebar-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

#sidebar-left .sidebar-row#logo {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 5px;
}

#sidebar-left .sidebar-row#floorList {
  height: calc((100vh - 100px) / 2);
}
#sidebar-left .sidebar-row#objects {
  height: calc((100vh - 100px) / 2);
  position: relative;
}
#sidebar-left .sidebar-row#objects #objectsList {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-height: calc(100% - 34px);
}
#sidebar-left .sidebar-row#objects #objectsList::-webkit-scrollbar {
  display: none;
}
#sidebar-left .sidebar-row#userInfo {
  height: 50px;
  display: flex;
  align-items: center;
  border-bottom: none;
  font-size: 12px;
  padding: 0px;
}

#sidebar-left .sidebar-row#userInfo div {
  display: flex;
  align-items: center;
  justify-content: center;
}
#sidebar-left .sidebar-row#userInfo div:nth-of-type(1) {
  width: 40px;
}
#sidebar-left .sidebar-row#userInfo div:nth-of-type(2) {
  flex-grow: 1;
  justify-content: flex-start;
}
#sidebar-left .sidebar-row#userInfo div:nth-of-type(3) {
  width: 40px;
}

#sidebar-left .sidebar-row h5 {
  padding: 0px;
  margin: 0px;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

#sidebar-left .sidebar-row h5 .icon {
  width: 14px;
  margin-right: 5px;
}

.objectItem {
}
.objectItem:hover {
  font-size: 16px !important;
}

.icon {
  width: 20px;
}

.icon.hover {
  transition: 0.2s all ease-out;
}

.icon.hover:hover {
  background: var(--color-active);
}

.icon.mr5 {
  margin-right: 5px;
}

.icon.mr10 {
  margin-right: 10px;
}

.icon.ml5 {
  margin-left: 5px;
}

.icon.ml10 {
  margin-left: 10px;
}

.icon.btn {
  width: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  box-sizing: unset;
}

.icon.btn.active {
  background: var(--color-active);
}

.editor-ui-list-item {
  padding: 5px 8px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  margin: 5px;
  cursor: pointer;
  border-radius: 6px;
}

.editor-ui-list-item:hover,
.editor-ui-list-item.active {
  background: var(--color-active);
}

.tooltip {
  background: red;
  color: white;
}

#indx-tooltip {
  background: var(--dark-bg-color);
  color: white;
  position: fixed;
  top: 100px;
  left: 100px;
  min-width: 50px;
  font-size: 12px;
  z-index: 9999;
  transition: all 0.6s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0px 15px 45px rgba(0, 0, 0, 0.6);
}

#indx-tooltip.active {
}

#indx-tooltip.hidden {
  display: none;
}

.panel {
  background: var(--dark-bg-color);
  position: fixed;
  left: var(--sidebar-width);
  top: 300px;
  padding: 0px 5px;
  border-radius: 0px 8px 8px 0;
  box-shadow: 0px 15px 45px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease-out;
}
.panel.hidden {
  left: 100px;
  /* display: none; */
  transition: all 1s ease-out;
}

#panel-addObject {
}

.objectButton {
  height: 60px;
  width: 60px;
  background-size: cover;
  border-radius: 4px;
  margin: 10px 5px;
  opacity: 0.8;
  transition: box-shadow 0.6s ease-out, opacity 0.15s ease-out;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0);
}

.objectButton:hover {
  box-shadow: 0px 0px 3px 4px var(--color-active);
  cursor: pointer;
  opacity: 1;
}

#rightSidebarContainer {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#rightSidebarContainer .slot {
  padding: 10px;
  margin: 5px 0;
}
#rightSidebarContainer .slot.placeholder {
  flex-grow: 1;
}
#rightSidebarContainer .slot #controlPanel {
  display: flex;
  width: 100%;
  padding-bottom: 140px;
}

#rightSidebarContainer .slot #controlPanel .controlButton {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 1);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin: 5px;
  border-radius: 6px;
  color: #ffffff;
  user-select: none;
}
#rightSidebarContainer .slot #controlPanel .controlButton:hover {
  background: rgba(0, 0, 0, 1);
  cursor: pointer;
}
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* Media Queries */
/* displays wider then 1023px */

@media screen and (min-width: 1023px) {
  body {
    cursor: auto;
  }
  #indxContainer .ui-element.search-input .center-part {
    flex-grow: initial;
    width: 450px;
    background-color: #f9f9f9;
    height: 48px;
    border: 1px solid #eeeeee;
    border-right: none;
    border-left: none;
  }

  .label .poiLabel {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 4px 12px;
    border-radius: 15px;
    color: whitesmoke;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 1);
    /* box-shadow: 0px 0px 8px rgba(0,0,0,.8); */
  }

  .labelImgContainer {
    max-height: 40px;
    max-width: 40px;
    position: relative;
  }
  .labelImg {
    max-height: 40px;
    max-width: 40px;
    border-radius: 25px;
    border: 2px solid black;
  }

  .poi-container {
    position: fixed;
    justify-content: center;
    top: 100px;
    width: 550px;
    display: flex;
    margin-left: 30px;
  }

  #poiContainer {
    background-color: #fefefe;
    height: max-content;
    max-height: 240px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    justify-content: start;
    border-radius: 24px;
    margin: initial;
    margin-top: 10px;
    width: 100%;
  }

  #tilt-shift {
  }

  .label .poiLabel::before {
    content: "";
    position: absolute;
    left: calc(50% - 20%);
    top: 40px;
    width: 40%;
    height: 16px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    filter: blur(6px);
  }
}

/*
    Hide all UI elements on the HomePage Map
*/
@media screen and (max-height: 350px) {
  .ui-element {
    display: none !important;
  }
}

/*
    Only for iOS devices
*/

@supports (-webkit-touch-callout: none) {
  .label .poiLabel::before {
    content: "";
    position: absolute;
    left: calc(50% - 20%);
    top: 40px;
    width: 40%;
    height: 16px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    filter: blur(6px);
  }
}

.dg .main{
  height: 100vh;
}