/*** lake.css ***/

/** flex classes: **/

.lake_row,
.lake_row_wrap,
.lake_column,
.lake_column_wrap {
  display: flex;
  flex: 1 1 auto;
}

.lake_row {
  flex-flow: row nowrap;
}

.lake_row_wrap {
  flex-flow: row wrap;
}

.lake_column {
  flex-flow: column nowrap;
}

.lake_column_wrap {
  flex-flow: column wrap;
}

.flex_center {
  justify-content: center;
}

.flex_start {
  justify-content: flex-start;
}

.flex_end {
  justify-content: flex-end;
}

.flex_justify {
  justify-content: space-around;
}

.flex_grow {
  flex: 1 1 auto;
}

.flex_no_grow {
  flex: 0 1 auto;
}

/** body: **/

body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/** container: **/

.lake_container_col {
  max-width: 1800px;
  margin: auto;
  background-color: #ffffff;
  padding: 1em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

/** headers: **/

.header_lake {
  max-height: 2.5em;
  padding: 0.1em 0.6em 0.1em 0.6em;
}

.header_lake_plot {
  font-size: 1.5em;
}

/** lake info: **/

.header_text_row label {
  font-weight: bold;
  margin-right: 0.5em;
}

@media only screen and (max-width: 500px) {
  .header_text_row label {
    display: inline-block;
    width: 99%;
  }
}

.header_text_row span {
  flex-basis: 49%;
}

@media only screen and (max-width: 775px) {
  .header_text_row span {
    flex-basis: 51%;
  }
}

/** text: **/

.page_text {
  width: 100%;
  background-color: #ffffff;
  border: 0.8em solid #ffffff;
  border-radius: 0.8em;
  padding: 1em;
}

/** map: **/

.lake_map_div {
  width: 100%;
  height: 34em;
  border: 0.8em solid #ffffff;
  border-radius: 0.8em;
  overflow: hidden;
  margin-bottom: 1em;
}

.leaflet-container .leaflet-control-mouseposition {
  min-width: 11em;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 5px #bbb;
  padding: 0 5px;
  margin:0;
  color: #333;
  font: 11px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.map_key_color {
  display: inline-block;
  margin-left: 0.3em;
  width: 0.8em;
  height: 0.8em;
  border-radius: 0.8em;
  border: 1px solid #000000;
}

.map_gv_colormap {
  background: none;
  box-shadow: none;
}

.map_gv_colormap_img {
  width: 9em;
  border-radius: 0.3em;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/** plots: **/

.lake_plot_div {
  width: 100%;
  height: 28em;
  border-radius: 0.8em;
  overflow: hidden;
}

.volume_plot_div {
  width: 18em;
  max-width: 18em;
  height: 10em;
  border-radius: 0.8em;
  overflow: hidden;
}

.plot_text_div {
  flex-basis: 95%;
  margin-bottom: 1em;
}

.plot_text_div label {
  margin-left: 1em;
  width: 95%;
  margin-bottom: 1em;
}

.plot_text_link {
  display: inline-block;
  margin-left: 2em;
  width: 45%;
}

@media only screen and (max-width: 450px) {
  .plot_text_link {
    width: 95%;
  }
  .plot_text_type {
    display: none;
  }
}

.plot_text_div a {
  color: #000000;
  text-decoration: underline;
}

.plot_text_div label {
  display: inline-block;
  width: 100%;
}

/* sliders: */

.lake_slider_div {
  margin: 0.4em;
  margin-top: 0.1em;
  padding: 0.3em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

.lake_slider_title {
  font-weight: bold;
  margin-right: 0.5em;
}

.lake_slider_value {
  color: #cccccc;
}

.lake_slider {
  width: 90%;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  margin-left: 1em;
}

.noUi-target {
  background: #cccccc;
  border: 1px solid #cccccc;
  box-shadow: none;
}

.noUi-connect {
  background: #eeeeee;
}

.noUi-handle {
  border: 1px solid #348aa6;
  box-shadow: none;
}

.noUi-handle::after,
.noUi-handle::before {
  display: none;
}

/* buttons: */

button {
  font-size: 1em;
  color: #eeeeee;
  background-color: #36a0c1;
  border: 1px solid #36a0c1;
  border-radius: 0.2em;
  padding: 0.4em;
  margin: 0.4em 0.4em 3em 0.4em;
  cursor: pointer;
}

button:focus, button:active, button:hover {
  color: #ffffff;
  background-color: #94d3e8;
  border: 1px solid #94d3e8;
}

button:disabled, button[disabled] {
  background-color: #c9c9c9;
  border: 1px solid #c9c9c9;
  color: #999999;
  cursor: auto;
}

/* remove outlines from active buttons: */
button, button:focus, button:active {
  outline: 0;
}
:focus {outline:none;}
::-moz-focus-inner {border:0;}

/* volume data: */

.volume_table_row {
  margin-top: 1em;
  margin-bottom: 1em;
}

.volume_table_div {
  margin: 0.5em;
  max-width: 22em;
}

.volume_table_div label {
  font-weight: bold;
  color: #3b5799;
}

.volume_table_div a {
  color: #000000;
}

.volume_table_header {
  font-size: 1.1em;
  font-weight: bold;
  color: #403c7a;
}

.volume_table_citation {
  font-style: oblique;
}

/* depth data: */

.depth_map_div {
  width: 48%;
  height: 34em;
  border: 0.8em solid #ffffff;
  border-radius: 0.8em;
  overflow: hidden;
  margin-bottom: 1em;
}

.depth_plot_div {
  width: 48%;
  height: 28em;
  border-radius: 0.8em;
  overflow: hidden;
}

@media only screen and (max-width: 900px) {
  .depth_map_div {
    width: 100%;
  }
  .depth_plot_div {
    width: 100%;
  }
}

.depth_header_text_div {
  flex-basis: 95%;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 1em;
  min-height: 2.5em;
  max-height: 2.5em;
}

.depth_header_text_div label {
  color: #eeeeee;
  background-color: #403c7a;
  margin-left: 1em;
  border: 0.2em solid #403c7a;
  border-radius: 0.2em;
  padding: 0.2em;
}

.depth_header_text_div span {
  color: #484848;
  background-color: #eeeeee;
  margin-left: 1em;
  border: 0.2em solid #eeeeee;
  border-radius: 0.2em;
  padding: 0.2em;
  cursor: pointer;
}

.depth_header_text_div span:hover {
  color: #eeeeee;
  background-color: #36a0c1;
  border: 0.2em solid #36a0c1;
}

.depth_header_text_div img {
  height: 2em;
  margin-left: 1em;
}
