table {
    width: 100%;
}

.table-container {
    height: 400px;
    overflow: auto;
}

th.mat-sort-header-sorted {
    color: black;
}

.no-padding {
    padding: 0px;
}

::ng-deep mat-form-field .mat-form-field-infix {
    width: initial;
}

$fontcolor: #676a6c;
.content {
    width: 100%;
    display: flex;
    padding-right: 0px !important;
    .grid-container,
    .filter-panel {
        .crud-table {
            margin-bottom: 0px;
            width: 100%;
        }
    }

    .filter-panel {
        margin-bottom: 10px;
    }

    .toolbar-option {
        margin-left: 10px;
        margin-right: -10px;
    }
}

.grid-ibox-content {
    // width: calc(100% - 35px);
    width: 100%;
}

.grid-ibox-content-options {
    width: calc(100% - 35px);
}

.btn-actions {
    .btn {
        font-size: 10px;
        white-space: nowrap;
    }
}

.spinner-container {
    height: 100%;
    width: 100%;
    padding-top: 50px;
    position: fixed;
}
.spinner-container {
    height: 100%;
    width: 100%;
    padding-top: 50px;
    position: fixed;
}

.spinner-container mat-spinner {
    margin: -10px auto 0 auto;
}

th.mat-column-actions {
    width: 1px !important;
    padding-right: 0px !important;
}

td.mat-column-actions {
    padding-right: 20px !important;
    cursor: default !important;
}

td {
    vertical-align: middle !important;
    color: $fontcolor;
    font-size: 12px;
}
th {
    vertical-align: middle !important;
}
tr.mat-header-row {
    height: 50px !important;
}

tr.mat-footer-row,
tr.mat-row:not(.inner-detail-row) {
    height: 40px;
}

.table-toolbar {
    right: 10px;
    top: 10px;
    button {
        font-size: 12px;
    }
}

.status-button-bar {
    button {
        font-size: 16px;
    }
    padding-top: 8px;
    padding-left: 15px;
}

.mat-raised-button {
    padding: 0px 10px;
}

.icon-centered-button span.mat-button-wrapper {
    display: flex;
}

.icon-centered-button mat-icon {
    font-size: 15px;
    padding-top: 2px;
}

::ng-deep .mat-sort-header-arrow {
    visibility: hidden;
}

::ng-deep .mat-sort-header-button {
    .mat-icon {
        padding-left: 10px;
        font-size: 12px;
        padding-top: 5px;
    }
}

@media (min-width: 576px) {
    ::ng-deep .d-sm-block {
        display: table-cell !important;
    }
}

@media (max-width: 576px) {
    ::ng-deep .mat-paginator-page-size-label {
        display: none !important;
    }
}

tr.inner-detail-row {
    height: 0;
    .mat-column-expandedDetail {
        padding: 0 10px;
    }
}

.inner-element-detail {
    overflow: hidden;
    display: flex;
}

//@extend
tr.inner-detail-row {
    td {
        border-bottom: 1px solid #dee2e6;
        border-top: 0px;
    }
}

tr.inner-element-row.odd,
tr.inner-detail-row.odd {
    background-color: rgba(0, 0, 0, 0.05);
}

// tr.inner-detail-row {
//     cursor: pointer !important;
// }

tr.mat-row-auth:not(.inner-expanded-row):hover {
    background-color: #f8f9fa;
    cursor: pointer !important;
}

tr.mat-row-auth.inner-expanded-row:hover {
    cursor: pointer !important;
}

tr.inner-element-row-expanded td {
    border-top: 0px;
    border-bottom: 0px;
}

.additional-options-section {
    padding: 0;
    width: 100%;
    display: inline-grid;
    button {
        margin: 1px 0;
        color: inherit;
        font-size: inherit;
        border-radius: 0px;
    }
}

::ng-deep .mat-menu-item {
    padding: 0 10px;
}

@media (min-width: 992px) {
    .d-t-lg-block {
        display: table-cell !important;
    }
}

.p-b-15 {
    padding-bottom: 15px;
}

.w-id {
    width: 10%;
}

.w-filename {
    width: 15%;
}

.w-description {
    width: 18%;
}

.w-status {
    width: 12%;
}

.w-user {
    width: 15%;
}

.w-uploadDate {
    width: 10%;
}

.w-actions {
    width: 20%;
}
