html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100vh;
  overflow: hidden;
}

.navbar {
  flex-shrink: 0;
  z-index: 2;
}

#map {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  z-index: 0;
}
#map:focus,
#map:active,
#map:focus-visible {
  outline: none;
}

body,
#map {
  overflow: hidden;
}

.function-group {
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: fit-content;
  z-index: 1;
}

.key-group {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: fit-content;
  z-index: 1;
}

.btn {
  background-color: white;
}

.content-wrapper {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.sidebar {
  width: 25%;
  min-width: 250px;
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
  overflow-y: auto;
  padding: 20px;
}

.map-container {
  flex: 1;
  position: relative;
}

.accordion-body {
  padding: 0.5rem;
}

.accordion-button:not(.collapsed) {
  color: #000;
  background-color: #f1f1f1;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 11.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E");
}

.accordion *:focus {
  outline: 0;
  box-shadow: none;
}

.list-group-item {
  border: none;
  outline: none;
}
.list-group-item:hover {
  cursor: pointer;
}
.form-check-input:focus,
.accordion-button:focus {
  border-color: #ced4da;
  outline: 0;
  box-shadow: none;
}
.form-check-input:checked {
  background-color: #000;
  border-color: #000;
}

.scroll-hidden {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-hidden::-webkit-scrollbar {
  display: none;
}

.statistics {
  margin-top: 20px;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 10px 0 15px;
  border-radius: 5px;
}

.walk-types {
  width: 100%;
  padding-bottom: 1rem;
}
.walk-types label {
  color: black;
}
.btn:focus,
.btn:active,
.btn-check:focus + .btn,
.btn-check:active + .btn {
  outline: 0;
  box-shadow: none;
}
