::ng-deep.mat-form-field-infix {
    border-top: 0px !important;
    padding   : 0.7em !important;
}

::ng-deep.mat-form-field-flex {
    padding: 0px !important;
}

::ng-deep.mat-form-field-wrapper {
    margin: 0px !important;
}

::ng-deep .maintable tbody {
    display : block;
    height  : calc(100vh - 365px);
    overflow: auto;
}

// ::ng-deep .innerTable tbody {
//     max-height: calc(100vh - 800px) !important;
//     overflow  : auto;
//     display   : block;
// }

.table-striped thead tbody tr {
    display     : table;
    width       : 100%;
    table-layout: fixed;
}

::ng-deep .maintable thead {
    display     : table;
    width       : 100%;
    table-layout: fixed;
}

// ::ng-deep .maintable tbody {
//     display: table;
//     width: 100%;
//     table-layout: fixed;
// }
::ng-deep .maintable tr {
    display     : table;
    width       : 100%;
    table-layout: fixed;
}

table {
    width      : 100%;
    white-space: inherit !important;
}

@media screen and (max-width: 1066px) {
    ::ng-deep tbody {
        width: 1230px !important;
    }
}


::ng-deep .mat-error {
    font-size: 12px !important;
}

tr.student-detail-row {
    height: 0;
}


tr.student-element-row:not(.student-expanded-row):hover {
    background: whitesmoke;
}

tr.student-element-row:not(.student-expanded-row):active {
    background: #efefef;
}

.student-element-row td {
    border-bottom-width: 0;
}

.student-element-detail {
    overflow           : auto;
    display            : flex;
    align-items        : center;
    justify-content    : center;
    background-color   : #e1e1e1;
    box-shadow         : inset 2px 3px 8px #c1c1c1;
    border-radius      : 8px;
    // height          : 200px;
}

th.mat-header-cell:last-of-type {
    text-align: end !important;
}
td.mat-cell:last-of-type {
    text-align: end !important;
}

// th.mat-header-cell {
//     background: #cfcfcf
// }

.tableimage {
    object-fit: cover;
}

td {
    padding-top   : 0px !important;
    padding-bottom: 0px !important;
}

::ng-deep .modal-backdrop.show {
    z-index: 1050 !important;
}

img {
    height    : 70px;
    width     : 100px;
    object-fit: contain;
}