body {
  margin: 0;
  font-size: 90%;
}
h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.5em;
}
h3 {
  text-align: center;
  cursor: pointer;
}
h3 > span {
  margin-left: 1em;
}
h4 {
  text-align: center;
}
p {
  font-family: "Open Sans", sans-serif;
}
div {
  font-family: "Open Sans", sans-serif;
}
a {
  color: #454545 !important;
  cursor: pointer;
}
input,
label {
  cursor: pointer;
}
fieldset {
  width: 80%;
  border-style: none;
  margin: auto auto 1em auto;
}
legend {
  font-weight: bold;
  cursor: pointer;
}
#map {
  width: 100vw;
  height: 100vh;
}
.ui-box {
  background-color: rgb(255, 255, 255);
  border-style: solid;
  border-width: 2px;
  border-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}
#timesetter {
  box-sizing: border-box;
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 40vw;
  padding: 1em 2em 2em 2em;
  min-width: 350px;
  min-height: 160px;
  z-index: 900;
}
#reset-slider-btn {
  display: block;
  margin-left: auto;
}
#expand-btn {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1001;
}
#ui-container {
  position: fixed;
  top: 0em;
  right: 0;
  padding: 0.5em 1em 1em 1em;
  max-height: 90vh;
  min-width: 350px;
  width: 25vw;
  z-index: 1000;
  overflow: auto;
}
#search-form {
  text-align: center;
}
#search-form input {
  width: 13em;
}
#filter {
  max-height: 75%;
  overflow: auto;
}
#filter > div {
  display: flex;
  justify-content: space-between;
  padding: 0.5em 0 0.5em 0;
}
#add-filter-btn {
  display: block;
  margin: auto;
}
#time-string {
  text-align: center;
  padding-bottom: 2em;
}
#time-slider .tic {
  border-right: 1px solid #2b2b2b;
  width: 33.33%;
  height: 120%;
  display: inline-block;
}
.basemap-label {
  width: 17em;
}
.basemap-divs {
  margin-bottom: 0.5em;
}
.basemap-divs input[type="checkbox"] {
  display: none !important;
}
.basemap-divs input[type="checkbox"] + label:before {
  content: "\f070";
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 10px;
  line-height: 20px;
  text-align: center;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  font-family: "FontAwesome";
}
.basemap-divs input[type="checkbox"]:checked + label::before {
  content: "\f06e";
}
.ui-checkboxradio-icon {
  float: left;
  margin-top: unset;
}
.transparency-range {
  display: none;
  margin-left: auto;
}
.transparency-range > label {
  font-size: 0.8em;
}
.transparency-range > label > span {
  margin-right: 2em;
}
.transparency-range > input {
  float: right;
}
.slide-labels {
  font-size: 0.7em;
  position: relative;
  margin-top: 10px;
}
.slide-labels .label {
  display: inline-block;
}
.slide-labels .label.first {
  top: -2px;
}
.slide-labels .label.last {
  float: right;
  top: -2px;
}
#slidersetter {
  padding-bottom: 1em;
}
#operator-switch {
  display: none;
}
#bottom-panel {
  display: flex;
  margin-top: 1em;
  justify-content: flex-end !important;
}
#bottom-panel.space-between {
  justify-content: space-between !important;
}
#matches-list {
  text-align: left;
  list-style: none;
  max-height: 10em;
  overflow: auto;
}
#results-panel {
  display: block !important;
  margin: auto;
  display: block;
  width: 80%;
}
#results-list {
  list-style: none;
  margin-top: 1em;
  padding: 0.5em;
  max-height: 6em;
  overflow: auto;
}
#results-list > li {
  margin-bottom: 0.5em;
}
#center-btn {
  display: block;
  margin: auto;
}
.ui-slider-handle {
  cursor: pointer !important;
}
.ui-slider-handle.ui-corner-all.ui-state-default {
  background: lightgrey;
}
.ui-slider-handle.ui-corner-all.ui-state-hover {
  background: grey;
}
.ui-slider-handle.ui-corner-all.ui-state-active {
  background: #5e5e5e;
}
.ui-selectmenu-menu,
.ui-menu {
  z-index: 1002 !important;
}
.fixed-width15em {
  width: 15em;
}
.ui-widget-header {
  background: rgba(220, 220, 220, 0.9);
}
.leaflet-html-legend {
  width: 8em;
}

@media screen and (max-width: 450px) and (orientation: portrait) {
  #timesetter {
    left: unset;
    bottom: 50px;
    width: 100vw;
    padding: 0.5em 2em 0.5em 2em;
    min-height: unset;
  }
  #ui-container {
    display: none;
    right: unset;
    width: 90vw;
    max-height: unset;
  }
}
