* {
  box-sizing: border-box;
}

body,
svg,
canvas {
  margin: 0;
  padding: 0;
}

h2 {
  margin: 0.5em 0 0 0;
}

h3 {
  margin: 0.5em 1em 0.5em 0;
/*  font-family: Georgia, "Times New Roman", Times, serif; 
  font-size: 1.4em; color: #565245; 
  line-height: 1.2em; 
  letter-spacing: 0.04em;*/
}

#root {
  width: 960px;
  font: 1em Helvetica;
  margin: auto;

  margin-bottom: 10em;

  /* margin-top: 500px; */

/*   position: fixed;
  left: 0;
  top: 500px;
  margin: auto; */
}

#map {
  background-color: #fff;
  width: 960px;
  height: 500px;
  margin: auto;
  overflow: hidden;
  /* position: fixed; */
  /* top: 0; */

/*   overflow: hidden;
  position:fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto; */

/*   position: fixed;
  top: 0;
  left: 0;
  margin: auto; */
}

.map--popup-click-to-see-dams {
  font-style: italic;
  font-size: 0.9em;
}

#results {
  display: none;
  width: 100%;
  /* border-top: 1px solid #ccc; */
  margin-top: 50px;
  margin-bottom: 50px;
}

#results-meta {
  display: flex;
}

#results.no-results button.done.bottom {
  display: none;
}

#eq-info {
  display: none;
  margin-bottom: 40px;
}

.dates .date {
  /* display: flex; */
}

#search {
  width: 940px;
  display: inline-block;
  border: none;
  margin: 0.5em;
  padding: 5px;
}

#searchSum {
  display: block;
  border: 1px #8a887d solid;
}

#search > div {
  line-height: 2em;
}

table {
  border: 1px black solid;
  border-collapse: collapse;
  width: 98%;
  margin-bottom: 2em;
  margin-left: .05em;
}

td, th {
  padding: 3px;
}

td {
  border: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

th {
  text-align: left;
  border-bottom: 2px solid #000;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr.row-eq:hover > td {
  cursor: pointer;
  background-color: #a2a2a2;
}

.search-block {
  display: block;
  margin-top: 0.5em;
}

.search-block.submit-options {
  margin-top: 1.5em;
}

.search-block.submit-options .done {
  display: none;
}

body.dam .search-block.submit-options .done {
  display: block;
}

.search-block.date-range {
  display: block;
}

#from-date,
#to-date {
   display: inline; 
  width: 100%%;
  /* float: left; */
}

#from-date > *,
#to-date > * {
  display: inline;
}

select,
input[type="text"] {
  /* display: block; */
  margin: .25em 0;
  padding: .5em .6em;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 3px #ddd;
  border-radius: 4px;
  vertical-align: middle;
  font-weight: 100;
  font-size: 0.9em;
}

select {
  height: 2.25em;
  background-color: #fff;
}

button {
  font-size: 0.9em;
  padding: .5em 1em;
  background-color: #DBDBD8;
  border: 0;
}

/* button.ready:hover {
  background-color: #aaa;
  cursor: pointer;
} */

button.ready {
  background-color: #DBDBD8;
}

button.ready:hover {
  background-color: #8a887d;
  cursor: pointer;
}

#submit {
  margin-bottom: 1.5em;
}

body.dam #submit {
  /* display: none; */
}

body button.done {
  display: none;
}

body.dam button.done {
  display: block;
  background-color: #fff;
  font-style: italic;
  border-bottom: 1px solid #ccc;
  color: #aaa;
  padding: 0;
}

.results-meta button.done {
  font-size: 0.5em;
  /* height: 1.5em; */
  font-size: 0.75em;
}

.results-meta {
  display: flex;
  align-items: center;

}

#hit-rows-limit {
  display: none;

}

.explainer,
#hit-rows-limit.row-len-5000 {
  display: block;
  margin-bottom: 1em;
  color: #aaa;
  font-style: italic;
  font-size: 0.8em;
}

#loading-status {
  display: none;
}

#loading-status.loading {
/* #submit.loading:after { */
  background-image: url('../img/spin.gif');
  background-repeat: no-repeat;
  background-size: 1em 1em;
  display: inline-block;
  width: 1em;
  height: 1em;
  content: "";
  margin-left: 1em;
}
.leaflet-popup {

pointer-events: none;
}

.lastUpdated {
  display: inline;
/*  margin-bottom: .08em;*/
  color: #aaa;
  font-style: italic;
  font-size: 0.8em;

}
.notes {
  width: 940px;
  font: 0.8em Helvetica;
  margin: 0.5em;
  border: 1px #8a887d solid;
  padding: 5px;
}

ul {
	margin: 0.3em;	
}
.mag {
  display: block;
  margin: auto;
  text-align: center;
}
.num {
  display: block;
  margin: auto;
  text-align: right;
}
.head {
  text-align: center;

}

#ten {
  display: none;
  margin: 5px;
  

}
.ten {
  background-color: #DBDBD8;

}

button.ten:hover {
  background-color: #8a887d;

}

#subhead {
  width: 960px;
  font: 1.2em Helvetica;
  margin: auto;
    margin-bottom: 1em;

}

#summary {
  width: 480px;
  font: 0.8em Helvetica;
  margin: 0.5em;
  border: 1px #8a887d solid;
  padding: 5px;
  display: inline-block;
  flex: 1;

}

.totals {
  display: inline;
  padding: 5px;
}

.sumDisplay {
  display: table;
  padding: 10px;
  width: 460px;
}

.summaryTable {
  border: 1px solid black;
  border-collapse: collapse;
  background: transparent;
  text-align: left;
  margin-bottom: 0.2em;

}

.tabNum {
  text-align: right;
}

#sumNotes {
  font-weight:normal;
  font-style:italic;
  color:#8A887D;
  letter-spacing:1pt;
  word-spacing:2pt;
  font-size:12px;
  text-align:left;
  font-family:times new roman, times, serif;
  line-height:1;
}

.summaryTable > table, td {
  background-color: #FFF;
  border: 1px black solid;

}
#damTable, #eqTable {

  display: table-cell;
  width: 50%;
}

#linktable {
  border: none;
  margin: 0px 0px 0px 9px; 
}

#homelinks table tr td {
  border: none;
}
#searchterms {
  width: 960px;
  font: 1.2em Helvetica;
  margin: auto;
  margin-bottom: 1em;
  display: none;

}

#thisYear {
  font-size: 0.9em;
  padding: .75em;
  background-color: #DBDBD8;
  border: 0;
  height: 34px;
  display: inline-block;
  font: 14.4px Helvetica;
  margin: .3em;
}

#thisYear:hover {
  background-color: #8a887d;
  cursor: pointer;
}

#noBlack:visited {
  color: black;
}

#noBlack {
  color: black;
}

.boxes {
  border: none;
  margin: 0px;
  padding: 0px;
  display: flex;
}

h5 {
  font-family: Georgia, "Times New Roman", Times, serif; 
  font-size: 1.2em; 
  color: #565245; 
  margin: 1em 0em 0.4em 0em; 
  line-height: 1.2em; 
  letter-spacing: 0.02em; 
  font-weight: 400; 
  margin: 0; 
  padding: 0; 
  color: #565245;
}

