/* élémenets principaux de la page*/

* {
  box-sizing: border-box;
}
body
{
margin: 0;
font-family: 'Times New Roman', serif;
background-color: white;
}

header
{ 
margin: 10px 6.25vw 20px;
}

header a, header p
{
	text-align: right;
	font-style: italic;
	text-decoration: none;
}
header a:hover
{
	text-decoration: underline;
}

img{
	max-width: 100%;
}

/*texte*/
	
h1
{
	font-weight: normal;
	font-style: italic;
	font-size: 3em;
	line-height: 1em;
	padding-bottom: 20px;
	margin: 0;
}
h2
{
	font-size: 1.3em;
}

.infos{
	margin-top: 1.5em;

}
.infos p{
margin: 0;
padding: 0;
font-size: small;
}
#edition h1{
	padding-bottom: 0;
	font-size: 1.5em;
}

#edition h2{
	padding-bottom: 0;
	font-size: 1em;
}
.boulot::before{
	content: "\2605\00a0";
}


.titre{
	font-style: normal;
	padding-bottom: 0;
}

main p
{
	text-align: left;
	line-height: 1.3em;
}

a
{	
	color:black;
}

a:hover
{	
	text-decoration: none;
}
.bleu, .bleu a
{
	color: RoyalBlue;
}
.rouge, .rouge a
{
	color: indianred;
}
.vert, .vert a
{
	color: green;
}
#sommaire-edition cite {
	font-size: 1.3em;
}

address {
	margin-bottom: 2em;
}
.date {
	color: indianred;
}
.datepasse {
	color: lightcoral;
}


/*navigation gauche*/
nav{
	width: 18.75vw;
	position: fixed;
}

nav li
{
	margin-right: 15px;
	text-decoration: none;
	margin: 3px;
}
nav ul
{
	list-style-type: none;
	margin: 0px;
	padding: 5px;
}
nav a
{
	color:black;
	padding:5px 0 5px 0;
	line-height: 1.3em;
}
nav a:hover
{
	color: black;
}
.menu
{
	position: fixed;
	right: 0px;
	top:40px;
	background-color: white;
	border: 1px solid black;
	padding: 9px;
}

.lienb a:hover
{
	background-color: RoyalBlue;
}
.lienr a:hover{
	background-color: indianred;
}
.lienv a:hover{
	background-color: green;
}
}
.lien-souligne a{
	text-decoration: underline;
}


#fermer
{
	position: fixed;
	right: 0px;
	top:40px;
	background-color: white;
	padding: 5px;
}

#fermer p{
	width: 50px;
	font-size: 2em;
	text-align: center;
	margin: 0;
}


/*conteneurs*/
#bloc-page 
{
	width: 87.5vw;
	margin: auto;
	background-color: white;
}

#conteneur{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;	
}

main{
min-height: 80vh;
width: 62.25vw;
margin-left:18.75vw;
padding: 0;
}

.encadre 
{
	display: block;
	padding: 5px;
	border: 1px solid indianred;
}

/*rubriques du site*/

#illu, #illu a{
	color: RoyalBlue;
}

#illu h1
{
	font-size: 1.3em;
	padding-bottom: 0px;
	color: RoyalBlue;	
}

#illu figure{
	margin: 10px 0 0 0;
}

#illu img
{
	margin-top: 10px;
	max-width: 100%;
	height : auto ;
}

#graphisme h1
{
	font-size: 1.3em;
	padding-bottom: 0px;

}

#graphisme figure
{
	margin: 20px 40px 20px 0;
	flex-grow: 1;
}

/*galeries d'images*/

#edition {
	display:flex;
	flex-direction: row;
	margin-bottom: 10px;
	border-bottom: 0;
	justify-content: space-between;

}
#edition figure{
	max-width: 28.12vw;
	flex-shrink: 1;
	flex-grow: 1;
	margin: 0;
}

.description{
	display: block;
	width: 28.12vw;
	padding-bottom: 1em;
}

.extraits-pages {
display:flex;
flex-direction: column;
padding: 0;
margin-top: 2em;
}

.extraits-pages li {
	display: block;
	list-style: none;
  padding: 10px 0;
  flex-grow: 1;
}


.gallery {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.gallery figure {
	margin: 0;
}


/*style d'images */
.ombre{
	border: solid 1px rgba(0,0,0,0.1);
	box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/*style de boites */
.largeurcolonne{
	width: 18.75vw;
}

#sommaire
{
 max-width: 650px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#sommaire figure
{
 width:200px;
 margin:5px;
	padding: 0;
}

#sommaire-illu
{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#sommaire-illu figcaption
{
margin-bottom: 5px;
}
#sommaire-illu figure
{
width: 200px;
height: 250px;
display: flex;
flex-direction: column;
overflow: hidden;
margin: 20px 10px;
}

#sommaire-graphisme
{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
}

#sommaire-graphisme figure, #sommaire-graphisme figure a 
{
width: 30%;
display: flex;
flex-grow: 1;
flex-direction: column-reverse;
margin: 20px 10px;
}
#sommaire-graphisme figure a 
{
width: 100%
}

#sommaire-graphisme figcaption
{
padding-top: 10px;
text-overflow: ellipsis;
}

#sommaire-graphisme img
{
	width: 100%;
	height: 100%;
 object-fit: cover;
 display: flex;
 align-self: center;
}


details{
margin-bottom: 10px;
}

summary:hover{
	cursor: pointer;
}

#sommaire-illu img:hover, #sommaire img:hover, #sommaire-graphisme img:hover, #sommaire-edition img:hover{
	translate: 0 -5px;
}

.container {
  position: relative;
  width: 100%;
}


#sommaire-edition{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#sommaire-edition figure
{
display: flex;
flex-direction: column;
margin: 0 5px 10px 0;
padding: 10px;
background-color: whitesmoke;
width: 18.75vw;
height: inherit;
align-items: center;
justify-content: center;
}

#sommaire-edition img{
	display: flex;
max-width : 100% ;
    margin: 10px 5px;
}
#sommaire-edition figcaption, #sommaire-illu figcaption{
word-wrap: break-word;
}

#galerie-ateliers{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

#galerie-ateliers figure
{
margin: 0 0 10px 0;
padding: 10px;
width: 18.75vw;
height: inherit;
}

#galerie-ateliers img{
	display: flex;
max-width : 100% ;
    margin: 10px 5px;

}
#galerie-ateliers figcaption{
word-wrap: break-word;
}
/*page actualités */
#actualite {
  padding: 0; 
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 700px;
  border-left: 1px dotted indianred;
}
  #actualite .div1 {
  padding: 15px;
  width: auto;
 
}

/*page catalogue catalpas*/

#catalogue {
	display: flex;
	flex-wrap: wrap;

}

#catalogue .infos{
	font-size: 0.8em;
}

.element-catalogue {
	max-width: 700px;
	display: flex;
	flex-direction: row;
}

.bloctitre {
	width: 100%;
	border-bottom: 1px solid grey;
}

.element-catalogue figure{
	max-width: 300px;
	margin: 0 20px 0 0;
}
.element-catalogue img{
	width: 100%;
	height: auto;
}

.element-catalogue h3 cite{
	font-size: 2em;
	font-style: normal;
	font-weight: normal;
}

/*page cuizine*/
.colonnes {
display: flex;
width: 100%;
}
.colonnes h2{
padding-top: 10px;
padding-bottom:0 ;
}

.petite-col {
  flex-basis: 33.33%;
  margin-right: 2em;
}

.petite-col figure{
  margin: 0;
  width: 100%;
}
.petite-col figure img{
  width: 100%;
  height: auto;
}

.grande-col {
  flex-basis: 66.66%;
}
.bandeau {
  width: 100%;
  height: 300px;
  margin-bottom: 25px;
}

.bandeau img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*page portraits-minutes*/
.portraitsminutes{
	background-color: white;
	max-width: 650px;
}

.portraitsminutes img{
	width: 100%;
}
.bouton{
	font-size: 1.3em;
	border-radius: 50px;
	border: 1px solid lightcoral;
	text-align: center;
	padding: 10px;
}
.bouton a{
	text-decoration: none;
}

.bouton:hover{
	background-color: lightcoral;
	color: white;
}
.bouton2{
	border-radius: 5px;
	background-color: lightcoral;
	color: white;
	text-align: center;
	padding: 0 2px;
}
.bouton2 a{
	text-decoration: none;
	color: white;
}

.bouton2:hover{
	background-color: lightcoral;
	color: white;
}
/*page ateliers*/

/*footer*/

footer{
	border-top: 1px dashed grey;
	margin-top: 2em;
	padding-top: 1em;
	padding-bottom: 6em;
}
footer p, footer small{
	width: 87.5vw;
	margin:auto;
	padding-top:4px;

}
footer a{
	text-decoration: none;
	font-size: 0.9em;
}
footer a:hover{
	text-decoration: underline;
}
footer nav{
	width: 87.5vw;
	margin:auto;
	position: relative;
}


/* responsive design */


@media screen and (max-width:680px){
#conteneur
{
	flex-direction: column;
	flex-wrap: wrap;
	width:100%;
	padding: 0;
	margin:0;
}
main{
width:95vw;
padding: 0;
margin: auto;
}
.cache{
	display: none;
}

#bloc-page 
{
	width: 95vw;
}
.colonnes {
display: block;
}

.menu{
	display: block;
	position: fixed;
	right: 15px;
	background-color: darkgrey;
	border-radius:3px ;
	border: 1px solid black;
}

.menu a, .menu:hover, .menu:focus{
	color:white;
}
.menu:hover, .menu:focus{
	background-color: black;
}


#navigation{
	display: none;
	position: relative;
	width: 100%;
	background-color: white;
	margin-bottom: 5px;
}
#navigation:target{
	display: block;
}

#navigation ul{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid black;
	padding: 5px;
	margin:5px;
}
#fermer{
	display: none;
}

h1, h2{
	/*padding: 0 5px;*/
	margin: 0 0 10px;
}
#illu img{
	margin: 0;
}
#sommaire-illu figure{
	width: 48%;
	text-align: center;
	margin:10px 0;
}
#sommaire-illu {
  align-items: center;
  }

#sommaire figure{
	width: 48%;
	text-align: center;
	margin:10px 0;
}
#sommaire {
  align-items: center;
  }


.column {
    flex: 100%;
    max-width: 100%;
  }

#edition{
	flex-direction: column;
}
#edition figure{
	max-width: 100vw;
	margin: 0;
}

.description{
	width: 100vw;
	padding: 1em;
}
.extraits-pages li {
	padding: 0;
  flex-grow: 1;
  width:100vw;
}

.extraits-pages {
flex-direction: column;
align-items: flex-start;
padding: 5px;
}
#graphisme figure {
  max-width: 100vw;
	margin: 20px 0px 20px 0;
}


#sommaire-edition figure, #galerie-ateliers figure
{
width:48%;
height: inherit;
	text-align: center;
	margin:10px 0;		
}




}


@media screen and (min-width:681px){
.menu{
	display: none;
	}
}

