:root {
    --color-emphasis: #fff295;
    --color-emphasis-over: #fcfcfc;
    --color-secundary: #064965;
    --color-secundary-over: #ecf2ee;
    --bg-color: #002ff6;
    --bg-color-over: #ac9fd652;
    --bg-disabled: #9ca0a4;
    --text-color: #ffffff;
    --text-color-weak: #ffffffc4;
    --link-color: #005e91;
    --error-color: #fdcce5f8;
    --error-color-bg: #b10020;
    --error-color-border: #ff6c87;
    --success-color: #eeffdadd;
    --success-color-bg: #006500dd;
    --warn-color: #4b2d09dd;
    --warn-color-bg: #ffef0bdd;
    --item-bg-color: #e9e9e9;
    --item-border-color: #0006;
    --item-selected-bg-color: #faffdd;
    --border-color: #ffffffe0;
    --border-color-selected: #06F;
    --font-family-normal: "Open Sans", Arial, Helvetica, sans-serif;
    --font-family-title: "Raleway", "Ubuntu", Arial, Helvetica, sans-serif;
    --color-status-normal: transparent;
    --color-status-atencao: #e9e000;
    --color-status-alerta: #d35400;
    --color-status-critico: #c2002a;
    --color-status-positivo: #35bf74;
}

@media (prefers-color-scheme: dark) {
    :root {
        --signal: -;
    }
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    height: 100hv;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--font-family-normal);
    font-optical-sizing: auto;
    background-color: var(--bg-color);
    color: var(--text-color);
}
body > * {
    padding-left: calc(50vw - 37.5rem);
    padding-right: calc(50vw - 37.5rem);
}
@media (max-width: 1240px) {
    body > * {
        padding: 0;
    }
    main > section {
        padding: 0 calc(1vw + 0.5rem);
    }
    body > header {
        padding: 0 calc(1vw + 0.5rem);
    }
}
body > header {
    height: 4rem;
    display: flex;
}
body > header nav {
    display: flex;
    align-items: center;
    flex-basis: calc(90% - 5rem);
    position: relative;
    font-size: 0.9rem;
}
body > header nav button.menu {
    display: none;
}
body > header ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 1;
}
body > header ul a {
    color: var(--color-secundary-over);
    line-height: 1;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem;
    display: block;
}
body > header .current a {
    font-weight: bolder;
    color: var(--colibri-amarelo);
}
body > header .submenu .current a {
    color: var(--colibri-rosa);
    background-color: var(--colibri-amarelo);
}
body > header .logo {
    height: 3rem;
}
body > header .logo img {
    max-height: 100%;
    flex-basis: 3rem;
}
body > main {
    padding-bottom: 3rem;
    margin-top: 1rem;
}
h4, h5, h6 {
    margin-bottom: 0.25rem;
}
h1 { font-size: 2.25em; font-weight: 900;}
h2 { font-size: 1.75em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.25em; }
h5 { font-size: 1.125em; }
h6 { font-size: 1.065em; color: var(--text-color)}
a {
    font-weight: bold;
}
figure {
    margin: 0;
}
blockquote {
    border-left: 2px solid #daf4ff;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 1rem 0;
    background-color: #ecf2ee26;
    min-width: 80vw;
    line-height: 1.75;
}
blockquote h5:first-child {
    margin-top: 0;
}
.attention {
    background-color: var(--warn-color-bg);
    color: var(--zwarn-color);
    padding: 1rem;
    margin: -1rem -1rem 1rem -1rem;
    border: 2px dashed var(--warn-color)
}
.attention h4 {
    font-size: 1.1rem;
    color: inherit;
    margin: 0 0 0.25rem 0;
}
.error {
    background-color: var(--error-color-bg);
    color: var(--error-color)
}
span.pai {
    font-weight: 400;
    font-size: 75%;
    opacity: 0.75;
    display: block;
}
.list {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
    width: 100%;
}
.list .tools {
    background-color: var(--bg-color-over);
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: flex;
    flex-flow: row nowrap;
    gap: 2rem;
}
.list .tools .order {
    flex: 1 1 30%;
}
.list .filters {
    display: flex;
    flex-flow: row nowrap;
    gap: 0.5rem;
    flex: 1 1 70%;
}
.list .order,
.list .filter {
    display: flex;
    flex-flow: column nowrap;
    gap: 0.25rem;
    flex: 1;
}
.list .filter select {
    width: 100%;
}
.list > div {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}
.list > div p,  .list li p,
.list > div h2, .list li h2,
.list > div h3, .list li h3,
.list > div h4, .list li h4,
.list > div h5, .list li h5,
.list > div h6, .list li h6 {
    margin: 0;
    color: inherit;
}
.list > div p,  .list li p {
    text-decoration: none;
    font-weight: normal;
}
.list li.agrupador {
    margin: 2rem 0 0.5rem 0;
}
.list li a,
.list > div a {
    text-decoration: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 0.5em;
    background-color: var(--bg-color-over);
    border-radius: 0.45em;
    color: var(--text-color);
    gap: 0.75em;
}
.list li a:hover,
.list > div a:hover {
    filter: brightness(1.2) contrast(1.2) saturate(1.2);
    transition: .2s;
}
.list > ul {
    list-style: none;
    margin: 0;
    border: 1px solid white;
    border-radius: 0.75em;
    display: flex;
    flex-flow: column nowrap;
    padding: 0.5em;
    gap: 0.5em;
}
.list li {
    margin: 0;
}
.list > ul a > label {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.5rem;
    font-weight: 400;
    padding: 0;
    cursor: pointer;
    align-items: center;
    border-radius: 0.5rem;
}
.list > ul .comprovante a > label {
    background-color: var(--color-status-critico);
}
.list > ul .comprovante.pago a > label {
    background-color: var(--color-status-positivo);
}
.list > ul a > label:hover {
    font-weight: 700;
}
.list > ul a > label input {
    width: 1.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.9;
}
.list > ul a > label:hover input {
    opacity: 1;
    filter: drop-shadow(0px 0px 0.5rem #fff);
}
.list > ul a > div {
    margin: 0 auto 0 0;
    display: flex;
    flex: 1;
    flex-flow: column;
    justify-content: center;
    color: white;
}
.list .favorito {
    flex: none;
}
.list > ul a > div:first-child {
    flex: 1;
}
.list > ul a > div > div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.list li h4 {
    font-family: 'EugeneSans', sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    color: var(--colibri-amarelo);
    text-transform: uppercase;
}
.list ul li a .image {
    margin: 0;
    height: 3.5em;
    width: 3.5em;
    overflow: hidden;
    border-radius: 3.5rem;
    flex: 0 0 3.5em;
    background-color: var(--color-base-surface);
}
@media (max-width: 640px) {
    .list li .image {
        order: 1;
    }
}
.list li .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.read label {
    font-weight: 700;
    font-size: 0.9em;
}
.read label + span,
.read label + p {
    font-size: 1.125em;
    color: inherit;
    margin: 0;
}
.read label + video {
    margin: 0.25rem 0 0 0;
}
video {
    max-width: 100%;
    max-height: 80vh;
    background-color: #000;
    border-radius: 0.25em;
}
.field.pdf {
    flex: 100%;
}
.field embed {
    flex: 100%;
    height: 70vh;
    background: url('/assets/audio.svg') #bebebe47 no-repeat center/contain;
    border-radius: 0.5em;
    object-fit: contain;
    max-width: 100%;;
}
.field.markdown,
.field.plaitext {
    flex: 100%;
}
.field.read.image {
    margin: 0 0 1em 0;
}
.field.write.image img,
.field.read.image img {
    width: 100%;
    border-radius: 0.25em;
}
.list-info {
    margin: 1em 0;
    line-height: 1.65;
}
.list-info span {
    display: inline-block;
    margin-right: 0.75em;
    padding-right: 1em;
    border-right: 1px solid var(--border-color);
    line-height: 1;
    white-space: nowrap;
}
.list-info span:last-child {
    border-right: none;
}
.list-title {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}
.list-title h3 {
    margin: 1em 0;
    font-size: 1.45em;
    line-height: 1.125;
    font-weight: 400;
}
.list-title .status,
.list ul a .status {
    border: 1px solid var(--border-color);
    padding: 0.375rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    margin: 0 0 0 auto;
    flex: 0;
}
.status.normal { background-color: var(--color-status-normal); }
.status.atencao { 
    background-color: var(--color-status-atencao); 
    color: var(--bg-color);
}
.status.alerta { background-color: var(--color-status-alerta); }
.status.critico { background-color: var(--color-status-critico); }
.status.positivo { background-color: var(--color-status-positivo); }
.status span {
    font-size: 85%;
}
.status b {
    display: block;
}
:not(form) fieldset + .buttons {
    margin-top: 1rem;
}
.remover-inscricao {
    background-color: var(--color-status-critico);
}
.roteiro {
    background-color: var(--bg-color-over);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 2rem 0 0 0; 
}
.roteiro h3 {
    margin: 0 0 1rem 0;
}
.roteiro ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
}
.roteiro li {
    display: flex;
    flex-flow: row nowrap;
    gap: 1rem;
    align-items: center;
}
.roteiro b {
    width: 2rem;
    height: 2rem;
    border-radius: 2rem;
    color: var(--text-color-weak);
    border: 1px solid var(--text-color-weak);
    display: flex;
    align-items: center;
    justify-content: center;
}
.roteiro span {
    font-weight: 500;
    color: var(--text-color-weak)
}
.roteiro li.selecionado b {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
}
.roteiro li.selecionado span {
    color: var(--text-color);
}
.roteiro li.atual b {
    background-color: var(--color-emphasis);
    color: var(--bg-color);
    box-shadow: 0 0 0 0.125rem var(--text-color);
}
.roteiro li.atual span {
    color: var(--color-emphasis);
    font-weight: 700;
}

.report {
    display: flex;
    gap: 2rem;
}
.report > div {
    flex: 1 1 40%;
}
.grafico .barras {
    display: flex;
    gap: 0.5rem;
}
.grafico .barras div {
    height: 1rem;
    border: 1px solid white;
    border-radius: 0.25rem;
    padding: 0.125rem;
}
.grafico .legenda {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-flow: column nowrap;
    gap: 0.5rem;
}
.grafico .legenda li {
    display: flex;
    gap: 1rem;
    align-items: center;
}
@media (max-width: 580px) {
    .grafico .legenda li > span {
        display: flex;
        flex-flow: column nowrap;
    }
    .list .tools {
        flex-flow: column nowrap;
    }
    .list .tools .order,
    .list .tools .filters,
    .list .tools .filter {
        width: 100%;
        flex-flow: column nowrap;
    }
    .list .filters {
        flex-flow: column nowrap;
    }
    .list .filters::before {
        content: "Filtros";
    }
    .list .filters label {
        display: none;
    }
    .list li a, .list > div a {
        flex-flow: row wrap;
        gap: 0.5em 1em;
    }
    .list > ul a > div {
        order: 10;
    }
    .list-title .status, .list ul a .status {
        order: 1;
    }
    .list > ul a > label {
        flex-direction: row;
        gap: 0.25rem;
        padding: 0 0.5rem;
    }
    .list > ul a > label input {
        margin: 0;
    }

}
.grafico .legenda li .status {
    width: 1em;
    height: 1em;
    padding: 0;
    border: 1px solid white;
}
.revisao .list ul {
    background-color: var(--bg-color-over);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    list-style: none;
}
.revisao .list li:not(:last-child) {
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
}
@media (max-width: 830px) {
    body > header nav ul.menu {
        display: none;
    }
    body > header nav.open ul.menu {
        display: flex;
        position: absolute;
        top: 3rem;
        left: 0;
        z-index: 1;
        background: var(--color-secundary);
        flex-flow: column;
        gap: 1px;
    }
    body > header nav button.menu {
        display: flex;
    }
}
.recomendacao {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: var(--item-border-color);
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
    margin: 2rem 0;
}
.recomendacao > * {
    margin: 0;
}
.agencias figure.logo {
    max-width: 7rem;
}
form figure.logo img,
figure.logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
.header_agencia {
    display: flex; 
    gap: 0.5rem 2rem; 
    margin: 2rem 0;
    flex-flow: row wrap;
}

.pix {
    display: flex;
    flex-flow: row wrap;
    gap: 1em;
}
.pix figure {
    max-width: 50%;
}
.pix figure img {
    max-width: 22em;
    min-width: 12em;
    max-height: 80vh;
    aspect-ratio: 1;
}
.pix div {
    flex: 1 1 calc(65% - 1em);
}