/** Ordena as layers para que sejam sobreescritas na ordem correta. */
/** <--- Menor Prioridade | Maior Prioridade --->  */
@layer GOVBREstilosBootstrapOverrides, GOVBREstilosDeprecated,
       GOVBREstilosBotoes, GOVBREstilosDashboard, GOVBREstilosDataGrid, GOVBREstilosDropdownCombo,
       GOVBREstilosMasterPage, GOVBREstilosTransactions, GOVBREstilosMenu, GOVBREstilosPopup, GOVBREstilosWidgets, 
       GOVBREstilosGlobais, GOVBREstilosComponentes, GOVBREstilosPortalAcesso, GOVBREstilosPortalAcessoHome, GOVBREstilosPortalAcessoLogin;

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

@import url('./estilos/GOVBREstilosBootstrapOverrides.css');
@import url('./estilos/GOVBREstilosBotoes.css');
@import url('./estilos/GOVBREstilosDashboard.css');
@import url('./estilos/GOVBREstilosDataGrid.css');
@import url('./estilos/GOVBREstilosDeprecated.css');
@import url('./estilos/GOVBREstilosDropdownCombo.css');
@import url('./estilos/GOVBREstilosMasterPage.css');
@import url('./estilos/GOVBREstilosMenu.css');
@import url('./estilos/GOVBREstilosPopup.css');
@import url('./estilos/GOVBREstilosTransactions.css');
@import url('./estilos/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-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;
    }

    .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;
    }

    .HomeModulesBig:hover,
    .HomeModulesBigDark:hover {
        background-color: #d9dfe2 !important;
        cursor: pointer;
        transition: 0.2s linear;
    }

    .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);
    }
}

@layer GOVBREstilosPortalAcesso {
}
