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

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

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

a {
	text-decoration: none;
}

ul {
	list-style-type: none;
}

.padding0 {
	padding: 0;
}

.margin0 {
	margin: 0;
}

.petites_maj {
	font-variant: small-caps;
}

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;
	}
}

body {
/*
	background-image: url('../img/pont_en_foret.jpg');
	background-position: center;
	background-size: cover;
*/
}

.haut {
	background-image: url('../img/bg-top.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*/
}

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

.gros_guillemets {
	font-size: 8em;
	line-height: 0.6em;
}

.encadre .bas_encadre {
	font-weight: bold;
}

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

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

.bouton_titre_section {
	margin-right: 1em;
}

ul.filtre_horizontal { /* ToDo changer ça pour _horizontal */
	margin: auto;
	width: auto;
}
ul.filtre_vertical {
	margin: auto;
}

ul.filtre_categorie_plante li {
	width: 11em;
}

.grille_tuiles .colonnes_sous_pagination ul.filtre_vertical {
	margin-right: 1em;
}

ul.pagin_hor li {
	width: 5em;
}

ul.pagin_hor li a {
	width: 100%;
}

ul.grille_tuiles li {
	padding: 0;
	border: none; /* ToDo w3-border-0 dans PHP */
}

.tuile_plante {
	background-position: center;
	background-size: cover;
	width: 100%;
	margin: 0 0 0.5em 0;
}

.ul_prix_semence li {
	padding: 0;
	margin-bottom: .5em;
}

.ul_prix_semence li:last-child {
	padding: 0;
	margin: 0;
}

.ul_citations {
	margin: 0 3em;
}



.tuile_liste {
	width: 100%;
}

.tuile_liste .colonnes_tuile .w3-cell:last-child {
}

.tuile_liste form {
	width: 100%;
}

.bouton_gestion,
.bouton_modifier {
	width: auto;
}




#contenu {
	overflow-y: auto;
}

.tuile {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.tuile_defaut {
	width: 100%;
}

.tuile_defaut .contenu_tuile .w3-cell:first-child {
	width: 20em;
}

.tuile_defaut .photo {
	width: 100%;
}

.tuile_mosaique {
	width: 14em; /* ToDo varier en fonction de largeur de l'écran? */
	height: 18em;
	margin: 0 0.5em 0.5em 0;
}
.tuile_mosaique_scene { /* ToDo avant tous les autres cas de figure plus généraux, s'applique seulement lorsque page accueil clips? */
	width: 20em; /* ToDo varier en fonction de largeur de l'écran? */
	height: 14em;
}

.distribution .tuile_mosaique,
.filmographie .tuile_mosaique {
	width: 10em; /* ToDo varier en fonction de largeur de l'écran? */
	height: 14em;
}
.scenes .tuile_mosaique {
	width: 14em; /* ToDo varier en fonction de largeur de l'écran? */
	height: 12em;
}


.section_accueil .tuile_mosaique {
	width: 8em; /* ToDo varier en fonction de largeur de l'écran? */
	height: 11em;
}
.section_accueil .tuile_mosaique_scene {
	width: 16.5em; /* ToDo varier en fonction de largeur de l'écran? */
	height: 12em;
}

.tuile_mosaique .row_nom_acteur,
.tuile_mosaique .row_titre_film,
.tuile_mosaique .row_texte_scene {
	height: 100%;
}







.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;
}




/*
.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: ">";
}
*/

