@font-face {
	font-family: tw cen mt std;
	font-style: normal;
	font-weight: 400;
	src: url(TCM_____.woff) format('woff');
}

:root {
	--amarelo: #FBDA00;
	--vermelho: #B11757;
	--azul: #75BFCD;
	--branco: #E5E5E5;
	--preto: #1A1A1A;
}

body {
	font-family: "Tw Cen MT Std", sans-serif;
	width: 100%;
	min-height: 100%;
	height: 100%;
	margin: 0px;
	font-size: 1em;
	background-color: var(--branco);
}

body:has(#menu) {
	margin-top: 3em;
	min-height: calc(100% - 3em);
	height: auto;
}

body:has(#menu) > p {
	margin-left: 1em;
	margin-right: 1em;
}
body:has(#menu) > form, .cardsWrapper > div {
	background-color: #FFF;
	border-radius: 1em;
	padding: 1em;
	margin: 1em;
	box-shadow: 0px 1px 2px #0004;
}

.a4 {
	width: 29.7cm !important;
	height: 21cm !important;
	background-color: var(--branco);
	margin: 1em auto;
	position: relative;
	font-size: 1rem;
}

html {
	height: 100%;
	width: 100%;
}

button, a.botao, input[type=submit] {
	background-color: var(--branco);
	color: var(--preto);
	padding: 0.5em 1em;
	border-radius: 0.25em;
	font-weight: bold;
	border: none;
	cursor: pointer;
	box-shadow: 1px 2px 2px #0004;
	transition: 0.1s ease-in-out;
	font-family: inherit;
	font-size: inherit;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	max-width: -webkit-fill-available;
	white-space: normal;
	text-align: center;
}
button.vermelho, a.botao.vermelho, input[type=submit].vermelho, h1.vermelho, h2.vermelho, h3.vermelho {
	background-color: var(--vermelho);
	color: var(--branco);
	text-transform: uppercase;
}
button.azul, a.botao.azul, input[type=submit].azul, h1.azul, h2.azul, h3.azul {
	background-color: var(--azul);
	text-transform: uppercase;
}
button.amarelo, a.botao.amarelo, input[type=submit].amarelo, h1.amarelo, h2.amarelo, h3.amarelo {
	background-color: var(--amarelo);
	text-transform: uppercase;
}
button:hover, a.botao:hover, input[type=submit]:hover {
	filter: brightness(1.1);
	box-shadow: 1px 3px 4px #0008;
}
button:active, a.botao:active, input[type=submit]:active {
	filter: brightness(0.9);
	box-shadow: 1px 1px 1px #0008;
}

h1, h2, h3 {
	margin: 0em 0em;
	padding: 0.5em 1em;
}

img.fullfit {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

img.borda {
	margin: 2em;
}

input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], input[type=search], textarea, select {
	font-family: inherit;
	font-size: inherit;
	padding: 0.5em;
	margin: 0.5em;
	background-color: var(--branco);
	border: none;
	border-bottom: 2px solid var(--azul);
	margin-top: 0em;
	outline: none;
}
textarea {
	width: -webkit-fill-available;
}

input[type=checkbox] {
	padding: 0.5em;
	margin: 0.5em;
	cursor: pointer;
}
input[required], select[required] {
	border-bottom-color: var(--vermelho);
}
input:focus, textarea:focus, select:focus {
	border-bottom-color: var(--amarelo);
}

form input[type=checkbox] {
	margin-left: 1em;
}

form p, form label {
	margin: 1em;
	z-index: 1;
}

form label, form input[type=checkbox]:has(+ label) {
	flex-grow: 0 !important;
}

form label + input::placeholder {
	opacity: 0;
}

form label:has(+ input, + select) {
	margin-right: 0em;
	margin-bottom: 0em;
}
form input[type=checkbox] + label {
	margin-left: 0em;
}

form div:has(label + input, label + select) {
	line-height: 0.5em;
}

form div:has(input[type=checkbox] + label) {
	flex-wrap: nowrap;
	white-space: wrap;
}

form div.botoes, dialog div.botoes {
	border-bottom: 1px solid var(--branco);
	display: flex;
	justify-content: space-between;
	padding: 1em;
}

form div.botoes *, dialog div.botoes * {
	flex-grow: 0;
	flex-shrink: 0;
}

form input[type=search] + input[type=submit], form input[type=search] + a.botao {
	flex-grow: 0;
	align-content: center;
}

iframe {
	max-width: 100%;
}

p.erro {
	background-color: #F001;
	font-weight: bold;
	padding: 0.5em;
	text-align: center;
	border: 1px solid #F00;
}
p.erro::before {
	content: "⚠️";
}
p.ok {
	background-color: #0F01;
	font-weight: bold;
	padding: 0.5em;
	text-align: center;
	border: 1px solid #0F0;
}
p.ok::before {
	content: "✔️";
}
p.alerta {
	background-color: #FB01;
	font-weight: bold;
	padding: 0.5em;
	text-align: center;
	border: 1px solid #FB0;
}
p.alerta::before {
	content: "⚠️";
}

.modal {
	display: flex;
	align-content: stretch;
	align-items: center;
	max-width: 800px;
	justify-content: center;
	padding-bottom: 1em;
}

.modal p {
	margin: 1em;
}

.modal img {
	flex-basis: 50%;
	/* margin: 0 auto; */
	max-width: 25%;
}

.modal h1 {
	flex-basis: 100%;
	align-self: flex-start;
	height: fit-content;
}

.marginTexto h1, .marginTexto h2, .marginTexto h3 {
	padding: 0em;
}

.pagina {
	margin: 0px auto;
	max-width: 1024px;
	min-height: 100%;
	border-left: 1px solid #DDD;
	border-right: 1px solid #DDD;
	padding: 0em;
	flex-direction: column;
	display: flex;
	position: relative;
}
.modalWrapper {
	width: calc(100% - 2em);
	min-height: 100%;
	display: flex;
	padding: 0em 1em;
	justify-content: center;
	align-content: center;
}
.barra {
	height: 3em;
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	padding: 0em;
	margin: 0em;
	justify-content: space-evenly;
	align-items: center;
}
.barra.centro {
	justify-content: center;
}

.barra.grande {
	height: 5em;
}
.barra img {
	height: 3em;
	margin: 0em;
	padding: 1em;
	align-self: center;
}
.fundoTransparente {
	background-color: #FFFB;
	box-shadow: 0px 3px 6px #0004;
	backdrop-filter: blur(8px);
}
.barra.estica {
	justify-content: space-between;
	align-items: stretch;
}
.barra.estica p {
	margin: 0.5em 0.5em;
	align-self: center;
}
.barra.estica button {
	border-radius: 0px;
}
.barra.topo {
	position: fixed;
	top: 0px;
	z-index: 11;
}

.sticky {
	position: sticky;
	top: 0px;
	z-index: 10;
}
body:has(#menu) h1.sticky, body:has(#menu) h2.sticky, body:has(#menu) h3.sticky {
	top: 1.5em;
}

.estiloPagina0 {
	background-color: #FFF;
	flex-grow: 2;
	flex-basis: 100%;
}
.estiloPagina1 {
	background-color: var(--vermelho);
	color: #FFF;
	flex-grow: 2;
	flex-basis: 100%;
}
.estiloPagina2 {	
	background-color: var(--amarelo);
	flex-grow: 2;
	flex-basis: 100%;
}
.estiloPagina3 {
	background-color: var(--azul);
	color: #FFF;
	flex-grow: 2;
	flex-basis: 100%;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}
.nowrap {
	flex-wrap: nowrap !important;
}
.margemPagina {
	margin: 2em;
}
.flex.linhaInv {
	flex-direction: row-reverse;
}
.flex.comprido {
	flex-basis: 25vw;
}
.flex * {
	flex-grow: 2;
	flex-shrink: 2;
}
.flex iframe {
	max-width: calc(100% - 2em);
	margin: 1em;
}
.flex.coluna {
	flex-direction: column;
}
.flex100 {
	flex-basis: 100%;
}
.flex50 {
	flex-basis: 50%;
}
.flex25 {
	flex-basis: 25%;
}
.flex50 > *, .flex25 > * {
	min-width: 300px;
}
.marginTexto * {
	margin: 1rem;
}
.flex.centro, form div.botoes.centro, dialog div.botoes.centro {
	justify-content: center;
}
.flex.centro .marginTexto {
	align-self: center;
}
.centralizar {
	text-align: center;
}
.logos {
	margin: 1em;
}
.logos img {
	max-height: 5em;
	max-width: 10em;
}
.carrossel {
	position: relative;
	overflow: hidden;
	min-height: 200px;
}
.carrossel img {
	position: absolute;
	z-index: 0;
	transition: 0.5s ease-in-out;
	transition-property: left;
	transition-delay: 0.5s;
	left: 100%;
}
.carrossel img[exibir] {
	z-index: 1;
	left: 0%;
	transition-delay: 0s;
}

.centralizar img {
	vertical-align: middle;
}

.fullscreen {
	width: 100%;
	height: 100%;
}

.faixasFX {
	display: flex;
	flex-basis: 100%;
	flex-grow: 2;
	flex-shrink: 2;
	align-self: stretch;
	/* min-height: 1em; */
}
.faixasFX div:nth-child(3n+0) {
	background-color: var(--amarelo);
}
.faixasFX div:nth-child(3n+1) {
	background-color: var(--vermelho);
}
.faixasFX div:nth-child(3n+2) {
	background-color: var(--azul);
}

div.textoLongo {
	border: 1px solid var(--branco);
	margin: 1em;
	height: 30em;
	overflow-y: scroll;
	text-align: justify;
	text-indent: 2em;
	color: var(--preto);
}
div.textoLongo ol {
	padding-inline-start: 3em;
	text-indent: 0em;
	margin: 1em;
}
div.textoLongo h1 {
	background-color: var(--azul);
	padding: 0.25em;
}
div.textoLongo h2 {
	padding: 0.25em;
}

pre {
	background-color: #FFF;
	color: #000;
	position: fixed;
	right: 0px;
	bottom: 0px;
	width: 500px;
	margin: 0em;
	padding: 0.5em;
	resize: both;
	overflow-wrap: break-word;
	overflow: auto;
	max-height: fit-content;
	max-width: 100%;
	z-index: 1000;
	border: 1px solid #000;
}

#menu {
	width: 400px;
	height: 100%;
	background-color: var(--vermelho);
	position: fixed;
	top: 0px;
	right: calc(100%);
	z-index: 20;
	box-shadow: 2px 3px 6px #0004;
	transition: 0.1s ease-in-out;
	transition-property: right,width;
	pointer-events: none;
	display: flex;
	flex-direction: column;
}
#menu > div {
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}
#menu[exibir] {
	right: calc(100% - 400px);
	pointer-events: all;
}

.arquivos {
	margin: 0rem 1rem;
}
.arquivos a {
	margin: 0.5rem;
	background-color: #FFF;
}
.arquivos a div {
	font-size: 6em;
}
embed {
	width: 100%;
	height: calc(100% - 11rem);
}

@media only screen and (max-width:600px) {
	#menu {
		width: 100%;
	}
	#menu[exibir] {
		right: 0%;
	}
	body:has(#menu[exibir]) {
		overflow: hidden;
	}
}
#menu * {
	max-width: 100%;
	box-shadow: unset;
}
#menu img {
	width: 20%;
	align-self: center;
	margin: 1em;
}
#menu a.botao {
	border-radius: 0px;
	background-color: var(--vermelho);
	color: var(--branco);
	padding: 1em;
	text-align: left;
}
#menu h1 {
	background-color: var(--amarelo);
}
#menu button.fecharMenu {
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: var(--vermelho);
	color: var(--branco);
	height: 3em;
}
#menu hr {
	border: none;
	background-color: var(--azul);
	height: 0.25em;
	margin: 0px;
	flex-shrink: 0;
}
.fade {
	width: 100vw;
	height: 100vh;
	position: fixed;
	z-index: 19;
	top: 0px;
	left: 0px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.1s ease-in-out;
}
.fade[exibir] {
	opacity: 1;
	pointer-events: all;
}
table {
	width: calc(100% - 2em);
	margin: 1em;
	border-collapse: collapse;
	border-radius: 1em;
	overflow: hidden;
	box-shadow: 0px 1px 2px #0004;
}
table tr:nth-child(odd) td {
	background-color: #ebebeb;
}
table tr:hover {
	filter: brightness(1.1);
}
table tr td, table tr th, table caption {
	background-color: var(--branco);
	padding: 1em;
}
table tr td.azul, table tr th.azul {
	background-color: var(--azul);
}
table tr td.amarelo, table tr th.amarelo {
	background-color: var(--amarelo);
}
table tr td.vermelho, table tr th.vermelho, table caption {
	background-color: var(--vermelho);
	color: var(--branco);
}
table caption {
	font-weight: bold;
}
table + table {
	page-break-before: always;
}
fieldset {
	border: none;
	border-top: 1px solid var(--vermelho);
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
}
fieldset > div.flex {
	flex-grow: 2;
}
fieldset legend {
	padding: 0em 1em;
	background-color: var(--azul);
	border-left: 1em solid var(--amarelo);
}
div.selectCard {
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	display: block;
	background-color: #000;
	position: relative;
}
div.selectCard input[type=radio] {
	opacity: 0;
	position: absolute;
}
div.selectCard label {
	width: 10em;
	height: 20em;
	margin: 0em;
	padding: 0em;
	display: inline-flex;
	align-items: stretch;
	vertical-align: top;
	flex-direction: column;
	justify-content: flex-end;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: bottom;
	transition: 0.25s opacity;
	opacity: 1;
	position: relative;
}
div.selectCard label * {
	word-wrap: break-word;
	padding: 0.25em;
	margin: 0em;
	line-height: 1em;
	background-color: #000B;
	color: #FFF;
	white-space: wrap;
}
div.selectCard label:nth-of-type(3n+0) {
	background-color: var(--amarelo);
}
div.selectCard label:nth-of-type(3n+1) {
	background-color: var(--vermelho);
}
div.selectCard label:nth-of-type(3n+2) {
	background-color: var(--azul);
}
div.selectCard:has(input[type=radio]:checked) label, label:has(+ input[type=radio]:disabled) {
	opacity: 0.2;
	z-index: 4;
}
label:has(+ input[type=radio]:disabled) {
	background-color: var(--preto);
}
div.selectCard label:has(+ input[type=radio]:checked) {
	opacity: 1;
	box-shadow: 0px 0px 2em 1em #FFF;
	z-index: 5;
}
div.selectCard label h3 {
	background-color: #FFF;
	color: 000;
	text-align: left;
}
div.selectCard label h3.nivel1 {
	background-color: #6ce26c;
}
div.selectCard label h3.nivel2 {
	background-color: #eee350;
}
div.selectCard label h3.nivel3 {
	background-color: #ec8028;
}
div.selectCard label h3.nivel1::before {
	content: "✨";
}
div.selectCard label h3.nivel2::before {
	content: "❗";
}
div.selectCard label h3.nivel3::before {
	content: "💥";
}
div.selectCard > h3 {
	position: relative;
	top: 7rem;
	color: #FFF;
	transform: rotate(-60deg);
	text-align: center;
	display: inline-block;
	margin: 0rem;
	margin-right: calc(-4px - 0.5rem);
	margin-left: -11.5rem;
	width: 10rem;
	padding: 1rem;
	pointer-events: none;
	z-index: 6;
}
div.selectCard > h3.esgotado {
	background-color: #F004;
	border: 2px dashed #F00;
}
div.selectCard > h3.alerta {
	background-color: #FF04;
	border: 2px dashed #FF0;
	color: #000;
}
div.cardsWrapper {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
div.cardsWrapper > div {
	padding-top: 0em;
	flex-grow: 0;
}
div.cardsWrapper > div > h2 {
	margin-left: -1rem;
	margin-right: -1rem;
}
div.cardsWrapper > div > a {
	margin: 0.25em;
}
dialog {
	border: none;
	outline: none;
	padding: 0em;
	box-shadow: 0px 3px 6px #0004;
}
dialog::backdrop {
	backdrop-filter: blur(8px);
	background-color: #FFFB;
}
span.flag {
	display: inline-block;
	padding: 0.25rem;
	margin: 0.1rem;
	border-radius: 0.25rem;
	color: var(--preto);
}
span.flag:nth-of-type(3n+0) {
	background-color: var(--vermelho);
	color: var(--branco);
}
span.flag:nth-of-type(3n+1) {
	background-color: var(--amarelo);
}
span.flag:nth-of-type(3n+2) {
	background-color: var(--azul);
}
div:has(> input[type=radio]:only-of-type + label:only-of-type) {
	flex-grow: 0;
	margin: 0.5rem;
	padding: 0.5rem;
	border-radius: 0.25rem;
	background-color: var(--branco);
	box-shadow: 0px 3px 6px #0004;
}
div:has(> input[type=radio]:only-of-type:checked + label:only-of-type) {
	background-color: var(--vermelho);
}
label:has(> img) {
	cursor: pointer;
}

#crachas, #cartazes {
	display: flex;
	flex-wrap: wrap;
	margin: 0.5cm;
}
#cartazes {
	height: 100%;
	font-size: 2em;
}
#cartazes > div {
	width: 100%;
	height: calc(90% - 0.1cm - 2px);
	margin: 0.1cm;
	page-break-after: always;
	border: 1px solid #DDD;
	background-color: #FFF;
	overflow: hidden;
	align-content: center;
	position: relative;
}
#cartazes > div p {
	margin: 1em 2em;
}
#cartazes div:has(> div.assinatura) {
	position: relative;
	margin: 0.5rem;
}
#cartazes div.assinatura {
	border-top: 1px solid #000;
	margin-top: 2em;
	font-weight: bold;
}
#cartazes div.assinatura + div {
	font-size: 0.5em;
}
#cartazes div.assinatura + * + img {
	height: 3em;
    width: 100%;
    object-fit: contain;
    position: absolute;
    top: 0px;
    left: 0px;
}
#cartazes > div img.imagemFundo {
	position: absolute;
	right: -15%;
	bottom: 0px;
	z-index: 1;
	height: 90%;
	opacity: 0.15;
}
#cartazes > div img.imagemFundo.inv {
	filter: invert();
}
#cartazes > div img.imagemLogo {
	position: absolute;
	left: 1em;
	top: 1em;
	max-width: 30%;
	padding: 0;
	z-index: 3;
	background-color: #FFF;
}
#cartazes > div img.imagemLogo.dir {
	left: unset;
	right: 1em;
	height: 100px;
}

#cartazes > div div.barra {
	position: absolute;
	bottom: 0px;
	height: 50px;
	width: 34%;
	z-index: 2;
}

#cartazes p b {
	white-space: nowrap;
}

#crachas > div {
	width: 9cm;
	height: 13cm;
	margin: 0.1cm;
	page-break-inside: avoid;
	border: 1px solid #DDD;
	position: relative;
	overflow: hidden;
}
#crachas > div.vermelho {
	background-color: var(--vermelho);
	color: #FFF;
}
#crachas > div.amarelo {
	background-color: var(--amarelo);
}
#crachas > div.azul {
	background-color: var(--azul);
}
#crachas > div.preto {
	background-color: var(--preto);
}
#crachas > div.branco {
	background-color: var(--branco);
}
#crachas > div h1, #crachas > div h2, #crachas > div h3 {
	background-color: #FFF;
	color: #000;
	padding: 0.25cm;
	position: relative;
	z-index: 2;
}
#crachas > div h2 {
	position: absolute;
	width: auto;
	border-bottom-right-radius: 0.5cm;
}
#crachas > div.vermelho h2 {
	background-color: var(--amarelo);
}
#crachas > div.amarelo h2 {
	background-color: var(--azul);
}
#crachas > div.azul h2 {
	background-color: var(--vermelho);
	color: #FFF;
}
#crachas > div.branco h2 {
	background-color: var(--preto);
	color: #FFF;
}
#crachas > div p {
	padding: 0.25cm;
	margin: 0;
	text-align: center;
}
#crachas > div.preto p {
	color: #FFF;
}
#crachas > div img.imagemFundo {
	position: absolute;
	right: -15%;
	bottom: 0px;
	z-index: 1;
	width: 90%;
}
#crachas > div.branco img.imagemFundo {
	filter: invert();
}
#crachas > div img.imagemLogo {
	position: absolute;
	left: 0px;
	bottom: 10px;
	max-width: 80%;
	padding: 0 10%;
	text-align: center;
	z-index: 3;
	background-color: #FFF;
}
#crachas > div div.barra {
	position: absolute;
	bottom: 0px;
	height: 50px;
	width: 34%;
	z-index: 2;
}
#crachas > div div.barra:nth-child(1), #cartazes > div div.barra:nth-child(1) {
	background-color: var(--amarelo);
	left: 0%;
}
#crachas > div div.barra:nth-child(2), #cartazes > div div.barra:nth-child(2) {
	background-color: var(--azul);
	left: 33%;
}
#crachas > div div.barra:nth-child(3), #cartazes > div div.barra:nth-child(3) {
	background-color: var(--vermelho);
	left: 66%;
}

@page {
	margin: 0cm;
}
@page a4 {
	size: landscape;
	page-orientation: landscape;
	margin: 0cm;
}

@media print {
	body {
		print-color-adjust: exact;
		-webkit-print-color-adjust: exact;
		background-color: unset;
	}
	body:has(#menu) {
		margin-top: 4em;
	}
	body:has(.a4) {
		margin: 0 !important;
		width: auto !important;
		height: auto !important;
		page: a4;
	}
	#cartazes {
		width: auto !important;
		height: auto !important;
		margin: 0cm !important;
	}
	.a4 {
		width: 100vw !important;
		height: calc(100vh - 1em) !important;
		font-size: 1rem !important;
		margin: 0cm;
		padding: 0cm;
		position: absolute;
		top: 0pt;
		left: 0pt;
	}
	.barra.topo.estica {
		justify-content: space-around;
		height: 4em;
		position: absolute;
	}
	.barra.topo.estica button {
		display: none;
	}
	#menu {
		box-shadow: none;
		z-index: 1000;
	}
	table {
		page-break-inside: avoid;
		margin-left: 2em;
		margin-right: 2em;
		width: calc(100% - 4em);
	}
	table tr {
		page-break-inside: avoid;
	}
	h1 {
		padding: 0.5em 2em;
	}
	#crachas h1, #crachas h3, #cartazes h1, #cartazes h2 {
		padding: 0.5em;
	}
	div.gridImpressao {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}
}