html, body {
  height: 100%;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 400;
}

html {
  font-size: 1rem;
}
html body {
  font-size: 0.9rem;
}
html .crossed-out {
  text-decoration: line-through;
  font-style: italic;
}
html .desaturated {
  filter: saturate(0);
}
html .interactive {
  cursor: pointer;
}
html .toolBar {
  left: 7em;
}
html .ol-tooltip {
  background-color: rgba(230, 230, 230, 0);
  color: #F1F1F1;
  padding: 2px;
  font-weight: 200;
}
html .ol-tooltip.ol-tooltip-measure {
  text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 1em black;
}
html .ol-print {
  display: none;
}
html #help-message {
  background-color: rgb(230, 230, 230);
  color: rgba(125, 0, 40, 0.8);
  padding: 5px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  left: 50%;
  margin-left: -100px;
  width: 200px;
  position: absolute;
  top: 40px;
  text-align: center;
}
html #layerbox {
  position: fixed;
  z-index: 10000;
  left: 0.5em;
  top: 110px;
  overflow: auto;
  min-width: 14em;
  background-color: rgba(243, 243, 243, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  max-height: 80%;
  resize: vertical;
}
html #layerbox .header {
  font-weight: 600;
  text-align: center;
  background-color: rgba(66, 133, 244, 0.3);
}
html #layerbox .layer {
  display: flex;
  flex-direction: row;
  gap: 2em;
  justify-content: space-between;
  align-items: center;
  padding: 2px 3px;
}
html #layerbox .layer:empty {
  display: none;
}
html #layerbox .layer select {
  display: none;
}
html #layerbox .layer > *:first-child {
  flex-grow: 1;
}
html #layerbox .legend {
  display: none;
}
html #layerbox .legend summary {
  display: revert;
  cursor: pointer;
  margin-left: -3px;
  margin-right: -3px;
  padding-left: 7px;
  overflow-x: visible;
}
html #layerbox .legend .color {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: baseline;
}
html #layerbox .layer.active .legend {
  display: block;
  overflow-x: visible;
}
html #layerbox .layer.active select {
  display: initial;
}
html .layerType {
  padding: 0.2em 0.3em 0.3em;
}
html .layerbox-hr {
  border-top: solid 1px rgba(0, 0, 0, 0.4);
  margin: 0;
}
html label {
  margin-bottom: 0;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5em;
}
html .layer label input[type=checkbox],
html .layer label input[type=radio] {
  margin: 0;
}
html #thematicbox,
html #colorize-legend {
  max-height: 50%;
}
html #thematic-header {
  display: none;
}
html #thematicbox.hidden,
html #colorize-legend.hidden {
  display: none;
}
html #thematicbox .legend,
html #colorize-legend .legend {
  display: none;
}
html #thematicbox .legend .color,
html #colorize-legend .legend .color {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  vertical-align: bottom;
  border: 1px solid #222222;
  border-radius: 3px;
}
html #thematicbox .layer.active .legend,
html #colorize-legend .layer.active .legend {
  display: block;
}
html .category {
  margin-bottom: 4px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
html #thematic-header {
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid #222222;
  margin-bottom: 0.5em;
  padding-left: 0.1em;
  color: inherit;
  font-family: inherit;
}
html .legend:not([open]) #thematic-header {
  margin-bottom: 0;
  border-bottom: 0;
}
html #container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
html #map_wrapper {
  flex: 1 0 auto;
  position: relative;
}
html #map {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #FAFAFA;
}
html .popover {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  min-width: 250px;
  max-width: 270px;
}
html #popupContent hr {
  border-top: 1px solid black;
}
html #colorize-dialog {
  position: fixed;
  top: 7%;
  margin: auto;
  padding-top: 5px;
  z-index: 99999999;
  background-color: #EFEFEF;
  left: 5%;
  border-radius: 3px;
  max-width: 500px;
}
html #colorize-dialog > .container {
  max-width: 500px;
}
html #rotate-container {
  z-index: 99999999;
  position: absolute;
  width: 340px;
  top: 8%;
  left: 8%;
  background: rgba(200, 200, 200, 0.7);
  box-shadow: 0px 0px 20px 10px rgb(200, 200, 200);
  padding: 6px;
}
html #rotate-container > input {
  margin-bottom: 8px;
}
html #colorize-colortable {
  max-width: 50%;
  padding-bottom: 5px;
}
html #colorize-colortable > tr > td {
  padding: 0;
}
@media print {
  html body {
    -webkit-print-color-adjust: exact;
  }
  html .category {
    margin-bottom: 4px;
  }
  html #thematicbox,
html #colorize-legend {
    position: fixed;
    z-index: 10000;
    left: 0.5em;
    bottom: 2em;
    width: 400px;
    background-color: rgb(243, 243, 243) !important;
    border: 2px solid rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    padding: 4px 8px 6px 8px;
    transform-origin: 50% 100% 0;
    animation-name: slideInFromBelow;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
  }
  html #thematicbox.hidden,
html #colorize-legend.hidden {
    display: none;
  }
  html #thematicbox .legend,
html #colorize-legend .legend {
    display: none;
    margin-left: 20px;
  }
  html #thematicbox .legend .color,
html #colorize-legend .legend .color {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    vertical-align: bottom;
    border: 1px solid #222222;
    border-radius: 20%;
  }
  html #thematicbox .layer.active .legend,
html #colorize-legend .layer.active .legend {
    display: block;
    transform-origin: 50% 100% 0;
    animation-name: slideInFromBelow;
    animation-duration: 0.4s;
    animation-timing-function: ease-out;
  }
}
html #info-header {
  background-color: hsl(196deg, 29%, 27%);
  border-bottom: 3px solid rgba(255, 255, 255, 0.2666666667);
  position: fixed;
  top: 0;
  z-index: 998;
  width: 100%;
  padding: 3px;
  color: #fff;
  display: flex;
  flex-direction: row;
  gap: 0.2em;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0.5em;
}
html #info-header a {
  display: inline-block;
  color: inherit;
}
html #info-header a svg {
  display: block;
  height: 100%;
  fill: white;
  stroke: white;
}
html .ol-control {
  margin-top: 40px;
  top: 0;
  background-color: #F1F1F1;
  box-shadow: 0 1px 8px #888;
  border-radius: 3px;
}
html .ol-control:hover {
  background-color: #F1F1F1;
}
html .toolBar.ol-control {
  left: 3.2em;
}
html .toolBar.ol-control button {
  display: inline-block;
  position: relative;
}
html .ol-zoom.ol-control button {
  height: 24px;
  width: 24px;
  line-height: 0;
  padding: 10px 0 14px;
}
html .toolBar.ol-control button#lengthBtn.highlighted,
html .toolBar.ol-control button#areaBtn.highlighted,
html .toolBar.ol-control button#groupButton.highlighted,
html .toolBar.ol-control button#layerBtn.highlighted {
  background-color: darkkhaki;
  background-color: hsl(58deg, 37%, 58%);
}
html .toolBar.ol-control button#lengthBtn.highlighted::after,
html .toolBar.ol-control button#areaBtn.highlighted::after,
html .toolBar.ol-control button#groupButton.highlighted::after {
  content: "double-click to finalize; right-click to exit";
  position: absolute;
  top: 2em;
  left: 0;
  z-index: 1;
  background: lightgray;
  line-height: 100%;
  padding: 0.3em 0.5em;
  opacity: 0.9;
  font-size: 80%;
  font-weight: normal;
  white-space: nowrap;
}
html .toolBar.ol-control button#colorizeButton {
  display: none !important;
}
html .ol-control button {
  background-color: #F1F1F1;
  color: #222222;
  margin: 3px;
}
html .ol-control button:hover,
html .ol-control button:focus {
  background-color: hsla(58deg, 37%, 58%, 0.5);
}
html button#tglBldButton,
html button#buildingMoveButton {
  display: none;
}

#lengthBtn.highlighted ~ #clearBtn,
#areaBtn.highlighted ~ #clearBtn {
  width: auto;
}
#lengthBtn.highlighted ~ #clearBtn::after,
#areaBtn.highlighted ~ #clearBtn::after {
  content: "Clear Measurements";
  font-weight: normal;
  font-size: 14px;
  vertical-align: unset;
  padding: 0.5em;
}

@media print {
  .toolBar.ol-control,
.ol-zoom.ol-control {
    display: none !important;
  }
}