.open-street-map-container {
  position: relative;
  margin-bottom: 1em;
}

#open-street-map-filter {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  background: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#osm-filters{
  position: absolute;
  padding: 2rem;
  border-top-left-radius: 25px;
  background-color: #fff;
  bottom: 0;
  right: 0;
  left: auto;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#osm-filters #osm-terms-filters{
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

#osm-filters .osm-checkbox > input[type="checkbox"]{
  display: none;
}

#osm-filters .osm-checkbox > label{
  position: relative;
  padding: .7rem 1.2rem;
  background-color: #fff;
  color: var(--color);
  border: 1px solid;
  border-color: var(--color);
  border-radius: 50px;
  transition: all .3s ease;
  font-size: .8rem;
}

#osm-filters .osm-checkbox > label:after{
  content : "";
  opacity: 0;
  transition: all .3s ease;
}

#osm-filters .osm-checkbox > input[type="checkbox"]:checked + label{
  background-color: var(--color);
  color : #fff;
  padding-right: 3rem;
}

#osm-filters .osm-checkbox > input[type="checkbox"]:checked + label:after{
  border: solid #fff;
  position: absolute;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-width: 0 0 2px 2px !important;
  height: 6px;
  width: 12px;
  margin: 17px 0 0 14px;
  top: -3px;
  opacity: 1;
}

.osm-search{
  position: relative;
}

.osm-search > .search-form{
  display: flex;
}

.osm-search input{
  outline: none;
}

#osm-city-search{
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  padding: .5rem 0;
}

.suggestions {
  position: absolute;
  background: #fff;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  width: 100%;
  border: 0px solid #ccc;
}

.suggestions.active{
  border: 1px solid #ccc;
}

.suggestions div {
  padding: 5px 10px;
  cursor: pointer;
}

.suggestions div:hover {
  background: #f0f0f0;
}

#osm-geolocate-btn{
  padding: 0;
  border: 0;
}

#osm-geolocate-btn svg{
  width : 1.2rem;
}

#osm-geolocate-btn:hover, #osm-geolocate-btn:focus{
  background-color: transparent;
}

.osm-radius{
  display: flex;
  align-items: center;
  gap: .7rem;
}

input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 200px;
  background-color: #fff;
}
input[type=range]:focus {
  outline-color: #f8b195;
  background-color: #fff;
}
input[type=range]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: #999;
}
input[type=range]::-moz-range-track {
  -moz-appearance: none;
  appearance: none;
  height: 3px;
  background: #999;
}
input[type=range]::-ms-track {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 3px;
  background: #999;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid #444;
  background-color: #444;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  position: relative;
  bottom: 8px;
  background-size: 50%;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  cursor: grab;
}
input[type=range]::-webkit-slider-thumb:active {
  cursor: grabbing;
}
input[type=range]::-moz-range-thumb {
  -moz-appearance: none;
  appearance: none;
  border: 2px solid #f8b195;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  position: relative;
  bottom: 8px;
  background-size: 50%;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  cursor: grab;
}
body input[type=range]::-moz-range-thumb:active {
  cursor: grabbing;
}
body input[type=range]::-ms-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 2px solid #f8b195;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  position: relative;
  bottom: 8px;
  background-size: 50%;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  cursor: grab;
}
body input[type=range]::-ms-thumb:active {
  cursor: grabbing;
}