
.log-sign{
    margin-right: 1em;
}


/* Styles pour le texte de la navbar */
  
/* Style pour les icônes */
.navbar-nav .nav-link i {
    margin-right: 5px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.9;
    transition: color 0.3s, opacity 0.3s;
  }

  .navbar-nav .nav-link:hover {
    color: var(--primary-color);
    opacity: 1;
    text-decoration: none;
  }


/* Styles pour le dropdown */
.navbar-nav .dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

/* Style pour les liens dans le dropdown */
.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 0.9rem;
    color: #333;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}



/* Style pour la barre de recherche */
.search-bar {
    max-width: 500px;
    margin: 0 auto; /* Centre la barre de recherche sur les grands écrans */
}

.search-bar input[type="search"] {
    border-radius: 20px 0 0 20px;
    border: 1px solid #ced4da;
    padding-left: 15px;
    height: 38px; /* Align with the button */
    flex: 1; /* Prend tout l'espace disponible */
    outline: none; /* Supprime le contour bleu lors du focus */
    box-shadow: inset 0 0 0 1px #ced4da; /* Ajoute une bordure légèrement plus petite */
}

.search-bar input[type="search"]:focus {
    border-color: #ced4da; /* Conserve la bordure d'origine ou changez-la selon vos préférences */
    box-shadow: inset 0 0 0 1px #0D6EFD; /* Conserve la bordure légèrement plus petite lors du focus */
}

.search-bar button {
    border-radius: 0 20px 20px 0;
    padding: 0 15px;
    height: 38px; /* Align with the input */
    margin-left: -1px; /* Supprime l'espace entre le champ et le bouton */
    z-index: 2; /* Assure que le bouton est au-dessus de l'input */
}

/* Ajustements pour la version mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Aligne les éléments à gauche */
    }

    .navbar-toggler {
        margin-left: auto; /* Déplace le bouton de bascule à droite */
    }

    .search-bar {
        width: 100%; /* La barre de recherche prend toute la largeur */
        margin: 10px 0;
        margin-right: 0; /* Supprime l'espace à droite */
    }

    .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav.ms-auto {
        margin-left: 0; /* Aligne les éléments de navigation à gauche */
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-nav {
        margin-right: auto;
    }
    
    .navbar-nav.ms-auto {
        margin-left: auto;
    }

    .search-bar {
        margin: 0; /* Réinitialise la marge pour les grands écrans */
    }
}




.search {
    display: flex;
    justify-content: center;
    margin: 0.5em;
    margin-top: 4em;
}

.search form {
    max-width: 600px;
    width: 100%;
}

.search-btn {
    min-width: 150px;
}

.search input{
    border-radius: 0;
}



.ck-editor__editable[role="textbox"] {
  
 min-height: 200px;
 
}

.voir-plus {
    margin-left: 0.5em;
}

.voir-plus a {
    content: ' →';
    text-decoration: underline;
    position: relative; 
    display: inline-block;
    font-weight: bold;
}

.voir-plus a::after {
    content: ' →'; 
    position: absolute;
    left: 100%; 
    transition: left 0.4s ease; 
    opacity: 0; 
}

.voir-plus a:hover::after {
    left: calc(100% + 0.5em);
    opacity: 1; 
}

.all_tuto {
    margin: 0.5em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
}

.all_tuto_body {
    width: 100%; 
    max-width: 700px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; 
}

.card {
    width: 100%;
    margin-bottom: 1em; 
}


.card-img-top {
    width: 100%;
    height: auto;
}

.all_tuto_titre{
    margin-top: 2em;
    margin-bottom: 1.5em;
}

.share-buttons {
    display: flex;
    gap: 1em;
}

.share-buttons .btn {
    display: inline-block;
    padding: 0.5em 1em;
    border: none;
    border-radius: 0.25em;
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

.share-buttons .btn-success {
    background-color: #25d366;
}

.share-buttons .btn-primary {
    background-color: #3b5998;
}

.share-buttons .btn:hover {
    opacity: 0.8;
}

.login-form {
    width: 340px;
    margin: 50px auto;
}
.login-form form {
    margin-bottom: 15px;
    background: #f7f7f7;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
}
.login-form h2 {
    margin: 0 0 15px;
    font-weight: bold;
}
.login-form .form-control, .btn {
    min-height: 38px;
    border-radius: 2px;
}
.login-form .btn {        
    font-size: 15px;
    font-weight: bold;
    width: 100%;
}

.comment_reponse{
    overflow: scroll;
}

.modal-fullscreen {
    min-width: 100%;
    margin: 0;
}
.modal-fullscreen .modal-content {
    border-radius: 0;
    height: 100vh;
}

  
  /* Style pour le survol des liens */
  .link-small:hover {
    color: #3b5998 !important; /* Couleur bleue lors du survol */
    text-decoration: none !important; /* Pas de soulignement lors du survol */
  }


  
/* Couleur bleue pour Facebook lors du survol */
.link-face:hover i {
    color: #3b5998 !important; /* Couleur bleue pour Facebook */
  }
  
  /* Couleur rouge pour YouTube lors du survol */
  .link-you:hover i {
    color: #FF0000 !important; /* Couleur rouge pour YouTube */
  }
  

