
/* Palette:
 * Orange: #F85E00;
 * Vert: #93B000;
 * Jaune Clair: #F0C401;
 * Jaune foncé: #E9AB00;
 * Marron: #C23E00;
*/

html {
	background-color: #454545;
}

body {
	padding: 0;
	margin: 0;
	margin-top: 55px; /* La taille du header */
	margin-bottom: 60px; /* la taille du footer */
}

.layout {
	display: flex;
	align-items: center;
}

.layout .hor {
	flex-direction: row;
}

.layout .ver {
	flex-direction: column;
}

.spacer {
	flex: 1;
}

header {
	/*position: sticky;
	top: 0;
	left: 0;
	margin: 0;
	height: 50px;
    box-sizing: border-box;*/
	font-family: sans-serif;
	font-weight: bold;
	font-variant: small-caps;
	background-color: #93B000;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding-right: 3vw;
	
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    z-index: 1000;
}

.logo {

}

header .title {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.2em;
	color: #A37800;
	font-weight: bold;
    overflow: hidden;
}

header .logo {
	height: 40px;
	margin-left: 5px;
}

header .buttons {
	display: flex;
	flex-direction: row;
	height: 100%;
	align-items: stretch;
}

header a {
    display: flex;
    align-items: center;
	color: black;
	text-decoration: none;
}

header #searchbar { /* Si la search bar est ici, alors... */
	height: 2em;
	min-width: 20em;
}

.searchbarholder {
	display:flex;
	flex-direction: row;
	align-items: center;
}

header a, .orderpanel button {
    height: 100%;
}

header a, button {
	border: 0;
	background-color: transparent;
    transition: background-color 0.2s ease;
}

header a div {
	background: 0;
	border: 0;

	padding: .75em;


    font-variant: small-caps;
}

header a:hover, button:hover {
	background-color: #E9AB00;
}

.itemview {
}

.itemview img {
	width: 50px;
	height: 50px;
}

.itemview .itemname {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	color: #ddd;
}

.orderlist {
	margin-left: .2em;
	font-family: "Verdana", sans-serif;
}

.orderlist table {
    width: max-content;
    table-layout: auto;
    border-collapse: collapse;
}

.orderlist td {
	 padding: 11px;
	padding-right: 20px;
}

.orderlist .itemprice {
	text-align: right;
	color: #ccc;
}

.orderlist .mateff, .orderlist .timeeff, .orderlist .seller {
	text-align: center;
}

.seller {
	color: #ddd;
}

.orderlist tbody tr:nth-child(even) {
    background-color: #505050;
}

.orderlist tbody tr:nth-child(odd) {
    background-color: #454545;
}

.orderlist thead {
	color: #bbb;
}

.orderlist thead tr {
	border-bottom: 1px solid #bbb;
}

.money { /* Argent générique */
	color: #E9AB00;
}

.money2 { /* Plutôt pour ce que la personne va perdre */
	color: #C23E00;
}

.orderpanel {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	background-color: #93B000;
	height: 30px;
	position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
	font-family: sans-serif;
	padding-left: 2em;
	padding-right: 5em;
}

.orderingitemsinfo {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .2em;
}

.pagenavigationdiv {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .5em;
}

.pagenavigationdiv button {
	height: 80%;
	background-color: #CEDC7F;
	border: 1px solid #aaa;
}
