@charset "iso-8859-1";
/* CSS Document */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

body, html{
    background-color: #F5F2EC;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#accueil_rond{
	position: relative;
	margin-left: auto;
	margin-right: auto;
	margin-top: -65px;
	width: 215px;
	height: 215px;
	max-width: 60%;
	background-image: url("../images/special/rond_vert.svg");
	-webkit-background-size:contain;
	-moz-background-size:contain;
	-ms-background-size:contain;
	-o-background-size:contain;
	background-size:contain;
	background-position:center;
	background-repeat:no-repeat;
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.accueil_hero img{
	position: relative;
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.accueil_hero .paragraphe{
	max-width: 360px;
}

@media(max-width:800px){
	.accueil_hero{
		text-align: center;
		margin-bottom: 50px;
	}
	.accueil_hero img{
		margin-bottom: 75px;
		max-width: 250px;
	}
	
	.accueil_hero .paragraphe{
		max-width: 360px;
		margin-left: auto;
		margin-right: auto;
	}
}


@media(max-width:600px){
	.accueil_hero img{
		width: 60%;
		max-width: 250px;
	}
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.accueil_bloc{
	position: relative;
	width: 100%;
	max-width: 700px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.accueil_bloc.variante2{
	max-width: 500px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.banniere{
	padding: 75px 0px;
	color: #FFF;
}

.banniere.top{
	padding-bottom: 0px;
}

.banniere.bottom{
	padding-top: 0px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.bloc_texte{
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px;/*pour que les accents soient toujours visibles*/
}

.bloc_texte.small{
    max-width: 650px;
}

.bloc_texte .left{
    position: relative;
    float: left;
    width: 58%;
    overflow: visible;
}

.bloc_texte .right{
    position: relative;
    float: right;
    width: 35%;
    overflow: visible;
}

@media(max-width:1200px){
    .bloc_texte .left{
        width: 50%;
        max-width: 520px;
    }

    .bloc_texte .right{
        width: 45%;
    }
}

@media(max-width:800px){
    .bloc_texte .left,.bloc_texte .right{
        width: 100%;
        max-width: 100%;
        float: none;
    }
}

.bloc_texte a{
    text-decoration: none;
	
	-webkit-transition: opacity 0.4s;
	-moz-transition: opacity 0.4s;
	-ms-transition: opacity 0.4s;
	-o-transition: opacity 0.4s;
	transition: opacity 0.4s;
}

.bloc_texte a:not(.bouton):hover{
    color: inherit;
    opacity: 0.5;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.grille_dynamique{
    /*
    Source : https://css-tricks.com/an-auto-filling-css-grid-with-max-columns/
    
    Exemple de paramètres :
    --grid-layout-gap: 50px;
    --grid-column-count: 3;
    --grid-item--min-width: 280px;
    grid-row-gap: 75px;
    
    Exemple d'utilisation :
    les colonnes mesurent 280px au minimum et 400px au maximum / il y a 3 colonnes max /
    la marge entre les colonnes est de 50px / la marge entre les lignes est de 75px /
    lorsque l'écran atteint 350px de large, on met les cellules à 100%
    
    .grille_dynamique.projets{
        --grid-layout-gap: 50px;
        --grid-column-count: 3;
        --grid-item--min-width: 280px;
        grid-row-gap: 75px;
    }

    .grille_dynamique.projets>.cellule{
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    @media(max-width:350px){
        .grille_dynamique.projets{
            --grid-item--min-width: 100%;
        }
    }
    */

    /*Calculs :*/
    --gap-count: calc(var(--grid-column-count) - 1);
    --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
    --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
    grid-gap: var(--grid-layout-gap);
    
    
    position: relative;
    width: 100%;
    overflow: hidden;
}

.grille_dynamique>.cellule{
    position: relative;
    overflow: hidden;
}

/* - - - - - - - - - - - - - - - */

.grille_dynamique.valeurs{
    --grid-layout-gap: 50px;
    --grid-column-count: 3;
    --grid-item--min-width: 150px;
    grid-row-gap: 75px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.grille_dynamique.valeurs>.cellule{
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
}

@media(max-width:720px){
    .grille_dynamique.valeurs{
        --grid-item--min-width: 100%;
    }
}

/* - - - - - - - - - - - - - - - */

.grille_dynamique.compte_a_rebours{
    --grid-layout-gap: 0px;
    --grid-column-count: 4;
    --grid-item--min-width: 120px;
    grid-row-gap: 50px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.grille_dynamique.compte_a_rebours>.cellule{
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
}

@media(max-width:600px){
	.grille_dynamique.compte_a_rebours{
		--grid-column-count: 2;
		max-width: 400px;
	    --grid-item--min-width: 110px;
	}
}


.compte_a_rebours .nombre{
	width: 85px;
	height: 85px;
	line-height: 83px;
	background-image: url("../images//rond.svg");
	-webkit-background-size:contain;
	-moz-background-size:contain;
	-ms-background-size:contain;
	-o-background-size:contain;
	background-size:contain;
	background-position:center;
	background-repeat:no-repeat;
	
	color: #1A4242;
	font-size: 35px;
	font-weight: bold;
	text-align: center;
	
	margin-bottom: 20px;
}

@media(max-width:800px){
	.compte_a_rebours .nombre{
		width: 65px;
		height: 65px;
		line-height: 64px;
		font-size: 25px;
		margin-bottom: 15px;
	}
}



/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

a.underline{
    text-decoration: underline;
}

a.underline:hover{
    text-decoration: none;
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */



/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */



/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */



/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */



/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

