body {
    font-size: 14px;
    color: #dadada;
    font-family: "Montserrat", "Open Sans", sans-serif;
    --cor-1: #0dd8bf;
    --cor-2: #1a296a;
    --body-background: #282828;
    --texto-destaque: #cdcdcd;
    --texto-destaque-2: #a3a3a3;
    --box-background: #3d3d3e;
    --box-transparente-stick-background: rgba(40, 40, 40, .8);
    --tabela-background: #fafafa;
    --tabela-hover: #F1F2F2;
    --input-background: #e1e1e1;
    --campo-label-color: #cdcdcd;
    --botao-hover: #122b4a;
    --botao-link-background: #ddd;
    transition: all 500ms;
}

body.claro {
    color: #252525;
    --body-background: #fafafa;
    --texto-destaque: initial;
    --texto-destaque-2: initial;
    --box-background: #fff;
    --box-transparente-stick-background: rgba(250, 250, 250, .8);
    --tabela-background: #fff;
    --tabela-hover: #F1F2F2;
    --input-background: initial;
    --campo-label-color: #777;
    --botao-link-background: #fff;
    transition: all 500ms;
}

@media(max-width: 991px) {
    body.claro {
        --tabela-hover: #fff;
    }
}

@keyframes bodyin {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body:not(.carregar-oculto) {
    background-color: var(--body-background);
    min-height: 100vh;
    opacity: 1;
    animation: 250ms bodyin;
}

body.carregar {
    opacity: 0;
}

body.carregar-oculto {
    opacity: 0;
}

main {
    margin-left: 20px;
    padding: 25px 50px;
    min-height: 95vh;
}

@media(max-width: 991px) {
    main {
        padding: 25px 15px;
    }
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.2em;
    color: var(--texto-destaque);
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.2em;
    color: var(--texto-destaque);
}

h3 {
    font-size: .9rem;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 1.2em;
    color: var(--texto-destaque-2) !important;
}

h4 {
    font-size: .75rem;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 1.2em;
}

h2.centralizado,
h3.centralizado,
h4.centralizado {
    text-align: center;
}

@media(max-width: 991px) {

    h1 {
        margin-bottom: 30px;
        font-weight: 700;
    }

    h2 {
        margin-bottom: 10px;
        font-weight: 500;
    }

    h3 {
        margin-bottom: 10px;
    }

    h4 {
        margin-bottom: 10px;
    }

}

.botoes {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 1.11em;
}

section {
    width: 100%;
    padding: 20px 0px;
}

section+section {
    padding-top: 0px;
}

@media(max-width: 991px) {

    section {
        padding: initial;
        margin-bottom: 40px;
    }

    section+section {
        margin-bottom: 30px;
    }

}

section>.titulo {
    width: 100%;
    margin-bottom: 15px;
}

section>.titulo h2 {
    font-size: 1.4rem;
}

.acao-box {
    display: flex;
    justify-content: flex-end;
    color: var(--texto-destaque);
    width: 100%;
    margin-bottom: 15px;
    font-size: .95em;
}

.acao-box:first-child:not(:last-child) {
    justify-content: space-between;
}

.box {
    margin-bottom: 10px;
    background-color: var(--box-background);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, .1);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    row-gap: 1.5em;
}

span.centralizado {
    text-align: center;
    width: 100%;
}

.box.centralizado {
    justify-content: center;
}

[data-id=''] .box.cadastro-editando {
    display: none;
}

@media(max-width: 991px) {

    .box {
        padding: 20px;
    }

}

.box.modal {
    padding: 10px;
    margin-bottom: inherit;
}

.box>h2,
.box>h3,
.box>h4 {
    width: 100%;
}

.box>.titulo {
    width: 100%;
    margin-bottom: 5px;
}

.box>.titulo h3 {
    font-weight: bold;
}

.box.transparente {
    background-color: transparent;
    box-shadow: inherit;
}

.box.transparente.sticky {
    position: sticky;
    bottom: 0;
    background-color: var(--box-transparente-stick-background);
    padding-top: 0;
    margin-top: 30px;
}

strong {
    font-weight: bolder;
}

.acoes-cabecalho {
    position: absolute;
    right: 0;
    padding: 15px;
    font-weight: bolder;
}

@media(max-width: 991px) {

    .acoes-cabecalho {
        position: inherit;
        padding: 10px 10px;
        margin-left: 20px;
        font-weight: bolder;
    }

}

.base-conhecimento .conteudo-categoria-destaque {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.base-conhecimento .conteudo-categoria-destaque .box {
    width: fit-content;
    height: 100%;
    row-gap: initial;
}

@media(max-width: 991px) {

    .base-conhecimento .conteudo-categoria-destaque {
        flex-direction: column;
    }

    .base-conhecimento .conteudo-categoria-destaque .box {
        width: 100%;
    }

}

#bloco-instalar .dispositivos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

#bloco-instalar .dispositivos ol {
    list-style: decimal;
    padding: 1rem;
    line-height: 1.5rem;
}

@media(max-width: 991px) {

    #bloco-instalar .dispositivos {
        grid-template-columns: 1fr;
    }

    #bloco-instalar .dispositivos ol {
        margin-bottom: 1rem;
    }
}

@media all and (display-mode: standalone) {
    #bloco-instalar {
        display: none
    }
}

[cor=vermelho] {
    color: #b30000;
}

[cor=verde] {
    color: #007d00;
}

[cor=azul] {
    color: #002db3;
}

[cor=laranja] {
    color: #ed8e12;
}

ul {
    list-style: inside;

    & li {
        line-height: 1.5rem;
    }

    & li::marker {
        color: var(--cor-1);
    }
}


#tema-sistema-nav {
    & {
        display: flex;
        justify-content: center;
        position: relative;
        align-items: center;
        gap: 15px;
    }

    & input[type=checkbox] {
        appearance: none;
        position: relative;
        width: 50px;
        background-color: #282828;
        border-radius: 100px;
        height: 2em;
        padding: .5em;
        transform: translateX(-20%);
        transition: background-color 500ms ease-in-out;
    }

    & input[type=checkbox]:checked {
        background-color: #fafafa;
        transition: background-color 500ms ease-in-out;
    }

    & input[type=checkbox]:not(:checked)::after {
        background-color: #000;
        color: #000;
        left: .5em;
        transition: left 500ms ease-in-out;
    }

    & input[type=checkbox]::after {
        content: '.';
        width: 1em;
        border-radius: 50%;
        position: absolute;
        background-color: #777;
        color: #777;
        top: 50%;
        transform: translateY(-50%);
        left: calc(100% - 1.5em);
        transition: left 500ms ease-in-out;
    }

    &:hover {
        background-color: initial;
    }
}

@media (display-mode: standalone) {
    #box-instalar-pwa {
        display: none;
    }
}

.conteudo {
    width: 100%;

    & p {
        margin: 20px 0px;
    }

    & .imagem-grande {
        width: 100%;
        margin: 10px 0px;
    }

    & .grupo-conteudo-2 {
        margin: 20px 0px;
        display: flex;
        width: 100%;
        position: relative;
        gap: 20px;

        &>* {
            flex-basis: 100%;
        }
    }

    & .video {
        display: flex;
        justify-content: center;
    }

    & .video iframe {
        aspect-ratio: 16 / 9;
        width: 50%;
    }

    & .imagem {
        display: flex;
        justify-content: center;

        & img {
            max-width: 100%;
        }
    }
}

@media(max-width: 991px) {

    .conteudo {
        & p {
            margin: 0px;
        }

        & .grupo-conteudo-2 {
            flex-direction: column;
        }

        & .video iframe {
            width: 100%;
        }
    }

}