
html, body {
	margin: 0;
	padding: 0;
	color: #000;
	background: #fff;
	line-height: 25px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

a {
	color: #000;
	display: block;
	text-decoration: none;
}

* {
	font-size: 20px;
	font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

ul, li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#login {
	width: 100%;
	height: 100%;
	margin: 50px 0;
	text-align: center;
}

#login input,
#login select {
	width: 150px;
	display: block;
	margin: 15px auto;
}

#resas li {
	display: block;
	padding: 0 15px;
	line-height: 50px;
}

#resas li:nth-child(odd) {
	background: #ddd;
}

#resas li.buttons {
	padding: 20px 0;
	background: #fff;
	text-align: center;
}

#resas li button {
	margin: 0 15px;
}

#resas li b {
	float: right;
}

#resas li.old * {
	color: #777 !important;
}

#resas li.next {
	font-weight: bold;
}

#resas li.sunday {
	border-bottom: 2px solid #000;
}

#resa {
	text-align: center;
}

#resa h1 {
	margin: 0;
	line-height: 50px;
	text-align: center;
	text-indent: -10px;
	padding: 20px 0 0 0;
}

#resa button {
	margin: 20px 15px;
}

#resa span.sort {
	width: 90px;
	text-align: center;
	display: inline-block;
}

#resa span.sort.active {
	font-weight: bold;
}

#resa span.sort.active:before {
	content: '⇩ ';
}

#resa ul {
	margin: 30px 0;
	display: block;
	text-align: left;
}

#resa li {
	display: block;
	overflow: auto;
	line-height: 30px;
	position: relative;
	padding: 10px 0 5px 60px;
}

#resa li:nth-child(odd) {
	background: #ddd;
}

#resa li:last-child {
	border-bottom: 2px solid #ddd;
}

#resa li span.checkbox {
	left: 5px;
	top: 13px;
	width: 50px;
	height: 50px;
	position: absolute;
	background: url('/checkbox.png') no-repeat 0 0;
}

#resa li span.checked {
	background-position: 0 -50px;
}

#resa li span.user {
	top: 5px;
	color: #888;
	right: 10px;
	font-size: 18px;
	font-style: italic;
	position: absolute;
}

#resa li span.select {
	min-width: 20px;
	margin-right: 20px;
	position: relative;
	display: inline-block;
}

#resa li span.select select {
	top: 0px;
	left: 0px;
	opacity: 0;
	width: 50px;
	height: 30px;
	position: absolute;
}

#resa li span.nombre {
	font-weight: bold;
	display: inline-block;
}

#resa li span.nombre:before {
	content: 'x';
}

#resa li span.heure {
	width: 45px;
	font-size: 16px;
	display: inline-block;
}


#resa li span.table {
	font-weight: bold;
	display: inline-block;
}

#resa li span.table:before {
	content: '▣ ';
}

#resa li span.note {
	margin: 0;
	height: 20px;
	font-size: 16px;
	min-width: 100px;
	display: inline-block;
}

#resa form.hidden {
	display: none;
}

#resa form.hidden.show {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0;
	width: 100%;
	height: 100%;
	display: block;
	position: fixed;
	background: #fff;
	text-align: center;
}

#resa form.hidden > * {
	width: 90%;
	padding: 5px;
	resize: none;
	display: block;
	margin: 10px auto;
}

#resa form.hidden button {
	width: 40%;
	margin: 10px 5%;
	display: inline-block;
}

#stats {
	padding: 20px;
	text-align: center;
}

#stats select,
#stats button {
	display: block;
	margin: 50px auto;
}

#stats table {
	margin: 50px auto;
	border-collapse: collapse;
}

#stats td {
	padding: 0 15px;
	text-align: left;
	line-height: 30px;
	border: 1px solid #000;
}

#stats td + td {
	text-align: center;
}

#stats tr:first-child td:first-child {
	border-top: none;
	border-left: none;
}
