/** Ordena as layers para que sejam sobreescritas na ordem correta. */
/** <--- Menor Prioridade | Maior Prioridade --->  */
/** ATENÇÃO! No GOVBRPlataformaJS está o controle para criação das layers Important, e deve ser mantido sincronizado  */
@layer GOVBREstilosBootstrapOverrides, GOVBREstilosDeprecated,
       GOVBREstilosBotoes, GOVBREstilosDashboard, GOVBREstilosDataGrid, GOVBREstilosDropdownCombo,
       GOVBREstilosMasterPage, GOVBREstilosTransactions, GOVBREstilosMenu, GOVBREstilosPopup, GOVBREstilosWidgets, 
       GOVBREstilosGlobais, GOVBREstilosComponentes, GOVBREstilosPortalAcesso, GOVBREstilosPortalAcessoHome, GOVBREstilosPortalAcessoLogin;

@import url('./GOVBREstilosComponentes.css');

@import url('./GOVBREstilosBootstrapOverrides.css');
@import url('./GOVBREstilosBotoes.css');
@import url('./GOVBREstilosDashboard.css');
@import url('./GOVBREstilosDataGrid.css');
@import url('./GOVBREstilosDeprecated.css');
@import url('./GOVBREstilosDropdownCombo.css');
@import url('./GOVBREstilosMasterPage.css');
@import url('./GOVBREstilosMenu.css');
@import url('./GOVBREstilosPopup.css');
@import url('./GOVBREstilosTransactions.css');
@import url('./GOVBREstilosWidgets.css');

@layer GOVBREstilosGlobais {
    :root {
        font-size: 62.5%;

        --padding-padrao-tabelas: 0.5rem;
        --padding-padrao-tabelas-negativo: -0.5rem;
        --padding-padrao-containers: 1rem;
        --padding-padrao-containers-negativo: -1rem;

        --colors_basecolor10: #e5ecf1 !important;
    }

    body {
        --fonts_primary-font: Arial, sans-serif;
        --fonts_primary-regular: Arial, sans-serif;

        --radius_xs: 0.1rem;
        --radius_s: 0.2rem;
        --radius_m: 0.4rem;
        --radius_l: 0.6rem;
        --radius_xl: 0.8rem;

        --fontsizes_xs: 1.2rem !important;
        --fontsizes_s: 1.4rem !important;
        --fontsizes_m: 1.8rem !important;
        --fontsizes_l: 2.2rem !important;
        --fontsizes_xl: 2.8rem !important;
        --fontsizes_xxl: 3.4rem !important;

        /* Paleta nova. */
        --colors_base-1-10: #f9fee6;
        --colors_base-1-20: #f0fcbf;
        --colors_base-1-30: #ecfcb2;
        --colors_base-1-40: #e6fb99;
        --colors_base-1-50: #e0fa80;
        --colors_base-1-60: #daf966;
        --colors_base-1-70: #d4f84c;
        --colors_base-1-80: #cdf733;
        --colors_base-1-90: #c7f61a;
        --colors_base-1: #c1f500;
        --colors_base-2-10-transparente: #d9e6e255;
        --colors_base-2-10: #d9e6e2;
        --colors_base-2-20: #ccded8;
        --colors_base-2-30-transparente: #b2cec5055;
        --colors_base-2-30: #b2cec5;
        --colors_base-2-40: #99bdb2;
        --colors_base-2-50-transparente: #80ac9e55;
        --colors_base-2-50: #80ac9e;
        --colors_base-2-60: #669c8b;
        --colors_base-2-70-transparente: #4d8c7855;
        --colors_base-2-70: #4d8c78;
        --colors_base-2-80: #337b65;
        --colors_base-2-90: #196a51;
        --colors_base-2-transparente: #005a3e55;
        --colors_base-2: #005a3e;
        --colors_base-2-090: #00563b;
        --colors_base-2-080: #005138;
        --colors_base-2-070: #004832;
        --colors_base-2-060: #003f2b;
        --colors_base-2-050: #003625;
        --colors_base-2-040: #003222;
        --colors_base-2-030: #00281c;
        --colors_base-2-020: #002419;
        --colors_base-2-010: #001b13;

        /* Paleta azul. */

        &.azul {
            --colors_base-1-10: #f5fbff;
            --colors_base-1-20: #ebf7ff;
            --colors_base-1-30: #e0f3ff;
            --colors_base-1-40: #d6efff;
            --colors_base-1-50: #cceaff;
            --colors_base-1-60: #c2e6ff;
            --colors_base-1-70: #b8e2ff;
            --colors_base-1-80: #addeff;
            --colors_base-1-90: #a3daff;
            --colors_base-1: #99d6ff;
            --colors_base-2-10-transparente: #e6eaee55;
            --colors_base-2-10: #e6eaee;
            --colors_base-2-20: #ccd6de;
            --colors_base-2-30-transparente: #b2c2ce55;
            --colors_base-2-30: #b2c2ce;
            --colors_base-2-40: #99adbd;
            --colors_base-2-50-transparente: #99adbd55;
            --colors_base-2-50: #8098ac;
            --colors_base-2-60: #66849c;
            --colors_base-2-70-transparente: #4c708c55;
            --colors_base-2-70: #4c708c;
            --colors_base-2-80: #335b7b;
            --colors_base-2-90: #1a466a;
            --colors_base-2-transparente: #00325a55;
            --colors_base-2: #00325a;
            --colors_base-2-090: #003056;
            --colors_base-2-080: #002d51;
            --colors_base-2-070: #002a4c;
            --colors_base-2-060: #002848;
            --colors_base-2-050: #00233f;
            --colors_base-2-040: #001e36;
            --colors_base-2-030: #00192d;
            --colors_base-2-020: #001424;
            --colors_base-2-010: #000f1b;
        }

        &.azul .govbr-master-page-logo-cidade360-popup,
        &.azul .govbr-portal-acesso-master-cidade360-logo {
            filter: hue-rotate(150deg) !important;
        }

        &.azul .govbr-portal-acesso-login-cidade-360,
        &.azul .govbr-logo-login {
            filter: hue-rotate(60deg) !important;
        }

        --colors_texto-preto: #3e3e3e;
        --colors_texto-branco: #fbfbfb;

        --colors_fundo-preto: #3e3e3e;
        --colors_fundo-branco: #fbfbfb;

        /* Overrides para as cores no GeneXus */
        --colors_basecolor: var(--colors_base-2);
        --colors_basecolorforecolor: var(--colors_base-2);
        --colors_actionborder_and_focuscolor: var(--colors_base-2-040);
        --colors_actionhover: var(--colors_base-2-030);
        --colors_actionhoverborder: var(--colors_base-2-060);
        --colors_basecolorshadow: var(--colors_base-2-transparente);
        --colors_basecolor10: var(--colors_base-2-10);
        --colors_basecolor30: var(--colors_base-2-30);

        --colors_sidebarmenu_itemhoverforecolor: var(--colors_base-2-010);
        --colors_sidebarmenu_itemopenbackground: var(--colors_base-2-010);
        --colors_sidebarmenu_submenuitemhoverforecolor: var(--colors_base-2-010);
        --colors_sidebarmenu_selecteditembackground: var(--colors_base-2-010);

        --colors_baseforecolor: var(--colors_fundo-branco);
        --colors_databackgroundcolor: var(--colors_fundo-branco);

        --spacing_tamanhomenumodulo: 36px;
        --spacing_tamanhocabecalhorecurso: 33px;
        --spacing_tamanhocabecalhopopup: 30px;
    }

    .TextBlock {
        font-family: var(--fonts_primary-font);
        white-space: normal;
        line-height: normal;
    }

    .ImageExpired {
        vertical-align: middle;
        margin-top: 5px;
        max-width: 250px;
    }

    .TableAcessoNegado {
        box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
        padding: 25px 25px 35px 25px;
        background-color: white;
        border: var(--borders_xs) solid var(--colors_gray05);
        border-radius: var(--radius_l);
        width: 400px;
    }

    .TextBlockTitleMasterError {
        padding-right: 3pt;
        font-style: normal;
        vertical-align: middle;
        white-space: normal;
        color: var(--colors_basecolorforecolor);
        line-height: 30px;
        font-size: 20px;
        font-weight: 500;
    }

    .TextBlockSubTitleLeft {
        font-family: var(--fonts_primary-font);
        line-height: normal;
        font-size: 14px;
        color: var(--colors_borderpopupcolor);
        white-space: normal;
    }

    .TextBlockSubTitleRight {
        font-family: var(--fonts_primary-font);
        line-height: normal;
        font-size: 14px;
        white-space: normal;
        color: var(--colors_borderpopupcolor);
        margin-left: 6px;
    }

    .tooltip-arrow {
        margin-left: 0;
    }

    .tooltip-inner {
        margin-left: 0;
        white-space: normal;
        width: max-content;
        height: max-content;
    }

    .FontIconHead {
        color: var(--colors_basecolor);
    }

    .AttributeColorIconHead {
        color: var(--colors_basecolor);
    }

    .AttributeColorIconHeadAdded {
        color: gold;
    }

    .TableMainPrompt .CleanFiltersIcon {
        font-size: 16px;
        margin: 10px 6px 0 6px;
    }

    .CellContentHolder {
        padding-top: 5px;
    }

    .TableCarregando {
        width: 100vw;
        height: calc(100vh - 20px);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .WCTableCarregando {
        width: 100vw;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 300px !important;
    }

    .ImageCarregando {
        height: 300px;
        width: 300px;
    }

    .gx-mask {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        animation: entermask 1s;
        background-position: center;
        background-color: black;
        z-index: 99999;
    }

    body > .carregando {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 99998;
    }

    body > .gx-mask {
        position: fixed;
    }

    .ActionAtualizar {
        color: #000;
        font-size: 14px;
    }

    .ManageFilters button,
    #ATUALIZARGRID a {
        margin: 0;
        width: 4rem;
        height: 3.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        background: var(--colors_gray02);
        border-radius: 0.5rem;
        margin-top: 0rem;
        margin-right: 1rem;
        text-decoration: none;
    }

    #ATUALIZARGRID a {
        margin-top: 0.2rem;
        margin-right: 0.25rem;
    }

    .ManageFilters button:hover,
    .ManageFilters button:focus-visible,
    #ATUALIZARGRID a:hover,
    #ATUALIZARGRID a:focus-visible {
        background: var(--colors_gray05);
    }

    .ObrigatorioAtributoAttributeRealWidthErro {
        border-color: red;
        border-style: solid;
    }

    .ErrorMessages {
        top: -60px;
    }

    .form-group {
        margin-bottom: 3px;
    }

    .IconeBranco {
        color: white;
    }

    .IconeTamanho20 {
        font-size: 20px;
    }

    /* SAFARI, EDGE/CHROME < 121 */
    *::-webkit-scrollbar {
        background: var(--colors_databackgroundcolor);
        width: 1rem;
        height: 1rem;
    }

    *::-webkit-scrollbar-thumb {
        background: var(--colors_actionborder_and_focuscolor);
        border: 2px solid var(--colors_databackgroundcolor);
        border-radius: 0.5rem;
    }

    *::-webkit-scrollbar-button:single-button {
        display: block;
        height: 1.25rem;
        width: 1.25rem;
        background-size: 0.75rem;
        background-repeat: no-repeat;
    }

    *::-webkit-scrollbar-button:single-button:vertical:decrement {
        background-position: center 0.5rem;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,0 0,50 100,50'/></svg>");
    }

    *::-webkit-scrollbar-button:single-button:vertical:increment {
        background-position: center 0.5rem;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,50 0,0 100,0'/></svg>");
    }

    *::-webkit-scrollbar-button:single-button:horizontal:decrement {
        background-position: 0.5rem center;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,50 50,0 50,100'/></svg>");
    }

    *::-webkit-scrollbar-button:single-button:horizontal:increment {
        background-position: 0.5rem center;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,50 0,0 0,100'/></svg>");
    }

    *::-webkit-scrollbar-corner {
        background: var(--colors_databackgroundcolor);
    }

    /* FIREFOX, EDGE/CHROME > 121 */
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--colors_actionborder_and_focuscolor) var(--colors_databackgroundcolor);
    }

    @media (prefers-reduced-motion: reduce) {
        * {
            animation: none !important;
            transition: none !important;
        }
    }
}

@layer GOVBREstilosPortalAcesso {
}
