/*--Custom CSS--*/

.inner-banner .pageTitle h1, .inner-banner .pageTitle h2, .inner-banner .pageTitle h3, .inner-banner .pageTitle h4, .inner-banner .pageTitle h5, .inner-banner .pageTitle h6{
    color: #FFF;
}
.inner-banner .banner-content{
    color: #FFF;
}
.inner-banner .banner-content .section-header{
    color: #FFF;
}
.background-color-brown-tint-10 {
  background-color: #f0eeec !important;
}
.background-color-green-tint-05 {
  background-color: #f8f9dd !important;
}

/*-----IBF Accredited Training Providers (project-specific; keep in custom.css)-----*/
.collapsible-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), opacity 0.35s ease, transform 0.35s ease;
}
.collapsible-wrapper.is-expanded {
  max-height: 1350px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease, transform 0.4s ease;
}

.directoryWrapper {
  border: 1px solid #342c25;
  padding: 40px;
  margin-bottom: 50px;
}
@media screen and (max-width: 1599.98px) {
  .directoryWrapper {
    padding: 30px;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 575.98px) {
  .directoryWrapper {
    padding: 20px;
    margin-bottom: 30px;
  }
}
.directoryWrapper:last-child {
  margin-bottom: 0px;
}

.alphabetNav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.alphabetNav a {
  color: #342c25;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alphabetNav a:hover, .alphabetNav a.active {
  color: #a7cb19;
  font-weight: 700;
}
@media screen and (max-width: 991.98px) {
  .alphabetNav {
    position: relative;
    display: block;
    margin-bottom: 20px;
  }
  .alphabetNav::before {
    content: var(--selected-letter, "A");
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 45px 10px 15px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    color: #342c25;
    font-weight: 700;
    cursor: pointer;
  }
  .alphabetNav::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #342c25;
    border-bottom: 2px solid #342c25;
    transform: rotate(45deg);
    transition: 0.3s;
    pointer-events: none;
  }
  .alphabetNav.open::after {
    top: 23px;
    transform: rotate(-135deg);
  }
  .alphabetNav a {
    display: none;
    width: 100%;
    min-height: 40px;
    padding: 10px 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-top: 0;
    justify-content: flex-start;
  }
  .alphabetNav a:hover, .alphabetNav a.active {
    color: #a7cb19;
    background-color: #ffffff;
  }
  .alphabetNav.open a {
    display: flex;
  }
}

.directoryContent {
  height: 360px;
  overflow-y: auto;
  background-color: #ffffff;
  padding: 30px;
  scroll-behavior: smooth;
}

.directoryItem {
  margin-bottom: 30px;
}
.directoryItem:last-child {
  margin-bottom: 0px;
}

.group-badge {
  width: 40px;
  height: 40px;
  background-color: #342c25;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 20px;
}

.org-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0px;
  padding: 0px;
  font-size: 18px;
}
@media screen and (max-width: 1599.98px) {
  .org-list {
    font-size: 15px;
  }
}
@media screen and (max-width: 1199.98px) {
  .org-list {
    font-size: 18px;
  }
}
@media screen and (max-width: 575.98px) {
  .org-list {
    font-size: 16px;
  }
}

.gridbox-5 .secondary-trigger { padding-top: 0px !important;}
