/*!
 Copyright (c) 2020, 2024, Oracle and/or its affiliates.
 */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body{
    font-family: "Open Sans", sans-serif;
}

.t-TreeNav {
    color: aliceblue;
    background-color: #284B63;
}
.a-TreeView{
    color: aliceblue;
}

.t-Header-branding {
    background-color: #353535;
}

.t-Breadcrumb {
    padding-left: 25px !important; /* fazer o texto do breadcrumb não tão colada da borda do corpo */ 
}

.t-HeroRegion-icon{
    background-color: transparent; /* tirar tom de verde do logo */
}

/* Novos Estilos */ 

/* BARRINHA SUPERIOR */

.t-Body-title::after {
    content: "" !important;
    background-image: none !important;
    background-color: #193e57 !important;
    height: 0.625rem !important;
}

/* MENU LATERAL */

.a-TreeView-row.is-selected{
    background-color: #353535;
}

/* BUTTONS PARTE SUPERIOR */

// .t-Region-header{
//     display: none;
// }

// .t-Region-body{
//     padding: 0;
// }

.apex-rds-slider{
    display: none;
}

.apex-rds{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.apex-rds-item{
    width: 100%;
    background-color: #193e57; 
    border-radius: 0.25rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    position: relative;
    overflow: hidden;
}

.apex-rds-item::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent); 
    transition: 0.5s;
}

.apex-rds-item:hover{
    background-color: #284b63;
}

.apex-rds-item:hover::before{
    left: 100%;
}

.apex-rds-selected{
    background-color: #353535 !important;
}

.a-RDS-link:focus{
    outline-color: #FFF !important;
}

.a-RDS-link::before{
    display: none;
}

.a-RDS-link{
    width: 100%;
    height: 100%;
    border-radius: 0.25rem;
    color: white;
    text-transform: uppercase;
    display: grid;
    place-items: center;
}

.a-RDS-label, .a-RDS-label:active{
    color: white !important;
}

// .t-Region{
//     background-color: transparent;
//     width: 100%;
//     box-shadow: none !important;
//     border: none;
// }

/* TABELA PRINCIPAL */

.t-IRR-region, .a-IG{
    margin-top: 1rem;
}

.a-IRR-toolbar, .a-IG-header, .a-IG-toolbar {
    background-color: #c6c6c6 !important;
    border-top-left-radius: 4px; 
    border-top-right-radius: 4px; 
}

.a-IRR-header, .a-GV-header{
    background-color: #353535 !important;
    color: white; 
    font-size: 0.9rem;
    height: 3.125rem;
    border: none; 
}

a.t-Button--icon{
    width: 1.5rem;
    display: grid;
    place-items: center;
}

/* DIALOG */ 

.ui-dialog .ui-dialog-titlebar:before{ 
    background-color: #002040;  
}

.dialog-buttons .apex-rds{
    margin-top: 1rem !important;
    gap: 0 !important;
    justify-content: space-between;
}

/* BOTÃO REDONDO DASHBOARD */

.t-BadgeList--circular a.t-BadgeList-wrap .t-BadgeList-value{
    transition: 0.5s;
}

.t-BadgeList--circular a.t-BadgeList-wrap:hover .t-BadgeList-value{
    background-color: #193e57 !important;
}

/* MEDIA QUERIES */

@media (min-width: 700px){
    .apex-rds{
        flex-direction: row;
    }

    .apex-rds-item{
        width: fit-content;
    }

    .a-RDS-link{
        width: 12rem;
    }
}


.a-GV-columnControls .a-Button {
    color: #c6c6c6;
}

/*
    Arvore do Plano de contas
*/
#PLANO_CONTAS .a-TreeView-toggle{
    color: #353535;
}

#PLANO_CONTAS .a-TreeView-toggle::before{
    color: #c6c6c6;
}


#PLANO_CONTAS .a-TreeView-content.is-selected{
    color: #c6c6c6;
}

#PLANO_CONTAS .a-TreeView-content.is-selected.is-hover{
    color: #353535;
}


#PLANO_CONTAS .a-TreeView-row.is-selected.is-focused {
    outline: none;
    color: #353535;
}

#PLANO_CONTAS .a-TreeView-row.is-focused {
    outline: none;
    color: #353535;
}

#PLANO_CONTAS .a-TreeView-label:focus {
    color: #353535;
}

#PLANO_CONTAS .a-TreeView-label.is-focused{
    color: #c6c6c6;
}

