/**
 * Custom styles for the Bootstrap Business FCW subtheme.
 * ASL March 2026
 */

/* SITEWIDE */
p {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}
#edit-preview {
  display: none;
}

/* MAIN MENU DROPDOWNS */
.header-container .menu-item.dropdown > a {
  display: block;
}

.header-container .menu-item.dropdown > a::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro";
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  border: 0;
  width: auto;
  height: auto;
}

.header-container .menu-item.dropdown > .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  min-width: auto;
  padding-left: 0;
  border: 0.5px var(--mt-border-color) solid;
}

.header-container .menu-item.dropdown > .dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .header-container .menu-item.dropdown:hover > .dropdown-menu,
  .header-container .menu-item.dropdown:focus-within > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

/* MOBILE MENU WIDGET */
@media (max-width: 991.98px) {
  .mt-mobile-menu-widget {
    display: flex;
    opacity: 1;
  }

  .header-container .navigation.menu--main {
    display: none;
  }

  .mt-mobile-menu-overlay .dropdown-menu {
    display: none;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    float: none;
    width: 100%;
    padding: 0 0 0 20px;
    margin: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .mt-mobile-menu-overlay .dropdown-menu.show {
    display: block;
  }

  .mt-mobile-menu-overlay .dropdown-menu .dropdown-menu {
    padding-left: 20px;
  }

  .mt-mobile-menu-overlay .menu-item.dropdown > a {
    position: relative;
    padding-right: 45px;
  }

  .mt-mobile-menu-overlay .menu-item.dropdown > a::after {
    content: "\f067";
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
  }

  .mt-mobile-menu-overlay .menu-item.dropdown > a[aria-expanded="true"]::after {
    content: "\f068";
  }

  .mt-mobile-menu-overlay .dropdown-item {
    white-space: normal;
  }

  .mt-mobile-menu-overlay .menu-item.active > a,
  .mt-mobile-menu-overlay .dropdown-menu .menu-item.active > a,
  .mt-mobile-menu-overlay a.active,
  .mt-mobile-menu-overlay .dropdown-menu a.active,
  .mt-mobile-menu-overlay a.is-active,
  .mt-mobile-menu-overlay .dropdown-menu a.is-active {
    color: var(--mt-color-colored-light);
  }
}

/* ENSURE DROPDOWN ITEMS ARE VERTICAL AND FULL WIDTH */
.header-container .dropdown-menu .menu-item {
  display: block;
  float: none;
  width: 100%;
}

.header-container .dropdown-menu .menu-item > a {
  display: block;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  padding-right: 20px;
}

/* COPYRIGHT BLOCK */
#block-bootstrap-business-fcw-copyright img {
  height: 120px;
  width: 167px;
}

/* MAILCHIMP SIGNUP FORM */
.mailchimp-signup-subscribe-form-block .mailchimp-newsletter-mergefields {
  margin-block: 50px;
}

/* STRIPE PAYMENT BLOCKS */
.stripe-payment-form-wrapper.stripe-custom-amount-form h3 {
  display: none;
}
.stripe-payment-form input#payment-amount:disabled {
  color: #212529 !important;
  opacity: 0.4;
  border-color: var(--mt-border-color) !important;
}

 /* CAROUSEL */
.carousel-inner {
  border-radius: 10px;
}

/* PAYMENTS LIST ACTION DROPDOWN */
.stripe-payment-table .actions > .dropdown-toggle {
  font-weight: 700;
  width: auto;
}

.stripe-payment-table .actions > .dropdown-toggle::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro";
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  border: 0;
  width: auto;
  height: auto;
}
.stripe-payment-table .actions > .dropdown-menu {
  border: 0.5px var(--mt-border-color) solid;
  width: fit-content !important;
  min-width: 0;
}
.stripe-payment-table .actions > .dropdown-menu > li {
  display: block;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  padding: 5px 10px;
  width: fit-content
}
.stripe-payment-table .actions > .dropdown-menu > li:hover {
  background-color: var(--bs-dropdown-link-hover-bg);
}
.stripe-payment-table .actions > .dropdown-menu > li > a:hover {
  text-decoration: none;
}

/* FOOTER BLOCKS */
.footers-container .block h2.title {
  text-align: center;
  font-size: 25px;
  font-weight: 500;
}

/* FOOTER MENUS */
.footers-container .navigation .menu-item > a {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.footers-container .navigation .menu-item a:hover {
  color: var(--mt-color-primary);
}

/* MENU GESTION DU SITE */
/*
#block-bootstrap-business-fcw-tools {
  border: solid 1px var(--bs-gray-500);
  border-radius: var(--bs-border-radius);
  padding: 10px;
  /* width: fit-content;
}
#block-bootstrap-business-fcw-tools h2#block-bootstrap-business-fcw-tools-menu {
  text-align: center;
  font-size: 25px;
  font-weight: 500;
  background: var(--mt-color-colored);
  padding-top: 5px;
  padding-bottom: 5px;
  color: var(--mt-color-base-contrast);
  border-top-left-radius: var(--bs-border-radius);
  border-top-right-radius: var(--bs-border-radius);
}
#block-bootstrap-business-fcw-tools li.menu-item a {
  padding: 0 3px;
}
*/

/* VIEWS */
.views-exposed-form .form-submit {
    width: auto!important;
}

/* EXPORT BUTTON */
.csv-feed .feed-icon {
  background-image: url(/sites/default/files/pictures/2026-02/cloud-download.svg);
  background-size: 1.5em 1.5em;
  height: 1.5em;
 }

/* USER VIEW */
.profile .field {
  margin-top: 1em;
}
.profile .field__item {
  font-weight: 300;
}

/* USER ADULT FORM */
.adult-register-form .field--name-field-start-date {
    margin-bottom: 20px;
}
.adult-register-form .field--name-field-start-date .label {
    font-weight: normal;
    font-size: 15px;
}
.adult-register-form .field--name-field-start-date .form-item {
    margin-bottom: 3px;
}
.adult-register-form .field--name-field-start-date .description {
    font-size: 14px;
    opacity: 0.65;
}

/* CODES COLLAPSE */
#help-codes {
  font-size: 0.8em;
}

 /* VERTICAL STEPS */
 .card {
   border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);
 }
 .steps-vertical {
     max-width: 80%;
     margin: 2rem auto;
     padding: 0;
 }
 .step-vertical {
     display: flex;
     position: relative;
     padding: 0.38rem 0;
 }
 .step-vertical:not(:last-child)::after {
     content: '';
     position: absolute;
     left: 25px;
     top: 60px;
     bottom: 0;
     width: 2px;
     background: #e9ecef;
 }
 .step-vertical-icon {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: white;
     border: 2px solid #dee2e6;
     display: flex;
     align-items: center;
     justify-content: center;
     /* padding-top: 1rem; */
     margin-right: 1rem;
     font-size: 20px;
     color: #6c757d;
     position: relative;
     z-index: 2;
     flex-shrink: 0;
 }
  .step-vertical-content {
      padding-top: 0.5rem;
  }
   .step-vertical-content h4 {
       margin-top: 0;
   }
   .step-vertical-content p {
        margin-top: 0;
    }
 .step-vertical.active .step-vertical-icon {
     background: #4361ee;
     border-color: #4361ee;
     color: white;
     box-shadow: 0 0 0 5px rgba(67, 97, 238, 0.2);
 }
 .step-vertical.complete .step-vertical-icon {
     background: #2ecc71;
     border-color: #2ecc71;
     color: white;
     box-shadow: 0 0 0 5px rgba(67, 97, 238, 0.2);
 }

/* MAILCHIMP */
.block-mailchimp-signup .form-actions {
  position: initial;
}
