/* CSS de la page d'affichage des contenus produits */


/* Partie Navigation header haut */
.nav-left {
    display: flex;
    align-items: center;
}
.nav-right {
    display: flex;
    align-items: center;
}
.nav-icon-text {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.nav-icon-text i {
    margin-right: 5px;
}
.nav-right a {
    color: gray;
    text-decoration: none;
}
.nav-right a:hover,
.nav-right a:active {
    color: black;
}

.nav-icon-text-cat {
background-color: #0E8049;
padding: 10px; 
border-radius: 5px;
display: flex;
align-items: center;
}

.right_nav {
    color: black;
    font-size:22px;
    margin-right:20px;
    margin-left:20px;
}

.sous_nav {
    color: black;
    font-size:20px;
    margin-right:5px;
}


/* Design Menu partager */
.contact-item {
    padding: 5px 0;
}
.form-check-input-custom {
    width: 25px !important;
    height: 25px !important;
}
.largeur_menu_partage {
    width: 450px !important;
}


/* Design boite commentaire */
.largeur_menu_commentaire {
width: 350px !important;
}


/* Design page de l'article */
        /* Styles pour le menu contextuel */
        .custom-context-menu {
            display: none;
            position: absolute;
            z-index: 1000;
            width: 200px;
            background-color: #fff;
            border: 1px solid #ccc; /* Bord gris léger */
            border-radius: 8px; /* Coins arrondis */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        .custom-context-menu a {
            display: block;
            padding: 10px;
            color: #333;
            text-decoration: none;
            border-radius: 8px; /* Coins arrondis pour les liens */
        }
        .custom-context-menu a:hover {
            background-color: #f8f9fa;
        }

        .custom-context-menu label {
            font-size: 14px; /* Corps 10px */
            color: #aaa; /* Gris léger */
            padding-bottom: 8px; /* Padding bottom de 5px */
            padding-top: 10px
        }
        
         .profile-img {
            width: 60px;
            height: 60px;
            border-radius: 10px !important;
        }
        .cta-btn {
            margin-left: auto;
        }
        .header-row {
            align-items: center;
        }
        .text-black {
            color: black;
            font-size: 16px;
            font-weight: 500;
        }
        .text-gray {
            color: gray;
            font-size: 12px;
            font-weight: 400;
            margin-bottom : 10px;
        }
    
        .textarea-title {
            font-size: 1.8rem !important; /* Taille similaire à un H2 */
            font-weight: bold !important; ; /* Gras */
            line-height: 1.2; /* Hauteur de ligne */
            background-color: white !important;
            border: 1px solid #ccc !important;
        }


        /* Utilisé poru le style des commentaires */
        .textarea-content-commentaire{
            font-size: 1 rem !important; /* Taille similaire à un H2 */
         /*   font-weight: bold !important; ; /* Gras */
            line-height: 1.2; /* Hauteur de ligne */
            background-color: white !important;
            border: 1px solid #ccc !important;
        }

        .profile-img-comment {
            width: 40px;
            height: 40px;
            border-radius: 10px !important;
        }


        /* Dans la partie affichage des commentaire de la page d'une production */
        .icon-trash {
            cursor: pointer; /* Pour montrer que l'icône est cliquable */
        }



        /* separateur dans les menu clic droit */
        .separator {
            border-top: 1px solid #ccc;
            margin-top: 10px; /* Adjust the margin as needed */
            margin-bottom: 10px; /* Adjust the margin as needed */
        }


        /* Styles spécifiques à l'impression */
        
        @media print {
            /* Ne pas imprimer certains éléments */
            .no-print {
                display: none !important;
            }

            /* Ajuster les marges pour l'impression 
            .body-print {
                padding:0px !important;
            }
*/
            /* Autres ajustements pour l'impression */
            .print-only {
                display: block;
            }

            .screen-only {
                display: none;
            }
        }


        /* Loader utilisé lors de la production de contenu dans une page content */
        .loader-container {
            display: flex;
            align-items: center;
            background-color: #86D71F;
            padding: 10px;
            border-radius: 5px;
            color : white;
        }


   



        /* CSS du popup veulliez paptienter pour la traduction */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .loading-message {
            background: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        
        .loading-message p {
            margin: 0;
            font-size: 18px;
            color: #333;
        }


        /* Style par défaut pour les éléments de liste */
        .menu_prod {
            transition: background-color 0.3s ease;
        }

        /* Style de survol pour les éléments de liste */
        .menu_prod:hover {
            background-color: #f0f0f0; /* Gris léger */
            cursor: pointer;
        }




        /* A verifier ce CSS */

        /* CSS de la page de resultat de la producition de contenu */

    .profile-img_content {
        width: 60px; /* Taille de l\'image (ajustez selon vos besoins) */
        height: 60px !important; /* Taille de l\'image (ajustez selon vos besoins) */
        object-fit: cover; /* Assure que l\'image reste carrée sans être déformée */
        border-radius: 20% !important; /* Optionnel : pour que l\'image soit ronde */
    }


    /***********************/
    /* Div principal qui inclus le titre la meta et le contenu */
    .conteneur_content {
        margin-top: 10px;
        border: 1px solid #d3d3d3;
        border-radius: 10px;
        padding: 30px;
        transition: box-shadow 0.3s ease-in-out;
    }
    
    /* Effet au survol (rollover) */
    .conteneur_content:hover {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
    }

    /***********************/


    /* TAB*/
    .tab_content{
        font-size: 14px;
        color: gray !important; /* Couleur des onglets inactifs */
        font-weight: 300;
        padding: 10px;
        border: 1px solide white !important;
        border-radius: 10px;
    }

    .tab_content.active {
        color: black !important; /* Couleur des onglets actifs */
        font-weight: 600 !important;
        padding: 10px;
        border: 1px solid #d3d3d3;
        border-radius: 10px;
    }
    

    /*
    .tab_content{
        font-size: 12px;
    }


    .nav-tabs .nav-link {
        color: gray; 
        font-weight: 300;
    }
    
    .nav-tabs .nav-link.active {
        color: black; 
        font-weight: 500;
    }
    */


    /* Titre du contenu */
    #title_content {
        border: none !important;
        box-shadow: none !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }
    
    /* Formatage de l'editeur Quill*/
    #title_content .ql-editor {
        min-height: 150px !important;
        max-height: 150px !important;
        overflow-y: auto;
        display: flex;
        align-items: center; /* Centre verticalement le texte */
    }
    



    /* Design META */
    #meta_content {
        border: none !important;
        box-shadow: none !important;
        min-height: 100px !important;
        max-height: 100px !important;
        background-color: #f9f9f9;
    }
    

    /* Formatage de l'editeur Quill META*/
    #meta_content .ql-editor {
        min-height: 100px !important;
        max-height: 100px !important;
        overflow-y: auto;
        display: flex;
        align-items: center; /* Centre verticalement le texte */
        font-size: 14px;
    }


     /* Design IMAGE */
     .design_image {
        width: 100%;
      /*  height: 400px !important;*/
        object-fit: cover;
        border-radius: 10px !important;
        margin-bottom: 15px;
    }

    /*
    .textarea-seo {
        font-size:20px;
        font-weight: 700;
        }


    .meta_content{
        background-color: #f9f9f9;
        padding: 15px;
        margin-bottom: 20px;
        }

    .content_meta{
        font-size: 10px;
        font-weight: 400;
        font-size: 15px;
        background-color: #F9F9FC !important;
        padding: 10px;
    }
*/

    .content_page{
            margin-right: 8%;
            margin-left: 8%;
            margin-top: 3%;
    }

    .interne_page{
            padding : 5%;
            border-radius:10px;
    }


    .bloc_ressource{
        margin-top: 3%;
        background:white !important;
        padding:40px;
    }

    @media (max-width: 767px) 
    {
        .content_page {
            margin-right: 0px;
            margin-left: 0px;
        }

        .interne_page {
            margin-top : 0px;
        }

        .title_content{
            font-size:24px;
            font-weight: 700;
            line-height: 1.5;
        }

        .textarea-seo {
            font-size:14px;
            font-weight: 700;
        }
        .custom-popover {
            max-width: 400px; /* Largeur maximale du popover */
            width: 400px; /* Largeur fixe si nécessaire */
        }
            .bloc_ressource{
            margin-right: 0px;
            margin-left: 0px;
            margin-top: 20px;
            background:white !important;
            padding:20px;
        }
    }



    /* Design du select d'etat*/
    .custom-select {
        background-color: var(--p3_violet_middle); /* Couleur de fond */
        color: white; /* Couleur du texte */
        border: none; /* Supprimer la bordure */
        border-radius: 20px; /* Arrondi des bords */
        padding: 5px 15px; /* Espacement intérieur */
        font-weight: bold; /* Texte en gras */
        text-align: center;
        cursor: pointer;
    }
    
    /* Modifier l'apparence au focus */
    .custom-select:focus {
        outline: none;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
    


    .title_resource{
        font-size: 14px;
    }