﻿/*Overrides some of the MudBlazor css*/

.mud-toolbar-gutters {
    padding-left: 16px !important;
    padding-right: 8px !important;
}

.datagrid-select-input {
    min-width: 300px !important;
}

/*Set behavior at the sm and down breakpoint from MudBlazor*/
@media only screen and (max-width : 600px) {
    .datagrid-search-input {
        max-width: 100% !important;
    }

    .datagrid-select-input {
        max-width: 100% !important;
    }

    .mud-table.mud-elevation-1 {
        margin: 5px !important;
        padding: 5px !important;
        width: 100% !important;
    }
}

/*Set behavior at the medium and up breakpoint from MudBlazor*/
@media only screen and (min-width : 601px) {
    .datagrid-search-input {
        max-width: 350px !important;
    }
    .datagrid-select-input {
        max-width: 320px !important;
    }
    .mud-table.mud-elevation-1 {
        margin: 30px 0px 30px 30px !important; /* top right bottom left */
    }

}

.mud-table-row .mud-table-cell:has(.mud-table) {
    background-color: #f0f0f0 !important;
}

.overlapping-chip {
    margin-left: -10px; /* Adjust this value to control the overlap */
    border: 2px solid #cccccc; /* Neutral outline color */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25); /* Elevation */
    z-index: 1; /* Ensure the chips stack properly */
}

    .overlapping-chip:first-child {
        margin-left: 0; /* No overlap for the first chip */
    }


.text-overflow-ellipses {
    white-space: nowrap;
    /*width: 100%;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

/*.mud-table-container {
    width: 100% !important;
}*/


/*.table-child .mud-table-cell{
    padding: 0px !important;
}*/
