* {
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	font-weight: normal;
	font-family: Roboto, Arial, sans-serif;
}
div {
	display: none;
}
#contenido {
	display: block;
}
h1 {
	margin-bottom: 10px;
	font-size: 22px;
	line-height: 24px;
}
strong {
	font-weight: bold;
}
table {
	table-layout: fixed;
	border-spacing: 0;
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
	font-size: 14px;
	line-height: 16px;
}
th,
td {
	border: solid 1px #000;
	padding: 2px 5px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
}
thead th,
tfoot th {
	font-weight: bold;
	background-color: #ccc;
}
tfoot th {
	text-align: right;
}
tfoot {
	display: table-row-group;
}
#informes form {
	display: none;
}

body.albaranes #albaranes {
	display: block;
}
#albaranes th {
	width: 80px;
}
#albaranes th:nth-child(1) {
	width: 150px;
}
#albaranes th:nth-child(3) {
	width: 110px;
}
#albaranes th:nth-child(4) {
	width: auto;
}
#albaranes td:nth-child(3),
#albaranes td:nth-child(4) {
	text-align: left;
}
#albaranes td:nth-child(5),
#albaranes td:nth-child(6) {
	text-align: right;
}

body.cajas #cajas {
	display: block;
}
#cajas th {
	width: 80px;
}
#cajas th:nth-child(1) {
	width: 150px;
}
#cajas th:nth-child(2) {
	width: auto;
}
#cajas td:nth-child(2),
#cajas td:nth-child(3) {
	text-align: left;
}
#cajas td:nth-child(4) {
	text-align: right;
}

body.cierres #cierres {
	display: block;
}
#cierres th:nth-child(1) {
	width: 150px;
}
#cierres th:nth-child(2) {
	width: 70px;
}
#cierres th:nth-child(n+3) {
	width: auto;
}
#cierres td:nth-child(2) {
	text-align: left;
}
#cierres td:nth-child(n+3) {
	text-align: right;
}


body.informes #informes.informe_empleados,
body.informes #informes.informe_empleados #informe_empleados {
	display: block;
}
#informe_empleados th:nth-child(n+2) {
	width: 14%;
}
#informe_empleados td:nth-child(1) {
	text-align: left;
}
#informe_empleados td:nth-child(n+2) {
	text-align: right;
}

body.informes #informes.informe_familias,
body.informes #informes.informe_familias #informe_familias {
	display: block;
}
#informe_familias th:nth-child(n+2) {
	width: 14%;
}
#informe_familias td:nth-child(1) {
	text-align: left;
}
#informe_familias td:nth-child(n+2) {
	text-align: right;
}

body.informes #informes.informe_horas,
body.informes #informes.informe_horas #informe_horas {
	display: block;
}
#informe_horas th:nth-child(1) {
	width: 100px;
}
#informe_horas th:nth-child(n+3) {
	width: 10%;
}
#informe_horas td:nth-child(2) {
	text-align: left;
}
#informe_horas td:nth-child(n+3) {
	text-align: right;
}
#informe_horas td span {
	display: block;
	height: 18px;
	background: linear-gradient(90deg, #5cb810, #a1df6e);
	border: solid 1px #5cb810;
}

body.informes #informes.informe_mesas,
body.informes #informes.informe_mesas #informe_mesas {
	display: block;
}
#informe_mesas th:nth-child(n+2) {
	width: 14%;
}
#informe_mesas td:nth-child(1) {
	text-align: left;
}
#informe_mesas td:nth-child(n+2) {
	text-align: right;
}

body.informes #informes.informe_presencias,
body.informes #informes.informe_presencias #informe_presencias {
	display: block;
}
#informe_presencias th:nth-child(n+2) {
	width: 22%;
}
#informe_presencias td:nth-child(1) {
	text-align: left;
}
#informe_presencias h1:nth-child(n+2) {
	margin-top: 20px;
}

body.informes #informes.informe_productos,
body.informes #informes.informe_productos #informe_productos {
	display: block;
}
#informe_productos th:nth-child(1) {
	width: 100px;
}
#informe_productos th:nth-child(n+3) {
	width: 14%;
}
#informe_productos td:nth-child(1),
#informe_productos td:nth-child(2) {
	text-align: left;
}
#informe_productos td:nth-child(n+3) {
	text-align: right;
}

body.informes #informes.informe_servicios,
body.informes #informes.informe_servicios #informe_servicios {
	display: block;
}
#informe_servicios th:nth-child(1) {
	width: 100px;
}
#informe_servicios td:nth-child(n+2) {
	text-align: right;
}
#informe_servicios h1:nth-of-type(n+2) {
	page-break-before: always;
}

body.albaranes.imprimir #albaranes {
	display: none;
}
body.albaranes.imprimir #prealbaran {
	display: block;
}
#prealbaran * {
	font-size: 16px;
	line-height: 18px;
	font-family: 'Roboto Mono', monospace;
}

body.cierres.imprimir #cierres {
	display: none;
}
body.cierres.imprimir #precierre {
	display: block;
}
#precierre * {
	font-size: 16px;
	line-height: 18px;
	font-family: 'Roboto Mono', monospace;
}

body.tickets.imprimir #tickets {
	display: none;
}
body.tickets.imprimir #preticket {
	display: block;
}
#preticket * {
	font-size: 16px;
	line-height: 18px;
	font-family: 'Roboto Mono', monospace;
}
#preticket pre {
	width: 404px;
}
#preticket strong:first-child {
	font-size: 32px;
	line-height: 36px;
}
#preticket span {
	display: block;
	transform: scaleY(2);
}
#preticket p {
	text-align: center;
}

body.productos #productos {
	display: block;
}
#productos th:nth-child(1) {
	width: 100px;
}
#productos th:nth-child(n+3) {
	width: 80px;
}
#productos td:nth-child(1),
#productos td:nth-child(2) {
	text-align: left;
}
#productos td:nth-child(n+3) {
	text-align: right;
}
#productos th:nth-last-child(-n+2),
#productos td:nth-last-child(-n+2) {
	display: none;
}

body.tickets #tickets {
	display: block;
}
#tickets th:nth-child(1) {
	width: 140px;
}
#tickets th:nth-child(2),
#tickets th:nth-child(3),
#tickets th:nth-child(n+5) {
	width: 80px;
}
#tickets td:nth-child(3),
#tickets td:nth-child(4),
#tickets td:nth-child(5) {
	text-align: left;
}
#tickets td:nth-child(6) {
	text-align: right;
}

