@import "menu.css?2";
@import "botoes.css";
@import "forms-old.css";
@import "forms.css?2";
@import "alerta.css";
@import "modal.css";
@import "tabelas.css";
@import "tabs.css";
@import "suggest.css";
@import "tooltip.css";
@import "editor.css";

:root {
    --altura-header: 3.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: Arial, 'sans-serif';
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
}

.dark * {
    color: #8394a0;
}

body, html {
    height: 100%;
}

body {
    width: 100vw;
    overflow-x: hidden;
    --fundo: white;
}

body.dark {
    background: #15202b;
    --fundo: #15202b;
}

h1, h2, h3 {
    color: #5f6368;
}

a {
    text-decoration: none;
    color: #717479;
    cursor: default;
}

a:hover {
    color: #4f5052;
}

a[href] {
    cursor: pointer;
}

.dark a {
    color: #c0c0c0;
    cursor: default;
}

.dark a:hover {
    color: white;
}

.dark a[href] {
    cursor: pointer;
}

main {
    padding: var(--altura-header) 1rem 1rem 1rem;
    min-height: 100%;
    width: 100vw;
}

.oculto, .oculta {
    display: none !important;
}

@keyframes rotacao-loading {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

#loading, .loading {
    background: url(../img/loading-dark.svg) no-repeat center #303134;
    width: 2.5rem;
    height: 2.5rem;
    animation: rotacao-loading 1s infinite;
    display: none;
    position: fixed;
    top: 1.5rem;
    z-index: 11;
    left: 50%;
    margin-left: calc(-2.5rem / 2);
    border-radius: 50%;
}

#loading.visivel {
    display: block;
}

.iphone #loading.visivel {
    display: none;
}

@media (min-width: 1024px) {

    #loading {
        width: 2.5rem;
        height: 2.5rem;
    }

}

@media (min-width: 1200px) {

    #loading.visivel {
        display: none;
    }
}

.carregando {
    height: 3rem;
    width: 3rem;
    margin: auto;
    background: url(../img/loading-dark.svg) center no-repeat;
    animation: rotacao-loading 1s infinite;
}

.shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1);
}

.tela {
    position: absolute;
    top: var(--altura-header);
    left: 0;
    right: 0;
    min-height: calc(100vh - var(--altura-header));
    background: var(--fundo);
    padding: 1rem;
    display: none;
}

.tela.show {
    display: block;
}

.checks {
    display: flex;
    flex-flow: row wrap;
}

.checks label {
    border: 1px solid lightgray;
    border-radius: 0.25rem;
    padding: 0.5rem;
    text-align: center;
    user-select: none;
    display: flex;
    justify-content: center;
    margin: 0 1px 1px;
    color: #7e7e7e;
    font-size: 0.8rem;
}

.checks input {
    display: none;
}

.checks label:hover {
    background: #f5f5f5;
}

.checks label.sel {
    background: #e4e4e4;
}

.dark .checks label {
    border-color: #5e6060;
}

.dark .checks label:hover {
    background: #162d40;
}

.dark .checks label.sel {
    background: #162d40;
}

@media (min-width: 768px) {
    .checks label {
        height: 2.1rem;
    }
}