body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@font-face {
  font-family: "Bison-Bold";
  src: url(fonts/bison-bold.ttf);
}

@font-face {
  font-family: "Bison-Regular";
  src: url(fonts/bison-regular.ttf);
}

h1 {
  font-family: "Bison-Bold";
}

h2 {background-color: #4f5b78;}
h3,
h4 {
  font-family: "Bison-Regular";
  font-weight: 700;
  font-size: 1.8rem;
}

p {
  font: "Calibiri";
  font-size: 1.2rem;
  color: white;
}

p span.hover-image {
  cursor: pointer;
  text-decoration: underline;
  color: #eee;
}

img {
  width: 100%;
}

a {
  color: #010080;
}

#header {
  display: inline-block;
  height: 85px;
  background-color: #4f5b78;
}

#header img {
  height: 85px;
  width: auto;
  float: right;
}

#current-caption p {
  text-align: center;
  font-size: 14px;
  margin-top: 0px;
  padding-top: 0px;
}

#tooltip {
  position: absolute;
  z-index: 10000;
  background: white;
  padding: 5px 10px;
  cursor: pointer;
  box-shadow: 1px 1px 2px #ccc;
}

.content {
  padding: 10px 25px;
}

section {
  line-height: 25px;
  opacity: 0.25;
  background-color: #55784f;
  font-size: 13px;
  margin-bottom: 3rem;
}

section.active {
  opacity: 0.95;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -ms-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}

feature:last-child {
  border-bottom: none;
  margin-bottom: 100px;
}

#marker {
  /*background-image: url("POI-Marker.png");*/
  background-size: cover;
  width: 50px;
  height: 50px;
  border-radius: 0%;
  cursor: pointer;
}

.mapboxgl-popup {
  max-width: 200px;
}

/* ribbon */
.mask {
  display: inline-block;
  position: relative;
  height: 3.3rem;
  margin: 0;
  right: 20px;
  bottom: 10px;
  width: 3rem;
  background-color: #55784f;
  transform: rotate(20deg);
}

.ribbon {
  display: inline-block;
  position: relative;
  height: 3.1rem;
  margin: 0;
  padding-left: 10px;
  bottom: 1.09rem;
  right: 10px;
  width: 0.5rem;
  background-color: black;
  border-top-left-radius: 10px;
}
.subtitle {
  background-color: #4f5b78;
  color: white;
  font-family: "Bison-Regular", cursive;
  text-align: center;
  display: inline-block;
  padding: 1rem 4rem 0.5rem 1.5rem;
  border-left: 10px solid #4f5b78;
  margin: 0;
  position: relative;
  right: 10px;
}

#map {
  top: 0;
}

#features {
  /* background-color: #fe0000; */
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  position: relative;
}

.title {
  padding: 10px 5px 5px 40px;
  /*margin-bottom: 50px;*/
  background-color: #4f5b78;
  color: white;
  text-align: left;
  line-height: 2;
  float: left;
}

.yt-embed iframe {
  width: 100%;
}

@media (min-width: 993px) {
  #header {
    z-index: 3;
    width: 100%;
    position: fixed;
  }
  .bump {
    height: 10rem;
  }
  .title {
    margin-top:0;
  }
  #map {
    position: fixed;
    margin-top: 5rem;
    bottom: 0px;
    width: 100%;
  }
  section {
    border-radius: 8px;
    border-bottom: 1px solid #ddd;
  }
  #features {
    width: 33%;
    margin-left: 60%;
  }
  .yt-embed iframe {
    min-height: 400px;
  }
  .glide {
    max-width: 34vw;
  }
}


@media (max-width: 992px) {

  h1.title{
    font-size: 1.5rem;
    margin: 0;
  }

  #features {
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  section {
    width:100%;
  }
  #map {
    z-index: 1;
    overflow: unset;
    position: sticky;
    position: -webkit-sticky;
    height: 40vh;
    width: 100%;
  }
  .yt-embed iframe {
    min-height: 200px;
  }
}

#close {
  position: fixed;
  bottom: 0;
  right: 0;
  background: white;
  padding: 15px;
  z-index: 1000;
}

.animation-icon .mapboxgl-popup-content {
  background: none;
  height: 40px;
  width: 40px;
  box-shadow: none;
}

.pdf-buttons {
  display: flex;
  justify-content: center;
}

.pdf-buttons button {
  margin: 0 10px;
  text-transform: uppercase;
}

.glide__arrow {
  color: #ffffff !important;
  border-color: #ffffff !important;
}
