#materials input {
    height: 20px;
    padding: 5px;
    width: 150px;
}

.materialSelector {
    position: relative;
}

.materialSelector .materialList {
    border-color: #7a7a7a;
    border-width: 1px;
    border-style: solid;
    display: none;
    max-height: 300px;
    overflow: auto;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    width: 200px;
    z-index: 10;
}

.materialSelector .materialList.show {
    display: block;
}

.materialSelector p {
    background-color: #fafafa;
    margin: 0;
    padding: 5px;
    text-align: left;
}

.materialSelector p:nth-child(even) {
    background-color: #f5f5f5;
}

.materialSelector p:hover {
    background-color: #e6e6e6;
}

.materialListWrap {
    display: flex;
    flex-direction: column;
}

.mixMaterialListTitle {
    background-color: black;
    color: white;
}

.mixMaterialListTitle div {
    display: block !important;
    margin: auto;
}

.materialListWrap div {
    display: flex;
    flex-direction: row;
}

.mixMaterialList {
    flex-direction: column !important;
    background-color: #f5f5f5;
    border-style: solid;
    border-width: 1px;
    border-color: #7a7a7a;
}

.materialListRow:nth-child(odd) {
    background-color: #fafafa;
}

.material, .quantity {
    width: 200px;
}

.material *, .quantity * {
    width: 180px;
}

.material input {
    text-align: left;
    padding: 0 10px;
}

.quantity input {
    text-align: right;
    padding: 0 10px;
}

.units, .units * {
    width: 40px;
}

.removeButton, .removeButton * {
    width: 100px;
}

.positionButtons {
    display: flex !important;
    flex-direction: column !important;
    width: 50px;
    padding: 1px 3px 1px 1px;
    /*border-bottom: solid 1px #7a7a7a;*/
}

.positionButtons button {
    margin: 1px;
    width: inherit;
    height: 50%;
}
