/* sidebar of habitat map*/

body.calcite-mode-dark {
  --calcite-sans-family: "Nunito", sans-serif;
}

#haboptionsDiv {
  position: absolute;
  top: 123px;
  left: 0px;
  bottom: 0px;
  width: 280px;
  background-color: #4a6e85;
  z-index: 10;
  padding-left: 10px;
  padding-right: 8px;
  overflow-y: none;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#hablayerInfoPanel {
  position: absolute;
  left: 300px;
  width: 450px;
  background-color: white;
  box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 32%);
  display: none;
  z-index: 1111111;
  outline: 0.5px rgb(0 0 0 / 32%);
}

#hablyrInfoBody {
  padding: 5px 10px;
  max-height: 300px;
  overflow: auto;
  z-index: 11111;
}
.habbodyPanelC {
  overflow: auto;
}

.habhdrPanelC,
.habhdrPanelC-DH {
  width: 450px;
  height: 40px;
  padding: 2px 0px 5px 0px;
}

.windowDisplay {
  display: block;
}
/* #viewDiv {
  opacity: 0.3;
} */
#layerSliders {
  padding: 10px;
  background-color: #f0f0f0;
  max-height: 20vh;
  overflow-y: auto;
}

.slider-container {
  margin-bottom: 10px;
}

.slider-label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

input[type="range"] {
  width: 100%;
}
.layer-button {
  display: block;
  margin: 5px 0;
  padding: 5px 10px;
  background-color: #0079c1;
  color: white;
  text-align: center;
  cursor: pointer;
  border-radius: 3px;
}
#layerListContainer {
  width: 300px;
  position: absolute;
  top: 50px;
  left: 500px;
  z-index: 99;
}

#attributeTable {
  position: absolute;
  bottom: 200px;
  right: 10px;
  background: rgba(239, 233, 233, 0.901);
  padding: 10px;
  border: 1px solid rgb(234, 102, 25);
  z-index: 1000;
}
#inundationSlider {
  position: absolute;
  top: 123px;
  left: 269px;
  bottom: 0px;
}
#featureTableDiv {
  position: absolute;
  background: rgba(239, 233, 233, 0.901);
  margin: 20px;
  padding: 5px;
  top: 150px;
  left: 250px;
  border: 2px solid blue;
  z-index: 11111111;
  width: 500px;
  height: 500px;
  display: none;
}

#islider {
  position: absolute;
  width: 71px;
  opacity: 1;
  z-index: 1100;
  padding-bottom: 2rem;
  background: #94b1c3;
  box-shadow: 3px 3px 10px 3px rgb(0 0 0 / 32%);
}

#tableDiv {
  height: 300px;
}

.esri-slider--vertical .custom-ticks3 {
  margin-left: 150px;
  margin-top: -2px;
  height: 0px;
  width: 0px;
  border-radius: 2px;
  z-index: 50;
}
.esri-slider--vertical .custom-ticks4 {
  margin-left: 150px;
  margin-top: -2px;
  height: 0px;
  width: 0px;
  border-radius: 2px;
  z-index: 50;
}
.esri-slider--vertical .custom-tick-labels2 {
  margin-left: 65px;
  font-weight: 550;
  font-size: 12px;
  font-style: oblique;
  color: #cd6413;
  word-wrap: normal;
  z-index: 50;
}
.esri-slider--vertical .custom-tick-labels3 {
  margin-left: 93px;
  font-weight: 650;
  font-size: 14px;
  font-style: oblique;
  color: #00467f;
  word-wrap: normal;
  z-index: 50;
}

/* Changing the look of the map icons - applies only to the button */
div[title="Legend" i],
div[title="Change Basemap" i],
div[title="Add Data" i],
div[title="About Habitat Viewer" i],
div[title="Viewer Instructions" i],
/* div[title="Search" i], */
div[title="Create Report" i],
div[title="Habitat Report" i] {
  width: 80px;
  height: 36px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
}

div[title="Change Basemap" i] {
  height: 42px;
}

div[title="Add Data" i] {
  width: 80px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
}

/* Hide .esri-icon-font-fallback-text inside div with title "Zoom in" */
div[title="Zoom in" i] .esri-icon-font-fallback-text {
  display: none;
}

.esri-button {
  margin: 5px 0px 5px 0px;
}

.uploadExpand p,
.uploadExpand {
  display: block;
}

.geometry-options {
  display: flex;
  flex-direction: row;
}

.geometry-button-selected {
  background: #4c4c4c;
  color: #fff;
}

#distanceNum {
  width: 100%;
  height: 60px;
}

.intTextBox {
  width: 50%;
  color: #00467f;
}

/********styling for elements in the add data box*******/
label {
  padding: 5px;
  font-weight: 450;
  color: #4a6e85;
  font-size: medium;
}
input {
  padding: 5px;
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  color: #4a6e85;
}
input[id="reportTitle"] {
  width: 60%;
  color: #4a6e85;
}

input[id="reportNotes"] {
  width: 90%;
}

#addDataBox.esri-widget {
  padding: 10px;
  width: 300px;
  word-wrap: break-word;
  visibility: hidden;
  position: absolute;
  right: 90px;
  top: -50px;
}
input[id="url"] {
  width: 100%;
}
input[id="layername"] {
  width: 90%;
}
div[title="Add Data" i] {
  width: 80px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
}

#printReportBox {
  visibility: hidden;
  padding: 15px;
  background: white;
  width: 500px;
  height: max-content;
  max-height: 400px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  position: absolute;
  right: 90px;
  top: -190px;
  z-index: 500;
}

/******** FOR information expand button with details******************/

#mainWindow {
  padding: 0.5em;
  background-color: #fff;
}

#mainWindow p,
#uploadForm {
  display: block;
  padding: 0.1em;
}

.geometry-options {
  display: flex;
  flex-direction: row;
}

.geometry-button,
.layer-button {
  flex: 1;
  border-style: solid;
  border-width: 1px;
  border-image: none;
}

.geometry-button-selected {
  background: #4c4c4c;
  color: #fff;
}

/* .options {
  max-width: 260px;
  width: 100%;
  height: 25px;
} */

#distanceNum {
  width: 100%;
  height: 60px;
}

/* .intTextBox {
  width: 50%;
} */
.filterBox {
  position: absolute;
  left: 300px;
  width: 150px; /* Adjusted width */
  background-color: white;
  box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 32%);
  z-index: 1111111;
  outline: 0.5px rgb(0 0 0 / 32%);
  resize: both;
  overflow: auto;
  cursor: move;
}

.filterBox select {
  width: 100%; /* Adjust this value as needed */
  max-width: 100%; /* Ensure the dropdown doesn't exceed the filter box width */
  box-sizing: border-box; /* Include padding and border in the element's total width */
}
/* this positions the Filter Species dropdown box */
#filters-for-species {
  position: absolute;
  left: 900px;
  top: 150px;
  /* right: 400px; */
  box-sizing: border-box;
  width: 20vw; /* Adjusted width */
  height: auto;
  background-color: rgb(223, 221, 221);
  padding: 10px;
  box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 32%);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  overflow-y: auto;
}
#searchButton {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 99;
  background-color: white;
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
}
#filters-for-species select {
  width: 100%; /* Adjust this value as needed */
  max-width: 100%; /* Ensure the dropdown doesn't exceed the filter box width */
  box-sizing: border-box; /* Include padding and border in the element's total width */
}
.hide {
  display: none;
}
.esri-search {
  width: 515px;
  background-color: #f7b370; /* Light cyan background color for the search widget */
  border-radius: 5px; /* Optional: add rounded corners */
  border: 1px solid #e8670a; /* Optional: add a border */
}
.esri-search .esri-widget--button {
  box-shadow: none;
  height: auto;
}
/* Customize input text box */
.esri-input {
  background-color: #ffffff; /* White background for input */
  color: #333; /* Text color */
}

/* Change the search button color */
.esri-search__submit-button {
  background-color: #de6d10; /* Teal color for the button */
  color: #ffffff; /* White color for the icon */
}

/* Optional: Change the placeholder text color */
::placeholder {
  color: #888; /* Light gray placeholder color */
}

/* Change the dropdown background */
.esri-menu {
  background-color: #e0f7fa; /* Light cyan background for the dropdown */
}

/* Style for the result list */
.esri-search__suggestions-menu {
  background-color: #ffffff; /* White background for suggestions */
  border: 1px solid #009688; /* Teal border for suggestions */
}

/* Style the active result in suggestions */
.esri-search__suggestions-item--active {
  background-color: #b2dfdb; /* Light teal background for active item */
}
.esri-layer-list__item {
  margin: 0px 0;
  font-weight: bold;
  font-size: 15px;
  /* width: 265px; */
  border: 0.1px solid white;
}
/* Targeting only group titles in the LayerList */
.esri-layer-list__group.esri-layer-list__item {
  font-weight: bolder;
  font-size: 20px; /* You can also use a specific size like 16px */
}
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid orange;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.uploadExpand {
  background-color: #fff;
  position: absolute;
  top: -40vh;
  right: 10vh;
  box-sizing: border-box;
  width: 500px;
  max-width: 50vw;
  height: auto;
  padding: 1rem;
  border-radius: 20px;
}

/* CSS */
.button-17 {
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #4a6e85;
  border-radius: 0.25rem;
  /* box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0; */
  box-sizing: border-box;
  color: #4a6e85;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-height: 2rem;
  padding: 0.1rem 0.5rem;
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.button-17:hover,
.button-17:focus {
  border-color: #4a6e85;
  /* box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px; */
  color: #4a6e85;
}

.button-17:hover {
  transform: translateY(-1px);
}

.button-17:active {
  background-color: #f0f0f1;
  border-color: #f0f0f1;
  /* box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px; */
  color: rgba(0, 0, 0, 0.65);
  transform: translateY(0);
}
