@media screen and (max-width: 990px) {
  .navbar-munu-item.active {
    color: var(--bs-primary) !important;
    background-color: white !important;
  }
  .navbar.nav-site {
    background-color: white !important;
  }

  .navbar.nav-site .navbar-collapse .navbar-nav {
    box-shadow: 5px 0px 12px 1px rgba(142, 165, 210, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-site .custom-mobile-navbar {
    background-color: white;
    border-radius: 20px;
    margin-top: 20px;
    padding: 0 20px;
  }

  .nav-site a.nav-link.active {
    border: 0;
    color: var(--bs-primary) !important;
    font-weight: bolder;
  }

  .nav-site a.nav-link {
    font-size: 1.2em;
  }

  .nav-site .bb-light {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-site .bt-light {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-site .dropdown-menu {
    border: none;
    box-shadow: none;
  }

  .custom-mobile-navbar > .nav-item {
    -webkit-align-items: center;
  }

  .nav-site .dropdown-item {
    padding: 10px 0 !important;
    color: var(--bs-nav-link-color);
  }

  .nav-site .close-navbar-minus-icon {
    -webkit-appearance: button-bevel;
    font-size: 3em;
    opacity: 0.7;
  }
}

@media screen and (min-width: 990px) {
  .navbar.nav-site {
    background-color: white !important;
  }
  .nav-site .dropdown-menu > .dropdown-item {
    color: var(--bs-nav-link-color);
  }
}

/*  */

.twitter-typeahead {
  width: 100%;
}
.nav-site {
  height: 75px;
}
.dropdown-menu-user {
  width: 300px;
}
/* Spécifique à cette page : priorité sur Bootstrap */
:where(body) .dropdown-item.active,
:where(body) .dropdown-item:active {
  background-color: #e2eaf1 !important;
  color: var(--bs-gray-700);
}

@media (max-width: 990px) {
  /* Bootstrap md breakpoint */
  .nav-site {
    height: auto;
  }
  .nav-link-active {
    display: none;
  }
  a.nav-link:has(.nav-link-active) {
    color: var(--bs-primary);
    font-weight: bold;
  }
  a.nav-link.activate {
    color: var(--bs-primary);
    font-weight: bold;
  }
  .navbar-munu-item .active {
    color: var(--bs-primary);
  }
  #container-toggle {
    width: 100%;
  }
  #container-user {
    width: 100%;
  }
  .dropdown-user {
    width: 100%;
  }
  .dropdown-menu-user {
    width: 100%;
  }
}

@media (min-width: 990px) {
  /* Bootstrap md breakpoint */
  a.nav-link:has(.nav-link-active) {
    color: var(--bs-gray-900);
    font-weight: normal;
  }
}

.nav-link-active {
  background-color: var(--bs-primary);
  height: 8px;
}
.navbar-badge {
  border-radius: 4px;
  color: white;
  background-color: var(--bs-primary);
  font-size: 12px;
  padding: 1px 5px;
  font-weight: bold;
}
.dropdown-toggle::after {
  display: none;
}

/* Partie FAQ */
.custom-faq-modal {
  display: none;
  top: 110%;
  right: 20px;
  transition: all 350ms ease-in-out;
  max-width: 100vw;
  min-width: 300px;
}

.custom-faq-modal .faq-question-item {
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 1;
  font-weight: bold;
  background-color: transparent;
}

.custom-faq-modal .faq-question-item:hover {
  background-color: #dee2e684;
}

.custom-faq-modal.active {
  display: block;
}

.faq-modal-background-toggler {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.1);
}

.faq-modal-background-toggler.active {
  opacity: 1;
  pointer-events: all;
}

.custom-support-modal {
  display: none;
  top: 110%;
  right: 20px;
  transition: all 350ms ease-in-out;
  max-width: 100vw;
  min-width: 300px;
}

.custom-support-modal.active {
  display: block;
}

.support-modal-background-toggler {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.1);
}

.support-modal-background-toggler.active {
  opacity: 1;
  pointer-events: all;
}
