div{
  margin-left: auto;
  margin-right: auto; /*these center divs*/
}

#header-wrap {
    position: absolute; /*to center comment out this line*/
   /* position: relative;*/
    height: 120px;
    width: 1040px;
    left: 50px;
    /*width: 100%;*/
    /*margin: auto;*/
    text-align: center;
    /*border: solid 1px;*/
    background-color: white;
    margin: 10px;
}

h1 {color: #2E2E2E;
    font-family: "Oswald" "Verdana";
    font-size: 42px;
    text-align: center;
    font-weight: bold;
    letter-spacing: -2px;
    }

#instruct {
    position: absolute;
    /*position: relative;*/
    height: 195px;
    width: 1020px;
    /*width: 100%;*/
    top: 130px;
    left: 50px;
    font-size: 15px;
}

/*Map Sidebar DIV*/
#map_title {
    position: absolute;
    top: 404px;
    left: 370px;
    width: 680px;
    /*width: 70%;*/
    height: 50px;
    font-size: 30px;
    text-align: center;
}

#map_sidebar {
    position: absolute; /*to center comment out this line*/
    top: 440px;
    left: 50px;
    height: 400px;
    width: 300px;
    /*width: 25%;*/
    border-radius: 6px;
    background-color: #E6E6E6;
    margin: 0px;
    border:1px solid #D8D8D8;
}

form{
    margin-left: 10px;
    margin-top: 5px;
    font-family: Arial;
    font-size: 16px;
}


#map {
    position: absolute; /*to center comment out this line*/
    top: 440px;
    left: 370px;
    height: 400px;
    width: 680px;
    /*width: 70%;*/
    border-radius: 6px;
    background-color: white;
    margin: 0px;
    border: 1px solid #D8D8D8;
    z-index: 10;
}

#map_instruct {
    position: absolute;
    height: 150px;
    width: 900px;
    top: 840px;
    left: 150px;
    font-size: 15px;
}

#LegendText {
    position: absolute;
    padding-top: 2px;
    padding-left: 2px;
    height: 130px;
    width: 70px;
    top: 675px;
    left: 965px;
    text-align: left;
    background-color: white;
    line-height: 18px;
    z-index: 50;
    font-size: 11px;
}

ul{
   padding-left:50px;
   text-indent:2px;
    list-style: none;
   list-style-position:outside; 
  
}

li:before {
    content: "\2714";
    margin-left: -1em; margin-right: .100em;
}


/*Chart sidebar*/
#chart_title {
    position: absolute;
    top: 1000px;
    left: 370px;
    width: 680px;
    height: 50px;
    font-size: 30px;
    text-align: center;
}

#chart_sidebar {
    position: absolute; /*to center comment out this line*/
    top: 1040px;
    height: 500px;
    width: 300px;
    left: 50px;
    border-radius: 6px;
    background-color: #E6E6E6;
    margin: 0px;
    border:1px solid #D8D8D8;
}

#subbasin {
    width: 280px;
}
              

#chart {
    position: absolute; /*to center comment out this line*/
    top: 1040px;
    left: 370px;
    height: 500px;
    width: 580px;
    border-radius: 6px;
    background-color: white;
    margin: 0px;
    /*border: 1px solid #D8D8D8;*/
    z-index: 10;
}

#chart_legend{
    position: absolute;
    top: 1170px;
    left: 960px;
    height: 250px;
    width: 200px;
 
}

#chart_instruct {
    position: absolute;
    height: 150px;
    width: 900px;
    top: 1550px;
    left: 150px;
    font-size: 15px;
}

#footer {
    position: absolute;
    padding-top: 30px;
    padding-left: 30px;
    left: 0px;
    height: 250px;
    width: 1100px;;
    top: 1790px;
    text-align: left;
    background-color: #E6E6E6;;
}


#internal_footer {
    position: absolute;
    padding-top: 10px;
    left: 380px;
    top: 1800px;
    width: 700px;
    text-align: left;
    z-index: 50;
    font-family: arial;
    font-size: 18px;
}


#author{
    padding-left: 80px;
}

/* Map Style */
.info {
            padding: 6px 8px;
            font: 14px/16px Arial, Helvetica, sans-serif;
            background: white;
            background: rgba(255,255,255,0.8);
            box-shadow: 0 0 15px rgba(0,0,0,0.2);
            border-radius: 5px;
        }
        .info h4 {
            margin: 0 0 5px;
            color: #777;
        }

        .legend {
            text-align: left;
            font-size: 12px;
            line-height: 18px;
            color: #555;
        }
        .legend i {
            width: 16px;
            height: 16px;
            float: left;
            margin-right: 8px;
            opacity: 0.7;
        }

/* Map Popup Style */
.custom-popup .leaflet-popup-content-wrapper {
  background:#2c3e50;
  color:#fff;
  font-size:14px;
  line-height:18px;
  border-radius: 8px;
  opacity: 0.8;
  }
.custom-popup .leaflet-popup-content-wrapper a {
  color:rgba(255,255,255,0.5);
  }
.custom-popup .leaflet-popup-tip-container {
  width:30px;
  height:15px;
  }
.custom-popup .leaflet-popup-tip {
  border-left:15px solid transparent;
  border-right:15px solid transparent;
  border-top:15px solid #2c3e50;
  }