/********** Template CSS **********/

body,
html {
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', sans-serif;
}

.schedule {
  font-size: 1rem;
}
.time {
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
}

.width-spacer {
  padding-left: 5rem;
  padding-right: 5rem;
}

.cover {
  color: #F6F7FC;
}

.cover a {
  font-weight: 400;
  color: var(--color-link);
}

.cover a:hover {
  color: var(--color-link-hover);
}

.nav-item {
  text-transform: uppercase;
}

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

.card {
  display: block;
}

/*** Spinner ***/

.text-primary {
  color: var(--color-link) !important;
}

.text-secondary {
  color: var(--color-primary-btn-hover) !important;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

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


/*** Button ***/
.btn {
  transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
  color: #FFFFFF;
}

.btn.btn-primary {
  background: var(--color-primary-btn);
  border-color: var(--color-primary-btn);
}

.btn.btn-outline-secondary {
  border-color: var(--color-primary-btn-hover);
  color: var(--color-primary-btn-hover) !important;
}

.btn.btn-primary:hover {
  background: var(--color-primary-btn-hover);
  border-color: var(--color-primary-btn-hover);
}

.btn.btn-secondary:hover {
  background: var(--color-primary-btn);
  border-color: var(--color-primary-btn);
}


.btn-outline-primary {
  border-color: var(--color-primary-btn);
  color: var(--color-primary-btn);
}

.btn-outline-primary:hover {
  border-color: var(--color-primary-btn-hover);
  background-color: var(--color-primary-btn-hover);
}

.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: .5s;
}

.navbar .navbar-brand img {
  max-height: 70px;
}

.navbar .navbar-brand .brand-name {
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
}

.navbar .navbar-brand .brand-name .first-word {
  font-size: 1.95rem;
  line-height: normal;
}

.navbar .navbar-brand .brand-name .second-word {
  font-size: 0.75rem;
}


.navbar .navbar-nav .nav-link {
  margin-left: 25px;
  padding: 10px 0;
  color: #333333;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
}

.navbar .navbar-nav .nav-link.active {
  color: #1093ab;
  font-weight: 600;
}
.navbar .navbar-nav .nav-link:hover {
  color: var(--color-link-hover);

}

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

.dropdown-item {
  font-size: 0.90rem;
}

.youtube-handle {
  font-size: 1.25rem;
}


@media (max-width: 991.98px) {
  .navbar .navbar-brand img {
    max-height: 70px;
  }

  .navbar .navbar-nav {
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .navbar .navbar-nav .nav-link {
    margin-left: 1rem;
  }

  .dropdown-menu {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .dropdown-item {
    padding: 0.5rem 2rem;
  }

  .offcanvas-body {
    padding: 0;
  }

  .dropdown-menu.show {
    width: 100%;
  }

  .width-spacer {
    padding-left: unset;
    padding-right: unset;
  }

  .brand-name {
    font-size: 1rem;
  }


}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    /* display: block; */
    border: 1px solid #eceff0;
    opacity: 0;
    border-radius: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transition: .5s;
  }

  .navbar .nav-item .dropdown-menu .dropdown-item {
    padding: 0.5rem 1.5rem;
  }

}


/*** Header ***/

.carousel {
  max-height: 100vh;
}

.carousel-item img {
  height: 100vh;
  object-fit: cover;
  object-position: 50% 35%;
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: start;
  z-index: 1;
}

.carousel-caption h2 {
  font-family: 'Open Sans', sans-serif;
}

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

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

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background: url('') center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
  color: var(--color-primary-btn);
}



/*** Team ***/
.team-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, .07);
  border-radius: 10px;
}

/*** Footer ***/



.footer,
.footer a i {
  color: #cdcdcd;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #cdcdcd;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

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

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

.footer .btn.btn-square {
  color: #cdcdcd;
  border: 1px solid#cdcdcd;
}

.footer .btn.btn-square:hover {
  color: var(--color-primary-btn-hover);
  border-color: var(--light);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: var(--color-link);
}

.footer .copyright a:hover {
  color: #FFFFFF;
}

.text-white {
  color: #ededed !important;
}

.bg-dark {
  background-color: var(--dark) !important;
}



.bg-light {
  background-color: #eceff0 !important;
}

.bg-secondary {
  background-color: #f5f5f5 !important;
}

a,
.btn-link {
  color: var(--color-link);
  text-decoration: none;
  cursor: pointer;
}

a:hover,
.btn-link:hover {
  color: var(--color-link-hover);
  text-decoration: none !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #1e2125;
  background-color: #e9ecef;
}


.filter .dropdown-menu {
  border-radius: 6px !important;
  border: 1px solid #e9ecef !important;
}

.filter .dropdown-menu .dropdown-item {
  padding: 0.5rem 1rem !important;
}



.carousel-caption {
  /* background-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) , rgba(255, 255, 255, 0)); */
  background-color: rgba(0, 0, 0, 0.55);
  color: #FFFFFF !important;
}


.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-tertiary {
  background-color: #efefef;
}

.about-icon {
  width: 5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.about-icon img {
  max-width: 100%;
  max-height: 100%;
}


.event-card {
  padding: 1rem 0;
}

.event-card .event-date {
  min-width: 6rem;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: var(--color-primary-btn);
  color: var(--light);
}

.event-card .event-date .day {
  font-size: 1.25rem;
  font-weight: 400;
}

.event-card .event-date .date {
  font-size: 1.75rem;
  font-weight: 600;
}

.event-card .event-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.5rem;
}

.event-card .event-content .event-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.event-card .event-content .event-desc {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* Number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.event-card .event-content .calendar-date {
  color: var(--color-link);
}

.site-list ul {
  padding-left: 1rem !important;
}

.site-list ul li {
  list-style-type: none;
  line-height: 1.75rem;
}


.site-list ul li::before {
  border: none;
  content: "\f30b";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1rem;
  color: var(--color-link);
  padding-inline-end: 0.5rem;
}

.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4,
.site-content h5,
.site-content h6 {
  color: var(--color-primary);
}

.album-card {
  height: 100%;
}

.album-card img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.album-card:hover {
  cursor: pointer;
  box-shadow: 0px 0px 6px -1px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 0px 6px -1px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 6px -1px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
}

.section-image {
  width: 30rem;
  height: 20rem;
  object-fit: cover;
}

.images-section-image {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  margin-right: 3rem;
}

.float-parent {
  overflow: hidden;
}

.contact-border {
  border: unset;
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--color-primary-btn);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--light);
  line-height: 0;
}

.scroll-top:hover {
  background: var(--color-primary-btn-hover);
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}


@media (max-width: 768px) {

  .page-title {
    font-size: 2rem;
  }

  .navbar .navbar-brand img {
    max-height: 50px;
  }

  .youtube-handle {
    font-size: 1rem;
  }

  .brand-name {
    font-size: 0.9rem !important;
  }

  .pioneer-image {
    width: 90%;
    height: unset !important;
    object-fit: cover;
  }

  .contact-border {
    border-top: 1px solid #dee2e6;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: unset;
    border: unset;
  }



  .section-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .images-section-image {
    margin-right: 0;
  }

  .width-spacer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .h-md-100 {
    height: 100% !important;
  }

}

@media (max-width: 992px) {
  .h-lg-100 {
    height: 100% !important;
  }

  .vh-50 {
    height: 50vh;
  }
}


.transition-dropdown {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}


.about-photo {
  width: 100%;
  height: 65%;
  position: relative;
  object-fit: cover;
}

.ablum-photo-one {
  width: 55%;
  height: 15rem;
  position: relative;
  object-fit: cover;

}

.ablum-photo-two {
  width: 65%;
  height: 18rem;
  position: relative;
  top: -5rem;
  left: 10rem;
  object-fit: cover;
}

.ablum-photo-one-main {
  width: 45%;
  height: 12.5rem;
  position: absolute;
  object-fit: cover;
  right: 1rem;
}

.ablum-photo-two-main {
  width: 50%;
  height: 14rem;
  position: absolute;
  top: 7rem;
  object-fit: cover;
  left: 6rem;
}


strong {
  font-weight: 600 !important;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  background: #bbbbbbe6;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
}

.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}

.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 2rem;
  border-radius: 4px;
  background: #f7f7f7;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}

.timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
  width: 30px;
  height: 30px;
  background: #bbbbbb;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}


.timeline-card {
  padding: 0 !important;
}

.timeline-card p {
  padding: 0 20px;
}

.timeline-card a {
  margin-left: 20px;
}


@media screen and (max-width: 768px) {

  .container{
    max-width: 90%;
  }

  .timeline::before {
    left: 38px;
    width: 3px;
  }

  .timeline .timeline-img {
    left: 40px;
    width: 25px;
    height: 25px;
  }

  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 60px;
  }

  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }

  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--color-link);
  margin-bottom: 1rem;
}

.pastor-image {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
}

.pioneer-image {
  height: 12rem;
  object-fit: cover;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  margin: auto;
  z-index: 888;
  top: 1.75rem;
  color: var(--color-link);
  background-color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
}

.footer-logo {
  height: 7rem;
}



/*** Facts ***/
.container.facts {
  max-width: 100% !important;
}


.container.facts .facts-text {
  background-size: cover;
}


.container.facts .facts-counter {
  /* background: linear-gradient(#ede2d9, #ede2d9), url('') center right no-repeat; */
  background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-text .h-md-100,
.container.facts .facts-counter .h-100,
.container.facts .facts-counter .h-md-100 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

a.about-section {
  border: 1px solid #bbbbbbc5;
  display: block;
  color:#ededed;
}

a.about-section:hover {
  transition: 0.5s;
  background-color: #bbbbbb71;
}


.page-cover-image {
  width: 30rem;
  height: 20rem;
  margin: 2rem;
  border-radius: 10px;
}

.parallax-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("/static/images/cover.webp") center bottom no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
}


.parallax-cover {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("/static/images/cover.webp") center bottom no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 15rem;
  text-align: center;
  color: var(--light);
  align-content: center;
}


.olcards,
.olcards * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.olcards {
  list-style: none;
  counter-reset: cardCount;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  --cardsGap: 0.75rem;
  gap: var(--cardsGap);
  padding-bottom: var(--cardsGap);
}
.olcards li {
  counter-increment: cardCount;
  display: flex;
  color: var(--cardColor);
  --labelOffset: 1rem;
  --arrowClipSize: 1.5rem;
}

.olcards li .content {
  border: 1px solid #13297a32;
  --inlinePadding: 1em;
  --boxPadding: 1rem;
  display: flex;
  padding: var(--boxPadding) calc(var(--inlinePadding) + var(--arrowClipSize))
    var(--boxPadding) calc(var(--inlinePadding) + var(--labelOffset));
  grid-template-areas:
    "icon title"
    "icon text";
  gap: 0.25em 1em;
  position: relative;
  width: 100%;
  align-items: center;
  /* background-image: linear-gradient(to right, rgba(6, 6, 6, 0.5), rgba(109, 109, 109, 0.43)); */
  border-radius: 5px;
}

.olcards li .icon {
  grid-area: icon;
  align-self: center;
  font-size: 1.5rem;
}


.service-day-header {
  background-color: var(--color-secondary);
  color: var(--light);
  padding: 0.75rem 1rem;
  border-radius: 6px 6px 0 0;
}


.footer .section-title {
  color: #feae34;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}


.ministry-card {
  height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #000;
}