/* Container principal - occupe toute la largeur */
.container.d-flex {
    display: flex;
    flex-direction: row; /* Menu et contenu côte à côte */
    align-items: flex-start; /* Alignement vertical */
    gap: 9px; /* Espacement entre le menu et le contenu */
    width: 100%;
    max-width: 100%;
    height: 100vh; /* Pleine hauteur */
}

/* Menu - Largeur fixe mais contenu extensible */
#menu_moteur {
    flex: 0 0 20px; /* Largeur fixe pour le menu */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    height: auto; /* Ajustement automatique de la hauteur */
    transition: all 0.3s ease;
    margin-top: 10px;

width: 100%;
}

/* Contenu principal - Remplit tout l’espace disponible */
.main-content {
    flex: 1; /* Prend toute la place restante */
    padding: 0px;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Minimum la hauteur de l’écran */
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

/* Media queries pour mobile */
@media (max-width: 768px) {
    .container.d-flex {
        flex-direction: column; /* Empile le menu et le contenu en colonne */
    }
      .d-md-block {
    display: block !important;
    padding-right: 10px;
    padding-left: 10px;
  }


 .col-lg-8 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 0px;
  padding-left: 0px;
}


.main-content {
    flex: 1; /* Prend toute la place restante */
    padding: 0px;

    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Minimum la hauteur de l’écran */
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}
    #menu {
        width: 100%; /* Le menu occupe toute la largeur */
        flex: 0 0 auto;
        margin-bottom: 20px; /* Ajoute un espacement entre le menu et le contenu */
    }

    .main-content {
        width: 100%; /* Le contenu occupe toute la largeur */
        flex: 0 0 auto;
    }
}


/* Menu items */
.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #e1e8ed;
    transition: background 0.2s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f5f5f5;
}

.menu-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #f73297;
}

.menu-text {
    flex-grow: 1;
    font-size: 16px;
    color: #333;
}

/* Filtres et options */
.setting-row {
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.setting-row h4 {
    font-size: 12px;
    color: #333;
    margin: 0;
}

.setting-row input[type="checkbox"] {
    margin-left: 10px;
}

input[type="checkbox"]:checked + label::before {
    color: #34c815;
}


/* Zone produit */
#product_areaP {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

}

/* Message de fin de liste */
#no-more-data-message {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 16px;
}

/* Animation de chargement */
#loading-animation {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Boutons de filtre */
input[type="checkbox"]:checked + .toggle-btn {
    background-color: #ff70bb;
    color: #fff;
    border-color: #28a745;
}

.toggle-btn img {
    filter: none;
}

input[type="checkbox"]:checked + .toggle-btn img {
    filter: brightness(100%);
}

/* Media queries pour mobile */
@media (max-width: 768px) {
    .container.d-flex {
        flex-direction: column; /* Empile le menu et le contenu en colonne */
  .event-details{


}      
.mini_menu_bleu {
  display: inline-block;
  padding: 6px 8px 4px;
  border: #c1b3bbd6 solid 1px;
  border-radius: 3px;
  text-shadow: 0 1px 0 rgb(255, 255, 255, 0.5);
  transition: all 20ms ease-out;
  cursor: pointer;
  text-align: center;
  width: 20px;
}



.bottom {
    display: flex; /* Utilise Flexbox pour aligner les enfants en ligne */
    justify-content: space-around; /* Espace égal entre les icônes */
    align-items: center; /* Aligne les icônes verticalement au centre */
    gap: 1px; /* Ajoute un espacement entre les icônes */
}

.bottom a {
    display: flex; /* S'assure que le contenu de chaque lien est bien aligné */
    justify-content: center;
    align-items: center;
    text-decoration: none; /* Supprime la décoration de lien */
}

.pitdate-userlu {
  display: inline-block;
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  max-width: 160px;
  min-width: 160px;
  text-align: center;
  background-color: #fff4f459;
  border-radius: 6px;
  box-shadow: 0 0px 15px rgba(162, 247, 11, 0.65);
}

        .pitdate-user {
  display: inline-block;
  margin-bottom: 30px;
  position: relative;
  width: 160px;

  min-width: 160px;
  text-align: center;
  background-color: #fff4f459;
  border-radius: 6px;
}
    }

    #menu {
        flex: 0 0 auto; /* Permet au menu de prendre sa hauteur naturelle */
        width: 100%; /* Le menu occupe toute la largeur */
        margin-bottom: 20px; /* Ajoute un espacement entre le menu et le contenu */
    }

    .main-content {
        flex: 0 0 auto; /* Ajuste la hauteur du contenu si nécessaire */
        width: 100%; /* Le contenu occupe toute la largeur */
        margin-top: 10px; /* Ajoute un espace au-dessus si nécessaire */
    }
}
.pitdate-user {
  display: inline-block;
  margin-bottom: 30px;
  position: relative;
  width: 160px;

  min-width: 160px;
  text-align: center;
  background-color: #fff4f459;
  border-radius: 6px;
}
.spanblockDate {
  background: #fff;
  padding-left: 14px;
  padding-right: 10px;
  margin-top: -20px;
  position: absolute;
  left: -16px;
  font-size: 10px;
  color: red;
  border-radius: 6px;
}
.user-details {
	font-size: 15px;
	margin-top: 5px;
}

.event-name {
	font-size: 15px;
}
.spanblockPresence {
  background: #d4ebff;
  padding-left: 10px;
  padding-right: 10px;
  padding-block: 5px;
  margin-top: -25px;
  position: absolute;
  right: 10px;
  border-color: #d03cab !important;
  box-shadow: 0px 4px 8px rgba(50, 173, 234, 0.3);
  border-radius: 10px;
}
.event-details{
width: 100%;

}

.ac-profil-surprofil{

  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  color: #505050;
  
  }
  .pitdate-user > h4 {
  color: #535165;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 0;
  width: 80%;
}
.pitdate-user > span {
  display: inline-block;
  font-size: 12px;
  width: 80%;
}
/* Conteneur des boutons */
.toggle-group {
  display: flex;
  justify-content: center;
  align-items: center; /* Assure un centrage vertical */
  gap: 5px; /* Ajoute un petit espace entre les éléments */
  width: 370px;
  
}
/* Boutons */
.toggle-btn {
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f5f5f5;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  padding: 10px;
}

.toggle-btn img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Effet au survol */
.toggle-btn:hover {
  background: #e0e0e0;
  border-color: #ff70bb;
}

/* Effet lorsqu'un bouton est sélectionné */
input[type="checkbox"]:checked + .toggle-btn {
  background-color: #ff70bb;
  color: white;
  border-color: #ace2f2;
 box-shadow: 0px 4px 8px rgb(172, 226, 242);
}

input[type="checkbox"]:checked + .toggle-btn img {
  filter: brightness(100%);
  transform: scale(1.1);
}

/* Supprime tout effet ::before */
input[type="checkbox"] + label::before {
  content: none !important;
}
/* Appliquer l'effet d'ombre rose et réduction sur l'image cochée */

/* Effet appliqué aux images lorsque la case est cochée */
input[type="checkbox"]:checked + label img {
    z-index: 1; /* Assure que l'image reste visible et bien positionnée */
    box-shadow: 0 0 6px #ff70bb; /* Ombre verte douce pour effet de sélection */
    transform: scale(0.9); /* Réduction légère de la taille pour un effet visuel fluide */
    transition: all 0.3s ease-in-out; /* Animation douce lors du changement d'état */
} 
.mini_menu_bleu {
  display: inline-block;
  padding: 6px 8px 4px;
  border: #c1b3bbd6 solid 1px;
  border-radius: 3px;
  text-shadow: 0 1px 0 rgb(255, 255, 255, 0.5);
  transition: all 20ms ease-out;
  cursor: pointer;
  text-align: center;
  width: 0px;
}



#no-more-data-message {
  display: none;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
color: #131111;
  background: rgba(39, 144, 236, 0.7);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
width: 100%;
  margin: 20px auto;
  transform: translateY(10px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  animation: pulse 1.5s infinite;
}

#no-more-data-message.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); }
    100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
}

#no-more-data-message::before {
    content: "⚠️ ";
    font-size: 18px;
    margin-right: 8px;
    vertical-align: middle;
}
#bottom-filters-container {
    display: none;
    text-align: center;
   background: rgb(255, 255, 255);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);

    margin: 20px auto;
    color: #fff;
}

#bottom-filters {
 
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.bottom-filter-btn {
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
   
 
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bottom-filter-btn:hover {
    
}
.skeleton-loader {
    background: #f3f3f3;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { background-color: #f3f3f3; }
    50% { background-color: #e0e0e0; }
    100% { background-color: #f3f3f3; }
}

.menu-choix {
    display: none; /* Caché par défaut */
}

.menu-choix-sortie {
    display: none; /* Caché par défaut */
}
.menu-choix-fil {
    display: none; /* Caché par défaut */
}
.menu-choix-commercant {
    display: none; /* Caché par défaut */
}
.menu-choix-accueil {
    display: none; /* Caché par défaut */
}
.menu-choix-beach {
    display: none; /* Caché par défaut */
}
.menu-choix-date {
    display: none; /* Caché par défaut */
}
.filter-clear-button {
    display: none !important; /* Cache les boutons immédiatement au chargement */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

 
/* Conteneur des boutons côte à côte */
.toggle-group-special {
    display: flex;
    gap: 15px;
    justify-content: center;
  align-items: center; /* Assure un centrage vertical */
}

/* Masquer totalement les input radio */
.toggle-group-special input[type="radio"] {
    display: none;
}

/* Boutons stylisés */
.toggle-group-special .toggle-btn {

    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 10px;
    text-align: center;
}

/* Icônes */
.toggle-group-special .toggle-btn i {
    font-size: 20px;
    margin-right: 8px;
}

/* Couleurs pastel spécifiques aux boutons */
.toggle-group-special .toggle-btn[data-color="blue"] {
border: 2px solid #c6c9ce;
  color: #000;
width: 95px;
    height: 50px; /* Hauteur réduite */
}

/* Couleurs pastel spécifiques aux boutons */
.toggle-group-special .toggle-btn[data-color="yello"] {
border: 2px solid #c6c9ce;
  color: #000;
  	width: 95px;
    height: 50px; /* Hauteur réduite */
}


/* Couleurs pastel spécifiques aux boutons */
.toggle-group-special .toggle-btn[data-color="red"] {
border: 2px solid #c6c9ce;
  color: #000;
  width: 65px;
  height: 50px;
}

.toggle-group-special .toggle-btn[data-color="red2"] {
border: 2px solid #c6c9ce;
  color: #000;
  width: 120px;
  height: 50px;
}

.toggle-group-special .toggle-btn[data-color="pink"] {
border: 2px solid #c6c9ce;
  color: #000;
    	width: 55px;
    height: 50px; /* Hauteur réduite */
}
.toggle-group-special .toggle-btn[data-color="acceuil"] {

  color: #000;
    	width: 170px;
border: 2px solid #c6c9ce;
    height: 50px; /* Hauteur réduite */
}  
 .toggle-group-special .toggle-btn[data-color="notification"] {
border: 2px solid #c6c9ce;
  color: #000;
    	width: 140px;
    height: 50px; /* Hauteur réduite */
} 
   
 .toggle-group-special .toggle-btn[data-color="rouge"] {
border: 2px solid #d8dbdf;
color: #000;
    	width: 55px;
    height: 50px; /* Hauteur réduite */
} 


/* Effet au survol */
.toggle-group-special .toggle-btn:hover {
    opacity: 0.8;
}
 
/* Effet actif lorsque sélectionné */
.toggle-group-special input[type="radio"]:checked + .toggle-btn {
    background-color: #ff70bb !important;
    color: white !important;
    border-color: #ace2f2 !important;
    box-shadow: 0px 4px 8px rgb(172, 226, 242);
}
/* Désactive complètement l'effet ::before */
.toggle-group-special .toggle-btn::before {
    content: none !important;
    display: none !important;
}

/* Style de la boîte principale du DateRangePicker */

/* Style principal de la boîte DateRangePicker */
.daterangepicker {
		    z-index: 2223333399999 !important;

    opacity: 1 !important;
    visibility: visible !important;

    font-family: 'Arial', sans-serif;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 40px;
    box-sizing: border-box;
}

/* Correction du tableau pour éviter le dépassement */
.daterangepicker .drp-calendar {
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.daterangepicker .calendar-table {
    width: 100%;
    table-layout: fixed; /* Force une largeur uniforme */
    border-collapse: collapse;
}

/* Jours et titres des jours */
.daterangepicker th,
.daterangepicker td {
    text-align: center;
    font-size: 14px;
    padding: 8px;
    width: 36px; /* Largeur fixe pour éviter le débordement */
    height: 36px; /* Hauteur fixe pour une meilleure répartition */
    border-radius: 6px;
    box-sizing: border-box;
    overflow: hidden; /* Empêche le texte de dépasser */
}

/* Jours sélectionnés */
.daterangepicker td.in-range {
    background: #f0f8ff;
    color: #333;
    border-radius: 6px;
}

/* Jour actif (date sélectionnée) */
.daterangepicker td.active {
    background: #007bff;
    color: white;
    font-weight: bold;
    border-radius: 6px;
}

/* Survol des jours */
.daterangepicker td:hover {
    background: #dbeafe;
    color: #000;
    cursor: pointer;
}

/* Style des boutons */
.daterangepicker .drp-buttons {
    text-align: center;
    padding-top: 8px;
}

.daterangepicker .drp-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
    border: none;
    transition: all 0.3s ease;
}

/* Bouton Appliquer */
.daterangepicker .drp-buttons .applyBtn {
    background-color: #007bff;
    color: white;
}

.daterangepicker .drp-buttons .applyBtn:hover {
    background-color: #0056b3;
}

/* Bouton Annuler */
.daterangepicker .drp-buttons .cancelBtn {
    background-color: #f8f9fa;
    color: #333;
}

.daterangepicker .drp-buttons .cancelBtn:hover {
    background-color: #e2e6ea;
}

/* Input date */
.daterangepicker .drp-input {
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Séparateur entre les deux calendriers */
.daterangepicker .drp-calendar.right {
    border-left: 1px solid #e5e5e5;
    margin-left: 20px; /* Ajoute un espace entre les calendriers */
    padding-left: 20px; /* Optionnel : espace intérieur pour plus d'aération */
  
}

/* Mobile responsive */
@media (max-width: 768px) {
	

	
	
	.daterangepicker {
  position: absolute;
  color: inherit;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
  width: 360px;
  max-width: none;
  padding: 0;
  margin-top: 7px;
  top: 100px;
  left: 20px;
  z-index: 3001;
  display: none;
  font-family: arial;
  font-size: 15px;
  line-height: 1em;
}
    .daterangepicker .drp-calendar {
        width: 100%;
    }

    .daterangepicker .drp-buttons {
        text-align: center;
    }

    .daterangepicker .drp-buttons .btn {
        width: 45%;
        margin: 5px;
    }
}

.pitdate-user-sortie {
  display: inline-block;
  margin-bottom: 20px;
  position: relative;
  width: 100%;

background-color: #ffe0f7;
  border-radius: 6px;
  text-align: left;
  height: 80%;
  margin-left: 13px;
height: 100%;
padding-bottom: 30px;
}
.event-details-sortie {


    width: 100%;

    padding: 10px;
    text-align: center;
}

.pitdate-user-image-sortie {
	
max-height: 100px;
  min-height: 100px;
  float: left;
  margin-right: 10px;
  border-radius: 6px;
  margin-top: 10px;

}
#btnMembre, #btnSortie {
    pointer-events: auto !important;
    opacity: 1 !important;
}
#btnMembre, #btnSortie {
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#btnMembre:hover, #btnSortie:hover {
    background-color: #0056b3;
}

#btnMembre.active, #btnSortie.active {
    background-color: #ff4081;
}

/* Loader */
#loading-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

    .button-container {
      text-align: center;
      margin-top: 20px;
    }

    .popup-meta {
      background-color: #f0ffe1;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
      margin-top: 10px;
    }
    .custom-input-wrapper {
      margin-bottom: 10px;
    }
    .custom-input {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 3px;
    }
    .wall_textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 3px;
      resize: vertical;
    }
    #wall_textarea7, .wall_textarea7 {
  width: 100% !important;
  padding: 5px;
  min-height: 119px;
  font-family: helvetica, arial, sans-serif;
  font-size: 14px;
}
#wall_textarea2, .wall_textarea2 {
  width: 100% !important;
  padding: 5px;
  min-height: 119px;
  font-family: helvetica, arial, sans-serif;
  font-size: 14px;
}
    .main-btn {
      padding: 10px 20px;
      border: none;
      background-color: #3498db;
      color: white;
      cursor: pointer;
    }
    .cancel-btn {
      background-color: #e74c3c;
      margin-left: 10px;
    }
     .button-container {
    text-align: center;
    margin-top: 20%;

  left: 15%;
  }
  
  
.pitdate-user-sortie {
  display: inline-block;
  margin-bottom: 20px;
  position: relative;
  width: 100%;

background-color: #ffe0f7;
  border-radius: 6px;
  text-align: left;
 margin-left: 0px;
 padding-bottom: 30px;
}

.bottom2 {

  padding-left: 14px;
  padding-right: 10px;
  margin-top: -20px;
  position: absolute;
  left: -16px;
  font-size: 10px;
  color: red;
  border-radius: 6px;
  font-size: 15px;
  padding: 10px;
}


.setting-row input + label {
  background-color: #989dbd;
  background-image: none;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 1em;
  height: 20px;
  line-height: 1;
  padding: 0.16667rem;
  position: relative;
  text-align: center;
  transition: all 0.1s ease-in-out 0s;
  width: 42px;
  border-radius: 10px;
}

.setting-row input + label::after {
  background-color: #f7f7f7;
  border-radius: 20px;
  box-shadow: none;
  content: "";
  height: 13px;
  left: 0.267rem;
  top: 3px;
  position: absolute;
  transition: all 0.1s ease-in-out 0s;
  width: 13px;
}

.setting-row input:checked + label::after {
  background-color: #f7f7f7;
  box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.3);
  left: 1.5rem;
}



        .progress { position: relative; width: 100%; background: #eee; border-radius: 5px; margin-top: 10px; }
        .progress .bar { width: 0; height: 20px; background: green; border-radius: 5px; }
        .progress .percent { text-align: center; font-size: 12px; }
        #wall_textarea4, .wall_textarea4 {
  width: 100% !important;
  padding: 5px;
  min-height: 119px;
  font-family: helvetica, arial, sans-serif;
  font-size: 14px;
}
.help-box {
  border-radius: 5px;
  display: inline-block;
  padding: 0px;
  width: 100%;
}
/* Conteneur des cartes */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espace entre les cartes */
    justify-content: space-between; /* Alignement optimal */
}

/* Configuration des cartes pour être flexibles */
.dig-pro {
    flex: 1 1 calc(33.333% - 20px); /* 3 cartes par ligne */
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 230px;
}

/* Ajustement des images */
.dig-pro > figure {
    width: 100%;
    position: relative;
}

.dig-pro > figure img {
    width: 100%;
    height: 200px;
    display: block;
}

/* Avatar de l'utilisateur */
.dig-pro > figure .user-avatr {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dig-pro > figure .user-avatr img {
    border: 2px solid #fff;
    border-radius: 50%;
    height: 60px;
    width: 60px;
}

.digi-meta {
    padding: 15px;
    text-align: center;
}
@media (max-width: 767px) {
    .sidebar {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .sidebar2 {
        display: block !important;
    }
}
/* Mobile responsive */
@media (max-width: 768px) {
	
.dig-pro {
  flex: 1 1 calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
width: 350px;
}	
}
/* Ajustement du rating */
.rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #eaeaea;
}

.pit-rate {
    display: flex;
    gap: 5px;
}

.qeemat {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

   #thisimage4 {
    display: none;
}





.toggle-group-village input[type="radio"]:checked + .toggle-btn {
  background-color: #f0ce48 !important;
  color: white !important;
  border-color: #bcbf4b !important;
  box-shadow: 0px 4px 8px rgb(172, 226, 242);
}
.toggle-group-village .toggle-btn[data-color="pink"] {
  background-color: #f8c8dc;
  border: 2px solid #f497bf;
    border-top-color: rgb(244, 151, 191);
    border-right-color: rgb(244, 151, 191);
    border-bottom-color: rgb(244, 151, 191);
    border-left-color: rgb(244, 151, 191);
  color: #721c24;
}




/* Style pour l'image en plein écran */
.fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close-btn-plan {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

#thumbnail-image {
    width: 100px;
    height: auto;
    cursor: pointer;
}

    /* Styles pour le conteneur parent */
    .breadcrumb-container {
margin-top: -45px;
        display: flex;
        align-items: center;
        justify-content: space-between; /* Alignement des éléments à gauche et à droite */
    }

    /* Styles pour le breadcrumb3 */
    .breadcrumb3 {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: .75rem 1rem;
        margin-bottom: 1rem;
        list-style: none;
        background-color: #e9ecef;
        border-radius: .25rem;
        font-size: 10px;
 
        z-index: 100;
        height: 71px;
    }

    /* Styles pour le breadcrumb2 */
    .breadcrumb2 {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: .75rem 1rem;
        margin-bottom: 1rem;
        list-style: none;
        background-color: #e9ecef;
        border-radius: .25rem;
        font-size: 10px;
    
        z-index: 100;
    } 
/* Masquer le ::before sur les éléments avec ces ids lorsque l'input est coché */
  /* Cacher l'input et le ::before associé au label, qu'il soit sélectionné ou non */
    #friends,
  #friends + .toggle-btn::before,
  #coeur_action,
  #coeur_action + .toggle-btn::before,
  #visite_action,
  #visite_action + .toggle-btn::before,
    #friends_action,
  #friends_action + .toggle-btn::before,
  #vote_action,
  #vote_action + .toggle-btn::before {
    display: none;
  }


/*debut post /

li[id^="mousemove"] {
    transition: background-color 0.5s ease;
}
/* Styles pour l'affichage du contenu sous les notifications */

/* Conteneurs pour les posts et les images */
.post-content-container,
.image-content-container {
    margin-top: 15px;
    margin-left: 70px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Style pour les liens qui affichent/masquent le contenu */
.toggle-post-content,
.toggle-image-content {
    cursor: pointer;
    color: #1da1f2;
    transition: color 0.2s ease;
}

.toggle-post-content:hover,
.toggle-image-content:hover {
    text-decoration: underline;
    color: #0c85d0;
}

.toggle-post-content.active,
.toggle-image-content.active {
    font-weight: bold;
    color: #0c85d0;
}

/* Style pour les images inline */
.inline-image-container {
    display: flex;
    flex-direction: column;
}

.inline-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

/* Style pour les commentaires */
.comments-container {
    border-top: 1px solid #e1e8ed;
    background-color: #f8f9fa;
}

.comments-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.we-comment {
    padding: 10px;
    border-bottom: 1px solid #e1e8ed;
}

.we-comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    float: left;
    margin-right: 10px;
}

.coment-head {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.coment-head h5 {
    margin: 0 10px 0 0;
    font-size: 14px;
}

.coment-head span {
    font-size: 12px;
    color: #657786;
}

.we-comment-text {
    margin-left: 50px;
    font-size: 14px;
}

.inline-activity {
    margin-top: 5px;
    margin-left: 50px;
    font-size: 12px;
}

.comment-like-action {
    color: #657786;
    text-decoration: none;
}

.comment-like-action.liked {
    color: #1da1f2;
    font-weight: bold;
}

/* Style pour le formulaire de commentaire */
.post-comment {
    padding: 10px;
    border-top: 1px solid #e1e8ed;
}

.post-comment .form-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.comment-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
}

.post-comment textarea {
    flex-grow: 1;
    height: 36px;
    border-radius: 18px;
    padding: 8px 12px;
    border: 1px solid #e1e8ed;
    resize: none;
    transition: height 0.2s ease;
}

.post-comment textarea:focus {
    height: 80px;
    outline: none;
    border-color: #1da1f2;
}

.post-comment button {
    float: right;
    background-color: #1da1f2;
    border: none;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.post-comment button:hover {
    background-color: #0c85d0;
}

/* Style pour le contenu du post */
.central-meta {
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  border: 1px solid #e1d9d9;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(225, 217, 217);
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #d1d7df;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(209, 215, 223);
}
.user-post {
    padding: 15px;
}

/* Style pour les liens "aimé" */
.liked {
    color: #1da1f2 !important;
    font-weight: bold;
}

/* Animation de chargement */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.post-content-container,
.image-content-container {
    animation: fadeIn 0.3s ease;
}


/* Responsive Design */
@media only screen and (max-width: 768px) {
  .encadre {
    padding: 5px;
    border-radius: 8px;

    height: auto;
    transition: all 0.3s ease;
    margin-top: 0px;
    width: calc(100% - 20px); /* Ajustement pour tenir compte des marges latérales */
    margin-left: 10px;
    margin-right: 10px;
  }
    .encadre2 {
    padding: 5px;
    border-radius: 8px;
    background: #fff;
    height: auto;
    transition: all 0.3s ease;
    margin-top: 0px;
width: 100%;
  justify-content: center; /* Centre les éléments horizontalement */

  }
}

  
.encadre2 {
  border-radius: 8px;
  background: #fff;
  height: auto;
  transition: all 0.3s ease;
  margin-top: 0px;
  display: flex;
  flex-wrap: wrap;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  width: 100%;
  align-items: flex-start; /* Aligne les éléments en haut verticalement */
}

/* Pour ajouter un espacement égal entre les éléments */
.encadre2 .item {
  margin: 5px; /* Ajoute une marge autour de chaque élément pour l'espacement */
}
  
  
.encadre {
border-radius: 8px;
  padding: 0px;

  height: auto;
  transition: all 0.3s ease;
  margin-top: 0px;
  width: 100%;
  padding-top: 0px;
}

.pitdate-user-sortie {
  display: inline-block;
  margin-bottom: 30px;
  position: relative;
  width: 100%;

background-color: #fbeff9;
  border-radius: 6px;
  text-align: left;
  margin-left: 10px;
padding-bottom: 30px;
}
.new-postbox {
  display: inline-block;
  width: 100%;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
}
#event_details {
  height: 200px !important; /* Utilisation de !important pour s'assurer que le style s'applique */
  min-height: 200px; /* Pour garantir la hauteur minimale */
  resize: vertical; /* Permet à l'utilisateur de redimensionner verticalement si nécessaire */
}