@font-face {
    font-family: 'Averta';
    src: url('fonts/Averta_Regular.otf') format('truetype');
}


@font-face {
    font-family: 'Averta Bold';
    src: url('fonts/Averta-ExtraBold.otf') format('truetype');
}

@font-face {
    font-family: 'Stag Sans Book';
    src: url('fonts/Stag Sans-Book.otf') format('truetype');
}


/* Dash mantine conflicts */
input:invalid {
    outline: none !important;
}


a {
    color: white
}

/* AG Grid table formatting */
.ag-theme-material .ag-row {
    font-family: Averta;
}

.ag-theme-quartz {
    font-family: Averta;
}

.ag-theme-material .ag-header {
    font-weight: bold;
    font-family: Averta;
    background-color: #0066A1;
    height: 20px;
}

.ag-theme-quartz .ag-header-cell {
    font-weight: bold;
    color: #525252;
    font-family: Averta;
}

.ag-theme-material .ag-header-cell {
    color: #fff;
}

.mantine-Menu-itemSection:last-child {
    display: none
}

.ag-theme-quartz.ag-theme-dependencies .ag-header-cell .ag-header-cell-label {
    font-family: Averta;
    padding: 0;
    justify-content: center;
    font-size: 12px;
}

.ag-theme-quartz.ag-theme-dependencies .ag-header-group-cell {
    font-family: Averta;
    font-weight: bold;
    color: #525252;
    padding: 4px 8px;
    text-align: center;
    font-size: 12px;
}


.ag-theme-quartz.ag-theme-dependencies .ag-row .ag-cell {
    align-items: center;
    display: flex;
    justify-content: center;
}

.ag-theme-quartz.ag-theme-dependencies .ag-row .ag-cell:not([col-id^="max_value_"]):not([col-id^="total_"]) {
    font-family: Averta;
    font: bold;
    padding: 4px 8px;
    line-height: 1.2;
    text-align: left;
    font-size: 13px;
    border-right: 1px solid #d0d0d0;
    display: flex;
    justify-content: left;
}
