body{
    max-width:65ch;
    margin:auto;
    padding-left: 3rem;
    font-weight: 400;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    line-height: 1.6;
    background-color: #FAF9F6;

}

h1{
    margin-top:0px;
    margin-bottom:0px;
}

h2{
    Color:#d47559;
    font-weight: 900;
}

h3{
    font-family: sans-serif;
}


h1 img{
    margin:auto;
    width:100%;
    margin-top:0px;
    min-height: 3em;
}

main{
    min-height:90vh;
}

nav{    
    display:flex;
    font-size: 1.2em;
    justify-content: space-around;
}
nav{
    padding:0.5em;
}

nav.dates{
    font-size: 1em;

}

.programme{
    display:flex;
    flex-wrap: wrap;
    gap:1em;
    width:100%;
}


.card{
    justify-self: center;
    border: 3px solid #d47559;
    border-radius: 12px;
    width:100%; 
    text-align: center;
}

/*** GRAND ÉCRANS ***/
@media all and (min-width: 981px)  {
    .programme{
	/*display:grid;
	/*grid-template-columns: repeat(auto-fill, 35em); 
	/* width: 95vw;  */
	/* position: relative;  */
	/* left: calc(-47.5vw + 47.5%);  */
	/* justify-content: center; */
	/* align-items: stretch; */
	gap:0px;
	display: block;
    }
    .wrapper
    {
	width: 95vw; 
	position: relative; 
	left: calc(-47.5vw + 47.5%); 
	padding: 1em;
    }
    .card{
	display:grid;
	grid-template-columns: auto 30% 30%;
	padding:0px;
	width:100%;
	border-radius: 0px;
	border:none;
	border-bottom: 1px solid #d47559;
    }
    .card:first-of-type{
	border-top: 1px solid #d47559;

    }
    .card h4{
	margin:0px}
    .card .metadata{
	display:grid;
	margin-bottom: 0px;
	grid-template-columns: 30% 30% 30%; 
    }

    #tutorat .card{
	grid-template-columns: 30% 70%;

    }

}


select#selector_jour
{ width:100%;
  font-size:1.1em;
}


/*** PETITS ÉCRANS ***/
@media all and (max-width: 980px)  {
    #gridmode, #gridmode + label{display:none}

    body {
	max-width: none;
	width: 95%;
	margin: 0px;
	padding: 10px;
    }
    main{
	width:100%;
	margin: auto;
    }
    nav{
	font-size:1.5em;}
    .programme{
	display:flex;
	width:100%;}
    .card{
	font-size:1.5em;
    }
}



.card h4{
    margin-bottom:0px;
}

.pastille{
    display:inline
}

/* .pastille.heure:before{ */
/*     content:"" */
/* }  */

/* .pastille{ */
/*     background-color:#d47559; */
/*     padding:0.3em; */
/*     color:white; */
/*     border-radius: 10px; */
/* } */

/* .metadata a, .metadata a:visited{ */
/*     color:white */
/* } */

.intervenants {
    margin-top:0.5em;
}

.intervenants span {
    font-variant: small-caps;
}

.wrapper{
    padding:0px;
    margin:0px;
    margin-bottom:1em;}

.wrapper h3
{
    color:#d47559;
    text-align: center;
    font-size:1.5em;
}

    
 .metadata{ 
     display:flex; 
     justify-content: center;
     gap:1em;
     background-color:#f0d0c6;
     margin-bottom: 1em;
 } 

/* .metadata div{ */
/*     text-align: center; */
/* } */



#programme div h3{
    font-size: 1.4em;
}

a {
    color:#a84c2b
}
a:visited {
    color:#0e2aa7
}

.map{
    width:80%;
    margin:auto;
    aspect-ratio: 1 / 1;
}

#accroche{
    font-size:1.5em;}



a.bouton, a.actif:hover{
    background-color:#d47559;
    color:white;
    padding:0.5em;
    margin:0.1em;
    border: 1px solid #d47559;
 
    text-decoration: none;
    border-radius: 25px;
}

a.bouton:hover, a.actif{
    background-color:#FAF9F6;
    color:#d47559 ;
    border: 1px solid #d47559;
    padding:0.5em;
    margin:0.1em;
    text-decoration: underline;
    border-radius: 25px;
}

footer{  
    width:100%;
    text-align: center;
    font-size:0.8rem;
    color: #333;
}

footer img{
width:100%}

h1{
    line-height: 1.1;
    font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
    font-weight: 700;
}

h2{
    font-weight: 700;
    line-height: 1.25;
}

h3{
    font-weight:600;
    line-height: 1.3
}

h4, h5, h6{
    font-weight: 600;
}



.description{
    color: #555;
    font-style: italic;
}

.programme_filtrable input, .programme_filtrable label {display:inline-block} 

details, summary
{font-size:1em;}
