/* Download modal */
#download-div table.formats {
  margin: 15px 0 50px auto;
  text-align: left;
}
#download-div table.formats input {
  cursor: pointer;
}
#download-div th {
  font-weight: bold;
}
#download-div td,
#download-div th {
  padding: 5px 15px;
}
#download-div td:last-child,
#download-div th:last-child {
  width: 80px;
  text-align: center;
}
#download-overlay {
  display: none;
  position: fixed;
  top: 0;
  background-color: rgba(0,0,0,0.6);
  width: 100vw;
  height: 100vh;
  z-index: 9;
}
#download-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 500px;
  margin-top: -250px;
  margin-left: -400px;
  background-color: #ddd;
  border-style: solid;
  border-color: #888;
  border-width: thin;
  border-radius: 15px;
  z-index: 10;
}
#download-title {
  padding: 20px;
  margin-bottom: 20px;
  border-bottom-color: #888;
  border-bottom-style: solid;
  border-bottom-width: thin;
}
#download-div {
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
#download-modal button.close {
  padding: 15px;
}
#download-species {
  font-style: italic;
}
#download-toggle-btn {
  transition-duration: 0.25s;
}
#download-submit-btn:disabled {
  color: #aaa;
  border-color: #aaa;
  background-color: #eee;
}
#download-noselection {
  height: 400px;
  padding: 160px 0;
}
#download-spinner {
  display: none;
  margin-top: 80px;
  width: 200px;
  height: auto;
}
input#download-filename {
  color: #222;
  background-color: #eee;
  width: 200px;
  padding: 5px 10px;
  margin: 0 auto 25px auto;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid #ccc;
  outline: none;
  cursor: text;
  transition-duration: 0.25s;
}
input#download-filename:focus {
  color: #222;
  background-color: white;
  box-shadow: 0 0 10px var(--dodgerblue);
}
