/* Base styles */
html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

#nav_bar {
  width: 100%;
  height: 35px;
  background-color: #EABD18;
  display : flex;
  align-items : center;
}

#legendWidget {
  margin-left: 5px; /* Push the Basemap widget to the right */
  /* margin-right: 10px; Add some right margin for spacing */
  height: 35px; /* Adjust the height as needed */
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
  /* Adjust the height of nav_bar for smaller screens */
  #nav_bar {
    height: 50px;
  }
}

#infoButton {
  margin-left: auto; /* Push the info button to the right */
  height: 35px;
}

/* Specificity increased to override default styles */
#nav_bar #infoButton.active{
  background-color: #FFD700; /* Change the background color to darker yellow when active */
  border-color: #FFD700; /* Change the border color to match the background color */
}

.action-button {
  font-size: 16px;
  background-color: transparent;
  border: 1px solid #d3d3d3;
  color: #6e6e6e;
  height: 32px;
  width: 32px;
  text-align: center;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.action-button:hover,
.action-button:focus {
  background: #0079c1;
  color: #e4e4e4;
}

.active {
  background: #0079c1;
  color: #e4e4e4;
}


/* print button */
#printButton {
  display: flex;
  /* Use flexbox */
  justify-content: center;
  /* Center content horizontally */
  align-items: center;
  /* Center content vertically */
  position: absolute;
  /* color: #000; */
  top: 50px;
  /* Adjust top position as needed */
  left: 100px;
  /* Adjust left position as needed */
  width: 32px;
  /* Adjust width as needed for the button */
  height: 32px;
  /* Adjust height as needed for the button */
  cursor: pointer;
  /* Show pointer cursor on hover */
  background-color: #fff;
  /* Text color when hovered or clicked */
  border: 1px solid transparent;
  /* Initial border style */
  /* padding: 0; Remove default padding */
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

#printButton img {
  width: 20px;
  /* Adjust width of the image */
  height: 15px;
  /* Adjust height of the image */
  opacity: 0.6;
  /* Adjust opacity of the image */
  transition: opacity 0.3s;
  /* Add transition effect for smoother opacity change */
}

#printButton:hover,
#printButton:active {
  border-color: #0079c1;
  /* Border color when hovered or clicked */
  background-color: #e4e4e4;
  /* Text color when hovered or clicked */
}

.esri-print {
  /* Adjust position as needed */
  left: 100px;
  /* Example adjustment for horizontal position */
  top: 50px;
  /* Example adjustment for vertical position */
}

#toolbarDiv {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: default;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

#topbar {
  display: flex;
  background-color: #fff;
  cursor: default;
  /* Align buttons horizontally */
}

.esri-widget--button.active,
.esri-widget--button.active:hover,
.esri-widget--button.active:focus {
  cursor: default;
  background-color: #e4e4e4;
}

.esri-widget--button.active path,
.esri-widget--button.active:hover path,
.esri-widget--button.active:focus path {
  fill: #0079c1;
}

#clear{
  border: 1px solid #e4e4e4;
}

#clear:hover,
#clear:active {
  border-color: #0079c1;
  /* Border color when hovered or clicked */
  background-color: #e4e4e4;
  /* Text color when hovered or clicked */
}

/* .popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1001;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #888;
}

.popup-content {
  text-align: center;
}

.popup-content h2 {
  margin-top: 0;
}

.popup-content p {
  margin-bottom: 0;
} */
