@font-face {
    font-family: 'Tofino Book'; /*a name to be used later*/
    src: url('fonts/Tofino-RegularPersonal.ttf'); /*URL to font*/
}

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

body{
  background-color: #f9f8f7;
}

h1, h2, h3{
  font-family: 'Tofino Book';
}

body, p, form, a, h4, h5{
  font-family: "Source Sans Pro", sans-serif;
}

.button{
  cursor: pointer;
    background-color: #ffaa39;
    color: #fff !important;
    transition: 0.3s;
    border: none;
    padding: 0.5em 1em !important;
    border-radius: 5px;
    text-decoration: none;
}

.button:hover{
  background-color: #ffbd66;
}

/* Navigation */
.nav-bar{
  background-position: center;
  position: fixed;
  font-size: .9em;
  z-index: 99;
  color: #fff;
  text-transform: uppercase;
}

.nav-logo{
  z-index: 99;
}

.nav-logo a{
  text-decoration: none;
  color: #fff;
}

.nav-logo .logo-container{
  display: inline-block;
}

.nav-logo .logo{
  height: 50px;
  padding: none;
}

.wave1{
  fill:#fff;
  }

.wave2{
  fill:#fff;
  }

.wave3{
  fill:#fff;
}

.nav-filled .wave1{
  fill: #205D92;
}

.nav-filled .wave2{
  fill: #58A4AE;
}

.nav-filled .wave3{
  fill: #529AD3;
}

.nav-items{
  line-height: 50px;
  width: 100%;
  float: right;
  display: none;
}

.nav-items ul{
  margin-bottom: 0;
}

.nav-items li{
  display: inline-block;
}

.nav-items li a{
  padding: 0 .5em;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
}

.nav-items li a:hover{
  color: #ffaa39;
}

.nav-items span{
  width: 19%;
  text-align: center;
  display: inline-block;
  cursor: pointer;
}


.nav-items li:last-child a{
  padding: .5em 1em !important;
  border-radius: 5px;
  border: 2px solid #fff;
  text-decoration: none;
  transition: 0.3s;
}

.nav-donate{
  padding: .5em 1em !important;
  border-radius: 5px;
  border: 2px solid #fff;
  text-decoration: none;
  transition: 0.3s;
}

nav{
  position: relative;
  z-index: 99;
}

.hamburger{
  appearance: none;
  cursor: pointer;
  display: block;
  width: 3rem;
  height: 3rem;
  float: right;
  outline: none;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  transition: all .2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hamburger svg {
        width: 50px;
        height: 62px;
}

.hamburger svg path{
  stroke: #ffffff !important;
}

.hamburger path {
        transition: all .2s cubic-bezier(0.25, 0.8, 0.25, 1);
        clip-path: url(#SVGID_00000002363906388970129630000002703085340753837490_);
}

#middle-line {
        stroke-dasharray: 21 61.2;
        stroke-dashoffset: 249;
        transition: all .5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

body[data-menu="true"] #middle-line {
        stroke-dashoffset: 199 !important;
}

.hamburger:hover #middle-line {
        stroke-dashoffset: 253;
}

.hamburger:hover #top-line {
        transform: translateY(1px);
}

.hamburger:hover #bottom-line {
        transform: translateY(-1px);
}

body[data-menu="true"] #top-line {
        transform: translateY(-2px) !important;
        transition-delay: .15s;
}

body[data-menu="true"] #bottom-line {
        transform: translateY(2px) !important;
        transition-delay: .15s;
}


.hamburger-close{
  color: #005384 !important;
}

.mobile-menu{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 98;
  background-color: #fff;
  transform: translateY(-100%);
  opacity: 0;
  padding-top: 62px;
  transition: 0.3s;
}

.mobile-menu.is-open{
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu li{
    display: block;
    text-align: center;
    padding: 0 1em;
}

.mobile-menu li a{
    color: #005384;
    text-decoration: none;
    font-size: 1.25em;
    text-align: center;
    transition: 0.3s;
    width: 100%;
    padding: 2em 1em;
    cursor: pointer;
    display: block;
}

.mobile-menu li a:hover{
    color: #ffaa39;
    background-color: #005384 ;
}

@media (min-width: 992px) {
  .mobile-menu, .hamburger{
      display: none;
  }
  .nav-items{
    display: block;
  }
}

@media (max-width: 768px) {
  .logo-title{
      display: none;
  }
}


/* Nav Bar */
.scrolled {
  color: #005384;
  background-color: #fff;
}

.scrolled .nav-logo a{
  color: #005384;
}

.scrolled .nav-items li a{
  color: #005384;
}

.scrolled .nav-items li a:hover{
  color: #ffaa39;
}

.scrolled .nav-items li:last-child a{
  background-color: #ffaa39;
  color: #fff !important;
}

.scrolled .nav-items li:last-child a:hover{
  background-color: #ffbd66;
}

.scrolled .hamburger svg path{
  stroke: #005384 !important;
}

/*Navigation End */

/* Splash */
.splash{
  background-image: url("../images/splash-bg.jpg");
  background-size: cover;
  padding: 0px;
}

.splash-main{
  height: 80%
}

.splash-title{
  height: 100%;
  color: #fff;
}

.splash-title h1{
  margin: .75em 0;
}

.splash-donate{
  cursor: pointer;
  background-color: #ffaa39;
  color: #fff !important;
  transition: 0.3s;
  border: none;
}

.splash-donate:hover{
  background-color: #ffbd66;
}

/* Splash Navigation*/

.splash-nav{
  height: 20%;
}

.splash-nav .row{
  height: 100%;
  background-color: #FFFFFF66;
  color: #FFF;
}

.splash-nav .row a{
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.splash-nav .col-md{
  text-align: center;
  transition: 0.3s;
}

.splash-nav .col-md:hover{
  background-color: #FFFFFF66;
  cursor: pointer;
  transition: 0.3s;
}

.splash-nav-button{
  width: 100%;
}

.splash-nav-button h3{
  color: #ffaa39;
  margin: 0;
  font-size: 1.25em;
}

.splash-nav-button img {
  width: 25%;
  max-width: 75px;
  padding: 10px;
}

@media (max-width: 768px) {
  .splash-main{
    height:70%;
  }
  .splash-nav{
    height: 30%;
  }
  .splash-nav-button{
      text-align: left;
  }
  .splash-nav-button h3{
      display: inline-block;
      padding: 10px;
      color: #fff;
  }
  .splash-nav-button img{
    width: auto;
    height: 50px;
  }
  .splash-nav-button span{
      display: none;
  }
}
/* Splash End */

/* Body Content */
.homepage-block{
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.centered{
  text-align: center;
}

.homepage-three-panel h3{
  font-size: 1em;
}

.homepage-three-panel .col-sm{
  width: 100%;
}

.homepage-textblock{
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Blog & Subsribe block */

.blog-panel, .subscribe-panel{
  box-shadow: 0 0 7px 0 #0003;
}

.blog-panel-link{
  text-decoration: none;
  color: #000;
}

.blog-panel{
  border-radius: .5rem;
  overflow: hidden;
}

.blog-panel img{
  width:100%;
  object-fit: cover;
  height: 40%;
}

.blog-panel-text{
  padding-top: 1em;
  padding-bottom: 1em;
  height: 50%;
}

.blog-panel{
  height: 25rem;
}

.blog-panel-img{
  max-height: 50%;
  position: relative;
  overflow: hidden;
}

.blog-panel:hover .arrow-right{
  margin-left: .5rem;
}

/* Subscribe Panel */

.subscribe-panel{
  background-color: #005384;
  color: #fff;
  padding-top: 1em;
  padding-bottom: 1em;
}

.subscribe-panel .container-fluid{
  margin-bottom: 1.5em;
}

.subscribe-panel .material-icons{
  font-size: 3em;
}

.subscribe-panel .subscribe-title{
  font-size: 1.5em;
  padding: 0 0.5em;
  font-family: 'Tofino Book';
}

.subscribe-panel .newsletter-form label{
  display: block;
}

#newsletter-email{
  display: block;
  width: 100%;
  padding: 0.5em 1em;
  border-radius: 0.4em;
  border: none;
  margin: 0.2em 0 1em 0;
}

#newsletter-submit{
  cursor: pointer;
  background-color: #ffaa39;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.5em 1em;
}


@media (max-width: 992px) {
  .subscribe-panel{
      height: auto;
      margin-top: 1em !important;
  }
  .subscribe-panel .container-fluid{
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .blog-panel{
    height: auto;
    margin-top: .5em;
  }
}

/* End of blog & subsribe block */

.homepage-map h3{
  color: #005384;
  font-size: calc(1.2rem + 0.6vw);
  font-weight: 300;
}

.homepage-map-textblock{
  padding: .5em 0;
}

.map-canvas{
  position: relative;
  padding: 10px 0;
}

.pin-images li{
  position: absolute;
  display: block;
  opacity: 0;
  width: 50px;
  transform: translateX(-50%);
}

.pin-images li img{
  position: absolute;
  z-index: 9999;
  width: 30px;
  top: 13;
  left: 10px;
  border-radius: 50%;
}

#conover-cove{
  top: 52%;
  left: 80%;
}

#octopus-island{
  top: 20%;
  left: 60%;
}

#jedediah{
  top: 40%;
  left: 68%;
}

.pin-container{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  -webkit-transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -ms-transition: opacity .25s ease-in-out;
  -o-transition: opacity .25s ease-in-out;
  transition: opacity .25s ease-in-out;
}

.pin-images li:hover > .pin-container{
  opacity: 0;
}

.pin-images li:hover > .pin-container-hover{
  opacity: 1;
}


.pin-container-hover{
  opacity: 0;
  position: absolute;
  top: 12;
  left: 3;
  -webkit-transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -ms-transition: opacity .25s ease-in-out;
  -o-transition: opacity .25s ease-in-out;
  transition: opacity .25s ease-in-out;
}

.pin-container-hover span{

    position: absolute;
    color: #fff;
    top: 4;
    width: 60px;
    font-size: .7em;
    left: 48;
    line-height: 1em
}

.cls-1, .cls-2{
  fill: #205f95;
}

/* Map Block */

/* Footer */

footer{
  background-color: #515d78;
  color: #fff;
}

.footer-links{
  border-bottom: 1px solid #fff;
  padding-bottom: 1em;
}

.footer-links span{
  font-size: 1.1em;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.footer-links ul{
  list-style: none;
  padding: 0;
  font-size: .9em;
}

.footer-links li{
  margin-bottom: 5px;
}

.footer-links li a{
  color: #fff;
  text-decoration: none;
}

.footer-socials{
  padding-top: 1em;
}

.social-icon-container{
    display: inline-block;
    width: inherit;
    margin: 0 auto;
  }

.social-icon-container ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icon-container ul li{
  display: inline-block;
  padding: .5em;
  margin: .5em;
  color: #515d78;
  background-color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
}

.footer-sitemap{
  text-align: center;
  padding-top: 1em;
}

.footer-sitemap a{
  padding: 0 1em;
  text-decoration: none;
  color: #fff;
}

.footer-copyright{
  text-align: center;
  padding-top: 1em;
}


/* Blog Stylings */

.blog-container{
  padding: 15vh 0 0 0;
}

.blog-text{
  padding: 1em 0;
}

.blog-title{
  text-align: center;
  background-image: url("../images/sterntie.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 35vh;
}

.blog-title h1{
  width: 100%;
  vertical-align: middle;
}

.blog-title h1 span{
  background-color: #205D92;
  padding: 0 1em;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: 600;
  color: #fff;
  display: inline-block;
  margin-top: 17.5vh;
  transform: translateY(-50%);
}

.blog-author{
  padding: 1em 1em;
}

.author-image{
  height: 40px;
  width: inherit;
  overflow: hidden;
  padding:.2em;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 7px 0 #0003;
}

.author-image img{
  height: 100%;
}

.blog-author p{
  width: inherit;
  display: inline-block;
  margin: 0;
  font-size: 1.2em;
  font-weight: 700;
}

.blog-author p span{
  line-height: 40px;
}

.blog-content{
  padding: 1em 0;
}

.blog-content .subscribe-panel{
  border-radius: 8px;
  position: sticky;
  position: -webkit-sticky; /* Safari */
  top: 75;
}

.blog-content h2{
  color: #205D92;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.blog-content b{
  color: #205D92;
}

.blog-content a{
  color: #58A4AE;
}

.blog-content blockquote{
  border-left: 5px solid #58A4AE;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.2;
  margin: 1em 0;
  padding: 0 0 0 2rem;
}

.blog-highlight{
  background-color: #fff;
  padding: 3.5em 2em 2em 2em;
  border-radius: 10px;
  box-shadow: 0 0 7px 0 #0003;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.blog-highlight:before{
  background: #58A4AE;
  content: "";
  display: block;
  height: 1.5rem;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}


.blog-highlight h5{
  color: #58A4AE;
  font-weight: 700;
}

.blog-highlight p{
  margin: 0;
}

.blog-update{
  text-transform: uppercase;
  color: #205D92;
  font-weight: 600;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.2em
}

/* Marine Park Explorer Page */
.map-menu{
  z-index: 1;
}

.map-list-container{
  z-index: 1;
}

.marine-park-filters{
  background-color: #fff;
  padding-top: 66px;
}

.marine-park-filters p{
  text-align: center;
  margin-bottom: .5rem;
}

.marine-park-filters div{
  opacity: .6;
  transition: opacity 200ms ease,transform 200ms ease;
  border-bottom: 4px transparent solid;
}

.marine-park-filters div:hover{
  opacity: 1;
  cursor: pointer;
  border-bottom: 4px #005384aa solid;
}

.filter-on{
  opacity: 1 !important;
}

.marine-park-filters img{
  width: 15%;
  max-width: 50px;
  min-width: 20px;
  display: block;
  margin: auto;
}

@media (max-width: 576px) {
  .marine-park-filters{
    display: none;
  }
 }


/* Map App */

.map-list{
  list-style: none;
  padding: 1rem;
  margin: 0;
}

.map-list li a{
  text-decoration: none;
  color: #000;
}

.map-list li a:hover{
  cursor: pointer;
}

.park-card{
  background-color: #fff;
  padding: 2em 2em 2em 2em;
  border-radius: 10px;
  box-shadow: 0 0 7px 0 #0003;
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
}

.park-card h2{
  margin: 0;
}

.park-card ul{
  list-style: none;
  padding: 0;
}

.park-card ul li{
  display: inline-block;
  padding: .25rem 0;
}

.park-card ul li img{
  width:25px;
}

.map-container{
  position: sticky;
  position: -webkit-sticky; /* Safari */
  top:0;
}

#map{
  height: 100%;
  background: #000;
  z-index: 1;
}

/* Gallery Block */


.park-gallery .row{
  overflow: hidden;
  height: 40vh;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1.5fr 1fr !important;
  border-radius: 8px;
}

.gallery-item{
  height: 100%;
  padding: 0;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item img:hover{
  cursor: pointer;
}

.gallery-lg{
  overflow: hidden;
}

.gallery-grid{
  display: grid;
  grid-area: 1 / 2 / auto / auto;
  overflow: hidden;
}

.gallery-grid-container{
  display: grid;
  gap: 8px;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
}

.gallery-grid-lg {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.gallery-grid-sm {
  grid-column: 2 / 3;
}

@media (max-width: 576px) {
  .park-gallery .row{
    display: flex;
  }

  .gallery-grid{
    display: none;
  }
  .gallery-item:nth-of-type(3).gallery-lg{
    display:none;
  }
}



/* Light Box Gallery */

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    text-align: center;
    overflow: auto;
}

#lightbox .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #f1f1f1;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: inline-block;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    margin-top: 5%;
}

.lightbox-image {
    width: auto;
    height: 80vh;
    max-width: 100%;
    margin: auto;
    position: relative;
}

.prev, .next {
    cursor: pointer;
    position: fixed; /* Changed from absolute to fixed */
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 45px; /* Reduced the font size to 45px */
    transition: 0.6s ease;
    user-select: none;
    text-decoration: none;
}

.prev {
    left: 10px; /* Adjusted to position closer to the edge of the screen */
}

.next {
    right: 10px; /* Adjusted to position closer to the edge of the screen */
}


/* Park Info Block */

.park-info-top{
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.park-coordinates{
  margin-bottom: 0;
}

.park-dates{
  font-size: .8em;
}

.coordinate-direction{
  font-weight: 600;
  color: #005384;
}

.park-info-bottom{
  display: flex;
  flex-direction: column;
  gap: 1em;
  background: #fff;
  border-radius: 8px;
  padding: 1em;
}

.park-ammenity{
  display: flex;
}

.park-ammenity img{
  max-height: 50px;
  max-width: 50px;
}

.ammenity-text{
  margin-left: 1em;
}

.ammenity-text h4{
  font-size: 1.25em;
  font-weight: 600;
  margin: 0;
}

.park-map{
  border-radius: 8px;
  overflow: hidden;
}

.park-map img{
  width: 100%;
  object-fit: cover;
}

.park-map-sponsor{
  display: block;
  text-align: right;
}

.park-map-sponsor img{
    height: 2.5em;
}

/* Default Page Header */

.divider{
  width: 66%;
  height: 0.25em;
  display: flex;
  gap: .1em;
}

.segment{
  width: 33%;
  height: 100%
}

.segment:nth-child(1){
  background-color: #529AD3;
}

.segment:nth-child(2){
  background-color: #58A4AE;
}

.segment:nth-child(3){
  background-color: #205D92;
}

/* Team Container */

.team-logo-container{

}

.team-logo-container svg{
  max-width:40px;
  margin-top: -10px;
}

.team-logo-container .wave1{
  fill: #205D92;
}

.team-logo-container .wave2{
  fill: #58A4AE;
}

.team-logo-container .wave3{
  fill: #529AD3;
}

.team-logo-container h2{
  display: inline-block;
}

.team-content-container{
  background-color: #fff;
  padding: 1em;
  border-radius: .5rem;
  overflow: hidden;
}

.team-content-container .row{
  margin-bottom: 1em;
}

.team-content-container h4{
  border-bottom: 1px dashed #F9F8F4;
  font-weight: 600;
  color: #205D92;
}

.team-title{
  font-weight: 600;
}

.team-bergie{
  display: inline-block;
  width: 10%;
  margin-right: 1em;
}

.team-bergie img{
  width: 100%;
}

/* Image Block */

.image-block{
}

.image-block-container{
  overflow: hidden;
  border-radius: 8px;
  max-height: 65vh;
}

.image-block .image-block-container img{
  width: 100%;
  object-fit: cover;
}

.image-block p{
  text-align: center;
  font-style: italic;
  font-weight: 500;
}

/* Blog Archive Page */

.category-label{
  text-align: center;
  padding: .5em 0;
}

.category-label h4{
  font-weight: 600;
}

.category-button-container, .link-button-container{
  padding: 1em 0;
}

.category-button, .link-button{
  display: inline-block;
  width: 90%;
  padding: 1em 0;
  background-color: #ffaa39;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
  text-align: center;
  position: relative;
  top: 0;
  transition: top ease 0.2s;
}

.category-button:hover, .link-button:hover{
  top: -7px;
}

.blog-tiles .row{
  margin: 1em 0;
}

.blog-panel-img span{
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  padding: 0.15em 0.75em;
  z-index: 10;
  border-radius: 8px 0 0 0;
}

.blog-panel-text h3{
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-clamp: 2;
   -webkit-box-orient: vertical;
}

.blog-panel-text p{
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
   -webkit-box-orient: vertical;
}

.article-tag{
  background-color: #529AD3;
}

.itinerary-tag{
  background-color: #58A4AE;
}

.park-update-tag{
  background-color: #205D92;
}

.announcement-tag{
  background-color: #ffaa39;
}


@media (max-width: 768px) {
  .category-button{
      width: 95%;
      font-size: .9em;
      font-weight: 500;
  }
  .category-button-container .col{
    padding:0;
  }

  .blog-tiles .row{
    margin: 0;
  }

  .blog-tiles .row .col-md{
    margin-bottom: 1em;
  }

  .blog-tiles .blog-panel{
    height: auto;
  }

  .blog-tiles .blog-panel-img{
    width: 30%;
    max-height: 100%;
    display: inline-block;
  }

  .blog-tiles .blog-panel-text{
    width: 70%;
    display: inline-block;
    float: right;
    height: auto
  }

}

@media (max-width: 576px) {
  .blog-tiles .blog-panel-img{
      width: 40%;
  }
  .blog-tiles .blog-panel-text{
     width: 60%;
  }
}


/* Contact Block */
.contact-container {
  border-radius: .5rem;
  overflow: hidden;
  padding: 1em;
  box-shadow: 0 0 7px 0 #0003;
}

.contact-container .row{
  margin-bottom: .5em;
}

.contact-container .input-field input, textarea{
  display: block;
  padding: 0.5em 1em;
  border-radius: 0.4em;
  border: solid 1px #529AD3;
}

.contact-container .col-sm-6 input{
  width: 75%;
}

.contact-container textarea{
  width: 88%;
}

.contact-container label{
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .25em;
  color: #205D92;
}

.contact-container input,textarea:focus{
  outline-color: #ffaa39;
}

@media (max-width: 576px) {
  .contact-container textarea{
    width: 75%;
  }
}
