html,
body{
  font-family: sans-serif;
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

#viewDiv {
  position: absolute;
  right: 0;
  left: 0;
  top: 0px;
  bottom: 0px;
}

#chartOne{
  position:absolute;
  top:5px;
  left:500px;
  width:300px;
  height:200px;
}


.esriPopup.modernGrey {
  -webkit-box-shadow: 1px 1px 3px #dbdbdb;
  box-shadow: 1px 1px 3px #dbdbdb;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-align: center
}

.esri-feature__content-element {
    padding: 0 7px 7px
}

.esri-popup__feature-buttons{
  display:none;
}

.esri-popup--footer-visible .esri-popup__footer {
  display: none
}

.esri-popup__footer {
  display: none !important;
}

.esri-popup__header{
  display:none
}

.esri-feature h1{
  font-size:15px;
}

.esri-view-width-large .esri-popup__main-container {
  width: 190px
}

.esri-view-height-large .esri-popup__main-container {
  max-height:200px;
}

.esri-popup-renderer{
  width: 220px;
  max-height: 800px;
  height: auto;
  margin-left: 3%;
}

.esri-popup__main-container {
  background-color: white;
  opacity: 1;     
  max-width: 370px;
  max-height:202px;
  height:auto;
}

.esri-view-width-large .esri-popup__main-container {
    width: auto;
}

.esri-popup-renderer__media-container {
  margin-top:10px;
  padding-top:40px;
  margin-left:0px;
}

.esri-popup-renderer__main-container {
  height: auto;
  max-width:370px;
  padding-top: 10px;
}

.esri-view-height-less-than-medium .esri-popup__main-container{
  max-width: 370px;
}

.esri-popup-renderer__field-data{
  width: 10px;
}

.esri-popup__content{
  max-width: 350px;
  max-height: 800px;
  height: auto;
  width: auto;
  margin-bottom:20px;
  text-align:center;
  margin: 15px 12px;

}

.esri-popup--content-visible .esri-popup__content{
  margin: 0 0px;
}

.esri-popup-renderer__media .esri-popup-renderer__content-element{
  padding-top: 10px;
  line-height: 0pt
}

.esri-popup-renderer__content-element{
  text-align: center;
}

.esri-popup-renderer__content-element:last-child {
    padding-bottom: 5px;
    padding-top: 0px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    opacity: 1;
    text-align: center;
    line-height: 130%;
    width: 216px;
    margin-left: 10px;
}

.esri-widget {
    color: darkslategray;
    font-size: 12px;
    font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 100%;
    stroke:rgb(200,200,200);

}

.esri-widget table{
  line-height: 120%;
  width: 98%;
  margin-top: 6%;
  margin-left: 1%;
  margin-bottom:4%;
}

.esri-widget table tr td{
  width: 20%;
  font-size: 11px;
  text-align: center;
  vertical-align: middle;
}

.esri-widget table tr th:nth-child(1){
  width:33%;
  text-align: center;
  background-color:gray;
  line-height: 150%;
  color:white;
  font-size: 11px;
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-style: bold;
  text-align: center
}

.esri-widget table tr th:nth-child(2){
  width:33%;
  text-align: center;
  background-color:gray;
  color:white;
  font-size: 11px;
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
  text-align: center;

}

.esri-widget table tr th:nth-child(3){
  width:33%;
  text-align: center;
  background-color:gray;
  color:white;
  font-size: 11px;
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
  text-align: center;

}

.esri-widget table.beta tr th:nth-child(1){
  width:33%;
  text-align: center;
  background-color:gray;
  color:white;
  line-height: 150%;
  font-size: 11px;
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
  text-align: center
}

.esri-widget table.beta tr th:nth-child(2){
  width:33%;
  text-align: center;
  background-color:gray;
  color:white;
  line-height: 90%;
  font-size: 11px;
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
  text-align: center

}

.esri-widget table.beta tr th:nth-child(3){
  width:33%;
  text-align: center;
  background-color:gray;
  color:white;
  line-height: 90%;
  font-size: 11px;
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
  text-align: center

}


.esri-popup-renderer__text .esri-popup-renderer__content-element{
  top:10px;
  height:30px;
  align-items: center;
  text-align: center
}

.esri-popup-renderer__content-element {
    padding: 0px 5px 5px;
    height:20px

}

.esri-popup-renderer__media-item-container{
  height:100px;
  margin-top:65%;
  margin-left:-5%;
}

.esri-popup-renderer__media-item-title {
  font-size: 9.5px;
  padding: 0;
  font-style: italic;
  margin-top:-13px;
  margin-left:0;
}

.esri-popup-renderer__media-chart{
  height:100px !important;
  width: 140px !important;
  left: 0px
}

.esri-legend__layer-caption {
    display: none
}

.visible-layer {
  color: #fff;
  background-color: #226F0E;
}


#rateRect{
  position:absolute;
  top:5px;
  left:5px;
  width:115px;
  height:110px;
  background:white;
  outline-width: 1px;
  border-radius: 1px;
  border:1px solid #d3d3d3;
  opacity: 0;
/*  filter: drop-shadow(0 0 0.1rem rgb(180,180,180))*/
}


#rates{
  position:absolute;
  top: 9px; 
  bottom:0px; 
  left:10px; 
  width:59px; 
  height:auto;
  filter:drop-shadow(0.2rem 0.2rem 0.2rem rgb(100,100,100));
}

#ratesLegend{
  position: absolute;
  display:none;
  top: 68px;
  left: 14px;
  width: 55px;
  height:auto;
  filter:drop-shadow(0.2rem 0.2rem 0.2rem rgb(100,100,100));
}

#avail{
  position:absolute;
  top: 9px; 
  bottom:0px; 
  left:76px; 
  width:58px; 
  height:auto;
  filter:drop-shadow(0.2rem 0.2rem 0.2rem rgb(100,100,100));
}


#availLegend{
  position: absolute;
  display:none;
  top: 69px;
  left: 79px;
  width:55px;
  height:auto;
  filter:drop-shadow(0.2rem 0.2rem 0.2rem rgb(100,100,100));
}


@media (max-width: 544px){

/*  .esri-popup__header{
    display:inline-flex;
  }*/

  .esri-popup__main-container {
    background-color: white;
    opacity: 1;     
    max-width: 100%;
    max-height:100%;
    height:auto;
  }

  .esri-popup-renderer__main-container {
    height: 100%;
    max-width:100%;
    padding-top: 10px;
  }

  .esri-view-height-less-than-medium .esri-popup__main-container{
    max-width: 100% !important;
  }

  .esri-popup__content{
    display:contents;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    margin-bottom:20px;
    text-align:center;
    margin: 15px 12px;

  }

}


@media (max-width: 405px){

  .esri-search {
    width: 190px;
/*    display:none;*/
  }

}

@media (max-width: 345px){

  .esri-search {
    display:none;
  }

}
