* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

#map {
  width: 100%;
  position: absolute;
  height: 100%;
}

.map-filter {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02);
  border-radius: 8px;
  position: absolute;
  right: 0;
  z-index: 1;
  margin: 15px;
  text-align: center;
  padding: 7px;
}

.map-filter-icon {
  height: 64px;
}

.map-filter-icon:hover {
  background-color: rgb(243, 127, 127);
}

.map-filter-icon img {
  width: 50px;
  cursor: pointer;
}

/* .map-filter-card {
  display: none
} */

.close {
  display: none;
}

#close-card {
  background-color: #333;
  opacity: 0.3;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}

#close-card:hover {
  border: 1px solid black;
  opacity: 1;
}

.filter-text {
  text-align: left;
  margin: 5px 0;
}

#suggestionsContainer {
  background-color: #D3D3D3;
  margin-top: 3px;
}

.filter-suggestion {
  padding: 3px;
}

.filter-suggestion:hover {
  cursor: pointer;
  border: .5px solid grey;
}

.card-title-bar {
  display: flex;
  justify-content: end;
}

.card-title-bar div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.filter-form {
  padding: 10px;
}

.filter-form input{
  padding: 5px;
}

.filter-submit {
  cursor: pointer;
}

.search-bar{
  height: 150px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid lightgray;
}

.search-bar div {
  margin: 0 15px;
}

.mapboxgl-ctrl-geocoder {
  min-width: 100%;
  width: auto !important;
}

.container {
  display: flex;
  height: calc(100vh - 150px);
}

@media screen and (max-width: 600px) {
  .search-bar{
    height: 200px;
    flex-direction: column;
    padding: auto;
  }
  .search-bardiv:not(:last-of-type)  {
    margin-bottom: 15px;
  }
}