/* Horizotal navbar in header */
.menu-logo{width: 8rem;}
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 0;
}
.menu-item-container{
  display: flex;
  align-items: center;
  justify-content: center;
  gap:1rem; 
  background: #fff;
  border-radius: .5rem;
  padding: .25rem .5rem;
}
.navbar .img-avatar{
    width: 3rem;
    height: 3rem;
    padding: .35rem;
    background: var(--secondaire-500);
    border-radius: 3rem;
}
.navbar .menu-item[disabled]{
  margin: 0;
  color: var(--bs-black);
}
.navbar .menu-item:not([disabled]):hover{color: var(--primaire-800);}
.navbar .menu-item:hover::after{
display: block;
}
.navbar .menu-item img{
  width: 100%;
}
.navbar .img-avatar img{
  width: 100%;
}
.navbar .avatar-name {
font-size: .75rem;
color: #fff;
font-weight: 900;
color: #000;
}
.navbar .avatar-role{
font-size: .75rem;
margin-top: -3px;
font-weight: 300;
}
.navbar .dropdown-menu {
  position: absolute;
  z-index: 10;
  border: 0;
  background: #fff;
  padding: 0;
  right: 0;
  left: auto;
  top: 100%;
  margin-top: .125rem;
}
.navbar .dropdown-menu:after {
content: "";
position: absolute;
bottom: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent #fff transparent;
}
.navbar .dropdown-menu .dropdown-item{
font-size: .8rem;
padding: .9rem .75rem;
display: flex;
align-items: center;
}
.navbar .dropdown-menu .dropdown-item:hover{
background: transparent;
}



.navbar .menu-item-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #fff;
  border-radius: .5rem;
  padding: .25rem .5rem;
}
.navbar .menu-item-container .menu-item {
  font-family: 'AirbnbCerealMedium';
  background: #fff;
  color: var(--primary-900);
  color: var(--primaire);
  font-size: .8rem;
  gap: .25rem;
  width: auto;
  white-space: nowrap;
  padding: .5rem .75rem .5rem 1rem;

  border: 0;
    background: transparent;
    /* color: var(--primaire); */
    /* width: 2.5rem; */
    height: 2.5rem;
    /* border-radius: .25rem; */
    position: relative;
    /* font-size: 1.25rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar .menu-item-container .menu-item:not(:first-child)::before{
  content: '';
  position: absolute;
  color: var(--bs-gray-500);
  border-radius: .5rem;
  left: 0;
  width: .3rem;
  height: .3rem;
  background-color: var(--primaire);
}
/* .navbar .menu-item-container .menu-item img{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
}
.navbar .menu-item-container .menu-item i{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--primaire-100);
  border-radius: 2rem;
} */


.navbar .menu-item.sous-menu .menu-item-container{
  display: none;
  position: absolute;
  z-index: 10;
  background: rgb(255, 255, 255);
  top: 2rem;
  top: 100%;
  top: 2.5rem;
  /* border-radius: 0; */
  left: -.7rem;
  border: 1px solid var(--bs-gray-500);
}
/* .navbar .menu-item.sous-menu .menu-item-container::after {
content: "";
position: absolute;
bottom: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent rgb(255, 255, 255);
border-color: transparent transparent rgb(0, 0, 0);
} */
.navbar .menu-item.sous-menu:hover .menu-item-container{
display: block;
}
.navbar .menu-item.sous-menu .menu-item-container .menu-item{
padding-left: 0;
display: block;
}
.navbar .menu-item.sous-menu .menu-item-container .menu-item::before{
content: '';
}

@media screen and (max-width: 767px) {
  body{padding-top: 4rem;}
  .navbar {
    background-color: #fff !important;
    padding: 0;
    position: fixed;
    top: 0;
    flex-wrap: unset;
    z-index: 10;
    left: 0;
    width: 100%;
  }
  .menu-logo {
    width: 6rem;
  }
  .menu-item-container {
    display: none!important;
  }
}