#map {
  height: 100%;
  width: 100%;
  position: fixed;
}

html,
body {
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #f8f8ff;
}

.container-fluid {
  padding: 60px 0px 0px 0px;
}

.sidebar {
  z-index: 1050;
  margin-top: 12px;
  padding-top: 10px;
  padding-left: 10px;
  padding-bottom: 25px;
  background-color: #4682b4;
  color: white;
  height: 100%;
  width: 20vw;
  position: fixed;
  overflow-y: scroll;
}

@media only screen and (max-width: 992px) {
  .sidebar {
    visibility: hidden;
  }
}

.bootstrap-datetimepicker-widget {
  position: fixed;
}

.date {
  color: black;
}

label {
  font-weight: 300;
}

.form-control {
  width: 172px;
  max-width: 172px;
}

.ol-attribution {
  right: auto !important;
  left: .5em !important;
  top: 7px !important;
  padding-bottom: 20px !important;
}

.ol-attribution button {
  float: left;
}

.ol-zoom {
  margin-top: 40px;
}

.popover {
  max-width: 380px;
}

.popover-header {
  font-weight: bold;
}

.popover-body {
  min-width: 370px;
}

div.panel.panel-default {
  width: 180px;
  color: #5a5a5a;
}

div.bottom-text {
  position: fixed;
  padding: 8px;
  bottom: 0;
  width: 100%;
  background-color: #f8f8ff;
  font-size: 12px;
  z-index: 1080;
}

a.link-action {
  font-size: 12px;
  color: #f8f8ff;
  text-transform: uppercase;
  font-weight: bold;
}

a.link-action:link {
  text-decoration: none;
}

a.link-action:visited {
  text-decoration: none;
}

a.link-action:hover {
  text-decoration: none;
}

a.link-action:active {
  text-decoration: none;
}

div.legend-text {
  position: fixed;
  padding: 8px;
  bottom: 45px;
  width: 50%;
  max-width: 270px;
  font-size: 12px;
}

div.legend-text>table {
  background-color: rgba(248, 248, 255, 0.5);
}

div.legend-text>table>tbody>tr>td {
  padding-right: 10px;
}

@media only screen and (max-width: 700px) {
  div.bottom-text {
    visibility: hidden;
  }

  div.legend-text>table {
    background-color: rgba(248, 248, 255, 0.85);
  }
}

#sidebar-map {
  font-size: .9rem;
}

#sidebar-map h4 {
  padding-top: 15px;
  font-size: 1.2rem;
}

#sidebar-map u {
  display: block;
  margin-bottom: .5rem;
  margin-top: .5rem;
}

#sidebar-map .input-group {
  margin-bottom: .5rem;
  margin-top: .5rem;
}

#sidebar-map input,
#sidebar-map .input-group-text,
#sidebar-map .form-control,
#sidebar-map .form-select {
  border-radius: 0 !important;
  font-size: .95rem;
}

#sidebar-map .form-select {
  display: block;
  width: 75%;
}

#sidebar-map .btn-info {
  background: #00A8EC;
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
}

.popover-header .custom-close {
  position: absolute;
  right: -11px;
  top: -10px;
  background: #00A8EC;
  border-color: #00A8EC;
  color: #fff;
  border: 0 !important;
}

#sidebar-map .input-group-text {
  cursor: pointer;
}