.map {
  margin: 0 auto;
  max-width: 1440px;
  box-sizing: border-box;
}
@media (min-width: 1025px) {
  .map {
    padding: 0 40px;
  }
}
@media (max-width: 1024px) {
  .map {
    padding: 0 30px;
  }
}

.map__select {
  text-align: center;
  margin: 25px 0;
}
.map__select .js-form-type-select {
  max-width: 50%;
  margin: 0 auto;
}
@media screen and (max-width: 650px) {
  .map__select .js-form-type-select {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
}
.map__select label {
  display: block;
  font-size: 20px;
  font-family: var(--font-body);
  text-align: center;
  margin: 0 5px 5px 0;
}
.map__select .select2-container {
  max-width: 400px;
}
.map__select .select2-selection--single {
  height: 42px;
  border-radius: 2px;
}
.map__select .select2-selection--single:focus {
  outline: none;
}
.map__select .select2-selection__rendered {
  text-align: left;
  color: black !important;
  font-size: 18px;
  line-height: 22px !important;
  padding: 10px 5px !important;
}
.map__select .select2-selection__arrow {
  height: 37px !important;
}

.map__buttons {
  display: grid;
  grid-gap: 1em;
  text-align: center;
  margin: 10px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1025px) {
  .map__buttons {
    grid-template-columns: repeat(5, auto);
  }
}
@media (min-width: 651px) and (max-width: 1024px) {
  .map__buttons {
    grid-template-columns: repeat(4, auto);
  }
}
@media screen and (max-width: 650px) {
  .map__buttons {
    grid-template-columns: repeat(3, auto);
  }
}
@media screen and (max-width: 500px) {
  .map__buttons {
    grid-template-columns: repeat(2, auto);
  }
}

.map--error {
  font-family: var(--font-body);
  padding: 50px;
  background: rgba(var(--color-dark-blue-rgb), 0.6);
  color: var(--color-white);
}
@media screen and (max-width: 650px) {
  .map--error {
    padding: 15px 25px 20px;
  }
}
.map--error a {
  color: var(--color-white);
  font-weight: bold;
}
