/*Reset Code*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


.read-more-container .more-text {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.6s ease;
}

.read-more-container.open .more-text {
	max-height: 2000px; /* Assez grand pour contenir tout ton contenu */
}


.read-more-link {
	color: #ffffff;
	text-transform: uppercase;
	font-weight: bold;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	font-size: inherit;
	text-align: left;
	background-color: #045777;
	padding:10px;
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
	border-radius: 10px;
}




.ellipsis {
	display: inline;
}

.read-more-container.open .ellipsis {
	display: none;
}





/*Général*/


strong { font-weight: bold; }

em{
    font-style :italic;
}
html, body {
    background-color: var(--background-color); /* Fond commun */
    font-family: 'Montserrat', sans-serif; /* Police commune */
    margin: 0;
    padding: 0;
	height: 100%;
    
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1; /* Permet au contenu de pousser le footer vers le bas */
	padding-bottom: 3em;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    
    text-align: left;
    /*margin: 0.5em 0;*/
}

h1 a:visited, h1 a:link {
    color: var(--primary-color);
}


main, .main {
    padding: 0;
    background-color: var(--background-color);
    width: 70%;
    margin: auto;
}
.accueil, .header-container-accueil {
    background-color: --background-color;
}


/*****Caractères de base******/
.texte {
    font-size: 1.1em;
    line-height: 1.7em;
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 1em;
    font-smooth: auto;
}
.texte-blanc {
    font-size: 1em;
    line-height: 1.5em;
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 1em;
    font-smooth: auto;
    color: white;
}
.bold-italic {
    font-size: 1em;
    line-height: 1.5em;
    font-family: 'Montserrat', sans-serif;
    padding-top: 1em;
    padding-bottom: 1em;
    font-smooth: auto;
    font-weight: bold;
    font-style: italic;
}
.bold {
    
    font-family: 'Montserrat', sans-serif;
    
    font-smooth: auto;
    font-weight: bold;
}
h1 {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: calc(1.3em + 1vw);
    margin: 0;
    color: --primary-color;
    text-transform: uppercase;
}
h1 a:visited, h1 a:link {
    color: --primary-color;
}
.sous-titre {
    font-family: 'Montserrat', sans-serif;
    color: #910c07;
    font-size: calc(0.7em + 1.2vw);
    margin-top: 0.5em;
    font-weight: 500;
    /*display: inline-block;*/
    text-align: left;
}
h2 {
    font-family: 'Montserrat', sans-serif;
    color: --secondary-color;
    font-size: 2em;
    /*margin-top: 0.5em;*/
    font-weight: 500;
    display: inline-block;
    text-align: left;
    /*text-transform: uppercase;*/
   /* padding-bottom: 1em;*/
    line-height: 1.4em;
}
h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    color: --accent-color;
    padding-top: 20px;
    padding-bottom: 10px;
    font-weight: bolder;
    text-align: left;
}
h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    text-align: left;
    font-weight: 500;
    padding-top: 0.5em;
    padding-bottom: 0.8em;
    align-self: center;
}
h5 {
    /*titre des vignettes dans site hommes*/
    font-weight: bold;
    font-size: larger;
    font-family: 'Montserrat', 'sans serif';
}



/*media queries titres*/

@media only screen and (max-width:950px) {
    h4 {
        font-size: 1.8em;
    }
}




a.lien {
    color: unset;
    text-decoration: underline;
}

a.lien:visited {
    color: unset;
    text-decoration: underline;
}


.accueil, .header-container-accueil {
    width: 70%;
    margin: auto;
    padding-top: 3em;
}
.header-menu-ul {
    width: 70%;
    margin: auto;
    display: flex;
    align-items: center;
}
.header-menu-ul-accueil {
    width: 70%;
    margin: auto;
    display: flex;
    align-items: center;
}
/*Header*/



/**boutons dans l'en-tête des pages **/
header {
    padding: 2em 0 0em 0;
}
.header-container /*modèle pour site hommes - il y a des boîtes dans l'en-tête*/{
    
	display: flex;
    justify-content: space-between; /* Espace entre les éléments */
    align-items: center; /* Alignement vertical */
   width: 70%;
    margin: auto;
    padding-top: 3em;
    
}
/*.titre-principal {
    grid-area: titre;
}*/
.bloc-container-header {
    /*grid-area: boutons;
    justify-self: end;*/
	display: flex; /* Si vous avez plusieurs boutons à aligner */
    gap: 1em; /* Espacement entre les boutons */
}
.btns-header {
    width: 19em;
}
.btn-text {
    padding: 3em 0.5em;
    text-align: center;
}
.btns-header .btn-header {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    height: 4em;
    background-color: #910c07;
    border-radius: .5em;
    margin-bottom: 1em;
    font-size: 1em;
    color: #ffffff;
}
.btn-header {
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-header:hover {
    background-color: #2d8183;
    color: white;
    cursor: pointer;
}
button.ext-link, .ext-link {
    /***A FAIRE ajouter un hoover***/
    background-color: #373e50;
    color: white;
    border-radius: 8px;
    width: 25em;
    padding: 1em;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    text-align: center;
}
button.int-link {
    background-color: #910c07;
    color: white;
    border-radius: 8px;
    width: 25em;
    padding: 1em;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    border: none;
}
button.int-link:hover {
    box-shadow: 1px 1px 5px grey;
    cursor: pointer;
    /* background-color: #2d8183;
*/
}




/**index s'inscrire à la liste de diffusion***/
.bouton-mail {
    background-color: #43819a;
    border: none;
    color: white;
    padding: 10px 23px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    font-family: Montserrat, sans serif;
}
.bouton-mail:hover {
    background-color: #6d6f7c;
    font-weight: 600;
}
/*bouton pour imprimer*/
button.print:hover {
    box-shadow: 1px 1px 5px grey;
    cursor: pointer;
    background-image: url("../images/print.png");
    background-repeat: no-repeat;
    background-color: #373e50;
    background-position: center;
}
button.print, .print {
    margin-top: 1em;
    background-image: url("../images/print.png");
    background-size: 2.5em 2.5em;
    background-repeat: no-repeat;
    background-color: #0d1d2c;
    background-position: center;
    border: none;
    width: 3em;
    height: 3em;
    padding: 0.7em;
    border-radius: 0.5em;
}
/*bouton pour lire*/
button.lire:hover {
    box-shadow: 1px 1px 5px grey;
    cursor: pointer;
    background-size: cover;
    background-color: #373e50;
}
button.lire {
    margin-top: 1em;
    background-image: url("../images/lire.png");
    background-size: cover;
    background-color: #0d1d2c;
    border: none;
    width: 3em;
    height: 3em;
    padding: 1em;
    border-radius: 6%;
}
button.ext-link:hover {
    background-color: #2d8183;
    cursor: pointer;
}
ul {
    list-style-type: disc;
}
ol {
    list-style-type: decimal;
}
li {
    margin-left: 4em;
    line-height: 1.8;
}


/******pages intérieures******/
.page {
    /*display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 7fr;
    padding-top: 0em;
    align-items: center;
    grid-gap: 1em;*/
	display: flex;
    flex-direction: column; /* Empile les rangées verticalement */
    gap: 2em; /* Espacement entre les rangées */
    width: 100%; /* Assure que tout s'étend correctement */
}
/***Rangée 1***/
.titre-page {
    grid-area: 1 / 1 / span 1 / span 2;
    padding: 1em 1em 0em 0em;
}
/***Rangée 2***/
.picto-problematique {
    /*grid-area: 2 / 1 / span 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 7fr;
    grid-template-areas: "picto1 problematique";*/
	display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: flex-start;
    width: 100%; /* S'assure qu'il reste limité à la largeur du parent */
    flex: 0 0 auto; /* Empêche l'extension vers les autres sections */
	margin-top:1em;
}
/*image à côté du paragraphe problématique*/
.picto1 {
    /*grid-area: picto1;
    padding: 0em;
    display: flex;*/
	
	    flex: 0 0 auto; /* Empêche l'image de s'étirer avec le conteneur */
    width: 150px; /* Taille par défaut */
    height: 150px; /* Taille par défaut */
    margin: 0; /* Centre l'image horizontalement */
    display: block; /* Assure que l'image est traitée comme un bloc */
    object-fit: cover; /* Garde une bonne proportion de l'image */
}
.round-comprendre, #round-biais, .round-rencontre, .round-accueillir, .round-etablissement, .round-rapport, .round-communication, .round /** POUR LES PROCHAINS SITE JUST UTILISER ROUND ET ROUND-NOM PHOTO***/{
    width: 9em;
    height: 9em;
    border-radius: 6%;
    border: none;
}

.problematique {
    
    
    font-style: italic;
    
	 flex: 1; /* Colonne extensible */
}


/*media queries pour étaler sur 2 rangées la ligne picto-problématique*/
/*@media only screen and (max-width:750px) {
    .picto-problematique {
        grid-template-columns: 1fr;
        grid-template-areas: "picto1""problematique";
    }
    .problematique {
        margin-top: 1em;
        padding-left: 0em;
    }
}*/

@media only screen and (max-width: 600px) {
	
	/***met picto et prob un par-dessus dl'autre sur téléphone***/
    .picto-problematique {
        display: flex; /* Assure un affichage flexible */
        flex-direction: column; /* Empile les éléments verticalement */
        align-items: center; /* Centre les éléments horizontalement */
        gap: 1em; /* Ajoute un espacement entre les éléments */
    }

    .picto1 {
        width: auto; /* S'adapte à la largeur disponible */
        margin: 0 auto; /* Centre horizontalement */
    }

    .problematique {
        text-align: left; /* Le texte reste aligné à gauche */
        padding: 0 0.5em; /* Ajoute un peu de marge sur les côtés pour aérer */
    }



/****bullet point plus à gauche sur téléphone***/
    ul, ol {
        margin-left: 0.5em; /* Réduit la marge de gauche */
        padding-left: 0.5em; /* Ajuste l'indentation des listes */
    }
    li {
        margin-left: 0.5em; /* Réduit la marge des éléments de liste */
    }

}



/*** Rangée 3 - le texte ***/
.texte-theorique {
    
	padding: 0; 
    line-height: 1.6; /* Espacement entre les lignes */
    width: 100%; /* Assure que la rangée occupe toute la largeur */
}
/***Rangée 4***/
.ligne-outils {
   
	text-align: left; /* Aligne le texte à gauche */
	 width: 100%; /* La rangée prend toute la largeur */
}
/*** Rangée 5 boutons vers les outils ***/
.boutons-outils {
    
	display: flex;
    flex-wrap: wrap; /* Permet d'ajuster sur plusieurs lignes si nécessaire */
    gap: 1em; /* Espacement entre les éléments */
    justify-content: space-between; /* Aligne les éléments avec des espaces */
    width: 100%; /* Assure que le conteneur occupe toute la largeur */
	margin-bottom:3em;
}
.btn-outil {
    
	
    flex: 1 1 auto; /* Permet aux boutons de s'étendre ou de se contracter */
    min-width: 150px; /* Taille minimale pour éviter des boutons trop petits */
    max-width: none; /* Supprime les limites de largeur */
    width: auto; /* Laisse la flexbox gérer la largeur */
}

.texte-bouton-outil {
    color: white;
    font-family: 'Montserrat', 'sans serif';
    font-size: 1em;
    font-weight: bold;
    grid-area: 1 / 2;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    align-self: center;
}
.pictogramme {
    width: 4em;
    height: 4em;
    grid-area: 1 / 1;
	margin-right: 20px;
}


/*****page 1 (biais) outil 1 ****/
.outil-1 {
    /*grid child*/
    /*grid-area: 6 / 1 / span 1 / span 2;
padding: 1em;
margin-bottom: 2em;
*/
    /*grid container*/
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: minmax(50px, 1fr) minmax(50px, 1fr) 20fr;
    grid-gap: 0.6em;
    padding-bottom: 1em;
}
.boite-1 {
    grid-area: 1 / 1 / span 1 / span 1;
    align-self: center;
}
.boite-2 {
    grid-area: 1 / 2 / span 1 / span 1;
    align-self: center;
}
.boite-titre {
    grid-area: 1 / 3 / span 1 / span 1;
    display: flex;
    padding: 0 0 0 0.8em;
}
.boite-titre-juste1 {
    /*Quand le titre se place à côté d'un seul icône - doit se placer en columne 2 avec span 2*/
    grid-area: 1 / 2 / span 1 / span 2;
    display: flex;
    align-items: center;
    align-self: center;
    padding: 0 0 0 1em;
    width: auto;
    margin-left: 0.5em;
}
.contenu-outil {
    grid-area: 2 / 1 / span 1 / span 3;
    display: grid;
    display: -ms-grid;
    grid-template-rows: auto;
    grid-template-columns: 100%;
    -ms-grid-columns: 100%;
    grid-column-gap: 1em;
    margin-bottom: 1em;
    margin-top: 2em;
}
.outil-2 {
    /*grid child*/
    /*grid-area: 7 / 1 / span 1 / span 2;
*/
    padding: 1em;
    margin-bottom: 4em;
    /*grid container*/
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: minmax(50px, 1fr) minmax(50px, 1fr) 20fr;
    grid-gap: 0.6em;
    padding-bottom: 1em;
}
.outil-3 {
    /*grid child*/
    grid-area: 8 / 1 / span 1 / span 2;
    padding: 1em;
    margin-bottom: 4em;
    /*grid container*/
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: minmax(50px, 1fr) minmax(50px, 1fr) 20fr;
    grid-gap: 0.6em;
}
.accordion {
    background-color: #373e50 /*0d1d2c*/ ;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    display: flex;
    align-content: center;
    border-radius: 0.4em;
}
.panel {
    padding: 0px;
    overflow: hidden;
    display: none;
}
.active, .accordion:hover {
    background-color: #0d1d2c;
}
/****outil-iceberg ****/
.contenu-outil-iceberg {
    /* même chose que contenu-outil*/
    grid-area: 3 / 1 / span 1 / span 3;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 100%;
    grid-column-gap: 1em;
}
.boite-iceberg-1 {
    grid-area: 1 / 1 / span 1 / span 1;
}

.boite-iceberg-2 {
    grid-area: 2 / 1 / span 1 / span 1;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.boite-iceberg-3 {
    grid-area: 3 / 1 / span 1 / span 1;
    display: grid;
    display: -ms-grid;
    grid-template-columns: auto;
    -ms-grid-columns: auto;
}


/**page avec l'outil Hernandez et celui du praida - avec une image**/
.contenu-outil-image {
    /* même chose que contenu-outil*/
    grid-area: 3 / 1 / span 1 / span 3;
    display: grid;
    display: -ms-grid;
    grid-template-rows: auto;
    -ms-grid-row: auto;
    grid-template-columns: 30% 40% 20%;
    -ms-grid-columns: 30% 40% 20%;
    grid-column-gap: 1em;
}
.texte-outil-image {
    grid-area: 1 / 1 / span 1 / span 1;
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
}
.image-hernandez-praida {
    grid-area: 1 / 2 / span 1 / span 1;
}
/**** page 2 (comprendre) outil 1 ****/
.outil-2-1 {
    /*grid child*/
    grid-area: 6 / 1 / span 1 / span 2;
    padding: 1em;
    margin-bottom: 4em;
    /*grid container*/
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 8% 8% 84%;
    grid-column-gap: 1em;
}
.individuel-2 {
    grid-area: 1 / 1 / span 1 / span 1;
}
.titre-outil-2 {
    grid-area: 1 / 2 / span 1 / span 2;
    display: flex;
    align-items: center;
    padding: 0 0 0 1em;
}
.ressource {
    grid-area: 1 / 1 / span 1 / span 2;
}
.imprimer {
    grid-area: 4 / 1 / span 1 / span 3;
}
.texte-reflexion {
    grid-area: 1 / 1 / span 1 / span;
}
/*page rapports humains***/
.vignette {
    background: #fff;
    width: 100%;
    padding: 2em;
    width: 70%;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    border-radius: 3px;
    margin-top: 2em;
}
/**page avec l'outil Pôle**/
.contenu-outil-pole {
    /* même chose que contenu-outil*/
    grid-area: 3 / 1 / span 1 / span 3;
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    display: grid;
    display: -ms-grid;
    grid-template-rows: auto;
    -ms-grid-row: auto;
    grid-template-columns: 10% 90%;
    -ms-grid-columns: 10% 90%;
    grid-gap: 1em;
    align-items: center;
}
.texte-pole {
    grid-area: 2 / 1 / span 1 / span 3;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
}
.image-pole1 {
    grid-area: 2 / 1 / span 1 / span 1;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
}
.texte-pole1 {
    grid-area: 2 / 2 / span 1 / span 1;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    font-weight: bold;
}
.image-pole2 {
    grid-area: 3 / 1 / span 1 / span 1;
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
}
.texte-pole2 {
    grid-area: 3 / 2 / span 1 / span 1;
    -ms-grid-row: 3;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    font-weight: bold;
}
/*bouton pour auto-évaluation*/
/*.text-button {
padding : 0.3em 1.2em ;
color: #ffffff;
font-size: 1em;
}
*/
.button {
    text-align: center;
}

/* ici les 8 carrés de la page d'accueil- le contenant et les blocs*/
.bloc-container {
    /*trouver comment faire en sorte les carrés ne réduisent pas trop vite en changeant le format*/
    display: table;
    padding-bottom: 2em;
    margin-top: 0em;
}
.btns {
    float: left;
    width: 19em;
    height: 18em;
    margin-right: 2em;
    margin-bottom: 2em;
}
.btn-text {
    padding: 3.5em 0.5em;
    text-align: center;
}
.btns .btn {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    height: 8em;
    background: #910c07;
    border-radius: 0.5em;
    margin-bottom: 2em;
    font-size: 1em;
    line-height: 1em;
    color: #ffffff;
}
.btn:hover {
    background-color: #2d8183;
    background-image: none;
    cursor: pointer;
}
.note, .note:active, .note:hover, .note:visited, .note:link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    text-align: left;
    width: 70%;
    justify-content: flex-start;
    line-height: 1.7em;
    color: black;
	margin-top: 20px;
	background-color: --background-color;
}
.note-container {
    margin: 0;
    display: flex;
}
.bloc-container .bloc {
    border-radius: 0.5em;
    width: 19em;
    height: 18em;
    float: left;
    margin-right: 2em;
    margin-bottom: 2em;
}
.bloc-container .bloc .titre {
    font-family: 'Montserrat', sans-serif;
    margin-top: 1.3em;
    margin-left: 1.5em;
    font-size: 1.2em;
    line-height: 1.4em;
    color: #ffffff;
    font-smooth: auto;
}

/****Auto-évaluation ****/
/****************FOOTER ********************/
/*footer {
    font-size: 0.8em;
    font-family: 'Montserrat', sans-serif;
    background-color: #0d1d2c;
    margin-left: 0;
    bottom: 0;
    right: 0;
    margin-top: 4em;
}*/
footer {
    font-size: 0.8em;
    font-family: 'Montserrat', sans-serif;
    background-color: #0d1d2c;
    width: 100%;
    margin-top: auto; /* Permet au footer de rester en bas */
    padding: 2em 0;
}


.footer-container {
    padding-left: 7.5%;
    padding-right: 7.5%;
}
/*** Footer - menu ***/
.footer-menu {
    /*grid-area: 1 / 1 / span 1 / span 3;
-ms-grid-row:1;
-ms-grid-column:1;
-ms-grid-span:3;
*/
    margin-left: -3em;
    padding-top: 2em;
}
.footer-menu-ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: grid;
       grid-template-columns: max-content max-content max-content 1fr;
    grid-template-areas: "apropos ressources contact ."
}
.inline1 {
    grid-area: apropos;
    display: flex;
    justify-content: center;
}
.inline2 {
    grid-area: ressources;
}
.inline3 {
    grid-area: contact;
}
.inline_ {
    grid-area: accueil;
}
a.navig, a.navig:visited, a.navig:link, a.navig:hover {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    display: inline;
    font-family: 'Montserrat', sans-serif;
}
.navig {
    text-decoration: none;
    text-transform: uppercase;
    color: white;
}
/*****Footer - ligne de logos ***/
.footer-logo-container {
    padding-top: 2em;
    padding-bottom: 2em;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: max-content max-content 3fr 1fr;
    /*repeat(auto-fill, minmax(auto, 2fr) );
*/
    align-items: center;
    grid-gap: 3em;
    grid-template-areas: "logo1 logo2 logotexte .";
}
.logo1 {
    width: 232px;
    height: 120px;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-span: 1;
    grid-area: logo1;
    display: grid;
    display: -ms-grid;
    align-items: center;
}
.logo2 {
    width: 232px;
    height: 120px;
    grid-area: logo2;
    display: grid;
    display: -ms-grid;
    align-items: center;
}
.logo-texte {
    grid-area: 2 / 3 / span 1 / span 2;
    -ms-grid-row: 2;
    -ms-grid-column: 3;
    -ms-grid-span: 1;
    grid-area: logotexte;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    color: white;
}
/**media queries footer******/
@media only screen and (max-width:991px) {
    .footer-menu-ul {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas: "apropos ressources contact ."
    }
}
@media only screen and (max-width:600px) {
    .footer-menu-ul {
        /*menu footer moyen */
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: "apropos ressources""contact ."
    }
}
@media only screen and (max-width:550px) {
    /*menu footer petit*/
    .footer-menu-ul {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: "apropos""ressources""contact"
    }
}
@media only screen and (max-width:991px) {
    /* menu des logos*/
    .footer-logo-container {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: "logo1 logo2 .""logotexte logotexte .";
    }
}
@media only screen and (max-width:650px) {
    .footer-logo-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: "logo1""logo2""logotexte";
    }
}
/***radio button***/
*, *::before, *::after {
    box-sizing: border-box;
}
form {
    background: #fff;
    width: 100%;
    padding: 3em;
    min-width: 5em;
    max-width: 50em;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    border-radius: 3px;
}
group + group {
    margin-top: 20px;
}
.inline-radio {
    display: flex;
    /*align-items: center;
justify-content: center; */
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #b6b6b6;
    margin-bottom: 1em;
}
input {
    width: 100%;
    height: 3em;
    opacity: 0;
}
.bouton-radio {
    position: relative;
    flex: 1;
}
label {
    position: absolute;
    top: 0;
    left: 0;
    color: #b6b6b6;
    width: 100%;
    height: 120%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    border-right: 1px solid #b6b6b6;
}
div:last-child label {
    border-right: 0;
}
input:checked + label {
    background: #2d8183;
    font-weight: 500;
    color: #fff;
}
/***Formulaires***/
.texte-reponse {
    font-size: 1em;
    line-height: 1.5em;
    font-family: 'Montserrat', sans-serif;
    padding-top: 1em;
    padding-bottom: 1em;
    font-smooth: auto;
    font-style: italic;
}
.button-int-link-rep {
    margin-top: 1em;
}
.button-int-link-rep a {
    background-color: #2d8183;
    color: white;
    border-radius: 8px;
    width: auto;
    padding: 1em;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    cursor: pointer;
    border: none;
}
.button-int-link-rep:hover a {
    box-shadow: 1px 1px 5px grey;
    cursor: pointer;
    /* background-color: #2d8183;
*/
}
/****menu footer - seulement sur pages ressources contact etc.****/
.page-menu-footer {
    display: grid;
    display: -ms-grid;
    grid-template-rows: auto;
    -ms-grid-row: auto;
    grid-template-columns: auto;
    -ms-grid-columns: 1fr;
    padding-top: 1em;
    /*padding-right: 3em;
*/
    align-items: center;
    margin-top: 2em;
    margin-bottom: 10em;
}
.titre-page-footer {
    grid-area: 1 / 1;
    -ms-grid-row: auto;
    -ms-grid-columns: 1;
}
.contenu-page-menu-footer {
    grid-area: 2 / 1;
    -ms-grid-row: 2;
}
.references {
    list-style-type: none;
    padding-bottom: 1em;
    margin-left: 0;
    padding-left: 0;
}
/******CSS pour page sans les grids ***/
.maProblematique {
    padding-left: 1em;
    font-style: italic;
    margin-top: 0;
}
/*index copie*/
bloc-container-copie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.btns-copie {
    display: block;
    width: 100%;
    width: 100%;
}

/***page de ressources hommes immigrants et jed***/
.boite-ressources {
    border-bottom: 1px solid #43819a;
    padding-bottom: 10px;
    padding-top: 10px;
}
.boite-ressources:hover {
    border-bottom: 3px solid #43819a;
    padding-bottom: 10px;
    padding-top: 10px;
    font-weight: 600;
    color: #43819a;
}
.boite-ressources a:link, .boite-ressources a:visited {
    color: black;
}
.boite-ressources:hover a {
    color: #43819a;

}


a.ressources{
    text-decoration: none;

}








/*****impression*****/
.impression {
    display: none !important;
}
/****retour au haut***/
#haut {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #910c07;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}
#haut:hover {
    background-color: #555;
}
.header-header {
    background-color: #0d1d2c;
    height: 3.4em;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    z-index: 10000;
    /*align-content: center;
*/
}
ul.header-menu-ul, ul.header-menu-ul-accueil {
    /*width: 100%;
*/
    display: grid;
    grid-template-columns: repeat(4, auto) 1fr;
    grid-template-areas: "menu accueil apropos ressources contact .";
    list-style-type: none;
    /*align-items:center;
*/
}





.inline-menu {
    grid-area: menu;
    margin-left: 0;
}
.menu {
    width: 2em;
    height: 2em;
}
/***dropdown menu***/
.dropbtn {
    background-image: url("../images/menu.png");
    width: 2em;
    height: 2em;
    border: none;
}
.dropdown {
    position: relative;
    display: inline-block;
    /*display:flex;
align-items: center;*/
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0d1d2c;
    color: white;
    min-width: 400px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    overflow: auto;
}
.dropdown-content a:hover {
    background-color: white;
    color: black;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .dropbtn {
    background-color: #910c07;
}

a.phone {
    display: none;
}




/***pour les bases de données****/

/******fiches********/


.container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content:flex-start;
	
	
        }
       



.fiche {
    background-color: white;
	border: 1px solid #ccc;
    padding: 15px;
    margin: 10px;
    width: 400px;
    
    transition: transform 0.2s;
	border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	min-height: 300px;
	
	
	
	
}
.fiche-detail {
    background-color: white;
	border: 1px solid #ccc;
    padding: 15px;
    margin: 10px;
    width: 100%;
    text-align: center;
    transition: transform 0.2s;
	border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	text-align: left;
	
}





        .fiche h2, .fiche-detail h2 {
            margin: 0 0 10px;
            font-size: 18px;
            color: #333;
		   font-family: font-family: Montserrat, sans-serif;
        }
        .fiche p, .fiche-detail p {
            margin: 5px 0;
            font-size: 14px;
            color: #555;
			line-height: 1.5em;
        }

.fiche li, .fiche-detail li {
            
            font-size: 14px;
            color: #555;
        }
        .lien-bd {
            font-size: 12px;
            color: #888;
            
        }

.fiche-detail img {
    max-width:  500px; /* Adapte la largeur à la fiche */
    height: auto; /* Garde les proportions de l’image */
    max-height: 150px; /* Ajuste la hauteur max pour éviter qu’elle ne soit trop grande */
    object-fit: cover; /* Coupe l’image si nécessaire pour bien remplir l’espace */
    border-radius: 5px;
    margin-bottom: 10px;
}

.fiche img {
    max-width:100%; /* Adapte la largeur à la fiche */
	max-height:250px;
    
}

h2.block  {
    display:block;
}

.fiche-link {
    text-decoration: none;
    color: inherit;
}



.fiche:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .fiche-detail img {
        max-width: 90%; /* Laisse une marge de 5% de chaque côté */
        max-height: 120px; /* Réduit la hauteur max pour éviter qu’elle soit trop imposante */
    }
}


/**Ressources****/
.ressources-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0px 20px 0px;
    width:100%;
    margin: auto;
}

.ressource-bd {
    background: #f9f9f9; /* Couleur de fond légère */
    border-left: 5px solid #045777; /* Bande colorée sur le côté */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
	position: relative; /* Permet de positionner la catégorie en haut à droite */
	
}

.ressource-bd > p {
    
	line-height: 1.6em;
}




.ressource-bd p.bold {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.ressource-bd a, .ressource a:visited {
    color: #045777;
    text-decoration: none;
    font-weight: bold;
}

.ressource-bd a:hover {
    text-decoration: underline;
}


.pub-container {
    background-color: #ffffff;
	
    padding: 15px;
    
        
    transition: transform 0.2s;
	border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.categorie {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #004577; /* Couleur de fond */
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
}

.titre-ress {
    width:80%;

}




/***page suivante dans liste***/

.pagination {
    text-align: center;
    margin-top: 20px;
	margin-bottom:20px;
    font-size: 1.2em;
    font-weight: bold;
}

.pagination span {
    margin: 0 10px;
    color: #555;
}

.pagination a {
    text-decoration: none;
    color: white;
    background-color: #004577;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #43819a;
}

.pagination .prev {
    margin-right: 10px;
}

.pagination .next {
    margin-left: 10px;
}



/* Ajustement pour les petits écrans */
@media screen and (max-width: 900px) {
    .categorie {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-bottom: 10px; /* Ajoute un espace sous la catégorie */
    }
    
    .ressource-bd {
        padding-top: 15px; /* Réduit légèrement le padding en haut */
        text-align: left; /* Aligne tout à gauche pour la lisibilité */
    }
}

@media (max-width: 1380px) {
   .titre-ress {
    width:60%;

}
}


/*css de la page toutes les ressources*/
.filtre-container {
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 10px; /* Espace entre le label et le sélecteur */
    margin-bottom: 20px;
}

.filtre-container label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.filtre-form {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
	box-shadow: none;
}

.filtre-form select {
    padding: 8px 12px;
    font-size: 16px;
    border: 2px solid #004577;
    border-radius: 5px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filtre-form select:hover,
.filtre-form select:focus {
    border-color: #004577;
    outline: none;
}







@media only screen and (max-width:876px) {
    a.phone {
        display: block;
    }
    .desktop {
        display: none;
    }
}



/*<!--Boutons-->*/
a.bouton-deco {
    color: white;
    background: #43819a;
    padding: 8px 10px 8px 10px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: smaller;
}



/*****************MEDIA QUERIES*****************************/
/**********************HEADER*******************************/
@media only screen and (max-width:1430px) {
    .main, main, .header-container, .header-container-accueil, .accueil, .header-menu-ul, .header-menu-ul-accueil {
        width: 55%;
    }
}
@media only screen and (max-width:1280px) {
    .accueil, .header-container-accueil {
        width: 90%;
    }
    @media only screen and (max-width:1130px) {
        h1 {
            font-size: 2.2em;
            ;
        }
    }
    @media only screen and (max-width:991px) {
        .header-container {
           /* grid-template-columns: 1fr;
            grid-template-rows: 1fr 1fr;
            grid-template-areas: "titre""boutons"*/
			flex-direction: column; /* Les éléments passent en colonne */
        align-items: flex-start; /* Alignement à gauche */
        }
        .btns-header {
            display: flex;
            flex-direction: row;
            margin-top: 1em;
            width: auto;
        }
        h1 {
            font-size: 2.9em;
            max-width: 25ch;
        }
        .btns-header > a {
            margin-right: 14px;
        }
        .bloc-container-header {
			display: flex;
    gap: 1em; /* Espacement entre les boutons */
    justify-content: flex-end; /* Par défaut, les boutons restent alignés à droite */
			
           /* grid-area: boutons;
            

            justify-self: end;
            margin-top: .5em;
            width: 100%;*/
        }
        .main, .header-container, .accueil, .header-container-accueil, .header-menu-ul, .header-menu-ul-accueil {
            width: 90%;
        }
    }
    @media only screen and (max-width:850px) {
        .main, .header-container, .header-container-accueil, .header-menu-ul, .header-menu-ul-accueil {
            width: 95%;
        }
    }
    @media only screen and (max-width:650px) {
        .btns-header {
            display: flex;
            flex-direction: column;
            margin-top: 1em;
        }
        .bloc-container-header {
            margin-top: 0;
            justify-self: end;
        }
        .header-container {
            grid-template-rows: auto;
        }
        .imprimer {
            justify-content: center;
        }
        h1 {
            font-size: 2.5em;
            max-width: 25ch;
        }
    }
    .qr_1 {
        padding-bottom: 1em;
    }
}





/* Sur les petits écrans */
@media (max-width: 600px) {
    .bloc-container-header {
        flex-direction: column; /* Empile les boutons verticalement */
        align-items: stretch; /* Étend les boutons horizontalement */
        width: 100%; /* Assure que le conteneur prend toute la largeur */
        margin-top: 1em; /* Ajoute un espace au-dessus, si nécessaire */
    }

    .bloc-container-header .btn-header {
        width: 100%; /* Les boutons s'étendent sur toute la largeur du conteneur */
        text-align: center; /* Centre le texte dans chaque bouton */
    }
}



/*   Cookies  ***/
#cookieConsentBanner {
    display: none; /* Par défaut, masquez la bannière */
    position: fixed; /* Fixer la position pour qu'elle reste en haut */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f1f1f1;
    padding: 15px;
    text-align: center;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Assurez-vous que la bannière est au-dessus de tout le reste */
    font-family: Montserrat, sans-serif;
    border-radius: 10px;
    line-height: 1.5em;
}
/* Style pour les boutons de la bannière cookies */
#cookieConsentBanner button {
    margin: 0 10px;
    padding: 8px 15px;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    border-radius: 4px;
    font-weight: 500;
}
#cookieConsentBanner a:link, #cookieConsentBanner a:visited, #cookieConsentBanner a:hover {
    color: #373e50;
    text-decoration: underline;
}