/******************************************************
Trail Maps */

body {
  overflow: hidden;
}

.trail-maps .sidebar {
  padding-top: 4px !important;
  padding-right: 0px !important;
}

.trail-maps .sidebar #form-map-filters h2 {
  text-transform: uppercase;
  font-size: 28px;
  border-bottom: 2px solid #F47A20;
  padding-bottom: 5px;
  margin-bottom:16px;
  display: block;
}

/* Form */
#form-map-filters {
/*   background-color: #F0F0ED; */
  border-radius: 5px;
  padding: 10px;
  display: block;
/*   max-width: 180px; */
  margin-bottom: 15px;
}

#form-map-filters label {
  font-weight: bold;
  display: block;
  padding-bottom: 3px;
}

#form-map-filters .selectBox + label {
  margin-top: 16px;
}

/* Trail Markers */
.trail-marker {
  display: block;
  border: 1px solid #000000;
  background-color: #FFFFFF;
  font-weight: bold;
  width: 20px;
  height: 20px;
  text-align: center;
}

.trail-marker-circle {
  border-radius: 50%;
}

/* Trail Icons */
.trail-icon {
  display: block;
  background:  transparent none scroll no-repeat center center;
  background-size: contain;
}

/* Points of Interest + Popup */
#poi-popup-template {
  display: none;
}

.poi-marker {
  display:  block;
  width:  42px;
  height:  42px;
  background: transparent url('/images/icons/poi-marker.png') no-repeat scroll center center;
  cursor: pointer;
}

.poi-marker-open {
  background-image: url('/images/icons/poi-marker-open.png');
}

.poi-popup {
  max-width:  350px;
  color: #FFF;
  padding: 40px;
}

.poi-popup .swiper-slide {
    background: #000000 none scroll no-repeat center center;
    background-size: cover;
    height: 200px;
    width: 270px;
}

.poi-popup .swiper-pagination-bullet-active {
  background-color: #FFFFFF;
}

.poi-popup .swiper-button-prev {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23FFFFFF'%2F%3E%3C%2Fsvg%3E");
}

.poi-popup .swiper-button-next {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23FFFFFF'%2F%3E%3C%2Fsvg%3E");
}

.poi-photos {
  height: 200px;
  position: relative;
}

.poi-photos figure {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent none no-repeat center center;
  background-size: cover;
  -webkit-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.poi-photos a {
  display: block;
  height: 100%;
}

#content .poi-popup h3 {
  border-bottom: 2px solid #FC8101;
  padding-bottom: 16px;
  margin-left: 0;
}

#content .poi-popup p {
  color: #FFFFFF;
}

.mapboxgl-popup-content {
  padding:  0;
  background-color: #063A5B;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
  border-bottom-color: #063A5B;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
  border-top-color: #063A5B;
}

.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
  border-left-color: #063A5B;
}

.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
  border-right-color: #063A5B;
}

.mapboxgl-popup-close-button {
  color: #FFFFFF;
    font-size: 35px;
    right: 5px;
    top: -7px;
}

.footer-top-row {
  display: none;
}

.page-content {
  padding-left: 4vw;
}

#map-area {
  position: absolute;
  bottom: 0px;
  left: auto;
  width: 100%;
}

.page-scroll {
  padding: 122px 0;
  max-width: 100%;
}

.inner-header {
  top: 20px
}

.inner-header > header {
  max-width: 100%;
  padding: 16px 1vw 16px 5vw;
}

.inner-left ul {
  position: relative;
  z-index: 999;
}

.navigation-tabs-trail {
  background-color: #FFF;
}

/* Map Compass */
#map-compass {
  z-index: 1000;
  position: relative;
}

#map-compass > div {
  background: transparent url('/images/layout/compass_n.png') no-repeat scroll center center;
  display: block;
  width: 96px;
  height: 97px;
  position: absolute;
  right: 1em;
}

#map-compass[data-direction="south"] > div {
  background-image: url('/images/layout/compass_s.png');
}


.mapboxgl-marker {
	
}

.mapboxgl-popup {
  z-index: 9999 !important;
}

/* Select Box */
div.selectBox .sbOptions li a {
  position: relative;
}

div.selectBox .sbOptions li a .trail-color {
  display: inline-block;
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #E69800;
  border-radius: 50%;
  top: 10px;
  right: 10px;
}