/* Style pour le menu pour qu'il prenne toute la hauteur de l'écran */
.offcanvas-menu {
    height: 100vh;
}
/* Style des icônes */
.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
}
/* Style pour les éléments de menu */
.menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    text-decoration: none;
}
.menu-link:hover {
    background-color: #355773; /* Couleur plus sombre pour hover */
}
/* Sous-menu */
.list-group-item-2 {
    background-color: transparent;
    border: none;
    color: white;
    padding: 20px;
}
.list-group-item-2:hover {
    background-color: #355773; /* Même effet de hover pour les sous-menus */
}
/* Style pour la flèche à droite */
.menu-arrow {
    transition: transform 0.1s ease;
    color: white;
    width: 70px; /* Augmenter la largeur cliquable */
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Rotation de la flèche lorsque le sous-menu est ouvert */
.menu-arrow.rotate {
    transform: rotate(90deg);
}
.menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Trait de séparation entre les titres */
}

.menu-arrow-container {
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
}

.div-text-card-general-commande-detail{
    display: flex;
    align-items: baseline;
}

.div-text-card-general-commande-detail > p{
    min-width: 150px;
}

.div-text-card-general-ficheprod-detail{
    display: flex;
    align-items: baseline;
}

.div-text-card-general-ficheprod-detail > p{
    min-width: 200px;
}
html, body {
    height: 100%;
}
#page-content {
    flex: 1 0 auto;
}
#sticky-footer {
    flex-shrink: 0;
}
body {
    display: flex;
    flex-direction: column;
}
a:link {
    text-decoration: none;
}
.autocomplete-items {
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /* Position the autocomplete items to be the same width as the container: */
    position: absolute;
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.DayContener{
    flex-direction: row;
    width: 100%;
    justify-content: right;
}

.DayContener .day{
    padding: 10px;
    width: calc(20% - 10px);
    background-color: #3c6382;
    color: white;
    text-align: center;
    margin: 5px;
    border-radius: 10px;
    height: fit-content;
}

.DayContener .day > div{
    width: 100%;
    min-height: 200px;
    height: 95%;
    background-color: white;
    border-radius: 5px;
    padding: 5px 5px 5px 5px;
}

.DayContener .day > div > div{
  width: auto;
  background-color: #f8f8f8;
  color: black;
  border-radius: 5px;
  font-size: small;
  justify-content: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}

.OrderPlanning > div{
    display: flex; 
    flex-direction:row; 
    justify-content: center;
}

.OrderPlanning:hover{
    background-color: rgb(224, 224, 224);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .row-fluid {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 15px;
    padding-right: 15px;
  }
@media (min-width: 576px){
    .dropdown:hover > .dropdown-menu{
        display: block;
        margin-top: 0;
    }
}
