.extra-layer {
  margin-left: 10px;
}

.extra-layer label {
  color: grey;
}

.tip {
  position: relative;
  border-radius: 4px;
  padding: 8px;
  background: #e6eefc;
  color: #243b7a;
  cursor: help;
}

.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input[type="radio"] {
  transform: scale(1.25);
  margin: 6px;
}

select option:hover {
  background-color: #EEE;
}

select[multiple] {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  border: 1px solid lightgrey;
  background-image: none;
  padding: 4px;
  margin: 0px;
}

#show-wms > option {
  display: none;
}

.popup .popuptext {
  visibility: hidden;
  width: 160px;
  font-weight: bold;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  font-family: Sans-Serif;
  margin: 0px;
}

select::-ms-expand {
  display: none;
}

input {
  text-align: center;
  font: inherit;
  cursor: pointer;
}

summary {
  box-sizing: border-box;
  font: inherit;
  cursor: pointer;
}

button {
  box-sizing: border-box;
  border: 1px solid lightgrey;
  text-align: center;
  font: inherit;
}

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

label {
  cursor: pointer;
}

.leaflet-tooltip-pane .bubble {
  color: white;
  text-shadow:
    -1px -1px 0 #000, 0   -1px 0 #000, 1px -1px 0 #000, 1px  0   0 #000,
     1px  1px 0 #000, 0    1px 0 #000, -1px  1px 0 #000, -1px  0   0 #000;
  background: transparent;
  border: 0;
  font-weight: bold;
  box-shadow: none;
  font-size: 10px;
}

select {
  cursor: pointer;
}

dialog button {
  cursor: pointer;
}

dialog {
  font-size: 12px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
  background-color: white;
  padding: 8px;
  z-index: 1000;
  opacity: 0.85;
  border: 2px grey;
}

.legend {
  font-size: 12px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
  position: absolute;
  margin: 10px;
  background-color: white;
  padding: 8px;
  z-index: 1000;
  border: 2px grey;
}

#legend-left {
  width: 415px;
  left: 0;
  bottom: 0;
}

#legend-right {
  width: 260px;
  right: 0;
  max-height: 80%;
  overflow: scroll;
  top 0;
}

#logo {
  position: absolute;
  z-index: 2000;
  width: 18%;
  pointer-events: none;
  padding: 0px;
}

details > summary:hover {
  background-color: #EEE;
}

details > summary {
  margin: 2px;
  border-radius: 4px;
  padding: 6px;
  font-size: 12px;
  font-weight: bold;
}

.text-label {
  white-space: nowrap;     /* prevents line breaks */
  padding: 0px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  text-shadow:
    0 0 2px black,
    0 0 2px black,
    0 0 2px black,
    0 0 2px black;

}

.glow-outline {
  filter: drop-shadow(0 0 2px black);
}
