body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
}
.map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}
#filename_selectors {
  position: absolute;
  z-index: 2;
  margin-top: 4px;
  margin-left: 4px;
  max-width: 800px;
}
#vector_layer_selectors {
  position: absolute;
  right: 10px;
  top: 48px;
  z-index: 2;
  margin-top: 4px;
  margin-left: 4px;
  background-color: #fff;
  border-radius: 8px;
}
.container {
  background-color: rgba(255, 255, 255, 0.8);
}

#vector_layer_selectors label,
#filename_selectors label {
  padding: 6px 12px;
  line-height: 20px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  margin-top: 8px;
  margin-left: 8px;
  word-wrap: break-word;
}
#vector_layer_selectors label {
  margin-top: 0px;
  margin-left: 0px;
}
label:hover {
  color: #01b075;
}
input[type="radio"]:checked + label,
input[type="radio"]:checked + label:hover {
  background-color: #01b075;
  color: #fff;
}
.bottom-container {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  bottom: 16px;
  font-family: "Inter", sans-serif;
  flex-wrap: wrap;
}
.bottom-container > * {
  z-index: 1;
}
#props-container {
  background-color: #fff;
  border-radius: 8px;
  /* padding: 8px; */
  display: flex;
}
.layer-props {
  padding: 4px 8px;
  max-height: 260px;
  overflow-y: auto;
}
.props-label {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}
.props-details {
  font-size: 14px;
  max-width: 300px;
  word-wrap: break-word;
}
.points-save-button {
  z-index: 2;
  position: relative;
  display: none;
  margin-left: 8px;
  border-radius: 8px;
  padding: 6px 12px;
  outline: 0;
  border-style: none;
  font-weight: 600;
  cursor: pointer;
}

.modal {
  display: none;
}

.modal.is-open {
  display: block;
}
.modal__title {
  margin-bottom: 0.8em;
}
.modal-content {
  display: flex;
}
.modal__container {
  background-color: rgba(255, 255, 255, 0.7);
}
.modal__overlay {
  background: rgba(0, 0, 0, 0.2);
}
.modal-input-label {
  display: block;
  margin: 8px 0;
}
.modal-input {
  min-height: 24px;
  font-size: 14px;
  border: 1px solid #ccc;
  margin: 4px 0;
  border-radius: 2px;
}
.modal-error {
  display: none;
  font-weight: 600;
  color: rgb(170, 15, 15);
}
.button {
  border-radius: 6px;
  padding: 8px 16px;
  outline: 0;
  border-style: none;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  line-height: 24px;
}
.button-submit {
  background-color: #01b075;
  color: #fff;
}
.button-cancel {
  background-color: #666;
  color: #fff;
}

.lds-dual-ring {
  display: none;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: bottom;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 0.8s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#field-metric-container,
#total-metric-container {
  display: none;
  padding: 8px 16px;
}
.field-metrics-parent {
  background-color: #fff;
  border-radius: 8px;
}
.field-metrics-parent h5 {
  margin: 0.4em 0;
}
#field-metric-container > div,
#total-metric-container > div {
  color: #666;
  font-size: 14px;
  margin-bottom: 4px;
}
.metric-prop-number {
  color: #222;
  font-weight: 600;
}
.field-metrics-parent {
  display: flex;
}

#fetch-field,
#clear-field,
#copy-button,
#draw-field {
  display: none;
}
.draw-field-section {
  margin: 0 16px;
}
.copy-button {
  border-radius: 6px;
  padding: 8px 16px;
  outline: 0;
  border-style: none;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
}
.angle-visualisation {
  margin-left: 8px;
}
.angle-line {
  height: 4px;
  background-color: #00449e;
  width: 120px;
  position: relative;
  top: 46px;
}
.dropdown-container {
  position: relative;
  margin-top: 8px;
  margin-left: 8px;
  display: inline-block;
}
.dropdown-container .edd-root {
  width: 128px;
  border-radius: 8px;
}
.dropdown-container .region-label {
  position: absolute;
  left: 16px;
  top: 4px;
  z-index: 1;
  font-size: 12px;
  font-weight: normal;
  color: #949ea7;
}
.edd-root-open-below .edd-body {
  border-radius: 8px;
}
.edd-head {
}
.edd-head .edd-value {
  padding-top: 12px;
  padding-bottom: 4px;
}
.mapboxgl-ctrl-top-right {
  top: 2px;
}
.hidden-input {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.upload-button {
  font-size: 14;
}
.upload-geojson-button {
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  background-color: #fff;
  /* border: 1px solid #949ea7; */
  padding: 6px 10px;
  border-radius: 4px;
}
#upload-geojson-container {
  display: none;
  margin-top: 4px;
}
@media screen and (max-width: 600px) {
  #vector_layer_selectors {
    bottom: 20px;
    top: unset;
  }
  #vector_layer_selectors label,
  #filename_selectors label {
    max-width: 280px;
  }
}
