* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, Verdana, sans-serif;
}

.hidden {
  display: none;
}

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

nav {
  position: absolute;
  top: 1em;
  right: 1em;
  display: flex;
  align-items: flex-start;
  z-index: 99995;
}

nav .wrapper {
  position: absolute;
  top: 0;
  right: 100%;
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

nav .wrapper span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: #fff;
  cursor: pointer;
}

nav .wrapper span:hover {
  background-color: #eee;
}

nav .wrapper span:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

#edit.active {
  background: #faa;
}

input {
  border: none;
  border-bottom: 1px solid #ddd;
  outline: none;
  padding: .2em .1em;
  width: 100%;
  min-width: 150px;
  font-size: 1.5em;
}

input.error {
  background-color: rgba(255, 0, 0, 0.05);
  border-bottom-color: red;
}

p.errormsg {
  color: red;
}

select {
  outline: none;
  width: 100%;
  font-size: 1.5em;
  margin: .5em 0;
}

.leaflet-popup-content label {
  display: grid;
  grid-template-columns: 3ch 1fr;
  align-items: center;
  margin-bottom: 1em;
}

.leaflet-popup-content label input[type="checkbox"] {
  min-width: auto;
  width: auto;
}

div.tutorial.restart {
width: 9em;
height: 2.2em;
bottom: .5em;
}

.tutorial.restart::before,
.tutorial.restart::after {
  display: none;
}
