@font-face {
  font-family: FFMetaWebNormal;
  src: url(../../fonts/FFMeta.woff2) format("woff2"); }

#map-container {
  display: flex;
  flex-direction: row;
  margin-top: 150px;
  height: calc(100vh - 150px);
  overflow: hidden;
  border-top: 5px solid #555555;
  font-family: FFMetaWebNormal;
}

#map-container a#logo {
  display: block;
}

#map-container button {
  cursor: pointer;
}

#map-container .w100 {
  width: 100%;
}

#map-container .inactive {
  background-color: #0072A3 !important;
  border-color: #0072A3 !important;
  color: white !important;
}

#map-container #map-header h1,
#map-container #map-header h2,
#map-container #map-header h3,
#map-container #map-list-container h1,
#map-container #map-list-container h2,
#map-container #map-list-container h3 {
  margin: 0;
}

#map-container #map-header button,
#map-container #map-list-container button {
  border: 0;
  background-color: #B35F00;
  color: white;
  padding: 6px 30px;
  min-width: 80px;
  font-size: 1.2rem;
}

#map-container #map-header {
  display: none;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 15px;
  color: white;
  background-color: white;
}

#map-container #map-header img {
  max-height: 65px;
}

#map-container #map-header #map-controls {
  display: table;
}

#map-container #map-header #map-controls .map-controls-btns {
  display: table-cell;
}

#map-container #map-header #map-controls .map-controls-btns .map-control-btn {
  border: 0;
  background-color: #B35F00;
  color: white;
  padding: 6px 30px;
  min-width: 155px;
  font-size: 1.2rem;
}

#map-container #map {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  -webkit-box-flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

#map-container #map-list-container {
  width: 425px;
  max-width: 425px;
  overflow-y: auto;
}

#map-container #map-list-container #map-list-header #list-header {
  text-align: center;
  padding: 1rem;
}

#map-container #map-list-container #map-list-header #list-header .map-list-description {
  font-size: 1.45rem;
  line-height: 1.45rem;
  margin-bottom: 0.2rem;
  font-weight: bold;
}

#map-container #map-list-container #map-list-header #list-header .note {
  font-size: 1.15rem;
  line-height: 1.15rem;
  font-weight: bold;
}

#map-container #map-list-container #map-details-header {
  display: none;
  position: relative;
  height: 13rem;
  background-position: center;
  background-size: cover;
}

#map-container #map-list-container #map-details-header .back-button {
  background-color: transparent;
  color: white;
  position: absolute;
  font-size: 1.4rem;
  padding-top: 0.8rem;
  font-weight: bold;
}

#map-container #map-list-container #map-details-header .back-button:hover,
#map-container #map-list-container #map-details-header .back-button:focus {
  text-decoration: underline;
  border: none;
}

#map-container #map-list-container #bottom-back-button-row #bottom-detail-back-button{
  color: black;
  position: absolute;
  font-size: 1.4rem;
  padding-top: 0.8rem;
  background-color: white;
  padding: 20px 0px;
}

#map-container #map-list-container #bottom-back-button-row #bottom-detail-back-button:hover,
#map-container #map-list-container #bottom-back-button-row #bottom-detail-back-button:focus {
  text-decoration: underline;
  border: none;
}

#map-container #map-list-container #map-details #details-title {
  font-size: 2rem;
  font-weight: bold;
  color: #E21776;
}

#map-container #map-list-container #map-details-header #details-grade {
  position: absolute;
  top: 165.5px;
  width: 80px;
  z-index: 20;
  height: 45px;
  left: 30px;
}

#map-container #map-list-container #map-list #list {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

#map-container #map-list-container #map-list #list button {
  width: 100%;
  text-align: left;
  padding: 10px 30px 6px;
}

#map-container #map-list-container #map-list #list button::after {
  content: url("../../images/map/Expand.svg");
  float: right;
  margin-left: 5px;
  width: 50px;
}

#map-container #map-list-container #map-list #list .active::after {
  content: url("../../images/map/Open.svg");
  width: 18px;
}

#map-container #map-list-container #map-list #list .map-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

#map-container #map-list-container #map-list #list .map-panel .map-list-number {
  float: left;
  vertical-align: bottom;
  margin-top: -3px;
  margin-right: 8px;
  height: 20px;
  width: auto;
}

#map-container #map-list-container #map-list #list ul, #map-container #map-list-container #map-list #list ol {
  margin: 0;
}

#map-container #map-list-container #map-list #list ul {
  list-style: none;
  padding: 0;
}

#map-container #map-list-container #map-list #list ul li:last-child button {
  width: 100%;
}

#map-container #map-list-container #map-list #list a {
  display: block;
  padding: 15px 30px 10px;
  border-top: 1px solid lightgrey;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  font-size: 1.15rem;
  line-height: 1.15rem;
}

#map-container #map-list-container #map-list #list {
  color: #000000;
}

#map-container #map-list-container #map-list #list .map-list-link:focus:after,
#map-container #map-list-container #map-list #list .map-list-link:hover:after {
  opacity: 1;
}

#map-container #map-list-container #map-list #list .map-list-link:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  opacity: 0;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
}

#map-container #map-list-container #map-details {
  display: none;
  padding: 20px 30px;
}

#map-container #map-list-container #map-details .row {
  margin-bottom: 10px;
}

#map-container #map-list-container #map-details .detail-icon {
  width: 20px;
  height: auto;
}

#map-container #map-list-container #map-details #detail-distance,
#map-container #map-list-container #map-details #detail-start-points {
  float: left;
  margin-right: 50px;
}

#map-container #map-list-container #map-details #detail-start-points {
  color: #00af3f;
}

#map-container #map-list-container #map-details #detail-entry-point {
  color: #952d98;
}

#map-container #map-list-container #map-details .row.download {
  text-align: center;
  margin-top: 20px;
}

#map-container #map-list-container #map-details .row.download .download-button {
  display: block;
  width: 190px;
  height: 45px;
  background: #B35F00;
  padding: 12px 0;
  text-align: center;
  border-radius: 0;
  color: white;
  margin: 0 auto;
  cursor: pointer;
  text-decoration: none;
}

#map-list {
  padding-top: 1.5rem;
}

.map-controls-btns {
  padding-right: 0.75rem;
}

#mobile-help-text {
  padding-bottom: 0.75rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  #map-container #map-header {
    flex-direction: column;
  }

  #map-container #map-header img {
    margin-bottom: 0.3rem;
  }

  #map-container #map-header #map-controls {
    width: 100%;
  }
}

@media (max-width: 990px) {
  #map-container {
    flex-direction: column;
    border-top: none;
  }

  #map-container #map-header {
    display: flex;
  }

  #map-container #map {
    flex: 1 0 auto;
    flex-direction: column;
    height: auto;
  }

  #map-container #map-list-container {
    position: absolute;
    visibility: hidden;
    width: 100%;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }

  #map-container #map-list-container #list-header {
    display: none;
  }

  #map-wrapper {
    height: 40rem;
  }
}
div#map-header p {
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}
