html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
body {
  min-height: 672px;
  box-sizing: border-box;
}
body.calcite-mode-dark {
  --calcite-sans-family: "Nunito", sans-serif;
  --calcite-color-foreground-1: white;
  /* --calcite-color-text-2: gray; */
  --calcite-color-text-1: #00467f;
  --calcite-color-text-2: black;
  --calcite-modal-context-text-internal: 12px;
}
.hide {
  display: none;
}
/************************ MODAL ************************/
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: white;
  margin: 10% auto;
  padding: 20px;
  width: 80%;
  text-align: left;
}
.modalHeader {
  color: #00467f;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.188rem;
  text-align: center;
}
.modalSubhead {
  font-weight: 600;
  color: #4a6e85;

  font-size: medium;
  font-style: italic;
}
p12 {
  font-size: 0.813rem;
  color: rgb(59, 59, 59);
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}
.disclaimer-text {
  font-size: 0.625rem;
}
.termsBoxDiv {
  height: 150px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
}

.close {
  cursor: pointer;
  float: right;
  font-size: 1.25rem;
}
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px; /* Space between checkbox and label */
  /* font-family: Arial, sans-serif; */
  font-size: 1rem;
  color: #00467f;
  /* color: gray */
}
#checkboxLabel {
  color: gray; /* Start with gray text */
}
.continueButton {
  display: block;
  margin: auto;
  width: 60%;
  /* margin-top: 10px; */
  padding: 10px 15px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background-color: #00467f; /* Default color */
  color: white;
  border-radius: 5px;
}
/* Style the checkbox itself */
.checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: not-allowed;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/************************ HEADER ************************/
.header {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: space-between;
  margin: 0;
  /* top: 0px;
  left: 0px; */
  height: 80px;
  width: 100%;
  z-index: 10;
  background: white;
  overflow-x: hidden;
}
.firstHeader {
  flex-grow: 2;
  padding-left: 1.2rem;
}
.secondHeader {
  flex-grow: 0;
  padding-right: 2rem;
}
.pTitle {
  font-size: 1.625rem;
  color: #00467f;
  text-align: left;
  margin: auto;
  font-weight: 600;
  letter-spacing: 3px;
  overflow: hidden;
}

.logoDiv1 {
  height: 55px;
  width: auto;
}

.logoDiv2 {
  height: 28px;
  width: auto;
  overflow: hidden;
  padding-top: 28px;
  padding-right: 15px;
}

/****************************************************************************************** 
Map widget icons rounded borders, displays fallback text
************************************************************************************* */
.esri-icon-font-fallback-text {
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  position: absolute;
  height: 0px;
  width: 0px;
}

div[title="About" i],
div[title="Change Basemap" i],
div[title="Add Data" i],
div[title="Legend" i],
div[title="Create Report" i] {
  width: 80px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
}

div[title="Filter Roads" i] {
  width: 80px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  border: 2px solid rgb(205, 100, 19);
  color: rgb(205, 100, 19);
  background: white;
  justify-content: left;
  .esri-icon-font-fallback-text {
    position: relative;
    /* right: -5px; */
    width: auto;
    height: 32px;
    clip: auto;
    font-size: 1rem;
    font-weight: 700;
  }
}

div[title="Road Statistics" i] {
  width: 102px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
}
div[title="Zoom in" i] {
  .esri-icon-font-fallback-text {
    display: none;
  }
}
div[title="Zoom out" i] {
  .esri-icon-font-fallback-text {
    display: none;
  }
}
.button-text {
  text-align: center;
  padding: 5px;
  font-size: var(--calcite-font-size--2);
  font-family: var(--calcite-sans-family) !important;
}
#select-by-rectangle,
#clear-selection {
  width: 45%;
  padding: 5px;
  border: 1px solid rgb(205, 100, 19);
  color: rgb(205, 100, 19);
  text-align: center;
}

.action_btn {
  box-sizing: border-box;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.action_btn_row {
  width: 50%;
  float: left;
  padding: 10px;
}
.esri-icon-font-fallback-text {
  position: relative;
  /* right: 0px; */
  width: 80px;
  height: auto;
  clip-path: auto;
  display: inline;
  font-weight: 600;
  font-display: auto;
  /* font-size: var(--calcite-font-size--1); */
  font-size: 0.75rem;
  font-family: var(--calcite-sans-family) !important;
}
.esri-widget--button {
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  padding: 10px;
  opacity: 0.7;
  width: 80px;
}

.esri-widget--button:hover {
  background-color: rgb(205, 100, 19);
  opacity: 1;
  color: white;
}
.active {
  background-color: rgb(205, 100, 19);
}
.esri-expand {
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
}
.esri-zoom .esri-widget--button {
  width: auto;
  height: auto;
}
.esri-home {
  width: 30px;
}

/************************ START Navigation bar styles ************************/

.nav {
  position: absolute;
  /* background color is lighter shade of vims sky blue */
  background-color: #e0e9ee;
  overflow: hidden;
  top: 77px;
  left: 0px;
  right: 0px;
  height: 47px;
  box-shadow: 2px 2px 10px 2px rgb(0 0 0 / 32%);
  z-index: 1500;
}

/* Style the links inside the navigation bar */
.nav a {
  float: left;
  color: #00467f;
  /*vims blue*/
  font-weight: 500;
  letter-spacing: 3px;
  text-decoration: none;
  font-size: 1.063rem;
  padding: 11px 30px;
  vertical-align: middle;
}

/* Change the color of links on hover */
.nav a:hover {
  background-color: #7399b1;
  /* vims stormy gray */
  color: white;
}

/* Add a color to the active/current link */
.nav a.active {
  background-color: #4a6e85;
  border: 2px solid #4a6e85;
  box-shadow: 2px 2px 10px 2px rgb(0 0 0 / 32%);
  color: white;
}

/************************ page containers styles ************************/

/**********************Home page styles******************************/

.home-content {
  gap: 20px; /* Space between elements */
  /* align-items: stretch; */
  height: 100vh;
  /* padding: 10px 20px; */
}
.home-text {
  display: block;
  left: 30px;
  top: 123px;
  bottom: 25px;
  width: 70%;
  text-align: left;
  overflow-y: auto;
  padding: 20px;
  /* height: 90vh; */
  position: absolute;
  z-index: 600;
  background: white;
}
.home-text h1 {
  color: #4a6e85;
}
#viewHomeDiv {
  /* height: auto; */
  height: 100vh;
  /* height: 100%; */
}
.footer {
  display: block;
  position: absolute;
  bottom: 0px;
  height: auto;
  max-height: 22px;
  width: 100%;
  z-index: 1500;
  padding-bottom: 4px;
  margin-top: -2px;
  background: #ddd;
  -webkit-box-shadow: inset 1px 1px rgba(68, 68, 68, 0.2);
  -moz-box-shadow: inset 1px 1px rgba(68, 68, 68, 0.2);
  box-shadow: inset 1px 1px rgba(68, 68, 68, 0.2);
  text-align: right;
  overflow: hidden;
}
.footerText {
  margin-right: 20px;
  color: #666;
  font-size: 0.7rem;
  padding-bottom: 4px;
}

p {
  font-size: 1rem;
  color: #4a6e85;
  padding: 0px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.link {
  font-size: 1.5rem;
  font-weight: bold;
}

ul {
  font-size: small;
  color: #4a6e85;
  padding: 0px;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

h1 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #4a6e85;
  padding-left: 10px;
  color: #fff;
}
.infoText {
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: #4a6e85;
}

h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: large;
  color: #4a6e85;
  padding-left: 10px;
  color: 85, 255, 0;
}

h3 {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: medium;
  color: #4a6e85;
  padding-left: 0px;
  padding-top: -15px;
  color: 85, 255, 0;
  /* background-color: #e0e9ee; */
  /* border: 1px solid #4a6e85 bottom; */
}
h4 {
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  font-size: small;
  color: #4a6e85;
  color: 85, 255, 0;
  /* background-color: #e0e9ee; */
  /* border: 1px solid #4a6e85 bottom; */
}
h5 {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: medium;
  padding-left: 20px;
  color: #4a6e85;
}
p2 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: large;
  color: #4a6e85;
}
p6 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: medium;
  color: #4a6e85;
}
text11 {
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #4a6e85;
  display: block;
  line-height: 1.4rem;
  margin-top: 1em;
  margin-bottom: 12px;
  margin-left: 0;
  margin-right: 0;
}
.tableheader {
  font-weight: 500;
  font-size: large;
}

.action-button {
  font-size: medium;
  width: auto;
  padding: 7px;
  color: #00467f;
}
.sidebar-icon {
  margin: 3px 6px 0px 0px;
  height: 30px;
  width: auto;
  float: left;
  vertical-align: middle;
  padding: 5px;
}
.stats-icon {
  height: 40px;
  width: auto;
  float: left;
  padding: 5px;
}

/* #tableDiv {
  padding: 0 20px;
  margin: 20px 0;
} */
.road_graphics {
  list-style: none;
  margin: 0;
  padding: 0;
}

/**********************ROADS PAGE STYLES*****************************/
#viewDiv {
  position: absolute;
  top: 123px;
  bottom: 0;
  left: 340px;
  right: 0px;
  overflow-y: hidden;
  z-index: 10;
}

/* FOR docked left sidebar container */
#optionsDiv {
  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;
}

/* #optionsDiv::-webkit-scrollbar {
  display: none;
} */

.sidebarHeader {
  color: white;
  /* color: #00467F; vims blue */
  font-weight: 450;
  text-align: left;
  font-size: medium;
}

/* FOR sea level rise slider container */

#floodingSidebar {
  position: absolute;
  top: 123px;
  left: 269px;
  bottom: 0px;
}
#slider {
  position: absolute;
  width: 71px;
  opacity: 1;
  z-index: 1100;
  padding-bottom: 30px;
  background: #94b1c3;
  box-shadow: 3px 3px 10px 3px rgb(0 0 0 / 32%);
}

/*********************** styling for flooding slider *******************/

.esri-slider--vertical .esri-slider__track {
  width: 71px;
  background-image: linear-gradient(0deg, #94b1c3, white);
  /*+2 hues vims stormy gray to white*/
  background-repeat: no-repeat;
}
/*label is off because it interferes with the event state of the slider*/
.esri-slider--vertical .esri-slider__label {
  left: 40px;
  text-align: center;
  top: -25px;
  cursor: ns-resize;
}
.esri-slider__label {
  margin-left: -53px;
  margin-top: 10px;
  min-width: 80px;
  font-size: small;
  font-weight: 500;
  letter-spacing: 2px;
  color: white;
  z-index: 500;
  outline: none;
}

/*removes the horizontal bar for thumb*/
.esri-slider--vertical .esri-slider__anchor {
  height: 0px;
  outline: none !important;
}

.esri-slider__thumb {
  background-color: transparent;
  left: 56px;
  top: -19px;
  transition: scale(1.1) ease-in-out;
  z-index: 500;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-right: 35px solid #eb7d28;
  border-bottom: 20px solid transparent;
  border-left: 0px solid transparent;
}

.esri-color-size-slider .esri-slider .esri-slider__thumb:before {
  position: absolute;
  top: -19px;
  left: 56px;
  width: 0px;
  height: 0px;
  background-color: transparent;
  transition: transform 125ms ease-in-out, background-color 125ms ease-in-out;
}
.esri-color-size-slider .esri-slider .esri-slider__thumb:after {
  position: absolute;
  left: 56px;
  top: -19px;
  border-top: 20px solid transparent;
  border-right: 35px solid #eb7d28;
  border-bottom: 20px solid transparent;
  border-left: 0px solid transparent;
  height: 0;
  width: 0;
}
.esri-slider__thumb:hover {
  transition: transform 0.15s ease-out;
  cursor: ns-resize;
  height: 0px;
  left: 56px;
  top: -19px;
  width: 0px;
  cursor: grab;
  border-top: 20px solid transparent;
  border-right: 35px solid #eb7d28;
  border-bottom: 20px solid transparent;
  border-left: 0px solid transparent;
}

.esri-slider__anchor--moving:focus .esri-slider__thumb {
  border-top: 20px solid transparent;
  border-right: 35px solid #eb7d28;
  border-bottom: 20px solid transparent;
  border-left: 0px solid transparent;
  cursor: ns-resize;
}

.esri-slider__anchor--moving .esri-slider__label:hover {
  cursor: ns-resize;
}
.esri-slider__anchor--moving .esri-slider__label--interactive:hover {
  cursor: ns-resize;
}

/*whole number tick marks*/
.esri-slider--vertical .esri-slider__ticks {
  margin: 0 0 0 -100px;
  top: -3;
  bottom: 20;
}
/*whole number tick marks*/
.esri-slider--vertical .esri-slider__tick {
  height: 2px;
  width: 28px;
  margin-left: 72px;
  background: #4a6e85;
}
/*whole number tick marks*/
.esri-slider--vertical .esri-slider__tick-label {
  margin-left: 60px;
  margin-right: 500px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 13px;
  color: #4a6e85;
}
/* for the header "Flooding Level" label on top of slider */
.esri-slider--vertical .custom-ticks {
  height: 0px;
}

.esri-slider--vertical .custom-tick-labels {
  margin-left: 70px;
  font-weight: 600;
  font-size: 13px;
  color: #4a6e85;
  overflow: visible;
  border: 15px solid white;
  -webkit-border-radius: 200px/150px;
  -moz-border-radius: 200px/150px;
  border-radius: 200px/150px;
  box-shadow: 2px 0px 0px 0px rgb(0 0 0 / 10%);
}

/* for the MHW labels on slider-currently no tick marks, only labels */
.esri-slider--vertical .custom-ticks2 {
  margin-left: 150px;
  margin-top: -2px;
  height: 0px;
  width: 0px;
  border-radius: 2px;
  z-index: 50;
}

.esri-slider--vertical .custom-tick-labels2 {
  margin-left: 63px;
  font-weight: 400;
  font-size: 12px;
  font-style: oblique;
  color: #cd6413;
  word-wrap: normal;
  z-index: 50;
}
/*half number tick marks*/
.esri-slider--vertical .custom-ticks-half {
  height: 1px;
  width: 17px;
  margin-left: 84px;
  background: #4a6e85;
}
.esri-slider--vertical .custom-tick-labels-half {
  margin-left: 60px;
  font-weight: 300;
  font-size: 00px;
  overflow: visible;
}

/********************* styling for dropdown box for starting point and stats box***********************************/
.esri-widget {
  color: #4a6e85;
  font-size: small;
  font-family: "Nunito", sans-serif;
  box-sizing: content-box;
}

.esri-ui-top-left .esri-component:first-child {
  margin-top: 40px;
}
.esri-view-height-small .esri-expand .esri-widget--panel,
.esri-view-height-small .esri-expand .esri-widget--panel-height-only,
.esri-view-height-small .esri-ui-corner .esri-component.esri-widget--panel,
.esri-view-height-small
  .esri-ui-corner
  .esri-component.esri-widget--panel-height-only {
  max-height: 420px;
  border-radius: 20px;
  padding: 5px;
  position: absolute;
  right: 90px;
}

.esri-select {
  background-color: #f6f9fa;
}
#startingPointSelect {
  max-height: 100%;
  width: 85%;
  position: relative;
}
/*styling for dropdowns in the layerlist*/

/************************************************** styling for layer list ***********************************/
/* changes the eye click for a layer to a check box */

.esri-layer-list {
  padding: 1px 1px;
  width: 255px;
}

.esri-icon-visible::before {
  content: "\e611";
}
.esri-icon-non-visible::before {
  content: "\e610";
}

.esri-layer-list__item {
  margin: 0px 0;
  /* width: 250px; */
  border: 0.1px solid white;
  font-size: 0.9rem;
  font-weight: 600;
}

/*changes the loading layer item to a narrow scrolling orange bar -- doesn't work in 4.26*/
.esri-layer-list__item--updating:before,
.esri-layer-list__item--updating:after {
  height: 2.5px;
  top: 1px;
}
/*changes the loading layer item to a narrow scrolling orange bar -- doesn't work in 4.26*/
.esri-layer-list__item--updating:after {
  background-color: #eb7b28;
  width: 35%;
}

/*changes background color for group layer headings*/
.esri-layer-list__item--has-children > .esri-layer-list__item-container {
  background-color: #e0e9ee;

  /* lighter vims stormy gray */
}

/*decreases left indent of child layers*/
.esri-layer-list__list {
  /* margin: 0 0 0 0px; */
  padding: 0px 0px;
}

.esri-layer-list__item-label {
  color: #4a6e85;
}

.roadFilterStyle {
  position: absolute;
  visibility: hidden;
  background-color: white;
  top: -170px;
  right: 90px;
  width: max-content;
  padding: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

#filters-for-roads {
  position: absolute;
}

/*for the roads filter button and hover text*/

button {
  font-family: "Nunito", sans-serif;
  color: rgb(74, 110, 133);
  font-size: 13px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
#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: 10px;
  bottom: 70px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#HabprintReportBox {
  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: 10px;
  bottom: 70px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#printReportBox p,
#printReportBox span,
#printReportBox label #HabprintReportBox p,
#HabprintReportBox span,
#HabprintReportBox label {
  margin: 0 0 5px 0;
  width: 100%;
}

#printReportBox label,
#HabprintReportBox label {
  display: flex;
  flex-direction: column;
  padding: 2px;
  font-weight: 500;
  color: #4a6e85;
  font-size: medium;
}

#printReportBox input,
#HabprintReportBox input {
  padding: 5px;
  font-weight: 300;
  font-style: italic;
  font-size: 13px;
  color: #00467f;
}
input[id="reportDate"] {
  width: 20%;
  color: #4a6e85;
}

/********styling for elements in the statistics box*******/
#statsWrapper,
#hospstatsWrapper {
  display: none;
}
#results,
#hospitalresults {
  position: absolute;
  right: 10px;
  bottom: 20px;
  padding: 15px;
  background: #fff;
  width: 550px;

  height: max-content;
  max-height: 60vh;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  z-index: 200;
}

#Habresults {
  position: absolute;
  right: 10px;
  bottom: 45px;
  padding: 15px;
  background: #fff;
  width: 550px;
  height: max-content;
  max-height: 60vh;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  z-index: 200;
}

.tg {
  text-align: left;
}
.tg td {
  font-size: 12px;
  overflow: hidden;
  vertical-align: middle;
  word-break: normal;
}
.tg th {
  font-size: 14px;
  font-weight: normal;
  overflow: hidden;
  padding: 10px 10px;
  word-break: normal;
}
.colorBar {
  color: white;
  background-color: #f56b00;
  border-color: #000000;
  text-align: center;
  vertical-align: middle;
  padding: 2px 2px;
}
.statsBar {
  border: 0.5px solid green;
  text-align: center;
  width: 25%;
  padding: 10px 10px;
}
.tg .tg-4vx2 {
  background-color: #fff;
  border-color: #000000;
  text-align: left;
  vertical-align: middle;
}
.tg .tg-xwyw {
  border-color: #000000;
  text-align: center;
  vertical-align: middle;
}
.bold {
  font-weight: 600;
}

.vals {
  font-weight: bolder;
  font-size: medium;
  color: #ff9800;
}
.vals2 {
  font-weight: bolder;
  font-size: large;
  color: #ff9800;
}

.stats-content {
  font-weight: 450;
  font-size: small;
  color: #4a6e85;
}
#roadsList {
  visibility: hidden;
}
#fldzoneList {
  visibility: hidden;
}
#ownList {
  visibility: hidden;
}
/********styling for elements in the add data box*******/

#addDataBox.esri-widget {
  background: #fff;
  height: auto;
  word-wrap: break-word;
  visibility: hidden;
  border-radius: 20px;
  position: relative;
  right: 10%;
  top: 15%;
  overflow-x: scroll;
}
input[id="url"] {
  width: 90%;
}
input[id="layername"] {
  width: 100%;
}
#addDataBox label {
  display: flex;
  flex-direction: column; /* Stack label and input vertically */
  margin-bottom: 15px; /* Space between labels */
}
#addDataBox div {
  width: 100%;
}

/*******layer info box/panel styles from Tami adaptva styles *************/
#layerInfoPanel {
  position: absolute;
  top: 200px;
  left: 300px;
  width: 450px;
  background-color: white;
  box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 32%);
  display: none;
  z-index: 1100;
  outline: 0.5px rgb(0 0 0 / 32%);
}

#lyrInfoBody {
  padding: 5px 10px;
  max-height: 200px;
  overflow: auto;
}

.esri-icon-close-circled {
  top: 6px;
  cursor: pointer;
  position: absolute;
  right: 5px;
  background-color: transparent;
  color: #00467f;
  border: none;
}

.esri-icon-close-circled:hover {
  color: #00467f;
}

.span#filterConds {
  color: #4a6e85;
}

.closeB {
  cursor: pointer;
  float: right;
  background-color: transparent;
  border: none;
}

.closeB:hover {
  color: #000000;
}

.bodyPanelC {
  overflow: auto;
}

.hdrPanelC,
.hdrPanelC-DH {
  width: 450px;
  height: 40px;
  padding: 2px 0px 5px 0px;
}

/******** FOR information expand button with details******************/
.esri-expand {
  display: inline;
  background-color: white;
  box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 32%);
}

.infoBox {
  position: absolute;
  /* top: 40px; */
  right: 10%;
  box-sizing: border-box;
  width: 50vw;
  max-width: 600px;
  height: auto;
  max-height: 500px;
  background-color: white;
  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: auto;
}

.esri-legend {
  font-family: "Nunito", sans-serif;
}

/*********************************for upload shapefile*****************/
#mainWindow {
  visibility: hidden;
  padding: 15px;
  /* background: #fff; */
  width: auto;
  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;
}
.shpUpload {
  background: #fff;
}

.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;
}

#distanceNum {
  width: 100%;
  height: 60px;
}

/*****************************error message when browser too small*/
#loading {
  display: inline-block;
}
.progress {
  visibility: visible;
}
.progress--hidden {
  visibility: hidden;
}
#error-message {
  display: none;
  padding: 100px;
  text-align: left;
}

.accordion-item {
  border: 1px solid #ccc;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.accordion-header {
  background-color: #f7f7f7;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  /* text-align: left; */
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
}

.accordion-content {
  padding: 10px;
  background-color: #fff;
  display: none;
}

.accordion-arrow {
  margin-left: 10px;
  margin-right: auto;
}
.hide {
  display: none;
}

.esri-layer-list__updating {
  background-color: transparent;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  border: 3px solid #4a6e85;
  border-bottom-color: transparent;
  /* border-right: 3px solid transparent; */
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 1212px) {
  .pTitle {
    font-size: 1.25rem;
  }

  .esri-search {
    width: 400px;
  }
  .esri-input {
    font-size: 0.625rem;
  }
}

@media only screen and (max-width: 975px) {
  .header {
    overflow: hidden;
  }
  .esri-search {
    width: 300px;
  }
  .esri-search__submit-button,
  .esri-search__sources-button {
    width: 50px;
  }
}
@media only screen and (max-width: 1100px) {
  #results {
    right: -220px;
    max-width: 50vw;
    bottom: 70px;
  }

  #hospitalresults {
    right: -100px;
    bottom: 70px;
    max-width: 50vw;
  }

  #Habresults {
    right: -200px;
    bottom: 70px;
    max-width: 50vw;
  }
  .esri-expand__content--expanded {
    max-width: 40vw;
  }
  .uploadExpand,
  #HabprintReportBox,
  .infoBox {
    right: 1.5vw;
    max-width: 40vw;
  }
}
@media only screen and (max-width: 900px) {
  .nav a {
    letter-spacing: 2px;
    font-size: 0.875rem;
  }
}
@media only screen and (max-width: 820px) {
  #optionsDiv {
    display: none;
  }
  #floodingSidebar,
  #haboptionsDiv,
  #inundationSlider {
    display: none;
  }
  .nav {
    display: none;
  }
  #viewDiv {
    display: none;
  }

  .header {
    overflow: hidden;
  }
  .tg {
    width: auto !important;
  }
  .tg col {
    width: auto !important;
  }
  .tg-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: auto 0px;
  }
}
@media only screen and (max-width: 800px) {
  #error-message {
    display: block;
    text-align: left;
  }
  .descriptionText {
    display: none;
  }
  #viewHomeDiv {
    display: none;
    width: 0%;
  }
  .home-text {
    width: 70%;
    overflow-x: hidden;
  }
}
@media (max-height: 672px) {
  .esri-ui-top-right {
    flex-flow: row;
  }

  p {
    font-size: 0.7rem;
  }

  .action-button {
    font-size: small;
  }
  label {
    font-size: small;
  }

  #printReportBox label,
  #HabprintReportBox label {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  #printReportBox label input,
  #HabprintReportBox label input {
    margin-top: 0;
    margin-left: 10px; /* Space between label and input */
  }
  #printReportBox input #HabprintReportBox input {
    width: 100%;
  }
  .roadFilterStyle {
    top: 0px;
  }
  .infoBox {
    top: 60px;
    /* left: -65px; */
    /* position: relative; */
    height: 300px;
    width: 450px;
  }
  #addDataBox.esri-widget {
    position: relative;
  }
  .uploadExpand {
    top: 0vh;
    width: 500px;
    height: auto;
    overflow: scroll;
  }
  .button-17 {
    display: inline-flex;
    font-size: 0.813rem;
    font-weight: 600;
    margin: 0;
    height: 1.2rem;
    padding: 0.1rem 0.1rem;
    width: auto;
  }
  #Habresults {
    position: absolute;
    right: -160px;
    bottom: 60px;
    width: 550px;
    height: max-content;
    max-height: 60vh;
  }
}
@media (max-height: 570px) {
  #error-message {
    display: block;
  }
  #viewHomeDiv {
    display: none;
    width: 0%;
  }
  #optionsDiv {
    display: none;
  }
  #floodingSidebar,
  #haboptionsDiv,
  #inundationSlider {
    display: none;
  }
  .nav {
    display: none;
  }
  #viewDiv {
    display: none;
  }

  .header {
    overflow: hidden;
  }
  .tg {
    width: auto !important;
  }
  .tg col {
    width: auto !important;
  }
  .tg-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: auto 0px;
  }
}
