﻿@font-face {
    font-family: Cormorant;
	font-style: normal;
    font-weight: normal;
	font-size: 16px;
    src: url(/Cormorant-Semibold.otf);
}

/* @font-face {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
} */

body {
	background-attachment: fixed;
	background-color: white;
	background-image: url(/images/motif.png);
	font-family: Verdana, Geneva, sans-serif;
	margin: 0 0 75px 0;
	padding: 0px;
}

a {
    color: black;
    text-decoration: none;
}


/*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
 CONTENU
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤*/

#Contenu { 
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: calc(10.5em + 6px);
	padding: 0;
}

#barreSup .filtre:empty ~ #Contenu {
	margin-top: calc(9em + 6px);
}

/* .filtre:empty ~= #Contenu { 
	margin-top: 131px;
} */

/*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
 LISTE DES RECETTES
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤*/

#plus {
	background-color: rgba(225,225,225,0.7);
	background-image: url('/images/plus.png');
	background-position: center, center;
    background-repeat: no-repeat;
	display: block;
	font-family: Cormorant;
	font-size: 100px;
	font-weight: bold;
	line-height: 100px;
	height: 100px;
	margin: 100px;
	width: 100px;
}

/* #toTop {
	border: 4px solid rgb(245,245,245);
	background-color: rgba(225,225,225,0.7);
	background-image: url('../images/toTop.png');
	background-position: center, center;
    background-repeat: no-repeat;
	bottom: 10px;
	display: block;
	height: 100px;
	position: fixed;
	right: 10px;
	width: 100px;
	z-index: 100;
} */

#toTop {
	background-color: rgba(45,45,45,0.55);
	border-color: white;
	border-style: double;
    border-width: 3px 0px 3px 0px;
	background-color: rgba(20,20,20,0.95);
	background-image: url('/images/toTop.png');
	background-position: center, center;
    background-repeat: no-repeat;
	bottom: 10px;
	display: block;
	height: 50px;
	position: fixed;
    left: 50%;
    transform: translateX(-50%);
	width: 150px; 
	z-index: 100;
}

#listeRecettes {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#listeRecettes .recette, #plus {
	border: 10px solid rgb(245,245,245);
	box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
	/*display: block;*/
	font-family: Cormorant;
	line-height: 300px;
	height: 300px;
	margin: 5px;
	overflow: hidden; 
	position: relative;
	text-align: center;
	width: 300px;

	
	display: flex;
	justify-content: center;
	align-items: center;
}

#listeRecettes .filler {
    border-left: 10px transparent solid;
    border-right: 10px transparent solid;
	display: block;
	height: 0px;
	margin: 0 5px;
	width: 300px;
}

#listeRecettes .recette .photo {
	background-position: center, center;
    background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: 100%;
	position: absolute;
	transition: all 100ms ease;
	width: 100%;
	z-index: 1;
}

#listeRecettes .recette .photo .cache {
	height: 100%;
	width: 100%;
	z-index: 2;
}

#listeRecettes .recette:hover .photo .cache {
	background-color: black;
	opacity: 0.6;
}

#listeRecettes .recette:hover .photo {
	transform: scale(1.1,1.1);
}

#listeRecettes .recette .titre {
	background-color: rgba(45,45,45,0.55);
	border-color: white;
	border-style: double;
    border-width: 3px 0px 3px 0px;
	color: white;
	display: inline-block;
	line-height: 20px;
	margin: 5px;
	padding: 5px;
	position: relative;
	/*text-shadow: 2px 2px 5px rgb(0,0,0);*/
    vertical-align: middle;
	width: calc(100% - 20px);
	z-index: 3;
}

#listeRecettes .recette:hover .titre {
	background-color: rgba(245,245,245,0.85);
	border-color: black;
	color: black;
	/*text-shadow: 2px 2px 5px rgb(245,245,245);*/
}

/*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
 RECETTES
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤*/

#recette {
	box-sizing: border-box;
    display: flex;
    flex-flow: row;
	padding: 0 50px;
	width: 100%;
    /*padding: 0 50px;
    background-color: red;*/
}

/*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤*/
/*¤¤¤¤ Colonne Photo ¤¤¤¤*/
/*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤*/

	#recette #colPhoto {
		align-content: flex-start;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		width: 545px;
	}

	#recette #colPhoto img {
		height: 75px;
		margin: 1px;
	}
	
	#recette #colPhoto #photoPrinc {
		border: 10px solid rgb(245,245,245);
		box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
		height: 500px;
		margin: 0 0 15px 0;
	}
	
	#recette #colPhoto #photoPrincipale {
		margin: 0 0 15px 0;
	}

	#recette #colPhoto .contour {
		display: block;
		padding: 100% 0 0 0;
		position: relative;
		width: 500px;
	}
	
	#recette #colPhoto .contour .photoRecette {
		background-size:cover;
		background-position: center;
		border: 10px solid rgb(245,245,245);
		box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		/*height: 500px;*/
		/*padding: 100% 0 0 0;*/
		/*text-align: center;
		/*max-width: 500px;*/
		width: auto;
		height: auto;
		
	}
	
	#recette #colPhoto .photoRecette img {
		padding: 100% 0 0 0;
		width: 500px;
		position:relative;
		
	}

/*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤*/
/*¤¤¤¤ Colonne Recette ¤¤¤¤*/
/*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤*/
	
	#recette #colRecette {
		padding: 0 0 0 25px;
		flex-grow: 1;
	}

	/*¤¤¤¤ Titres ¤¤¤¤*/

	#recette #colRecette h2 {
		background-color: rgba(45,45,45,0.85);
		border-color: white;
		border-style: double;
		border-width: 3px 0px 3px 0px;
		color: white;
		display: block;
		font-family: Cormorant;
		font-size: 3em;
		line-height: 1em;
		margin: 0 0 15px 0;
		padding: 5px;
		text-align: center;
		text-shadow: 2px 2px 5px rgb(0,0,0);
		text-transform: uppercase;
		/*vertical-align: middle; retiré sur les conseils de Visual Studio Code*/
	}

	#recette #colRecette h3 {
		border-color: black;
		border-style: double;
		border-width: 0px 0px 3px 0px;
		font-family: Cormorant;
		font-size: 2em;
		line-height: 1.5em;
		margin: 0;
		padding: 15px 20px 0px 20px;
		text-transform: uppercase;
	}

	#recette #colRecette h4, #recette #colRecette .blockTexte b {
		font-family: Cormorant;
		font-size: 1.5em;
		font-weight: bold;
		margin: 1.2em 0 0.2em 0;
		text-transform: uppercase;
	}

	#recette #colRecette h4::after, #recette #colRecette .blockTexte b::after {
		content: " :";
	}

	#recette #colRecette h4:first-child, #recette #colRecette .blockTexte b:first-child {
		margin-top: 0;
	}

	/*¤¤¤¤ Blocs textes ¤¤¤¤*/

	#recette #colRecette .blockTexte a:hover {
		border-color: rgb(200,200,200);
		border-style: double;
		border-width: 0px 0px 3px 0px;
		text-decoration: none;
	}

	#recette #colRecette .blockTexte {
		background-color: rgba(245,245,245,0.45);
		border-color: rgb(235,235,235);
		border-style: solid;
		border-width: 0px 1px 1px 1px;
		margin: 0;
		padding: 20px;
	}

	#recette #colRecette textarea {
		background-color: rgba(245,245,245,0.45);
		border-color: rgb(235,235,235);
		border-style: solid;
		border-width: 0px 1px 1px 1px;
		height: 25em;
		margin: 0;
		width: 100%;
	}

	#recette #colRecette button {
		margin: 0 0 20px 0;
	}

	ul {
		list-style-type: square;
		margin: 0;
	}

	li {
		padding: 2px 0;
		/*font-size: 1.5em;*/
	}

	/*¤¤¤¤ Tableau durées ¤¤¤¤*/

	#tableauDurees {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		/*padding: 0 -1px;*/
		width: 100%;
	}

	#tableauDurees .col {
		text-align: center;
		background-color: rgba(155,155,155,0.55);
		border: 1px rgb(155,155,155) solid;
		margin: 1px;
		padding: 0.2em 0;
		width: 100%;
	}

	/*¤¤¤¤ Blocs tags ¤¤¤¤*/

	#tableauTags {
		text-align: left;
		margin: 25px 0 0 0;
		width: 100%;
	}

	#tableauTags .col {
		/* background-color: rgba(155,155,155,0.55);
		border-color: rgb(155,155,155);
		border-style: solid;
		border-width: 1px; */
		display: flex;
		flex-wrap: wrap;
		/* padding: 0.5em; */
	}

	#tableauTags .item {
		background-color: rgba(245,245,245,0.55);
		border: 1px rgb(235,235,235) solid;
		display: block;
		margin: 0.2em;
		padding: 0.2em 0.4em;
	}

	#tableauTags .item:hover {
		background-color: rgba(200,200,200.55);
	}



#recette .square {
/*     height: 1rem;
    margin: 0 2px;
    transform: translateY(0.1em);
    width: 1rem; */
	margin: 0 0.05em;
    z-index: 10;
}

/*@media all and (max-width: 1024px) {

}*/

@media (max-width: 1006px) { /*Pour les smartphones*/
 
	body {
		user-zoom: fixed;
		font-size: 1.5em;
	}

	#listeRecettes .recette {
		flex-grow: 0.5;
		aspect-ratio: 1/1;
		/*display: flex;
		justify-content: center; 
		align-items: center;*/
		height: initial;
	}

	#listeRecettes .recette .titre {
		
		line-height: 30px;
	}

	li {
        padding: 5px 0;
    }
    
    #recette #colRecette {
        margin: 0;
        padding: 0px;
    }
    
    #recette {
        display: block;
    }

	#recette .gallery {
		width: 100%;
	}

	#recette #photoPrincipale  { 
		flex-grow: 1;
		height: initial;
	}

	#recette .photoRecette {
		aspect-ratio: 1/1;
		width: 100%;
	}

    #recette #colPhoto {
        margin: 0 0 25px 0;
        width: 100%;
    }

/* 	#tableauDurees .col {
		height: 75px;
		line-height: 37px;
	} */

/* 	#recette .square {
		margin: 0 4px;
	} */

    #recette #colPhoto .contour {
        width: 100%; 
        /*height: auto;
        padding-top: 100%; */
    }
    
    #recette #colPhoto img {
    	height: 100px;
		margin: 1px;
	}

}