@import "modal.css";
.insuramap-container .rates-grey-lighten-1 {
  background-color: #e5e5e5;
}
.insuramap-container .rates-grey {
  background-color: #ccc;
}
.insuramap-container .rates-grey-darken-1 {
  background-color: #666;
}
.insuramap-container .rates-salmon {
  background-color: #ecbaa8;
}
.insuramap-container .rates-red {
  background-color: #df3226;
}
.insuramap-container .rates-red-darken-1 {
  background-color: #970a00;
}
.insuramap-container .logo {
  height: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 3rem;
  width: fit-content;
}
.insuramap-container .map {
  height: calc(100vh - 5rem);
  width: 100vw;
  position: relative;
}
.insuramap-container .map .location-info {
  font-family: Nunito-Semi, serif;
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: white;
  padding: 1.2rem;
  z-index: 9;
  width: 300px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.168627451);
  border-radius: 0.3rem;
}
.insuramap-container .map .location-info .label {
  font-weight: 700;
}
.insuramap-container .map .location-info .title {
  font-size: 21px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0;
  margin-top: 2rem;
}
.insuramap-container .map .location-info .submit {
  padding: 1rem;
  background: black;
  color: white;
  font-weight: 800;
  border-radius: 2rem;
  cursor: pointer;
  width: 100%;
  display: block;
}
.insuramap-container .map .location-info .geocoder {
  margin: 1rem auto;
}
.insuramap-container .map .location-info .geocoder .mapboxgl-ctrl-geocoder {
  box-shadow: none;
  border: 1px solid #cfcfcf;
  width: 100%;
  border-radius: 0.3rem;
  padding: 0.2rem 0;
}
.insuramap-container .map .location-info .geocoder input, .insuramap-container .map .location-info .geocoder input:focus {
  outline: none;
}
.insuramap-container .map .location-info .geocoder .mapboxgl-ctrl-geocoder--icon-search,
.insuramap-container .map .location-info .geocoder .mapboxgl-ctrl-geocoder--button {
  transform: translateY(-50%) !important;
  top: 50% !important;
}
.insuramap-container .map .location-info .geocoder .mapboxgl-ctrl-geocoder--button svg {
  margin-top: 0;
}
.insuramap-container .map .location-info .geocoder .mapboxgl-ctrl-geocoder--button:hover {
  background-color: unset;
}
.insuramap-container .map .cost-of-area {
  font-family: Nunito-Semi, serif;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: white;
  padding: 1rem 1.5rem;
  z-index: 10;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border-radius: 0.3rem;
  width: 24rem;
}
.insuramap-container .map .cost-of-area .title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 0.5rem;
  display: block;
}
.insuramap-container .map .cost-of-area .dot {
  width: 22px;
  height: 22px;
  border-radius: 22px;
  margin-right: 1rem;
}
.insuramap-container .cost-of-area-mobile {
  display: none;
}
.insuramap-container .cost-of-area-mobile .title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 0.5rem;
  display: block;
}
.insuramap-container .cost-of-area-mobile .scale {
  display: block;
  margin: 1rem auto;
  height: 2rem;
  background: rgb(229, 229, 229);
  background: linear-gradient(90deg, rgb(229, 229, 229) 0%, rgb(151, 10, 0) 100%);
  border-radius: 1rem;
}

@media screen and (max-width: 900px) {
  .location-info, .cost-of-area {
    display: none;
  }
  .cost-of-area-mobile {
    display: block !important;
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    z-index: 10;
  }
}