/*!
Theme Name: The Friends of Arabuko-Sokoke Forest
Theme URI: http://underscores.me/
Author: Kagai
Author URI: http://www.kagai.me
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: arabuko
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

The Friends of Arabuko-Sokoke Forest is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@font-face {
  font-family: 'Avenir LT Pro 45 Book';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 45 Book'), url('fonts/AvenirLTProBook.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 45 Book Oblique';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 45 Book Oblique'), url('fonts/AvenirLTProBookOblique.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 55 Roman';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 55 Roman'), url('fonts/AvenirLTProRoman.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 55 Oblique';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 55 Oblique'), url('fonts/AvenirLTProOblique.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 35 Light';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 35 Light'), url('fonts/AvenirLTProLight.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 35 Light Oblique';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 35 Light Oblique'), url('fonts/AvenirLTProLightOblique.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 65 Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 65 Medium'), url('fonts/AvenirLTProMedium.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 65 Medium Oblique';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 65 Medium Oblique'), url('fonts/AvenirLTProMediumOblique.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 85 Heavy';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 85 Heavy'), url('fonts/AvenirLTProHeavy.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 85 Heavy Oblique';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 85 Heavy Oblique'), url('fonts/AvenirLTProHeavyOblique.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 95 Black';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 95 Black'), url('fonts/AvenirLTProBlack.woff') format('woff');
}
  
@font-face {
  font-family: 'Avenir LT Pro 95 Black Oblique';
  font-style: normal;
  font-weight: normal;
  src: local('Avenir LT Pro 95 Black Oblique'), url('fonts/AvenirLTProBlackOblique.woff') format('woff');
}

.admin-bar {
    padding-top: 32px;
}

.admin-bar nav.fixed-top {
    margin-top: 32px;
}

html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  color: #1b1819;
  padding-top: 78px;
  font-family: 'Avenir LT Pro 45 Book';
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir LT Pro 95 Black';
}

.fw-light {
  font-family: 'Avenir LT Pro 35 Light';
}

b,
strong,
.fw-bold {
  font-family: 'Avenir LT Pro 85 Heavy';
}

.fw-bolder-italic {
  font-family: 'Avenir LT Pro 95 Black Oblique';
}

.lead p {
  font-size: 1.25rem;
  font-weight: 300;
}

.bg-dark {
  background-color: #1b1819 !important;
}

.container-fluid {
  max-width: 84em;
  padding: 0;
}

.donate-btn {
  font-size: 1.25rem;
  padding: 0 2rem;
  height: 79px;
  line-height: 79px;
  font-family: 'Avenir LT Pro 85 Heavy';
}

.bg-success,
.btn-success {
  background-color: #226225 !important;
  border-color: #226225;
}

.border-success {
  border-color: #226225 !important;
}

.text-success {
  color: #226225!important;
}

.modal-body iframe {
  width: 100%;
}

.min-height-5 {
  min-height: 5rem;
}

.nav-link {
  color: #198754;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active {
  border-color: #dee2e6 #dee2e6 #f8f9fa;
}

.scale-hover,
.scale-hover img {
  transition: all .6s cubic-bezier(0.24,1,0.30,1);
  -webkit-transition: all .6s cubic-bezier(0.24,1,0.30,1);
}

.scale-hover:hover,
.scale-hover:hover img {
  transform: scale(1.1);
  -webkit-transform: scale(1.13);
}

.icon svg {
  width: 3rem;
  height: auto;
  color: #226225;
}

.alert p {
  margin: 0;
}

.scroll-down {
  transform: rotate(-45deg);
  position: absolute;
  bottom: 5rem;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin-left: -12px;
  border-left: .25rem solid #fff;
  border-bottom: .25rem solid #fff;
  -webkit-animation: scrollDown 1.4s infinite;
  animation: scrollDown 1.4s infinite;
  z-index: 8;
}

@keyframes scrollDown {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-100%, 100%);
    opacity: 0;
  }
}

@media screen and (min-width: 992px) {
  .desktop-border {
    border-right: 5px solid #fff;
  }
}

.pointer {
  cursor: pointer;
}

video {
  /* override other styles to make responsive */
  width: 100%    !important;
  height: auto   !important;
}

/* Header */
.site-header .navbar {
  background-color: #fff;
  padding: 0;
}

.site-header .navbar .navbar-nav .nav-link {
  color: #1D252B;
  text-transform: capitalize;
}

.site-header .navbar .navbar-nav .nav-link.active {
  color: #fff;
  background-color: #226225;
}

.site-header .navbar .navbar-brand img {
  max-width: 130px;
  height: auto;
  padding: .5rem 0;
}

.dropdown-toggle:after {
  content: "\f078";
  font-family: 'Font Awesome 5 Free';
  font-size: 0.75rem;
  margin-left: 0.35rem;
  font-weight: 900;
  vertical-align: middle;
  border: none;
}

.dropdown-menu {
  padding: 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #226225;
}

.dropdown-item {
  padding: .75rem 1.5rem;
  color: #1b1819;
  text-transform: capitalize;
  -webkit-transition: all 0.5s 0s ease;
  -moz-transition: all 0.5s 0s ease;
  -o-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}

#desktop-menu .dropdown-menu {
  padding-top: 17.5px;
}

#desktop-menu .dropdown-item {
  border-left: 1px solid #226225;
  border-right: 1px solid #226225;
}

.dropdown-item:focus, .dropdown-item:hover,
.dropdown-item.active, .dropdown-item:active {
  color: #1D252B;;
  background-color: #fff;
}

.navbar-toggler {
  border-radius: 0;
}

@media (min-width: 992px) {
  .site-header .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .5rem;
    padding-left: .5rem;
  }
}

@media (min-width: 1100px) {
  .site-header .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}


@media (max-width: 991.98px) {

  .offcanvas-collapse {
    position: fixed;
    top: 78px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding: .5rem 0;
    overflow-y: auto;
    visibility: hidden;
    background-color: #1b1819;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }

  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }

}

.site-header .navbar .offcanvas-collapse.open .nav-link {
  color: #fff;
  padding: 1rem 1.5rem;
}

.offcanvas-collapse.open .donate-btn {
  margin: 0 1.5rem;
  padding: 1rem 1.5rem;
  height: auto;
  line-height: normal;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: #6f42c1; }

.ls-1 {
  letter-spacing: 0.063rem;
}

.min-height {
  min-height: 450px;
}

.bg-image {
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-image-top {
  background-position: top;
}

.bg-image-bottom {
  background-position: bottom;
}

.bg-image-center {
  background-position: center;
}

.overlay {
  z-index: 99;
}

.overlay::before {
  content: " ";
  background: #000;
  opacity: 0.5;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.zi-1 {
  z-index: 1;
}

.hero-banner {
  min-height: 600px;
}

.inner-page-banner > img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
}

@media screen and ( min-width: 1920px ) {
  .inner-page-banner > img {
    max-height: 800px;
  }
}

@media screen and ( min-width: 3000px ) {
  .inner-page-banner > img {
    max-height: 1600px;
  }
}

.inner-page-banner h1 {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
}

@media screen and (max-width: 576px) {
  .inner-page-banner > img {
    width: auto;
    height: auto;
    object-fit: unset;
  }
}

@media screen and (max-width: 992px) {
  .inner-page-banner h1 {
    position: relative;
    width: auto;
    bottom: unset;
    color: #000;
  }
}

.hero-banner svg {
  width: 5rem;
  height: auto;
}

@media screen and (max-width: 768px) {
  .hero-banner {
    min-height: 450px;
  }
}

@media screen and (max-width: 576px) {
  .hero-banner {
    min-height: 300px;
  }

  .hero-banner svg {
    width: 3rem;
    height: auto;
  }
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
  color: #226225;
  width: 1.5rem;
  height: 1.5rem;
}

.swiper-pagination-bullet-active {
  background: #226225;
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 1.5rem;
}

a.anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

/* Partners Section */
.partners-gov  h3 {
  font-size: 1rem;
  text-transform: uppercase;
  font-family: 'Avenir LT Pro 45 Book';
}

/* Footer Section */

.footer-logo {
  max-width: 150px;
  height: auto;
}

.footer-menu li a {
  text-decoration: none;
  color: #999999;
  transition: all 0.5s 0s ease;
}

.footer-menu li a:hover {
  color: #fff;
}

.copyright {
  color: #999999;
}
