*,
*::before,
*::after {
  box-sizing: border-box;
}


.eventDetails {
    display:none !important;
    }
    .eventTitle {
    display:none !important;
    }
    .mainImage {
      padding-top: 20px;
      padding-bottom: 15px;
  }
    .mainImage img {
      border-radius: 15px;
      display: block;
      max-width: 100%;
      height: auto;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
    .globalFooter {
    background: #284382;
  }
  .globalFooter-input {
    background-color: #333333;
  }
  .givingToolbar-toolbar {
    background: #284382;
  }
  .flyoutNav {
    background: #284382;
  }
      .col-sm-8 {
    width: 100%;
    }
    body .col-sm-8:not(footer .col-sm-8) {
      width: 100%;
    }
  .col-sm-8.col-sm-offset-2 {
    margin: 0px;
    }
    .col-sm-10.col-sm-offset-1 {
      width: 90%;
    }
  @media only screen and (min-width: 761px) {
    .span .accordionGroup {
    padding-left: 30px;
    padding-right: 30px
    }
    }
  /*@media only screen and (min-width: 971px) {
    .col-sm-offset-2 {
    padding-right: 35%
    }
    }	
    */
        /* Style the buttons that are used to open and close the accordion panel */
  .accordion {
    /*background-color: #eee;
    color: #444; */
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
  }
  .row.padding-top-xl {
      display: none;
        padding-bottom: 20px;
  }
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .accordion-item:hover {
    background-color: #fffffc;
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
  }	
  .youtube-video-container {
    position: relative;
    overflow: hidden;
    background: #091861;
    color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .youtube-video-container::after {
    display: block;
    content: "";
    padding-top: 56.25%;
  }
  
  .youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        }
  
  .center {
    margin: auto;
    padding: 10px;
  }
    .framed-image {
      width: 380px;
      border-radius: 15px;
      padding: 10px;
      background: white;
      box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
      display: block;
      margin: 20px auto;
  }
    .container-youtube-video {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-columns: 0fr 12fr 0fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  .container-registration {
      display: grid;
    grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .middle-column-registration {;
      color: #000000;
      padding: 20px;
      border-radius: 15px;
  }
  .container-live-streams {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
    .middle-column-live-streams {
      background: #070C14;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  .middle-column-event-guides {
      background: #444444;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
    .container-event-guides {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
    .container-guests-1 {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-guests-1 {
        background: #446A77;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
      .container-schedule {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-schedule {
        background: #B8A68D;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
    .container-champion {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }

  .middle-column-champion {
      background: #6D85BD;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
      .container-stories {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-stories {
      background: #A0C878;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
    .container-young-adults {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }

  .middle-column-young-adults {
      background: #3742A8;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
        .container-youth-conference {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-youth-conference {
      background: #17A2B8;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
    .container-lodging {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-lodging {
      background: #F39F5A;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
      .container-promo-materials {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-promo-materials {
      background: #3B5998;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  .container-recordings {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-recordings {
      background: #EB2533;
        color: #FFFFFF;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  .container-bibleconference {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-bibleconference {
      background: #F2C75D;
      color: #ffffff;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }
  .container-southernspirit {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      align-items: center;
      padding: 10px;
  }
  
  .middle-column-southernspirit {
      background: #d5d6d6;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
      text-align: center; /* Ensures inline content like text is centered */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }
  .social-share-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
        margin-top: -30px;
        margin-bottom: -30px;
  }
       .countdown-timer-container {
          margin-top: 0 !important;
          margin-bottom: 0 !important;
          padding-top: 5px;
          padding-bottom: 5px;
    }
         .countdown-container {
          margin-top: 0 !important;
          margin-bottom: 0 !important;
          padding: 5px;
    }
           .countdown-container-0 {
          margin-top: 0 !important;
          margin-bottom: 0 !important;
          padding: 5px;
    }
  @media (max-width: 838px) {  /* Adjusted breakpoint from 768px to 838px */
      .countdown-timer-container {
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
          gap: 10px;
      }
  
      .circle {
          width: 115px;  /* Adjusted from 45px to 115px */
          height: 115px;
          font-size: 15px; /* Adjust font size accordingly */
      }
  
      .time-remaining {
          font-size: 14px;
      }
  
      .time-description {
          font-size: 11px;
      }
  }
  
  @media (max-width: 550px) {  /* Adjusted breakpoint from 480px to 550px */
      .countdown-timer-container {
          display: grid;
          grid-template-columns: repeat(2, 1fr); /* Lock to two equal columns */
          grid-auto-flow: column;
          gap: 3px; /* Reduced gap */
          justify-content: center;
      }
  
      .circle {
          width: 110px;  /* Adjusted from 40px to 110px */
          height: 110px;
      }
  }
  
  @media (max-width: 380px) {  /* Adjusted breakpoint from 310px to 380px */
      .countdown-timer-container {
          grid-template-columns: 1fr; /* Single column */
      }
  }
          .accordion-button {
              background-color: #4D7888;
              color: white;
              font-weight: bold;
          }
          .accordion-button:not(.collapsed) {
              background-color: #88B2BD;
              color: white;
          }
          .accordion-button:focus {
              box-shadow: none;
          }
          /* Utility background color for Navy */
.u-sa-navyBg {
    background-color: #001F3F; /* Example Salvation Army navy shade */
  }
  
  /* Light blue border */
  .u-borderBlueLight {
    border: 4px solid #7FDBFF; /* Light blue */
  }
  
  /* White text */
  .u-textWhite {
    color: #ffffff;
  }
  
  /* Countdown container alignment */
  .countdown-timer-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  /* Circle style for each time unit */
  .circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  /* Numbers styling */
  .time-remaining {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
  }
  
  /* Label text under numbers */
  .time-description {
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0;
  }
  @media (max-width: 500px) {
    .circle {
      width: 70px;
      height: 70px;
    }
    .time-remaining {
      font-size: 1.5rem;
    }
    .time-description {
      font-size: 0.75rem;
    }
  }

/* ===== Commencement 2025 Gallery Styles ===== */

/* Section container */
.comm25-gallery-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}


@media (min-width: 1001px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(5, 1fr);
  }
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 1000px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(3, 1fr);
  }
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 800px) {
  .scroll-hint {
    display: block;
  }
}

@media (max-width: 800px) {
  .comm25-gallery-wrapper {
    width: 70vw !important;
    max-width: 80vw !important;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: auto;
    padding-left: 0;
    padding-right: 50px;
  }

  .comm25-gallery-section {
    width: max-content;
    max-width: none !important;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
    margin: 0;
    grid-template-columns: 1fr;
  }

  .comm25-card {
    flex: 0 0 70vw;
    max-width: 260px;
    scroll-snap-align: center;
    flex-shrink: 0;
    margin: 0;
  }

  body {
    overflow-x: hidden;
  }
  .container-champions {
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  .middle-column-champions {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
   .container-champions {
     overflow-x: hidden;
  }
  .scroll-hint {
  text-align: center;
  font-size: 0.6rem;
  color: #fff;
  padding-top: 0.2rem;
  display: block;
}
.scrollable-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0 12.5%; /* Shrinks width to simulate 75% */
  box-sizing: content-box;
  user-select: none;
  -ms-overflow-style: auto;         /* IE/Edge */
  scrollbar-color: gold white;      /* Firefox */
  scrollbar-width: thin;            /* Firefox */
}

/* Chrome, Edge, Safari (WebKit) */
.scrollable-container::-webkit-scrollbar {
  height: 8px;
  background-color: white;
}

.scrollable-container::-webkit-scrollbar-thumb {
  background-color: gold;
  border-radius: 4px;
}

.scrollable-container::-webkit-scrollbar-track {
  background-color: white;
}
   #expandAll:checked ~ .gallery .comm25-details {
    display: block;
  }

  /* Optional: basic styling for button */
  .expand-button {
    display: inline-block;
    background: #444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin: 1rem auto;
  }
  }
/* End of media query */


.comm25-gallery-section::before,
.comm25-gallery-section::after {
  content: "";
  flex: 0 0 1rem;
}


/* Horizontal scroll wrapper for mobile */
/*.comm25-gallery-wrapper {
  width: 100%;
}
@media (min-width: 1200px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(5, 1fr); /* Max 5 columns */
/*  }
}*/

/* Card styles */
.comm25-card {
  display: flex;
  flex-direction: column;
  background-color: #313986; /* medium navy */
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  margin: 0px;
  width: 100%;
  box-sizing: border-box;
}

/* Title below image */
.comm25-title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 10px 0 15px;
  line-height: 1.3;
}

/* Hide native checkbox toggle */
.comm25-toggle {
  display: none;
}

/* Label that triggers toggle */
.comm25-image-wrapper {
  display: block;
  cursor: pointer;
  width: 100%;
  padding-top: 10px;
}

/* Image styles */
.comm25-image-wrapper img {
  width: 85%;
  height: auto;
  background: white;
  padding: 10px;
  border-radius: 30px;
  border-bottom: 2px solid #ddd;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* Bio/details panel (initially hidden) */
.comm25-details {
  display: none;
  max-height: 0;
  min-height: 217px;
  margin-top: auto;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  color: white;
  background-color: #001F3F; /* navy blue */
  border-top: 1px solid #124273;
  border-radius: 30px;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    padding 0.3s ease;
}

/* Reveal panel when checkbox is checked */
.comm25-toggle:checked ~ .comm25-card-body .comm25-details {
  display: block;
  max-height: 500px;
  opacity: 1;
  padding: 15px 20px 20px;
 transform: scaleY(1);
              transition: max-height 1s cubic-bezier(0.22, 1, 0.36, 1), 
                          opacity 0.7s ease, 
                          transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.comm25-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.comm25-toggle:checked ~ .comm25-card-body .comm25-details {
  max-height: 500px; /* adjust if needed for longer bios */
  overflow: visible;
}

/* Detail text formatting */
.comm25-details p {
  margin: 8px 0;
  line-height: 1.4;
}

.comm25-details strong {
  font-weight: 600;
}

/* Accessibility focus/hover effect */
.comm25-image-wrapper img:hover,
.comm25-image-wrapper img:focus {
  outline: 2px solid #c00;
  outline-offset: 3px;
}

/* Instructions above the gallery */
.comm25-instructions {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: #555;
}

/* ========== Live Stream Video Gallery ========== */
/* Section container */
.comm25-thumbnails-section {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: gold white;
  -webkit-overflow-scrolling: touch;
}

/* Optional: WebKit scrollbar styling */
.comm25-thumbnails-section::-webkit-scrollbar {
  height: 8px;
}
.comm25-thumbnails-section::-webkit-scrollbar-thumb {
  background: gold;
  border-radius: 10px;
}
.comm25-thumbnails-section::-webkit-scrollbar-track {
  background: white;
}

.comm25-thumbnail {
  flex: 0 0 auto;
  width: 160px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.2s ease;
}

.comm25-thumbnail img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}


/* Featured video */
.comm25-featured-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

@media (max-width: 800px) {
  .scroll-hint {
    display: block;
  }
}

@media (max-width: 800px) {
  .comm25-thumbnails-wrapper {
    width: 70vw !important;
    max-width: 80vw !important;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: auto;
    padding-left: 0;
    padding-right: 50px;
  }

  .comm25-thumbnails-section {
    width: max-content;
    max-width: none !important;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
    margin: 0;
    grid-template-columns: 1fr;
  }

  body {
    overflow-x: hidden;
  }
  .container-thumbnails {
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  .middle-column-thumbnails {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
   .container-thumbnails {
     overflow-x: hidden;
  }

  }
/* End of media query */


.comm25-thumbnails-section::before,
.comm25-thumbnails-section::after {
  content: "";
  flex: 0 0 1rem;
}




/* Event Program Guides */
.comm25-toggle-buttons .comm25-toggle-btn {
  padding: 0.5rem 1.25rem;
  background-color: #f2f2f2;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comm25-toggle-buttons .comm25-toggle-btn:hover {
  background-color: #e6e6e6;
}

.comm25-toggle-buttons .comm25-active {
  background-color: #c8102e;
  color: #fff;
  border-color: #c8102e;
  box-shadow: 0 0 0 2px white;
}

.comm25-program-embed {
  display: none;
}

.comm25-program-embed.comm25-visible {
  display: block;
}

.comm25-embed-frame {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  background: #000;
}

.comm25-embed-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Carousel */
#carouselExampleCaptions .carousel-inner {
  border-radius: 1rem;
  overflow: hidden;
}
#carouselExampleCaptions .carousel-item img {
  border-radius: 0;
}


#carouselExampleCaptions .carousel-control-prev,
#carouselExampleCaptions .carousel-control-next,
#carouselExampleCaptions .carousel-indicators {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

#carouselExampleCaptions:hover .carousel-control-prev,
#carouselExampleCaptions:hover .carousel-control-next,
#carouselExampleCaptions:hover .carousel-indicators {
  opacity: 1;
  pointer-events: auto;
}

/* 26 Gallery */

/* Horizontal scroll strip */
.comm26-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-behavior: smooth;
}

.comm26-scroll-row::-webkit-scrollbar {
  height: 6px;
}
.comm26-scroll-row::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

/* Image tiles */
.comm26-scroll-item {
  flex: 0 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.comm26-scroll-item img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.comm26-scroll-item:hover {
  transform: scale(1.04);
}

/* Lightbox */
#comm26-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#comm26-lightbox img {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 14px;
}

/* Controls */
#comm26-lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 8px 12px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

#comm26-close {
  top: 20px;
  right: 20px;
  font-size: 16px;
}

#comm26-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#comm26-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
