html, body, .esri-widget {
  font-family: "Roboto", sans-serif !important;
  font-size: 12px;
}

#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

.mobile-message {
  position: absolute;
  z-index: 99;
  top: 10px;
  left: 10px;
}

#layerList {
  padding: 10px;
  width: 610px;
}

#legendExpandDiv {
  width: 300px;
}

#legendDiv{
  width: 100%;
}

#bivariateLayer{
  padding: 0px 15px;
}
#bivariateLegend{
  padding: 0px 15px;
  width: 100%;
}

.esri-legend__message{
  display: none;
}

/* Remove legend caption 
.esri-legend__layer-caption {
  display: none;
}
*/

.opacitySlider {
  height: 20px;
  color: #888;
}

.hazard-icon {
  width: 50%
}

#logoDiv {
  background-color: rgba(255, 255, 255, 0);
  box-shadow: none;
  text-align: center;
}

img {
  max-width:100%;
  max-height:100%;
}

/* Current scenario */
.currentDiv {
  position: manual;
  top: 8px;
  left: 50%;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0); /* Black w/ opacity rgba(0, 0, 0, 0.353)*/
  padding: 10px;
  border: 1px solid #888;
  border-radius: 5px;
  width: 25%;
  text-align: center;
  font-size: 16;
  color: #ffffff;
  transform: translate(-50%, 0);
}

/* Modal */
.modal {
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 150px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.741); /* Black w/ opacity */  
}

/* Modal Content */
.modal-content {
  color: #ffffff;
  background-color: #00000033;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  width: 50%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover, .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Tooltip for layer information */
.tooltip {
  position: relative;
  display: inline-block;
  /* border-bottom: 1px dotted black; */
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 110%;
  
  /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
  opacity: 0;
  transition: opacity 1s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

