#BarreHaut {
  height: 60px;
  /* background-color: rgb(var(--clr-black));
  background-color: rgb(var(--clr-primary-background)); */
  /* background-color: rgb(var(--clr-primary)); */
  background: linear-gradient(
    90deg,
    rgb(var(--clr-primary2)),
    rgb(var(--clr-primary))
  );
  color: rgba(254, 254, 254, 1);
  /* display: grid;
  grid-template-columns: 1fr 2fr 1fr; */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  transition: none;
}
@media only screen and (max-width: 639px) {
  #BarreHaut {
    height: 50px;
  }
}

#btConnexion,
#btDeconnexion {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(254, 254, 254, 1);
}
#btConnexion svg,
#btDeconnexion svg {
  width: 32px;
  height: 32px;
  margin-right: 0.5em;
  fill: currentColor;
}

/*************************** ZoneSociete ********************************/
#BarreHaut #ZoneSociete {
  min-width: 300px;
  overflow-y: hidden;
  align-self: center;
  margin-left: 10px;
  display: flex;
  align-items: center;
}
#BarreHaut #ZoneSociete .Logo {
  margin-right: 10px;
}
#BarreHaut #ZoneSociete .Logo img {
  max-height: 40px;
}

/* #BarreHaut #NomPage {
  color: rgba(254, 254, 254, 1);
  font-size: 1.2857142857142857142857142857143em;
  text-transform: uppercase;
  align-self: center;
} */
@media only screen and (max-width: 639px) {
  #BarreHaut #ZoneSociete {
    min-width: 0;
  }
  #BarreHaut #ZoneSociete {
    max-width: 140px;
    max-height: 30px;
    /* display: none; */
  }
  #BarreHaut #ZoneSociete .DetailSociete {
    display: none;
  }
}

/*************************** ZoneNotification ********************************/
#BarreHaut #ZoneRappelCabinet {
  width: 100%;
  flex-grow: 1;
  display: flex;
  align-items: center;
}
#BarreHaut #ZoneRappelCabinet .CadreRappelCabinet {
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: rgba(254, 254, 254, 0.2);
  background-color: rgba(var(--clr-Jaune));
  background-color: #FFd926;
  color:rgba(var(--clr-black));
  border-radius: 5px;
  height: 50px;
  margin: auto;
  padding-left: 20px;
}
#BarreHaut #ZoneRappelCabinet .Compte {
  font-size: 1.2em;
  font-weight: bold;
}
#BarreHaut #ZoneRappelCabinet .NomCabinet {
  font-weight: 500;
}
#BarreHaut #ZoneRappelCabinet .Contact {
  font-size: 12px;
  color: rgba(var(--clr-primary-light), 1);
  color:rgba(var(--clr-black));
}

#BarreHaut #ZoneRappelCabinet #btFermerCabinet {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 30px;
  color: rgba(254, 254, 254, 1);
  color:rgba(var(--clr-black));
  background-color: transparent;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  margin-left: 0.5em;
  margin-right: 0.5em;
  overflow: visible;
  outline: none;
  padding: 0;
}
#BarreHaut #ZoneRappelCabinet #btFermerCabinet:focus,
#BarreHaut #ZoneRappelCabinet #btFermerCabinet:hover {
  background-color: rgba(254, 254, 254, 0.2);
}

/*************************** ZoneNotification ********************************/
#BarreHaut #ZoneNotification {
  align-content: center;
  display: flex;
  justify-content: end;
  align-items: center;
  position: relative;
  flex-grow: 1;
  padding: 0 0.5em;
}
#BarreHaut #ZoneNotification #btNotification,
#BarreHaut #ZoneNotification button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  color: rgba(254, 254, 254, 1);
  background-color: transparent;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  margin-left: 0.5em;
  margin-right: 0.5em;
  overflow: visible;
  outline: none;
  padding: 0;
}
#BarreHaut #ZoneNotification #btNotification:focus,
#BarreHaut #ZoneNotification #btNotification:hover,
#BarreHaut #ZoneNotification button:focus,
#BarreHaut #ZoneNotification button:hover {
  background-color: rgba(254, 254, 254, 0.1);
}
#BarreHaut #ZoneNotification #btNotification svg,
#BarreHaut #ZoneNotification button svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  fill: rgba(254, 254, 254, 1);
}
#BarreHaut #ZoneNotification #btNotification .Pastille,
#BarreHaut #ZoneNotification button .Pastille {
  position: absolute;
  top: 5px;
  right: 0px;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 30em;
  background-color: #f33;
  color: rgba(254, 254, 254);
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 1px 1px 1px 0 rgba(20, 20, 20, 0.5);
}
#BarreHaut #ZoneNotification #btNotification[data-nbnotification="0"] .Pastille,
#BarreHaut #ZoneNotification button[data-nbnotification="0"] .Pastille {
  display: none;
}

/*************************** ZoneRecherche ********************************/
/* .ZoneRecherche {
  display: flex;
  align-items: center;
  justify-content: end;
}
.ZoneRecherche input {
  background: transparent;
  border-color: rgba(var(--clr-primary));
  box-shadow: none;
  background-color: rgba(254,254,254,0.1);
  border-radius: 4em !important;
  width: 30px;
  opacity: 0;
  transition: all 0.3s ease;
}
.ZoneRecherche:hover input {
  width: 200px;
  opacity: 1;
}
.ZoneRecherche input:focus {
  width: 200px;
  opacity: 1;
}
.ZoneRecherche input:valid {
  width: 200px;
  opacity: 1;
}
.ZoneRecherche input:valid:not(:focus) {
  background-color: rgba(254,254,254,0.8);
} */

/*************************** CentreNotification ********************************/
#BarreHaut #CentreNotification {
  z-index: 910;
  position: absolute;
  width: 400px;
  max-width: 95vw;
  scrollbar-width: thin;
  max-height: 50vh;
  overflow-y: auto;
  background-color: rgba(254, 254, 254, 1);
  border-radius: 5px;
  box-shadow: 0px 0px 3px 1px rgba(20, 20, 20, 0.2);
  text-align: left;
  font-size: 1em;
  padding: 10px 0;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  top: 60px;
  right: 0;
}
#BarreHaut #CentreNotification.Visible {
  top: 50px;
  opacity: 1;
  visibility: visible;
}

#BarreHaut .PasDeNotification {
  color: rgb(var(--clr-primary-dark));
  padding: 5px 10px 5px 0px;
  text-align: center;
}

#BarreHaut .Notification {
  color: rgb(var(--clr-primary-dark));
  padding: 5px 10px 5px 60px;
  display: grid;
  grid-template-columns: auto 60px;
  grid-template-rows: 1fr auto;
  position: relative;
}
#BarreHaut .Notification:not(:last-child) {
  border-bottom: 1px solid rgba(var(--clr-primary-pastel), 1);
}
#BarreHaut .Notification:hover {
  background-color: rgba(var(--clr-primary-pastel), 1);
}

/*************************** ResultatRecherche ********************************/
/*
#BarreHaut #ResultatRecherche {
  z-index: 910;
  position: absolute;
  width: 400px;
  max-width: 95vw;
  scrollbar-width: thin;
  max-height: 50vh;
  overflow-y: auto;
  background-color: rgba(254, 254, 254, 1);
  border-radius: 5px;
  box-shadow: 0px 0px 3px 1px rgba(20, 20, 20, 0.2);
  text-align: left;
  font-size: 1em;
  padding: 10px 0;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  top: 60px;
}
#BarreHaut #ResultatRecherche.Visible {
  top: 50px;
  opacity: 1;
  visibility: visible;
}
#BarreHaut #ResultatRecherche .Reponse {
  display: block;
  color: rgb(var(--clr-primary-dark));
  padding: 5px 10px 5px 0px;
  display: flex;
  align-items: center;
}
#BarreHaut #ResultatRecherche .Reponse:not(:last-child) {
  border-bottom: 1px solid rgba(var(--clr-primary-pastel), 1);
}
#BarreHaut #ResultatRecherche .Reponse:hover {
  background-color: rgba(var(--clr-primary-pastel), 1);
}
#BarreHaut #ResultatRecherche .Reponse_Icone {
  color: rgb(80, 80, 80);
  text-align: center;
}
#BarreHaut #ResultatRecherche .Reponse_Icone svg {
  width: 24px;
  height: 24px;
  margin: 0 18px;
  fill: currentColor;
}
#BarreHaut #ResultatRecherche .Reponse_Detail .Libelle {
  font-size: 14px;
  font-weight: 500;
  margin: 0em 0 0.25em 0;
  color: rgba(30, 30, 30);
}
#BarreHaut #ResultatRecherche .Reponse .Complement {
  font-size: 12px;
  font-weight: 400;
  color: rgb(var(--clr-primary-dark));
}
#BarreHaut #ResultatRecherche .Reponse .Complement svg {
  width: 12px;
  height: 12px;
  margin-right: 3px;
  opacity: 0.4;
}
*/

/*************************** ZoneInformation ********************************/
/* #BarreHaut .ZoneInformation {
  grid-column: 1 / 2;
  grid-row: 2;
  font-size: 12px;
}
#BarreHaut .ZoneInformation svg {
  width: 12px;
  height: 12px;
  margin-right: 3px;
  opacity: 0.4;
}
#BarreHaut .ZoneMessage {
  font-size: 11px;
}
#BarreHaut .ZoneMessage .Message {
  font-size: 14px;
  font-weight: 500;
  margin: 0.25em 0 0.5em 0;
  color: rgba(30, 30, 30);
}
#BarreHaut .ZoneAction {
  grid-column: 2 / 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
}
#BarreHaut .ZoneMessage {
  grid-column: 1 /3;
  grid-row: 1;
} */
/*************************** ZoneUtilisateur ********************************/
#BarreHaut #ZoneUtilisateur {
  display: flex;
  flex-shrink: 0;
  width: 290px;
  margin: 0px 0px;
  padding: 2px 10px;
  flex-direction: row;
  align-items: center;
  border-radius: 0px;
  justify-self: right;
  background-color: rgba(254, 254, 254, 0.05);
  line-height: 1.5;
}
#BarreHaut #ZoneUtilisateur:hover {
  background-color: rgba(254, 254, 254, 0.1);
}

#BarreHaut #ZoneUtilisateur .Photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: rgba(var(--clr-primary-light), 0.5);
  color: rgb(var(--clr-primary-dark));
  /* color: rgb(254,254,254); */
  margin-right: 10px;
  /* font-size: 1.0em;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  overflow: hidden; */
}
#BarreHaut #ZoneUtilisateur .Photo svg {
  height: 25px;
  width: 25px;
}
#BarreHaut #ZoneUtilisateur:hover .Photo {
  background-color: rgba(var(--clr-primary-light), 0.7);
}

#BarreHaut #ZoneUtilisateur .Detail {
  flex-grow: 1;
}
#BarreHaut #ZoneUtilisateur .Nom {
  font-size: 1em; /* 14px */
}
#BarreHaut #ZoneUtilisateur .Groupe {
  font-size: 0.85714285714285714285714285714286em; /* 12px */
  color: rgba(var(--clr-primary-light), 1);
}

#BarreHaut #ZoneUtilisateur #btMenuCompte {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  color: rgba(254, 254, 254, 1);
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
}
#BarreHaut #ZoneUtilisateur #btMenuCompte img {
  width: 12px;
  height: auto;
  vertical-align: middle;
  fill: #fff;
  filter: invert(1); /* blanc */
}
#BarreHaut #ZoneUtilisateur #btMenuCompte svg {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  fill: rgba(254, 254, 254, 1);
}
#BarreHaut #ZoneUtilisateur #btMenuCompte:hover {
  background-color: rgba(254, 254, 254, 0.1);
}

#BarreHaut #ZoneUtilisateur #MenuCompte {
  display: none;
  z-index: 910;
  position: absolute;
  right: 10px;
  top: 50px;
  width: 200px;
  background-color: rgba(254, 254, 254, 1);
  border-radius: 5px;
  box-shadow: 0px 0px 3px 1px rgba(20, 20, 20, 0.2);
  text-align: left;
  font-size: 1em;
  font-weight: 700;
  padding: 10px 0;
}
#BarreHaut #ZoneUtilisateur #MenuCompte img,
#BarreHaut #ZoneUtilisateur #MenuCompte svg {
  width: 16px;
  max-height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  fill: currentColor;
}

#BarreHaut #ZoneUtilisateur #MenuCompte.Visible {
  display: block;
}
#BarreHaut #ZoneUtilisateur #MenuCompte ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#BarreHaut #ZoneUtilisateur #MenuCompte ul li a {
  display: block;
  line-height: 30px;
  /* color: rgba(var(--clr-secondary), 1); */
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  padding: 0 10px;
}
#BarreHaut #ZoneUtilisateur #MenuCompte ul li i {
  font-size: 16px;
  width: 20px;
  line-height: 30px;
  margin-right: 10px;
  text-align: center;
}
#BarreHaut #ZoneUtilisateur #MenuCompte ul li a:hover {
  background-color: rgba(var(--clr-primary-light), 0.5);
  color: rgba(var(--clr-primary), 1);
}

@media only screen and (max-width: 639px) {
  #BarreHaut #ZoneUtilisateur {
    width: unset;
  }
  #BarreHaut #ZoneUtilisateur .Detail {
    display: none;
  }
}

/*************************** ListeLangue ********************************/
#BarreHaut #ListeLangue {
  display: none;
  z-index: 910;
  position: absolute;
  right: 10px;
  top: 50px;
  width: 120px;
  background-color: rgba(254, 254, 254, 1);
  border-radius: 5px;
  box-shadow: 0px 0px 3px 1px rgba(20, 20, 20, 0.2);
  text-align: left;
  font-size: 1em;
  font-weight: 700;
  padding: 10px 0;
}
#BarreHaut #btChangerLangue img,
#BarreHaut #ListeLangue img {
  width: 16px;
  aspect-ratio: 100/75;
  border-radius: 3px;
}
#BarreHaut #ListeLangue img {
  margin-right: 5px;
}
#BarreHaut #ListeLangue.Visible {
  display: block;
}
#BarreHaut #ListeLangue ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#BarreHaut #ListeLangue ul li a {
  display: block;
  line-height: 30px;
  color: rgba(var(--clr-primary), 1);
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  padding: 0 10px;
}
#BarreHaut #ListeLangue ul li i {
  font-size: 16px;
  width: 20px;
  line-height: 30px;
  margin-right: 10px;
  text-align: center;
}
#BarreHaut #ListeLangue ul li a:hover {
  background-color: rgba(var(--clr-primary-light), 1);
}
