html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

#dropdown-container {
  position: absolute;
  top: 170px;
  /* Adjust based on the position of zoom controls */
  left: 10px;
  z-index: 1000;
  /* Ensure dropdowns are above the map */
  background: rgba(0, 0, 0, 0.7);
  /* Semi-transparent background for better visibility */
  padding: 10px;
  border-radius: 5px;
}

#dropdown-container .form-group {
  margin-bottom: 10px;
}

#dropdown-container label {
  color: white;
}

.ol-popup {
  position: absolute;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  min-width: 200px;
  max-width: 400px;
  overflow: auto;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.ol-popup:after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}


.ol-zoom.ol-unselectable.ol-control {
  top: 48px;
}

.position-absolute {
  position: absolute !important;
  z-index: 999999999999;
  /* background-color: red;
  width: 100px;
  height: 100px; */
}

.search-container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#searchButton {
  cursor: pointer;
  margin-left: 0px;
  margin-top: 0px !important;
  position: absolute;
}

/* 
#searchButton {
  top: 5px;
  left: 5px;
  position: absolute;
}


#searchButton.expanded{
  transition:  left 1s;
  left: calc(100% - 50px); 
  right: 5px;
} */

#searchButton {
  top: 5px;
  left: 5px;
  right: auto;
  /* To ensure 'left' positioning works initially */
  position: absolute;
  transition: left 1s;
  /* Apply transition to the initial state */
}

#searchButton.expanded {
  left: calc(100% - 50px);
  /* Move to the right when expanded */
  right: 5px;
}

/* #searchInput {
  display: none;
  padding: 5px;
  padding-top: 21px;
}
.search-container.expanded #searchInput {
  display: inline-block;
  transition: all 1s
} */

/* #searchInput {
  display: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 1s, max-height 1s;
  padding: 5px;
  padding-top: 21px;
}

.search-container.expanded #searchInput {
  display: inline-block;
  opacity: 1;
  max-height: 100px; 
} */

#searchInput {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 1s, max-height 1s ease, width 1s, padding 1s;
  padding: 0;
  padding-top: 0;
  visibility: hidden;
  width: 0px;
}

.search-container.expanded #searchInput {
  opacity: 1;
  max-height: 266px;
  /* Adjust as necessary */
  visibility: visible;
  width: 300px;
  /* Set a specific width */
  padding: 5px;
  padding-top: 10px;
}

/* Initial state for #fa-search */
.search-container #fa-search {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0s 0.5s; /* visibility change happens after opacity transition */
}

/* Hidden state for #fa-search */
.search-container.expanded #fa-search {
  opacity: 0;
  visibility: hidden; /* Delayed by the transition */
  transition: opacity 0.5s ease, visibility 0s; /* visibility hidden immediately after opacity change */
}

/* Initial state for #fa-times */
.search-container #fa-times {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0s; /* Same as above */
}

/* Visible state for #fa-times */
.search-container.expanded #fa-times {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0s 0.5s; /* visibility delayed to match opacity */
}


svg.font-icon {
  position: absolute;
  width: 12px;
}

svg#fa-search {
  width: 15px;
}


#suggestions {
  position: absolute;
  top: 50px;
  /* Adjust based on your layout */
  width: 200px;
  /* Match the width of the input */
  display: none;
  z-index: 1000;
}

#suggestions .list-group-item {
  cursor: pointer;
}

a.list-group-item.list-group-item-action {
  background-color: #312e37 !important;
  width: 403px;
  color: white;
}

#drag-potree-eleman>div,
#outbox-eleman>div,
.analytics-nav-item,
.ol-control button {
  cursor: pointer !important;
  user-select: none !important;
  background-color: white !important;
  border-radius: 100% !important;
  box-shadow: 0 0 5px 0 #888888 !important;
  display: flex !important;
  justify-content: center !important;

  align-items: center !important;
  width: 38px !important;
  height: 38px !important;
  margin-top: 10px !important;
  color: #000 !important;
}

.ol-control {
  background-color: transparent !important;
}


.searchbar {
  background-color: #312e37 !important;
  opacity: .9;
  width: 100%;
  height: 274px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.searchbar>input {
  font-size: 18px;
  background-color: transparent !important;
  color: #aaa !important;
  border: none !important;
  box-shadow: none !important;
}