/* Stylesheet by */

:root {
  /* PLSLWD colors */
  /* dark blue logo: #002f5d ; 0, 47, 93 */
  /* light blue logo:#1d9add  ; 29, 154, 221 */
  /* green logo:#75bc20 ; 117, 188, 32; */
  --bs-primary: #002f5d;
  --bs-primary-rgb: 0, 47, 93;
  --bs-secondary: #75bc20;
  --bs-secondary-rgb: 117, 188, 32;
}

html,
body,
#mapid {
  height: 100%;
  width: auto;
  font: 11pt "Helvetica Neue", Arial, Helvetica, sans-serif;
  /*    margin-top: 30px;*/
}

/* Move down content because we have a fixed navbar that is ~56px tall */
body {
  padding-top: 58px;
}

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
  #sidebar {
    /* margin-top: 6.5em; */
    /* margin-top: 3.3em; */
    margin-top: 4.5em;
  }
}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
  #sidebar {
    margin-top: 3.5em;
    /* margin-top: 2.38em; */
  }
}

@media (max-width: 575.98px) {
  #sidebar {
    /* margin-top: 6.5em; */
    /* margin-top: 3.3em; */
    margin-top: 4.5em;
  }
}

.sidebar-content {
  background: ghostwhite;
}

.sidebar-left {
  left: 0px;
}

.sidebar-tabs > li > a,
.sidebar-tabs > ul > li {
  color: var(--bs-secondary);
}

.sidebar-tabs > li.active,
.sidebar-tabs > ul > li.active {
  color: whitesmoke;
}

.sidebar-tabs {
  background: var(--bs-primary);
}

.sidebar.collapsed > .sidebar-content {
  overflow-y: auto;
}

.sidebar-tabs a:hover {
  color: whitesmoke;
}

p {
  margin-bottom: 0.3em;
}

.btn-outline-primary {
  background-color: transparent;
  border-color: transparent;
}

a navbar {
  background-color: whitesmoke;
}

.navbar {
  background-color: whitesmoke;
  min-height: 50px;
}

.navbar a:hover {
  color: var(--bs-primary);
}

.navbar-brand {
  padding-left: 2%;
  color: var(--bs-secondary);
  font: 14pt "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-shadow: 1px 1px lightgray;
}

.navbar-log {
  color: var(--bs-primary);
  font: 12pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}

a .navbar-log {
  color: var(--bs-primary);
  font: 12pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.dropdown-menu {
  background-color: whitesmoke;
  right: auto;
  left: 0;
}

.btn-outline-info {
  color: var(--bs-primary);
  background-color: transparent;
  background-image: none;
  border-color: var(--bs-primary);
  margin: 0px;
  padding: 1px;
}

#dropdownMenu {
  padding: 0.5rem 1rem;
  font: 12pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.sidebar-header {
  display: block;
  background: var(--bs-primary);
  font-size: 1.7em;
  text-align: center;
  color: whitesmoke;
  text-shadow: 1px 1px black;
}

.title {
  display: none;
}

.sub-content {
  display: none;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #d3d3d3;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #16558c;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #16558c;
  cursor: pointer;
}

.categoryHead {
  font-style: bold;
  font-weight: 700;
  margin-top: 15px;
  font-size: 1.3em;
  color: var(--bs-secondary);
  text-shadow: 1px -0.5px lightgray;
}

/*Leaflet Zoom Home plugin code*/
.leaflet-control-zoomhome a {
  font: bold 18px "Lucida Console", Monaco, monospace;
}

a.leaflet-control-zoomhome-in,
a.leaflet-control-zoomhome-out {
  font-size: 1.5em;
  line-height: 26px;
}

/*END Leaflet Zoom Home plugin code*/

.card-link {
  font: bold;
}

.slider {
  box-shadow: 1px 1px 1px #220000, 0px 0px 1px #3c0000;
}

.color-scheme {
  padding-top: 20px;
}

.card {
  border: none;
  background: ghostwhite;
}

.legendtoggle {
  padding-left: 35px;
  margin-bottom: 10px;
  margin-top: 1em;
  font-style: italic;
}

.metadataHeader {
  color: var(--bs-secondary);
  font-weight: 600;
}

a:hover {
  color: var(--bs-primary);
}

.legendcard {
  padding-top: 0.5em;
  padding-bottom: 0.1em;
}

.legendpadding {
  padding-top: 1em;
}

input:focus {
  outline: 2px solid #75bc20;
  outline-offset: 2px;
}

.range-slider_val {
  color: black;
  font-style: oblique;
  font-size: 10pt;
}

.btn-group-xs > .btn,
.btn-xs {
  padding: 0.15rem 0.25rem;
  font-size: 0.875rem;
  line-height: 0.5;
  border-radius: 0.2rem;
  color: white;
}

.btn-info {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-info:hover {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}

.gradientNote {
  font-size: 9pt;
  padding-left: 1.5em;
}

button:focus {
  outline: 2px solid #75bc20;
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid #75bc20;
  outline-offset: 2px;
}

.userPurpose {
  text-align: center;
  font-weight: 600;
  color: var(--bs-secondary);
  text-shadow: 1px -0.5px lightgray;
}

.userHeader {
  font-size: 18pt;
  color: var(--bs-secondary);
  font-weight: 600;
  text-shadow: 1px -0.5px lightgray;
}

.userContent {
  font-size: 12pt;
  font-weight: 400;
  text-align: center;
  text-shadow: 1px -0.5px lightgray;
}

.userList {
  margin-bottom: 0.8em;
  font-size: 12pt;
  font-weight: 400;
  text-shadow: 1px -0.5px lightgray;
}

div > p > input[type="checkbox"]:hover {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.24), 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

.maplayer {
  font-weight: 500;
  text-shadow: 1.5px -0.5px lightgray;
}

/* Leaflet geosearch button — larger magnifying glass icon */
.leaflet-control-geosearch a.leaflet-bar-part:after {
    top: 4px;
    left: 4px;
    height: 13px;
    width: 13px;
    border-radius: 50%;
    border: 2px solid #555;
}

.leaflet-control-geosearch a.leaflet-bar-part:before {
    top: 17px;
    left: 15px;
    width: 9px;
    border-top: 2px solid #555;
    transform: rotateZ(45deg);
}

/*leaflet popup */

.leaflet-popup-content {
  /*    max-height: 100px !important;*/
  overflow: auto;
  margin: 3px 5px;
}

/*Class to label lakes */
.lakes_Class {
  background: white;
  border: none;
  font-size: 12pt;
}

/*Class to label streams */
.streams_Class .leaflet-popup-content-wrapper {
  background: white;
  font-size: 11pt;
  /* background-color: transparent; */
  border: none;
  box-shadow: none;
  margin: 0px 0px;
  padding: 0px;
}

::-webkit-input-placeholder {
  font-size: 9pt;
}

:-moz-placeholder {
  /* Firefox 18- */
  font-size: 9pt;
}

::-moz-placeholder {
  /* Firefox 19+ */
  font-size: 9pt;
}

:-ms-input-placeholder {
  font-size: 9pt;
}

.tab {
  margin-left: 0.8em;
}

.popupwindow {
  margin-top: 0;
  margin-bottom: 1rem;
}
