/*===
* CONFIGURAÇÕES PARA COMPUTADORES E NOTEBOOKS.
* 1024x768.
====*/
/**
* Configurações para todas as páginas.
*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	width: 100%;
	height: 100vh;
}
body {
	background-image: linear-gradient(to top, #000080, #87ceeb);
	background-attachment: fixed;
}
header {
	width: 100%;
	top: 0;
	left: 0;
	height: 70px;
	position: fixed;
	background-color: #808080;
	z-index: 10000;
}
main {
	height: 100%;
	padding-top: 70px;
	margin-bottom: 50px;
	margin-left: 20px;
	margin-right: 20px;
}
footer {
	width: 100%;
	position: fixed;
	display: flex;
	bottom: 0;
	right: 0;
	height: 20px;
	justify-content: center;
	align-items: center;
	vertical-align: middle;
	background-color: #363636;
	color: #ffffff;
	font-family: "Arial, Helvetica, Sans-Serif";
	font-size: 16px;
	font-weight: bold;
	text-shadow: 2px 2px 2px #000000;
	word-wrap: wrap;
}
/**
* Menu.
*/
.Logotipo {
	display: none;
	width: 40px;
	height: 40px;
}
.Sistema{
	display: none;
	text-align: center;
	color: #ffffff;
	font-size: 24px;
	font-weight: bold;
}
.menu {
	background: #808080;
	padding-inline: 16px;
}
.barra {
	max-width: 1280px;
	height: 70px;
	margin-inline: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.barra-lista{
	display: flex;
	gap: 32px;
	list-style: none;
}
.barra-lista a{
	font-size: 18px;
	color: #fff;
	padding-block: 16px;
}
.hamburger {
	display: none;
	border: none;
	background: none;
	border-top: 3px solid #fff;
	cursor: pointer;
}
.hamburger::after,
.hamburger::before{
	content: " ";
	display: block;
	width: 30px;
	height: 3px;
	background: #fff;
	margin-top: 5px;
	position: relative;
	transition: 0.3s;
}
/**
* Divs.
*/
.caixa-formulario {
	width: 360px;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	background-color: #B5B5B5;
	border-radius: 10px;
	box-shadow: 10px 10px 10px #000000;
}
.caixa-erro {
	width: 360px;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: bold;
	color: #ffd700;
	text-align: center;
	text-shadow: 2px 2px 2px #000000;
}
.caixa-sucesso {
	width: 360px;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: bold;
	color: #00ff00;
	text-align: center;
	text-shadow: 2px 2px 2px #000000;
}
/**
* Títulos.
*/
.Titulo {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: bold;
	color: #ffffff;
	margin: 5px;
	text-align: center;
	text-shadow: 2px 2px 2px #000000;
}
/**
* Formulários.
*/
label {
	font-family: Arial, Helvetica, sans-serif;
	color: #ffffff;
	font-weight: bold;
	font-size: 16px;
	text-shadow: 1px 1px 1px #000000;
	margin-left: 10px;
}
.form-control:focus {
	background-color: #ffff00;
}
/**
* Botões.
*/
.btn {
	box-shadow: 2px 2px 2px #000000;
}
.Detalhe {
	width: 20px;
	height: 20px;
	border: none;
	cursor: pointer;
}
/**
* Divisórias dos formulários com foto.
*/
.Foto {
	display: inline-block;
	width: 25%;
	float: left;
	text-align: center;
}
.Ficha {
	width: 75%;
	float: left;
}
/**
* Botão de Câmera.
*/
img.Camera {
	width: 50px;
	height: 50px;
	cursor: pointer;
}
/*
* Pré-Visualização de Foto.
*/
.Foto3x4 {
	display: block;
	width: 300px;
	height: 300px;
	margin: auto;
	border: 1px solid #000000;
	box-shadow: 15px 15px 15px #000000;
}
.imgCaminho{
	width: 300px;
	text-align: center;
	color: #ffffff;
	font-weight: bold;
	word-break: break-all;
}
/**
* Relatórios.
*/
.card-title {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-weight: bold;
	font-size: 28px;
}
.card-text {
	font-family: Calibri, sans-serif;
	color: #000000;
	font-weight: bold;
	font-size: 20px;
}
/**
* Tabelas.
*/
.table-responsive {
	opacity: 1.0;
}
.table {
	background-color: #ffffff;
	font-family: Calibri, courier new, sans-serif;
	font-size: 14px;
	font-weight: bold;
	margin: 10px;
	width: 98%;
	box-shadow: 10px 10px 10px #000000;
}
.table th {
	text-align: center;
}
.table td {
	vertical-align: middle;
}
/**
* Botão de Detalhe das tabelas.
*/
.Detalhe {
	width: 40px;
	height: 40px;
	border: none;
	cursor: pointer;
}
.Detalhe:hover {
	text-decoration: none;
}
/**
* Foto na lista.
*/
.ContainerFotoLista {
	width: 70px;
	height: 70px;
}
.FotoLista {
	width: 100%;
	height: 100%;
	 object-fit: cover;
}
/*===
* CONFIGURAÇÕES PARA SMARTPHONES E TABLETS.
====*/
/**
* Para Smartphones.
*/
@media (max-width: 768px) {
	/**
	* Geral das páginas.
	*/
	main{
		margin-top: 20px;
		padding-bottom: 40px;
		margin-left: 10px;
	}
	/**
	* Menu.
	*/
	.Logotipo {
		display: inline-block;
	}
	.Sistema {
		display: inline-block;
	}
	.hamburger{
		display: block;
		z-index: 1;
	}
	.barra-lista{
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background: #808080;
		clip-path: circle(100px at 90% -15%);
		transition: 1s ease-out;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		gap: 0;
		pointer-events: none;
	}
	.barra-lista a{
		font-size: 24px;
		opacity: 0;
	}
	.barra.active .barra-lista{
		clip-path: circle(1500px at 90% -15%);
		pointer-events: all;
	}
	.barra.active .barra-lista a{
		opacity: 1;
	}
	.barra.active .hamburger{
		position: fixed;
		top: 26px;
		right: 16px;
		border-top-color: transparent;
	}
	.barra.active .hamburger::before {
		transform: rotate(135deg);
	}
	.barra.active .hamburger::after {
		transform: rotate(-135deg);
		top: -7px;
	}
	/**
	* Divs.
	*/
	.caixa-formulario {
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		transform: none;
		padding: 10px;
	}
	.caixa-erro {
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		transform: none;
		padding: 10px;
	}
	/**
	* Títulos.
	*/
	.Titulo {
		font-size: 2rem;
		margin-bottom: 10px;
	}
	/**
	* Formulários.
	*/
	.form-inline, .form-control{
		display: inline-block !important;
		width: 90vw !important;
	}
	.form-group{
		display: block;
		width: 100%;
		.box-sizing(border-box); // Makes inputs behave like true block-level elements
	}
	.form-control{
		font-weight: bold;
		font-size: 1.5em;
	}
	label {
		width: 100%;
		font-size: 1.5em;
		margin: 0;
	}
	/**
	* Botões.
	*/
	.btn {
		width: 70%;
		height: auto;
		padding: 20px;
		font-size: 4em;
		font-weight: bold;
		text-transform: uppercase;
	}
	/**
	* Botão de Detalhe das tabelas.
	*/
	.Detalhe {
		width: 45%;
		padding: 20px 20px;
		font-size: 4em;
		font-weight: bold;
		text-transform: uppercase;
	}
	/**
	* Divisórias dos formulários com foto.
	*/
	.Foto {
		width: 100%;
		align-items: top;
		text-align: center;
	}
	.Ficha {
		width: 100%;
	}
	/**
	* Botão de Câmera.
	*/
	img.Camera {
		width: 100px;
		height: auto;
	}
	/**
	* Tabelas.
	*/
	.table {
		display: block;
		position: static;
		width: 95%;
	}
	.table tr {
		border-bottom: 1px solid #dddddd;
	}
	.table td {
		border: 0;
		display: inline-block;
		width: 95%;
		font-size: 1.5em;
	}
	.table th {
		display: none;
	}
	/**
	* Botão de Detalhe das tabelas.
	*/
	.Detalhe {
		min-width: 80px;
		min-height: 80px;
	}
	/**
	* Foto na lista.
	*/
	.ContainerFotoLista {
		width: 300px;
		height: auto;
	}
}
/* Media Query para impressão */
@media print {
	/* Oculta tudo no corpo exceto a div de impressão */
	body {
		background-image: none !important;
		background-color: #ffffff !important; /* Branco puro, economiza tinta */
		-webkit-print-color-adjust: exact !important;
	}
	body * {
		visibility: hidden;
	}
	.area-para-imprimir, .area-para-imprimir * {
		visibility: visible;
	}
	/* Posiciona a div para impressão */
	.area-para-imprimir {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%; /* Garante que ocupe a página */
	}
	/* Opcional: remove elementos que não devem aparecer na impressão */
	.nao-imprimir {
		display: none;
	}
}