.fccq-espace-membre-main-nav {
  width: 100%;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--primary);
  border-bottom: 1px solid #d9d9d9;
}

.fccq-espace-membre-main-nav a {
  text-decoration: none;
}

.fccq-espace-membre-main-nav-container {
  max-width: var(--wp--style--global--wide-size);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10px;
  position: relative;
}

.fccq-espace-membre-main-nav-logo {
  width: 100px;
  flex-shrink: 0;
  flex-grow: 0;
}

.fccq-espace-membre-main-nav-logo img {
  width: 100%;
}

.fccq-espace-membre-main-nav-items-wrap {
  margin-left: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.fccq-espace-membre-top-bar-wrap {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}

.fccq-espace-membre-main-nav-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  max-width: var(--wp--style--global--wide-size);
  margin: auto;
  padding: 0 10px;
}

.fccq-espace-membre-main-nav-items {
  display: flex;
  align-items: center;
  margin: 10px 0;
  gap: 20px;
}

.main-nav-top-link {
  font-size: 0.8rem;
}

.fccq-espace-membre-main-nav-items-wrap.mobile,
.fccq-main-nav-mobile {
  display: none;
}

.fccq-mobile-nav-toggle {
  width: 31px;
  height: 35px;
  padding-top: 1px;
  cursor: pointer;
}
.fccq-mobile-nav-toggle .line-1,
.fccq-mobile-nav-toggle .line-2,
.fccq-mobile-nav-toggle .line-3 {
  width: 100%;
  height: 2px;
  background: var(--wp--preset--color--primary);
  margin-top: 7px;
  margin-left: auto;
  transition: width 200ms ease;
}

.fccq-mobile-nav-toggle.open .line-2 {
  width: 66%;
}
.fccq-mobile-nav-toggle.open .line-3 {
  width: 33%;
}

.lien-retour-fccq {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lien-retour-fccq svg {
  display: block;
  width: 15px;
}

.fccq-top-bar-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fccq-top-bar-menu-dropdown-menu {
  position: relative;
  display: inline-block;
}

.fccq-top-bar-menu-dropdown-button {
  height: 100%;
  padding: 8px 0;
  font-size: 0.8rem;
  display: flex;
  gap: 0 12px;
}

.fccq-top-bar-menu-dropdown-menu-content {
  position: absolute;
  right: 0;
  width: fit-content;
  min-width: 230px;
  background-color: var(--wp--preset--color--primary);
  visibility: hidden;
  z-index: 9999;
  opacity: 0;
  transition: 0.2s;
}

.mobile-title-category {
  padding-top: 8px;
  font-size: 16px;
}

.mobile-item-category {
  margin-left: 15px;
}

.fccq-top-bar-menu-dropdown-menu-content a {
  color: var(--wp--preset--color--white);
  border-top: 1px solid var(--wp--preset--color--primary);
  border-bottom: 1px solid var(--wp--preset--color--primary);
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0 12px;
  height: 100%;
  width: 100%;
}

.fccq-top-bar-menu-dropdown-menu-content a:hover {
  text-decoration: underline !important;
}

.fccq-top-bar-menu-dropdown-menu-content a:active {
  text-decoration: none;
}

.fccq-top-bar-menu-dropdown-menu:hover
  .fccq-top-bar-menu-dropdown-menu-content {
  visibility: visible;
  opacity: 1;
}

.fccq-main-nav-dropdown-container {
  position: relative;
  display: inline-block;
  height: 100%;
  z-index: 999;
}

.fccq-main-nav-dropdown-title {
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0 12px;
}
.fccq-main-nav-dropdown-content {
  position: absolute;
  right: 0;
  top: calc(100% + 16px);
  width: fit-content;
  min-width: 230px;
  background-color: var(--wp--preset--color--white);
  visibility: hidden;
  z-index: 10;
  opacity: 0;
  transition: 0.4s;
}

.fccq-main-nav-dropdown-container:hover .fccq-main-nav-dropdown-content {
  visibility: visible;
  opacity: 1;
}

.fccq-main-nav-dropdown-content a {
  color: var(--wp--preset--color--primary);
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0 12px;
  height: 100%;
  width: 100%;
}

.fccq-main-nav-dropdown-content a:hover {
  text-decoration: underline !important;
}

.mobile-item-category-wrapper {
  display: flex;
  margin-bottom: 10px;
}

.mobile-item-category-bar {
  width: 2px;
  background-color: var(--wp--preset--color--primary);
}
.mobile-item-flex {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
}

@media (max-width: 1050px) {
  .fccq-espace-membre-main-nav-items-wrap.mobile {
    display: flex;
  }

  .fccq-espace-membre-main-nav-items-wrap.desktop {
    display: none;
  }

  .fccq-espace-membre-main-nav-container {
    align-items: flex-start;
  }

  .fccq-espace-membre-main-nav-items {
    margin-right: 1.333em;
  }

  .fccq-main-nav-mobile {
    display: flex;
    padding: 20px;
    flex-direction: column;
    gap: 12px;
    background: var(--wp--preset--color--primary-alt);
    margin: 10px;
    border-radius: 8px;
  }

  .fccq-main-nav-mobile .fccq-espace-membre-template-button {
    align-self: center;
  }

  .fccq-espace-membre-main-nav-logo {
    width: 100px;
  }
}
