* {
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	font: normal 1rem/1.2rem Roboto, Helvetica, sans-serif;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
	background-color: #eee;
}
body {
	padding-top: 6.4rem;
}
body.inicio {
	padding-top: 3.6rem;
}
input {
	user-select: auto;
}
input::placeholder {
    color: #aaa;
}
body.ocultar,
#descargas {
	display: none;
}


#certificados {
	display: none;
}
body.certificados #certificados {
	display: block;
	position: relative;
	padding: 1rem 1.5rem 6rem 1.5rem;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	background-color: #fff;
}
#certificados h1 {
	color: #7c4d3a;
	padding: 1rem 0;
	font: bold 1.3rem/1.5rem Poppins;
	text-align: center;
	text-transform: uppercase;
}
#certificados article {
	position: relative;
	color: #7c4d3a;
	padding: 0.5rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	border-bottom: solid 1px #ccc;
}


#circulares {
	display: none;
}
body.circulares #circulares {
	display: block;
	position: relative;
	padding: 1rem 1.5rem 6rem 1.5rem;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	background-color: #fff;
}
#circulares h1 {
	color: #7c4d3a;
	padding: 1rem 0;
	font: bold 1.3rem/1.5rem Poppins;
	text-align: center;
	text-transform: uppercase;
}
#circulares article {
	position: relative;
	color: #7c4d3a;
	padding: 0.5rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	border-bottom: solid 1px #ccc;
}


#dialogo {
	display: none;
}
#dialogo.elegir,
#dialogo.mostrar {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 2;
}
#dialogo section {
	position: relative;
	width: 85%;
	max-width: 25rem;
	margin: 0 auto;
	box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
	background-color: #fff;
	border-radius: 0.4rem;
	padding: 1.5rem;
	box-sizing: border-box;
}
#dialogo h1 {
	font-weight: bold;
	color: #ff9e1b;
}
#dialogo p {
	color: #222;
	margin: 1.5rem 0;
}
#dialogo article {
	background-color: #ff9e1b;
	color: #fff;
	text-align: center;
	border-radius: 0.4rem;
	padding: 1rem 0;
	font-weight: bold;
}
#dialogo:not(.elegir) article:first-of-type {
	display: none;
}
#dialogo.elegir article {
	display: inline-block;
	width: calc(50% - 0.75rem);
}
#dialogo.elegir article:last-child {
	margin-left: 1.5rem;
}


#empleado {
	display: none;
}
body:not(.inicio) #empleado {
	display: block;
	position: fixed;
	top: 3.6rem;
	width: 100%;
	background-color: #eee;
	padding: 0.8rem 1.5rem;
	font-size: 0.9rem;
	color: #666;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	box-shadow: inset 0 -1px 1px #ccc;
	z-index: 1;
}


#inicio {
	display: none;
}
body.inicio #inicio {
	display: block;
	padding: 1rem 1.5rem 7rem 1.5rem;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	background-color: #fff;
}
#inicio h1 {
	padding: 1.2rem 0 0.6rem 0;
	color: #7c4d3a;
	font-weight: bold;
}
#inicio input[type="text"],
#inicio input[type="password"] {
	border-bottom: solid 1px #ccc;
	margin: 1rem 0;
	width: 100%;
	padding: 0.5rem;
	box-sizing: border-box;
}
#inicio input[type="text"]:focus,
#inicio input[type="password"]:focus {
	background-color: #eee;
}

#inicio input[type="submit"] {
	border-radius: 1.8rem;
	margin: 1rem 0;
	padding: 0.9rem 1.5rem;
	text-align: center;
	background-color: #ff9e1b;
	color: #7c4d3a;
	font: bold 0.9rem/1.2rem Poppins;
	width: 100%;
}
#inicio input[type="submit"]:active {
	background-color: #eee;
	color: #999;
}


#menu {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: 0 1px 1px #ccc;
	background-color: #fff;
	z-index: 2;
}
#menu table {
	width: 100%;
	height: 3.6rem;
}
#menu td {
	position: relative;
	width: 3.6rem;
}
#menu td:nth-child(1) {
	width: auto;
}
#menu img {
	display: block;
	margin: 0 auto;
	height: 1.6rem;
}
#menu td:nth-child(1) img {
	max-width: 90%;
	margin-left: 1.5rem;
}


#nominas {
	display: none;
}
body.nominas #nominas {
	display: block;
	position: relative;
	padding: 1rem 1.5rem 6rem 1.5rem;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	background-color: #fff;
}
#nominas h1 {
	color: #7c4d3a;
	padding: 1rem 0;
	font: bold 1.3rem/1.5rem Poppins;
	text-align: center;
	text-transform: uppercase;
}
#nominas h1:nth-child(n+2) {
	padding: 2rem 0 1rem 0;
}
#nominas article {
	position: relative;
	color: #7c4d3a;
	padding: 0.5rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	border-bottom: solid 1px #ccc;
}


#notificacion {
	display: none;
}
#notificacion.notificar {
	display: block;
	position: fixed;
	bottom: 5%;
	left: 50%;
	white-space: nowrap;
	transform: translateX(-50%);
	z-index: 2;
	background-color: #7c4d3a;
	color: #ff9e1b;
	padding: 1rem 1.5rem;
	border-radius: 1.8rem;
	text-transform: uppercase;
	font: bold 0.9rem/1.2rem Poppins;
}


#opciones {
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	transition: visibility 0.6s, background-color 0.6s;
	z-index: 3;
}
#opciones.mostrar {
	visibility: visible;
	background-color: rgba(0, 0, 0, 0.4);
}
#opciones nav {
	position: fixed;
	top: 0;
	right: 100%;
	width: calc(100% - 3.6rem);
	height: 100%;
	background-color: #FFF;
	color: #7c4d3a;
	font-weight: bold;
	box-sizing: border-box;
	border-top-right-radius: 4rem;
	transition: right 0.6s;
	padding: 1rem;	
}
#opciones.mostrar nav {
	right: 3.6rem;
}
#opciones p {
	font-size: 1.2rem;
	line-height: 1.4rem;
	font-weight: bold;
}
#opciones p:last-child {
	position: absolute;
	color: #888;
	font-size: 1rem;
	line-height: 1.2rem;
	font-weight: normal;
	font-style: italic;
}
@media (orientation: portrait) {
	#opciones img {
		display: block;
		width: 3rem;
		padding: 2rem 1rem 2rem 1.5rem;
	}
	#opciones p {
		padding: 1rem 1.5rem;
	}
	#opciones p:last-child {
		left: 1rem;
		bottom: 1.5rem;
	}
}
@media (orientation: landscape) {
	#opciones img {
		display: block;
		width: 2.5rem;
		padding: 1.5rem 1.5rem 1rem 1.5rem;
	}
	#opciones p {
		padding: 0.5rem 1.5rem;
	}
	#opciones p:last-child {
		left: 1rem;
		bottom: 1.5rem;
	}
}


#turnos {
	display: none;
}
body.turnos #turnos {
	display: block;
	position: relative;
	padding: 1rem 1.5rem 6rem 1.5rem;
	margin-bottom: 10rem;
	border-bottom-left-radius: 4rem;
	background-color: #fff;
}
#turnos h1 {
	padding: 1rem 0;
	text-align: center;
	font: bold 1.3rem/1.5rem Poppins;
	color: #7c4d3a;
	text-transform: uppercase;
}
#turnos article {
	margin-top: 1rem;
	border-radius: 0.6rem;
	border: solid 1px #ccc;
}
#turnos article header {
	position: relative;
	background-color: #eee;
	border-radius: 0.5rem 0.5rem 0 0;
	border-bottom: solid 1px #ccc;
}
#turnos article header h2 {
	padding: 0.4rem 0.6rem;
}
#turnos article header h3 {
	position: absolute;
	top: 0.4rem;
	right: 0.6rem;
}
#turnos article footer {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 3rem;
	border-radius: 0 0 0.5rem 0.5rem;
}


