/**
* Project Name: FPC Kenya - v1.0.0
* Project URL: https://fpckenya.co.ke/
* Author: Stephen Kamau
* Company: Codevision Solutions LTD
* License: MIT
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/********** Template CSS **********/
:root {
  --primary: #348E38;
  --secondary: #525368;
  --light: #E8F5E9;
  --dark: #0F4229;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--light);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-brand,
.navbar a.btn {
  height: 80px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 25px 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
  .navbar .navbar-nav {
    border-top: 1px solid #EEEEEE;
  }
}
@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }
  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}
/*** Header ***/
#header-carousel .carousel-item {
  height: 550px !important;
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(15, 66, 41, 0.6);
  z-index: 1;
}
.carousel-caption h1 {
  font-size: 50px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }
  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.page-header {
  background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)), url(/img/carousel/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--light);
}

/*** Top Feature ***/
@media (min-width: 991.98px) {
  .top-feature {
    position: relative;
    margin-top: -80px;
    z-index: 1;
  }
}
/*** Facts & Quote ***/
.facts {
  position: relative;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-image: url("/img/carousel/carousel-1.jpg") !important;
  background-repeat: no-repeat;
  color: #fff;
}
.facts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 66, 41, 0.6);
  z-index: 1;
  color: #fff;
}
.facts .container {
  position: relative;
  z-index: 2;
}

.facts,
.quote {
  background: rgba(15, 66, 41, 0.6);
}

/*** Service ***/
.service-item {
  position: relative;
  text-align: center;
}

.service-item .service-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.service-item .service-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.2);
  transition: 0.3s;
  z-index: -1;
}

.service-item:hover .service-img img {
  transform: scale(1);
}

.service-item .service-text {
  background: #FFFFFF;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.service-item:hover .service-text {
  background: rgba(15, 66, 41, 0.6);
}

.service-item .service-text h4,
.service-item .service-text p {
  transition: 0.3;
}

.service-item:hover .service-text h4 {
  color: #FFFFFF;
}

.service-item:hover .service-text p {
  color: var(--light);
}

.service-item .service-text .btn-square {
  width: 100px;
  height: 100px;
  background: transparent;
  transition: 0.5s;
}

.service-item:hover .service-text .btn-square {
  background: var(--light);
}

.service-item .service-text .btn {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  background: var(--light);
  white-space: nowrap;
  overflow: hidden;
  transition: 0.3s;
}

.service-item:hover .service-text .btn {
  width: 112px;
}

.who-we-are-details {
  margin-top: 3rem;
}
.who-we-are-details img {
  max-width: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
}

.who-we-are-texts {
  text-align: justify;
}

@media (min-width: 768px) {
  .blog-entry {
    margin-bottom: 30px;
  }
}
@media (max-width: 767.98px) {
  .blog-entry {
    margin-bottom: 30px;
  }
}
.blog-entry .text {
  position: relative;
  border-top: 0;
  border-radius: 2px;
}
.blog-entry .text .heading {
  font-size: 20px;
  margin-bottom: 16px;
}

.blog-entry .text .heading a {
  color: #000000;
}

.blog-entry .text .heading a:hover,
.blog-entry .text .heading a:focus,
.blog-entry .text .heading a:active {
  color: var(--primary);
}

.blog-entry .text .meta-chat {
  color: var(--primary);
}

.blog-entry .meta-date {
  display: inline-block;
  background: var(--primary);
}

.blog-entry .meta-date span {
  display: block;
  color: #000000;
}

.blog-entry .meta-date .day {
  font-weight: 700;
  font-size: 20px;
}

.blog-entry .meta-date .mos,
.blog-entry .meta-date .yr {
  font-size: 13px;
}

.blog-entry .meta > div {
  display: block;
  margin-right: 5px;
  margin-bottom: 0px;
  font-size: 15px;
}

.blog-entry .meta > div a {
  color: #b3b3b3;
  font-size: 13px;
}

.blog-entry .meta > div a:hover {
  color: #cccccc;
}

.block-20 {
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 275px;
  position: relative;
  display: block;
}

.block-27 ul {
  padding: 0;
  margin: 0;
}
.block-27 ul li {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 400;
}

.block-27 ul li a,
.block-27 ul li span {
  border: 1px solid var(--primary);
  text-align: center;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
}

.block-27 ul li.active a,
.block-27 ul li.active span {
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*=col-] {
  padding-right: 0;
  padding-left: 0;
}

.blog-details img {
  width: 100%;
  max-width: 100%;
}

.sidebar-box {
  margin-bottom: 30px;
  padding: 0 25px 25px;
  font-size: 15px;
  width: 100%;
}
.sidebar-box h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.block-21 .blog-img {
  display: block;
  height: 80px;
  width: 80px;
}

.hotel-img,
.img,
.blog-img,
.user-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.block-21 .text {
  width: calc(100% - 100px);
}

.block-21 .text .heading {
  font-size: 18px;
  font-weight: 400;
}

.block-21 .text .heading a {
  color: #000000;
}

.block-21 .text .heading a:hover,
.block-21 .text .heading a:active,
.block-21 .text .heading a:focus {
  color: var(--primary);
}

.block-21 .text .meta > div {
  display: inline-block;
  font-size: 12px;
  margin-right: 5px;
}

.block-21 .text .meta > div a {
  color: gray;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

#portfolio-flters {
  display: inline-block;
  background: var(--light);
  padding: 10px 15px;
}
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}
#portfolio-flters li:hover,
#portfolio-flters li #portfolio-flters li.active {
  color: var(--dark);
  border-color: var(--dark);
}

.portfolio-container {
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.portfolio-container .portfolio-inner {
  position: relative;
  overflow: hidden;
}
.portfolio-container .portfolio-inner::before,
.portfolio-container .portfolio-inner::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(15, 66, 41, 0.6);
  transition: 0.5s;
}
.portfolio-container .portfolio-inner::after {
  left: auto;
  right: 0;
}
.portfolio-container .portfolio-inner:hover::before,
.portfolio-container .portfolio-inner:hover::after {
  width: 50%;
}
.portfolio-container .portfolio-inner .portfolio-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 3;
  opacity: 0;
}
.portfolio-container .portfolio-inner:hover .portfolio-text {
  transition-delay: 0.3s;
  opacity: 1;
}
.portfolio-container .portfolio-inner .portfolio-text .btn {
  background: var(--light);
  color: var(--primary);
}
.portfolio-container .portfolio-inner .portfolio-text .btn:hover {
  background: var(--primary);
  color: var(--light);
}

.box {
  width: 100%;
  display: block;
}

.team-item {
  position: relative;
  overflow: hidden;
}
.team-item .team-text {
  position: absolute;
  width: calc(100% - 45px);
  left: -100%;
  bottom: 45px;
  padding: 1.5rem;
  background: #FFFFFF;
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text {
  left: 0;
  opacity: 1;
}

.team-item .team-social .btn {
  background: var(--light);
  color: var(--primary);
}

.team-item .team-social .btn:hover {
  background: var(--primary);
  color: var(--light);
}

.team-item .team-img .team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 3;
  opacity: 0;
}

.team-item:hover .team-img .team-social {
  transition-delay: 0.3s;
  opacity: 1;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-right: 15px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--light);
  border-radius: 4px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  color: var(--light);
  background: #072A19;
}

.copyright a {
  color: #FFFFFF;
}

.copyright a:hover {
  color: var(--primary);
}

/*********** 
*************Exhibition****************
************/
.form-step {
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.form-step.active {
  visibility: visible;
  position: relative;
}
.form-step .form-group .select2-container--default .select2-selection--single {
  padding: 1.5rem !important;
  height: auto;
  display: flex;
  align-items: center;
  padding-right: 2.5rem;
}
.form-step .form-group .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  width: 1rem;
  height: 1rem;
}
.form-step .form-group .select2-container--default .select2-results__option {
  padding: 1.5rem !important;
}

/******************
*******Events ***********
**********************/
.event-carousel {
  position: relative;
}
.event-carousel.owl-carousel .owl-nav .owl-prev {
  position: absolute;
  top: -60px;
  left: 0;
  width: 80px;
  height: 40px;
  border: 1px solid var(--bs-primary);
  background: var(--bs-primary);
  color: var(--bs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}
.event-carousel.owl-carousel .owl-nav .owl-next {
  position: absolute;
  top: -60px;
  right: 0;
  width: 80px;
  height: 40px;
  border: 1px solid var(--bs-primary);
  background: var(--bs-primary);
  color: var(--bs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}
.event-carousel .event-item img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 100%;
  height: 300px;
}
.event-carousel .event-item .event-content {
  border-top: 0;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
}

.eventsTheme {
  color: #FFA500 !important;
}
