
.fixed-subnavbar + .screen-content {
    margin-top: 80px;
}
.items-grid-container {
    margin-top: 10px;
    max-height: 640px !important;
    overflow-y: auto;
}

tr {
    border-top: 1px solid #ccc;
}

.items-grid-container tr {
    border-top: 1px solid #ccc;
}

items-grid-container th {
    border: 1px solid #ccc;
}

.items-grid-container th {
    border: 1px solid #ccc;
}

.backgrid a {
    color: #505050 !important;
}

.backgrid {
    width: auto;
    max-width: none;
    min-width: 100%;
}

    .backgrid th {
        color: #505050 !important;
        overflow: inherit !important;
        text-overflow: inherit !important;
    }
    .backgrid table {
        margin-bottom: 20px;
    }

    .backgrid th {
        font-size: 15px !important;
    }

    .backgrid tr {
        font-size: 14px !important;
    }

        .backgrid tr td {
            overflow: visible !important;
        }

    .backgrid td {
        padding-left: 1px;
        padding-right: 1px;
        font-size: 14px;
        border-right: 0.5px solid #DDD;
        border-left: 0.5px solid #DDD;
        cursor: pointer;
    }



.content-container.hide-subnavbar > .content-inner-container {
    margin-top: 0;
}

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: -16px !important;
    margin-right: -12px !important;
    border-style: inset;
    border-width: 0.4px;
    border-color: lightgray;
}

.container-fluid.content-inner-container {
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 4px;
}

.title-container h3 {
    margin-left: 500px !important;
}

.highlight-material {
    background: #cced96 !important;
}

.highlight-commodity {
    background: #cced96 !important;
}
td.checkbox-cell.renderable {
    width: 7%;
}

input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    margin-left: 7px !important;
    margin-right: 7px !important;
}

td.number-cell.align-center-cell.sortable.renderable {
    width: 20%;
}

input[type="number"] {
    width: 50px;
    text-align: center !important;
}

    /* Hide the spinner controls for number input */
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

button#saveChangesBtn {
    width: 150px;
    height: 70px;
    margin-top: 10px;
    font-size: 15px;
}

button#cancelChangesBtn {
    width: 150px !important;
    height: 70px !important;
    margin-top: 10px;
    font-size: 15px;
}


td.delete-cell.editable.sortable.renderable {
    width: 5%;
}
#add-material-modal .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

    #add-material-modal .form-group label {
        margin-right: 10px;
    }

#add-material-modal .form-control {
    flex: 2;
    border-radius: 4px;
    border: 1px solid #ced4da;
    width: 100%;
    padding: 8px;
    margin-left: 10px;
}

    #add-material-modal .form-control:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

button.btn.btn-primary.btn-sm.add-material {
    float: left;
}


.main-info-grid-container table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.materialToCommodities-grid-container table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}