@import "w3.css";
@import "https://fonts.googleapis.com/icon?family=Material+Icons";

* {
	font-family: 'Georgia', 'Palatino Linotype', 'Times New Roman', serif;
}

.padding0 {
	padding: 0;
}
.margin0 {
	margin: 0;
}
.petites_maj {
	font-variant: small-caps;
}

html, body, .centre, #contenu, .page, .bloc_central {
	height: 100%
}

a {
	text-decoration: none;
}

ul {
	list-style-type: none;
}

ul.menu {
	display: flex;
	justify-content: center;
	width: auto;
}

.saisie-nom-utilisateur {
	width: 8em;
}
.saisie-mot-de-passe {
	width: 8em;
}

.entete .w3-col {
	display: flex;
	justify-content: center;
}
.entete .w3-col:first-child {
	margin: 1em 0;
	justify-content: flex-start;
}
.entete .w3-col:nth-child(2) {
	margin: 1.5em 0 1.25em;
}
.entete .w3-col:nth-child(3) {
	margin: 0.75em 0 0.5em;
	justify-content: flex-end;
}
.entete .w3-col:nth-child(4) {
	margin: 0em 0 0.5em;
}

@media only screen and (min-width: 993px) { /* l */
	.centre {
		padding: 8em 0 2em;
	}

	.entete .w3-col:nth-child(4) {
		display: none;
	}

	ul.menu {
		justify-content: flex-start;
		width: 100%;
	}
}
@media only screen and (min-width: 601px) and (max-width: 992px) { /* m */
	.centre {
		padding: 11.5em 0 2em;
	}

	.entete .w3-col:nth-child(2) {
		display: none;
	}
}
@media only screen and (max-width: 600px) { /* s */
	.centre {
		padding: 14.5em 0 2em;
	}

	.entete .w3-col:first-child {
		justify-content: center;
		margin: 0.5em 0 0.5em;
	}

	.entete .w3-col:nth-child(2) {
		display: none;
	}

	.entete .w3-col:nth-child(3) {
		justify-content: center;
		margin: 0;
	}

	.saisie-nom-utilisateur {
		width: 8em;
	}

	.saisie-mot-de-passe {
		width: 7em;
	}
}

.haut {
	background-image: url('/img/fond_haut.jpg');
	background-position: center;
	background-size: cover;
}

.titre_logo {
	text-transform: uppercase;
	white-space: nowrap;
}

.texte_logo {
	white-space: nowrap;
}

.bouton_connexion {
	width: auto;
}

ul.miettes li + li:before {
	content: '>';
	margin-right: 8px; /* ToDo matcher l'espace des éléments autour - revoir si before: est la bonne façon de procéer*/
}

#contenu {
	overflow-y: auto;
}

.ligne_commandes .w3-cell:first-child {
	width: 18em;
}

.barre_titre_section_page .w3-cell:last-child {
	width: 13em;
	text-align: right;
}

.ligne_centrale {
	width: 17em;
	margin: auto;
}


.introduction {
	margin-bottom: 2em;
}

.introduction_accueil .encadre {
	width: 20em;
 }

.lettrine {
	font-size: 8em;
	line-height: 0.3em;
}

.section_accueil .entete_section {
	padding: 0 0 0 2em;
	margin: 0 0 0.5em 0;
}
.section_accueil .bouton_titre_section {
	margin-right: 1em;
}
.section_accueil .tuile_mosaique {
	width: 13.5em; /* ToDo varier en fonction de largeur de l'écren */
	height: 16em;
	margin: 0 0.5em 0.5em 0;
}



.section_filtrage_principal {
	margin: 0.5em 0 1em 0;
}
.section_filtrage_facettes {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
	margin: 0.25em 0 0 0;
}

ul.filtre {
	border: 1px solid;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}
ul.filtre li {
	display: flex;
	justify-content: center;
	align-items: stretch;
}
ul.filtre li a {
	width: 100%;
}
ul.filtre li:first-child a {
	font-size: 1.8em;
}
ul.filtre li:not(:first-child) {
	flex: 1 1 0; /* grow-shrink-basis */
}

/*
ul.filtre + ul.filtre {
	border-top: none;
}
*/

ul.filtre_vertical {
	flex-direction: column;
/*	align-items: flex-start;*/
/*	border: none;*/
}
ul.filtre_vertical_une_option {
	flex-direction: row;
	justify-content: flex-start;
}
ul.filtre_vertical li {
	justify-content: flex-start;
	align-items: flex-start;
	border: none;
}
/*
ul.filtre_vertical li a {
	width: 100%;
}
*/
ul.filtre_vertical li:first-child a {
	font-size: 1.8em;
}
ul.filtre_vertical li:not(:first-child) {
	flex: 1 1 2em;
}


.grille_tuiles {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
}
.grille_tuiles .pagin_hor li {
	flex: 1 1 0; /* grow-shrink-basis */ /* pour matcher ul.filtre li:not(:first-child) */ /* ToDo toute réviser la mise en page / CSS... :| */
}

/*
ul.grille_tuiles li {
	padding: 0;
	border: none;
}
*/
/*
.tuile_defaut_plante .caractere_plante h3,
.tuile_defaut_plante .ul_prix_semence h3 {
	font-size: medium;
}
*/
.w3-ul li {
	padding: 0;
	margin: 0;
}
.tuile_plante {
	background-position: center;
	background-size: cover;
	width: 100%;
	margin: 0 0 0.25em 0;
}
.ul_prix_semence li {
	margin-bottom: .25em;
}
.ul_prix_semence li:last-child {
	padding: 0;
	margin: 0;
}
.ul_prix_semence li a {
	padding: 0 1em;
}

.ul_citations {
	margin: 0 3em;
}


.tuile_liste {
	width: 100%;
}
.tuile_liste form {
	width: 100%;
}


.contenu_tuile {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
}
.contenu_tuile > div {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}
.contenu_tuile .contenu_tuile_droite {
	margin-left: auto;
	align-items: flex-end;
}
.contenu_tuile_liste .contenu_tuile_droite ul.ul_prix_semence {
	align-items: flex-end;
}
.ligne_semencier_prix {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.ligne_semencier_prix .icone {
	max-height: 1em;
}
.contenu_tuile_liste .contenu_tuile_droite .mention_source_photo {
	margin-top: auto;
	font-size: smaller;
}
.contenu_tuile_liste + .pied_de_tuile {
	margin: 0.5em 0 0 0;
}


.bouton_gestion,
.bouton_modifier {
	width: auto;
}










.bouton_autorisation {
	width: auto;
	margin: 0.25em;
}







.ligne_titres_calculs,
.ligne_calculs {
	width: auto;
	margin: auto;
}

.ligne_titres_calculs .w3-cell,
.ligne_calculs .w3-cell {
	width:  9em;
}

.ligne_titres_calculs .w3-cell:last-child,
.ligne_calculs .w3-cell:last-child {
	width:  10em;
}

.ligne_titres_calculs .w3-cell div,
.ligne_calculs .w3-cell div {
	margin: auto;
}

.ligne_calculs .w3-cell:nth-child(1) div,
.ligne_calculs .w3-cell:nth-child(3) div,
.ligne_calculs .w3-cell:nth-child(5) div {
	width:  8em;
}
.ligne_calculs .w3-cell:nth-child(2) div,
.ligne_calculs .w3-cell:nth-child(4) div {
	width: 8em;
}


.bas {
	padding-top: 0.25em;
}

.contenus_bas .w3-cell {
	width: 33%;
}

.bas .logo_hebergeur {
	max-height: 1.5em;
}



/*
.photo {
	margin: 0.1em;
}

.photo_profil {
	max-width: 6em;
	max-height: 6em;
}

.photo_profil:hover {
	transform: scale(4);
}
*/


/*
.tuile_profil .photo {
	height: 19em;
}
*/

/*
.titre_logo {
	text-transform: uppercase;
	white-space: nowrap;
}

.texte_logo {
	white-space: nowrap;
}

.introduction .photo {
	height: 24em;
}

.pagin_hor li {
	border: none;
	padding: 0.25em 0;
}

.pagin_hor li a {
	display: inline-block;
	width: 100%;
}

.ul_tuiles_acteur li,
.ul_tuiles_film li,
.ul_tuiles_clip li {
	display: inline-block;
	padding: 0;
	border: none;
}

.tuile_acteur,
.tuile_film,
.tuile_clip {
	padding: 0 0.5em;
}

.tuile_acteur .photo,
.tuile_film .photo,
.tuile_clip .photo {
	height: 19em;
}

ul.miettes li + li:before {
	padding-right: 0.5em;
	content: ">";
}
*/

