#map {
  height: 80vh;
  margin-bottom: 10vh;
}

#side_bar {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 90%;
  bottom: -10vh;
  background: #fff;
  padding: 0.5em;
  border-radius: 3px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 7px 1px rgb(0 0 0 / 30%);
}

#side_bar > #pagination {
  display: flex;
  gap: 0.25em;
  justify-content: center;
  align-items: center;
}

#side_bar > #pagination > #btn-next,
#side_bar > #pagination > #btn-prev {
  color: #ffffff;
  background-color: #264f49;
  border-radius: 9999px;
  box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
  outline: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.8em;
  padding: 0.7em 1.8em;
  text-align: center;
  text-decoration: none;
  word-break: break-word;
  box-sizing: border-box;
  transition: background-color 0.2s ease-in-out;
}

#side_bar > #pagination > #btn-next:hover,
#side_bar > #pagination > #btn-prev:hover {
  background-color: #193c37;
}

/* #side_bar > #pagination > #btn-prev {
  display: none;
} */

#side_bar > #results > .single-dealer {
  margin-bottom: 1em;
}

#side_bar > #results > .single-dealer > .title {
  color: #222f2c;
  text-decoration: none;
  cursor: pointer;
  text-overflow: clip;
  font-family: "Avalon-Bold", sans-serif;
}

#side_bar > #results > .single-dealer > .info {
  padding: 0;
  transition: max-height 0.2s ease-in-out;
  max-height: 0;
  visibility: hidden;
}

#side_bar > #results > .single-dealer > .info.show-dist {
  max-height: 100vh;
  visibility: visible;
}

.tableList {
  width: 100%;
  display: block;
  margin: 0 auto;
  padding: 20px;
}

.clickPageNumber {
  padding: 2px;
  margin-left: 2px;
  margin-right: 2px;
}

.pagination-block {
  text-align: center;
  width: 100%;
}

.pagination-block span {
  display: inline-block;
}

.pagination-block span:hover {
  cursor: pointer;
}

.opacity {
  opacity: 0.5;
}

@media screen and (min-width: 768px) {
  #map {
    height: 70vh;
    margin-bottom: 0;
  }

  #side_bar {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 400px;
    top: 10vh;
    bottom: auto;
    right: 2vw;
    left: auto;
    padding: 0.5em;
    border-radius: 3px;
    margin: 0;
  }
}
