html,body {
  height: 100%;
}

body {
  font-family: Roboto;

}



.map-section {
  background-color: #f89617;
  overflow: auto;
  position: relative;
  height: 100%;
  text-align: center;
  color: #fff;
}

.legend-section {
  background-color: #f89617;
  overflow: hidden;
  position: relative;
  height: auto;
  text-align: center;
  color: #fff;
}

.legend-section-heading{
  background-color: #f89617;
  overflow: hidden;
  position: relative;
  height: auto;
  text-align: left;
  color: #fff;
  padding: 5px 0 10px 5px;
}

.legend-section-heading h3{
  display: inline-block;
}

.legend-item{
  text-align: left;
  width: 100%;
  padding: 15px;
}

.legend-item-heading{

}

.legend-check{
  float: left;
  width: 100%;
  font-weight: 300;
  margin: 5px 0;
}

.vspace10{
  margin-top: 10px;
}

@media screen and (min-width: 760px) {
  .map-section__heading {
    width: 100%;
    background: #f89617;
    background: rgba(248, 150, 23, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 99;
  }
}

.map-section__heading__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
}

.map-section__heading__container>h2 {
  color: #fff;
  text-align: center;
  margin: 1em 1em;
  font-size: 1.25rem;
}

@media screen and (min-width: 700px) {
  .map-section__heading__container {
    width: 700px;
    margin: 0 auto;

  }
}

#map {
  width: 85%;
  width: calc(100% - 4rem);
  margin: 0 auto 2rem;
  border: 2px solid #fff;
  height: 100%;
}

@media screen and (min-width: 760px) {
  #map {
    width: 100%;
    border: 0;
    margin: 0;
  }

  .map-section__heading__container>h2 {
    color: #fff;
    text-align: center;
    margin: 1em 1em;
    font-size: 2rem;
  }

}

#map-found-container {
  display: none;
  margin: 0 2em;
}
#map-found-text {
  margin: 0;

  &>a {
    color: #fff;
  }
}
a#map-relocate-text {
  display: inline-block;
  font-size: 0.75em;
  color: #fff;
  margin: 0.5rem 0 0;
}

#map-find-btn {
  display: block;
  width: 250px;
  padding: 0.5em 0;
  margin: 0 auto;
  background: #fff;
  border-radius: 100px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 8px 1px rgba(0,0,0,0.25);
  transition: 500ms all;
  color: #f89617;
  font-weight: bold;

  &.js-loading {
    background-image: url('/assets/images/loading.gif');
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: none;
    width: 40px;
    cursor: default;
    color: #fff;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
  }
}


#map-found-result {
  display: none;
  /*
  list-style: none;
  margin: 1em auto;
  padding: 1em;
  width: 300px;
  background: #fff;
  color: #000;
  border-radius: 3px;
  border: 1px solid #fff;*/
}

/* Mapbox styles */
.leaflet-marker-icon.marker-cluster {
  &, &>div {
    background: rgba(0, 116,200, 0.5);
    color: #fff;

  }
}

.map-section__popup {

}

.map-section__popup__name {
  display: block;
  margin: 0.5rem 0 1rem;
  font-size: 1.25rem;
  text-align: center;
  text-transform: capitalize;
}

.map-section__popup__location {
  display: block;
}

.map-section__popup__website {
  display: block;
}

.map-section__popup__contact {
  display: block;
  margin-top: 1em;
}
.map-section__popup__contact__name {
  display: block;
  text-transform: capitalize;
}

.map-section__popup__contact__email {
  display: block;
}


.map-section__popup__contact__phone {
  display: block;
}

.map-section__popup__field-info {
  display: block;
  margin-top: 1em;
  text-align: center;
}


/* Location modal */

.modal-exit-btn {
  position: absolute;
  right: 1em;
  top: 1em;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: 250ms opacity, 250ms transform;

  &:hover {
    opacity: 1;
    transform: scale(1.1);
  }

  &:active {
    opacity: 0.5;
    transform: scale(0.9);
  }
}



.map-section__location-modal {
  display: none;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  background: rgba(248, 150, 23, 0.9);
  z-index: 9999;

  font-size: 2rem;
}

.map-section__location-modal__form {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.map-section__location-modal__form__zip {
  background: transparent;
  border: none;
  border-bottom: 3px solid #fff;
  color: #fff;
  width: 4em;
  text-align: center;
  margin-bottom: 1em;

  &:focus {
    outline: 0;
  }
}

.map-section__location-modal__form__submit {
  background: #fff;
  padding: 5px;
  border-radius: 40px;
  padding: 10px 30px;
  color: #f89617;
  border: 0;
  box-shadow: 0 0 8px 1px rgba(0,0,0,0.25);

  &:hover {
    background: #f89617;
    color: #fff;
  }
}
