
.graph_budget{
    width: 250px;
    position: relative;
    box-shadow: var(--box-shadow);
    border-radius: 15px;

    .title {
        background-color: var(--main-color-opac50);
        padding: 5px;
        border-radius: 15px 15px 0px 0px;
        font-weight: bold;
        text-align: center;
    }

    .titreBudget {
        font-weight: bold;
        color: var(--main-color-client2);
        margin-top: 5px;
        margin-left:10px;
        margin-right:10px;
    }

    .budget {
        margin-left: 10px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        margin-right: 10px;
    }


    .groupBar {
        position: relative;
        height: 200px;
        width: 65px;
        margin-top: 50px;
        margin-left: 25px;

        .bar{
            width: 100%;
            position: absolute;
            bottom: 0px;
        }

        .MontantBudget {
            z-index: 1;
        }
        
        .ConsoDocument {
            background: black;
            z-index: 2;
        }
        
        .DejaConsomme {
            z-index: 3;
        }

        .splitConso {
            position: absolute;
            width: 220px;
            height: 1px;
            background-color: black;
        }

        .lib_conso {
            position: absolute;
            left: 70px;
            width: 155px;
            font-weight: bold;
        }
        
        .lib_dejaDonso {
            top: -19px;
            text-align: right;
            padding-right: 5px;

            & > span {
                background-color: #3b7a3b;
                color: white;
                padding: 3px;
                border-radius: 6px 6px 0 0;
            }
        }
        
    }

    .percentConso{
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .noConso {
        margin: 10px; 
        text-align: center;
        font-style: italic;
    }
}