/* SeaSpatial CSS July 11, 2019 */

html {
  position: relative;
  min-height: 100%;
}

.seaspatial-blue {
  background-color: #005387;
}

.text-seaspatial-blue {
  color: #005387;
}

.notFound {
  margin: 0px;
  min-height: 100%;
  background: url('/images/scottredd_mojo.jpg') azure;
  background-repeat: no-repeat;
  background-size: cover;
}

.modal-body ul {
  text-align: left;
  font-weight: bold;
  font-size: 1em;
  list-style: disc;
  list-style-position: inside;
  padding: 0px 0px;
}

.highest {
  height: 20px;
  border-radius: 50%;
  background-color: red;
}

.higher {
  height: 20px;
  border-radius: 50%;
  background-color: orange;
}

.high {
  height: 20px;
  border-radius: 50%;
  background-color: yellow;
}

.low {
  height: 20px;
  border-radius: 50%;
  background-color: green;
}

.lower {
  height: 20px;
  border-radius: 50%;
  background-color: blue;
}

hr.fade {
  border: 0;
  height: 1px;
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
}

.leaflet-popup-content-wrapper {
  text-align: left;
}

.popup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-title {
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
}

.popup h2 {
  text-align: left;
  font-size: 1.25em;
  color: #464646;
  line-height: 0.5em;
}

.popup p {
  text-align: justify;
  font-size: 1em;
  line-height: 0.5em;
}

.popup .pie {
  position: relative;
}

figure {
  text-align: center;
  font-size: 1.15em;
  font-weight: bold;
}

#info-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-column-gap: 10px;
  font-size: 1.1em;
}

.first-col {
  grid-column-start: 1;
  justify-self: end;
  font-weight: bold;
}

.second-col {
  grid-column-start: 2;
  justify-self: start;
}

#pieChart {
  width: 100%;
  height: 100%;
  margin: auto;
}

#map {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 0;
}

#zoom {
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 115px;
  left: 10px;
  border: 1px solid darkgray;
  z-index: 2;
}

#zoom-lo {
  height: 26px;
  width: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px;
  background: #ffffff;
  font-family: PT-sans, Helvetica, Verdana, sans-serif;
  font-size: 0.8em;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid lightgray;
}

#zoom-cp {
  height: 26px;
  width: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px;
  font-family: PT-sans, Helvetica, Verdana, sans-serif;
  font-size: 0.8em;
  font-weight: bold;
  background: #ffffff;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid lightgray;
}

#zoom-ov {
  height: 26px;
  width: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px;
  font-family: PT-sans, Helvetica, Verdana, sans-serif;
  font-size: 0.8em;
  font-weight: bold;
  background: #ffffff;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid lightgray;
}

#zoom-lo:hover,
#zoom-cp:hover,
#zoom-ov:hover {
  background: #eee;
}

@media (min-width: 576px) {
  body {
    margin-bottom: 30px; /* Margin bottom by footer height */
  }

  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px; /* Set the fixed height of the footer here */
    line-height: 30px; /* Vertically center the text there */
  }

  #layers-legend {
    width: 300px;
    position: absolute;
    top: 85px;
    right: 0px;
    z-index: 5;
  }

  #about-text {
    width: 30rem;
    position: absolute;
    bottom: 20px;
    left: 45px;
    z-index: 5;
  }
}

@media (min-width: 1441px) {
  body {
    margin-bottom: 60px; /* Margin bottom by footer height */
  }

  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
  }

  #layers-legend {
    width: 300px;
    position: absolute;
    top: 85px;
    right: 0px;
    z-index: 5;
  }

  #about-text {
    width: 45rem;
    position: absolute;
    bottom: 80px;
    left: 15px;
    z-index: 5;
  }
}
