body {
  margin: 0 auto;
  padding: 0;
  font-family: 'Public Sans', sans-serif;
  color: white;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  letter-spacing: 0.01em;
  font-family: inherit;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#map {
  margin: auto;
  position: absolute;
  right: 0px;
  left: 30%;
  top: 0px;
  bottom: 0px;
  width: 70%;
}

.left-container {
  z-index: 100;
  position: absolute;
  width: 30%;
  min-width: 300px;
  height: 100vh;
  background-color: #152733;
  overflow-y: scroll;
}

.controls {
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

h3 {
  margin-top: 0;
  padding-bottom: 3px;
  width: fit-content;
  border-bottom: 3px solid #ffffffa6;
  display: inline-block;
}

.mode-container {
  margin-top: 15px;
  padding-top: 15px;
}

.location-container {
  clear: both;
  margin-top: 10px;
  padding-bottom: 10px;
}

.location-container .location-text {
  font-weight: 600;
}

.location-container .location-name {
  color: #ffffffa6;
  background: #0d181f;
  font-weight: 600;
  font-size: 0.7em;
  display: block;
  width: fit-content;
  padding: 2px 5px;
  border-radius: 10px;
  margin: 4px 0;
  cursor: pointer;
}

.location-container .location-name:hover {
  color: #ffffff;
  background: black;
}

.location-container .location-context {
  color: #ffffffe1;
  font-size: 0.75em;
  display: block;
  font-family: 'IBM PLEX MONO', serif;
  font-style: italic;
}

form label {
  font-weight: 600;
  font-size: 0.9em;
  color: #ffffffa6;
  vertical-align: middle;
}

button {
  display: inline-block;
  float: left;
  border: none;
  font-weight: 700;
  background: #FAEF76;
  font-size: 0.9em;
  border-radius: 50px;
  padding: 8px 12px;
  cursor: pointer;
  outline: none;
  transition: 0.2s padding ease;
  margin-bottom: 20px;
}

.secondary {
  float: right;
  margin-left: 10px;
  background-color: #d2f4ff;
}

button.restart {
  float: right;
  vertical-align: middle;
  background-color: #d2f4ff;
}

button.secondary, button.primary:hover {
  padding: 8px 20px;
}

form textarea {
  margin: 10px 0;
  width: 100%;
  font-size: 0.8em;
  padding: 8px;
  font-weight: 500;
  border: none;
  outline: none;
  border-radius: 3px;
  resize: vertical;
}



/*CHECKBOX*/
/* The container */
.radio-container {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  vertical-align: middle;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9em;
  user-select: none;
}

/* Hide the browser's default radio button */
.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 50%;
}

/* When the radio button is checked, add a blue background */
.radio-container input:checked ~ .checkmark {
  background-color: #FAEF76;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-container .checkmark:after {
 	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
  margin-left:-4px;
  margin-top:-4px;
	border-radius: 50%;
	background: #152733;
}

.mapboxgl-popup-content {
  font-family: 'Manrope', sans-serif;
  color: black;
  max-height: 250px;
  overflow: scroll;
}

.mapboxgl-popup-content h4 {
  text-align: center;
  margin: 0px 0px 3px 0px;
  font-size: 1.2em;
}

.mapboxgl-popup-content p {
  margin: 0;
  line-height: 1.3;
  font-size: 1.1em;
  font-family: 'Charter';
  font-style: italic;
}

/* FILE INPUT */


.file {
  position: relative;
  display: inline-block;
  cursor: pointer;
  height: 2.5rem;
  margin-top: 15px;
  margin-bottom: 20px;
}
.file input {
  min-width: 14rem;
  margin: 0;
  filter: alpha(opacity=0);
  opacity: 0;
}
.file-custom {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  height: 2.5rem;
  padding: .5rem 1rem;
  line-height: 1.5;
  color: #555;
  background-color: #fff;
  border: .075rem solid #ddd;
  border-radius: .25rem;
  box-shadow: inset 0 .2rem .4rem rgba(0,0,0,.05);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.file-custom:after {
  content: "Choose file...";
}
.file-custom:before {
  position: absolute;
  top: -.075rem;
  right: -.075rem;
  bottom: -.075rem;
  z-index: 6;
  display: block;
  content: "Browse";
  height: 2.5rem;
  padding: .5rem 1rem;
  line-height: 1.5;
  color: #555;
  background-color: #eee;
  border: .075rem solid #ddd;
  border-radius: 0 .25rem .25rem 0;
}

/* Focus */
.file input:focus ~ .file-custom {
  box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9;
}
