@media (prefers-color-scheme: light) {
	body {
		background-color: #fff2cc;
		/*background-image: url("images/logo-rouge.jpg");	*/
	}
}


/* specific size for target device */
body {
	max-width: 1333px;
	max-height: 764px;
	/* full screen size without top status/notification/clock bar: */
	/* max-height: 800px; */
}

/* TODO: change from flexbox to grid */

main {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	/* responsive by adding: */
	/* flex-wrap: wrap; */
}

.column {
	display: flex;
	flex-direction: column;
	width: 100%;
	/* responsive (but maybe we don't want that) with : */
	/* justify-content: space-between; */
}

footer {
	/* display: grid; */
}

/* #suggestions */
footer .categorie {
	display: flex;
	flex-direction: row;
	justify-content: stretch;;
}

footer .categorie>h1 {
	width: 50%;
}
footer .categorie>button {
	width: 100%;
}

.supplement h1, .reduction h1 {
	display: inline;
}
.supplement, .reduction {
	display: inline-block;
	margin-top: 1em;
	margin-right: 5vw;
}



.categorie {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
}

.sous-categorie {
	display: flex;
}

.sous-categorie button {
	flex-grow: 1;
}


h1 {
	font-size: 1em;
	text-align: center;
}

button {
	/* border-radius: 0.5em; */
	padding-top: 1em;
	padding-bottom: 1em;
	padding-left: 0;
	padding-right: 0;
}

menu {
	display: flex;
	justify-content: space-evenly;
	padding: 0;
	width: 100%;
	margin-top: 10px;
	align-items: normal;
}


#validerCommande {
	padding: 1em;
	width: 50%;
}

#listerCommandes {
	width: 25%;
}

#annulerCommande {
	width: 15%;
}




/***************** commandes *****************/

#liste-commandes {
	align-items: stretch;
	width: 80%;
	
}
#liste-commandes button {
	width: 100%
}

#commandes {
}


.commande.annulee{
	text-decoration-line: line-through;
	text-decoration-thickness: 18%;
}
.commande li {
	list-style-type: none;
	font-weight: bold;
	margin-left: 10%;
}
.commande .date {
	/* list-style-type: disc; */
	text-align: right;
	font-size: small;
}
.commande li.heureRetrait {
	text-align: right;
}
.commande span.heureRetrait {
	font-size: larger;
}
.commande .multiInputForOneField {
	display: flex;
	margin-bottom: 0.2em;
}
.commande input.heureRetrait {
	width: 30em;
}
.commande button.heureRetrait {
	margin-right: 1em;
}
#liste-commandes .commande button.edit {
	width: initial;
	height: 0.5em;
	padding-top: 0.5em;
	float: right
}
.commande .nom {
	font-size: x-large;
	text-align: center;
}
.commande input.nom {
	width: 50%;
	text-align: left;
}
.commande .montant {
	font-size: xxx-large;
	margin-left: 0;
	text-align: center;
}
.commande .quantite {
	font-size: x-large;
	margin-right: 0.5em;
}
.commande .produit {
	font-size: x-large;
	font-weight: bold;
	white-space: pre;
}