#masthead .container {
  position: relative;
}

ul#primary-menu li {
  display: inline-block;
}

ul#primary-menu li a {
  color: #302A2C;
  text-decoration: none;
  font-weight: 600;
}

ul#primary-menu li a:hover {
  text-decoration: underline;
}

ul#primary-menu li.current_page_item a {
  color: #2E8782;
}

div.site-branding {
  transition: margin 0.5s ease-in-out;
}
div.site-branding a img {
  height: 48px;
  width:217px;
}

.site-navigation, .site-navigation ul {
  height: 71px;
}

.site-navigation ul li {
  height: 48px;
}

.site-navigation ul li {
  margin-left: 10px;
  margin-right: 10px;
}

.site-navigation ul li:last-of-type {
  margin-right: 0px;
}

.site-navigation ul li a {
  display: inline-block;
  height: 100%;
  width: 100%;
  line-height: 71px;
}


.site-navigation ul li.menu-btn a {
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  color: #302A2C !important;
  padding-right: 1.6rem;
  padding-left: 1.6rem;
  font-weight: 600;
  border: 0.2rem #2E8782 solid;
  transition: all 0.3s ease-in-out;
  background: transparent;

}


.site-navigation ul li.menu-btn a:hover {
  border-color: #245251;
  text-decoration: none !important;
}

body {
  position: relative;
}

#page {
  transition: transform 0.5s ease-in-out;
}
#mobile-nav-holder {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100vw;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 28;
  background:#E9EADE;
  display: none;
  left: 200vw;
  transition: transform 0.5s ease-in-out;
}

#mobile-nav-holder ul {
  overflow: hidden;
}

body header .site-branding {
  transition:opacity 0.3s ease-in-out;
  transition-delay: 0.5s;
}

body.menu-toggled header .site-branding {
  transition-delay: 0s;

}
/* Mobile Menu */
@media screen and (max-width: 992px) {

  #mobile-nav-holder {
    display: block;
  }
  body.menu-toggled #mobile-nav-holder{
    transform:translateX(-200vw);
  }


  body.menu-toggled #page {
    transform:translateX(-200vw);
  }

  body header {
    transition: background-color 0.3s ease-in-out;
    transition-delay: 0.4s;
  }
  body.menu-toggled header {
    background: transparent  !important;
    transition-delay: 0s;
  }

  body.menu-toggled header .site-branding {
    position: relative;
    opacity: 0;
  }

  header .site-branding img {
    height: 56px !important;
  }
  body.menu-toggled  {
    overflow: hidden;
  }

  body.menu-toggled header {
  }
  #mobile-nav-holder ul {
    padding-left: 4.0rem;
    padding-top: 3.2rem;
  }

  #mobile-nav-holder ul li {
    display: block;
    font-size: 3.2rem;
    line-height: 4.2rem;
    letter-spacing: -1px;
    margin-top: 3.2rem;
    margin-bottom: 3.2rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    display: block;
    position: absolute;
    right: 15px;
    cursor: pointer;
    padding: 0px;
  }

  .menu-toggle span {
    width: 100%;
    height: 3px;
    background: #245251;
    display: block;
    margin: 7px 0;
    transition: transform 0.3s linear;
    will-change: transform;
    position:relative;
    z-index:30;
  }

  body.menu-toggled .menu-toggle span:first-of-type {
    transform: translateY(10px) rotate(-45deg);
  }

  body.menu-toggled .menu-toggle span:last-of-type {
    transform: translateY(0px) rotate(45deg) ;
  }

}

@-webkit-keyframes bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0) scaleX(3);
    transform: translate3d(3000px, 0, 0) scaleX(3);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0) scaleX(1);
    transform: translate3d(-25px, 0, 0) scaleX(1);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0) scaleX(0.98);
    transform: translate3d(10px, 0, 0) scaleX(0.98);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0) scaleX(0.995);
    transform: translate3d(-5px, 0, 0) scaleX(0.995);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0) scaleX(3);
    transform: translate3d(3000px, 0, 0) scaleX(3);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0) scaleX(1);
    transform: translate3d(-25px, 0, 0) scaleX(1);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0) scaleX(0.98);
    transform: translate3d(10px, 0, 0) scaleX(0.98);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0) scaleX(0.995);
    transform: translate3d(-5px, 0, 0) scaleX(0.995);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}
@keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}
.animate__bounceInRight {
  -webkit-animation-name: bounceInRight;
  animation-name: bounceInRight;
}

.animated-bounce-in-nav {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.animated-bounce-out-nav {
  -webkit-animation-name: slideOutRight;
  animation-name: slideOutRight;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}



ul#social {
  
}

ul#social li {
  display: inline-block;
  margin-right: 16px;
}

ul#social li a {
  height: 27px;
  width: 27px;
  display: inline-block;
}

ul#social li a svg {
  height: 27px;
  width: 27px;
}