@charset "utf-8";

@font-face
{
    font-family: Oxygen;
    src: url(fontes/Oxygen/Oxygen-Regular.ttf);
    font-style: normal;
    font-weight: 400;
}

@font-face
{
    font-family: Oxygen;
    src: url(fontes/Oxygen/Oxygen-Bold.ttf);
    font-style: normal;
    font-weight: 700;
}

@font-face
{
    font-family: Oxygen;
    src: url(fontes/Oxygen/Oxygen-Light.ttf);
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: local('Material Icons'), local('MaterialIcons-Regular'), url(fontes/MaterialDesign/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    user-select: none;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

:root
{
    --dark-mode-regular: 60, 60, 60;
    --dark-mode-claro: 200, 200, 200;
    --dark-mode-escuro: 30, 30, 30;
    --branco: 255, 255, 255;
    --preto: 0, 0, 0;
    --zero-rgb: 200,205,205;
    --zero-claro-rgb: 227,230,230;
    --zero-escuro-rgb: 127,127,127;
    --vermelho: 245, 0, 40;
    --vermelho-claro: 255, 210, 220;
    --vermelho-escuro: 170, 0, 20;
    --dois-rgb: 255,210,75;
    --dois-claro-rgb: 255, 255, 160;
    --dois-escuro-rgb: 215, 140, 0;
    --verde: 0, 215, 110;
    --verde-claro: 175, 255, 215;
    --verde-escuro: 0, 105, 55;
    --azul: 0, 135, 255;
    --azul-claro: 155, 205, 255;
    --azul-muito-claro: 203, 228, 253;
    --azul-escuro: 0, 75, 150;
    --cinco-rgb: 255, 125, 0;
    --cinco-claro-rgb: 255, 200, 115;
    --cinco-escuro-rgb: 215, 75, 0;
}

*
{
    margin: 0;
    padding: 0;
    background-color: inherit;
    font-family: Oxygen, sans-serif;
    box-sizing: border-box;
    outline: 0;
    transition: 300ms ease-in;
}

html
{
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-size: 20px;
}

body
{
    display: flex;
    width: 100%;
    height: 100vh;
    margin: 0;
    background-color: rgb(var(--dark-mode-regular));
    color: rgb(var(--dark-mode-claro));
    overflow-x: hidden;
    overflow-y: auto;
}

form
{
    display: flex;
}

label
{
    margin-bottom: 0.25em;
}

label[for]:hover
{
    cursor: pointer;
}

input
{
    flex: 1;
    width: 100%;
    margin-bottom: 0.5em;
    padding: 0.5em;
    border: 0;
    border-radius: 5px;
    background-color: rgb(var(--dark-mode-claro));
    color: rgb(var(--dark-mode-escuro));
    font-size: 1rem;
    transition: 300ms ease;
}

input[type=radio]:checked + label
{
    color: rgb(var(--azul-claro));
}

input[readonly]
{
    background-color: rgba(var(--dark-mode-escuro),0.75) !important;
}

button
{
    flex: 0;
    min-width: 150px;
    padding: 0.5em;
    border: 1px solid rgb(var(--dark-mode-claro));
    border-radius: 5px;
    background-color: transparent;
    font-size: 1em;
    font-weight: 700;
    color: rgb(var(--dark-mode-claro))
    transition: 300ms ease;
}

button:hover, button:focus
{
    cursor: pointer;
    border-color: transparent;
    background-color: rgb(var(--dark-mode-claro));
    color: rgb(var(--dark-mode-regular));
}

#botoesFlutuantes
{
    align-self: flex-end;
    position: sticky;
    right: 0;
    display: inline-flex;
    flex-direction: column;
    margin: 10px 0 20px;
    padding-right: 10px;
    background-color: transparent;
    font-size: 2em;
}

#botoesFlutuantes > button
{
    position: relative;
    max-width: 60px;
    min-width: 60px;
    max-height: 60px;
    min-height: 60px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background-color: rgb(var(--azul));
    color: rgb(var(--branco));
    transition: 150ms ease-in;
    overflow: hidden;
}

#botoesFlutuantes > button:hover, #botoesFlutuantes > button:focus
{
    color: rgb(var(--azul-claro));
}

#botoesFlutuantes > button:active
{
    background-color: rgb(var(--azul-escuro));
}

#botoesFlutuantes > button a
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: inherit;
    color: inherit;
}

#botoesFlutuantes .material-icons
{
    font-size: 1em;
}

.bloquearScroll
{
    overflow: hidden !important;
}

#sectionMenu
{
    flex: 0;
    display: flex;
    flex-direction: column;
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    max-height: 100vh;
}

#logo
{
    flex: 0;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    max-height: 50px;
    padding: 10px;
    background-color: rgb(var(--azul-escuro));
    user-select: none;
    -webkit-user-select: none;
}

#logo > div:first-child
{
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: max-content;
}

#logo h1
{
    flex: 1;
    padding-right: 10px;
    font-size: 1em;
    font-weight: 400;
    color: rgb(var(--branco));
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#divMenu
{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#menu
{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: rgb(var(--dark-mode-escuro));
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
}

#menu a
{
    flex: 0;
    padding: 2.5px;
    color: rgb(var(--quatro-rgb));
    text-decoration: none;
    transition: 300ms ease;
}

#menu a:hover, #menu a:focus
{
    text-decoration: underline;
}

#menu a.ativo
{
    color: rgb(var(--quatro-escuro-rgb));
    font-weight: 700;
    text-decoration: underline;
    transition: color 300ms ease 300ms;
}

#rodape
{
    flex: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    padding: 10px;
    padding-bottom: 25px;
    background-color: rgb(var(--preto));
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
}

#nomeUsuario
{
    font-size: 1em;
    color: white;
    text-transform: capitalize;
}

#cargoUsuario
{
    font-size: 0.75em;
    color: white;
}

#sair
{
    flex: 0;
    max-width: fit-content;
    margin-top: 10px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

#sair:hover, #sair:focus
{
    text-decoration: underline;
}

.botoesMobile
{
    display: none;
}

#botaoAtualizar
{
    display: none;
}

#botaoAtualizar:hover
{
    cursor: pointer;
}

#botaoSanduiche
{
    display: none;
}

#botaoSanduiche:hover
{
    cursor: pointer;
}

#principal
{
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

#tituloPagina
{
    flex: 0;
    position: sticky;
    top: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    min-height: 50px;
    max-height: 50px;
    padding: 10px;
    background-color: rgb(var(--azul));
    color: white;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    z-index: 100;
}

#corpo
{
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 25px;
    overflow: initial;
}

#loading
{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 500;
}

#loading svg
{
    height: 120px;
    opacity: 0.5;
}

i.material-icons
{
    background-color: transparent;
}

.fundoModal
{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(var(--preto),0.5);
    z-index: 1000;
}

.modal
{
    position: relative;
    max-width: 500px;
    padding: 15px 10px 10px;
    border-radius: 5px;
    background-color: rgb(var(--preto));
}

.modal .fechar
{
    position: absolute;
    top: 0;
    right: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    color: rgb(var(--vermelho));
}

.modal .fechar:hover, .modal .fechar:focus
{
    cursor: pointer;
    border: 1px solid;
}

.modal .tituloModal
{
    margin: 0.5rem 0;
}

@media (max-width: 1000px)
{
    
    body
    {
        flex-direction: column;
        height: fit-content;
        min-height: 100vh;
    }

    .bloquearScroll
    {
        overflow: hidden !important;
    }
    
    #sectionMenu
    {
        position: sticky;
        top: 0;
        min-width: 100%;
        max-width: 100%;
        min-height: fit-content;
        z-index: 1000;
    }
    
    #logo
    {
        position: relative;
        z-index: 10000;
    }
    
    #divMenu
    {
        position: fixed;
        top: -100%;
        right: 0;
        bottom: 100%;
        left: 0;
        transition: 300ms ease;
    }
    
    .ativo #divMenu
    {
        top: 50px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        transition: 300ms ease;
    }
    
    #menu
    {
        overflow: auto;
    }
    
    .botoesMobile
    {
        display: flex;
        align-items: center;
    }
    
    #botaoAtualizar
    {
        display: inline-block;
        color: white;
        margin-right: 15px;
    }
    
    #botaoAtualizar .material-icons
    {
        font-size: 30px;
    }
    
    #botaoSanduiche
    {
        display: inline-flex;
        flex-direction: column;
        width: 30px;
        height: 25px;
        margin-right: 7.5px;
        border-top: 5px solid;
        color: white;
        transition: 150ms ease;
    }
    
    #botaoSanduiche::before, #botaoSanduiche::after
    {
        content: "";
        position: relative;
        display: inline-block;
        width: 30px;
        height: 5px;
        margin-top: 5px;
        background-color: currentColor;
        transition: 150ms ease;
    }
    
    .ativo #botaoSanduiche
    {
        border-top-color: transparent;
    }
    
    .ativo #botaoSanduiche::before
    {
        top: 4px;
        margin: 0;
        transform: rotate(45deg);
    }
    
    .ativo #botaoSanduiche::after
    {
        bottom: 1px;
        margin: 0;
        transform: rotate(-45deg);
    }
    
    #principal
    {
        overflow: initial;
    }
    
    #tituloPagina
    {
        top: 50px;
    }
    
}