/* Le contact reste accessible hors du menu mobile reconstruit par le thème. */
.header-top .main_menu_col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
  gap: 10px;
}

.header-top #drop_mainmenu_container {
  min-width: 0;
}

.nb-nav-contact {
  position: relative;
  flex: 0 0 auto;
  color: #fff;
  z-index: 10000;
  margin-bottom: 23px;
}

.header-top.fixto-fixed .nb-nav-contact,
.header-top.coloured-nav .nb-nav-contact {
  color: #262626;
}

.nb-nav-contact > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  list-style: none;
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  font-size: .9em;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  cursor: pointer;
}

.nb-nav-contact > summary::-webkit-details-marker {
  display: none;
}

.nb-nav-contact > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nb-nav-contact[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nb-nav-contact > summary:hover,
.nb-nav-contact[open] > summary {
  border-color: currentColor;
}

.nb-nav-contact > summary:focus-visible,
.nb-nav-contact a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.nb-nav-contact-panel {
  position: absolute;
  top: calc(100% + 24px);
  right: 0;
  width: 330px;
  max-width: calc(100vw - 32px);
  padding: 26px 24px 22px;
  border: 1px solid #e9e5ee;
  border-radius: 12px;
  background: #fff;
  color: #29262e;
  box-shadow: 0 12px 36px rgba(21, 15, 30, .2);
  text-align: center;
}

.nb-nav-contact-panel p {
  margin: 0 0 20px;
  color: #29262e;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.nb-nav-contact-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.nb-nav-contact-panel .nb-nav-contact-email {
  padding: 13px 12px;
  border-radius: 6px;
  background: #8840c8;
  color: #fff;
  font-size: 18px;
}

.nb-nav-contact-panel .nb-nav-contact-email:hover {
  background: #7131ab;
}

.nb-nav-contact-panel a:focus-visible {
  outline-color: #7131ab;
}

.nb-nav-contact-panel .nb-nav-contact-phone {
  margin-top: 12px;
  color: #353039;
  font-size: 22px;
}

.nb-nav-contact-phone .fa {
  color: #71ad32;
  font-size: 22px;
}

.nb-nav-contact-panel .nb-nav-contact-phone:hover {
  color: #7131ab;
  text-decoration: underline;
}

#contact .nb-contact-email {
  text-transform: none;
  letter-spacing: 0;
}

.nb-contact-open {
  appearance: none;
  display: inline;
  margin: 0;
  border: 0;
  padding: 0;
  background: none;
  color: #0079ad;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: .15em;
  cursor: pointer;
}

.nb-contact-open:hover {
  color: #00577d;
}

.nb-contact-open:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* La barre fixe réduit la hauteur des liens du thème. */
@media (min-width: 768px) {
  .header-top.fixto-fixed .nb-nav-contact {
    margin-bottom: 17.5px;
  }
}

@media (min-width: 1024px) {
  .header-top .logo_col {
    width: 22%;
  }
}

@media (max-width: 767px) {
  .header-top .main_menu_col {
    align-items: center;
    gap: 12px;
  }

  .nb-nav-contact {
    margin-bottom: 0;
  }

  .nb-nav-contact-panel {
    top: calc(100% + 12px);
  }

  .nb-nav-contact > summary {
    font-size: 16px;
    padding: 10px 8px;
  }

  .nb-nav-contact-panel {
    padding: 22px 18px 18px;
  }

  #contact .nb-contact-email {
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }
}
