:root {
    --axis-color-yellow: hsla(45, 100%, 50%, 1);
    --axis-color-black: hsla(0, 0%, 0%, 1);
}

.md-typeset .md-table__parts.parts_indiv.parts_note td {
    white-space: nowrap;
}

.md-typeset .md-table__parts.parts_indiv.parts_note th:not(:first-child),
.md-typeset .md-table__parts.parts_indiv.parts_note td:not(:first-child) {
    text-align: center;
}

.md-typeset .md-table__parts.parts_note span:not(.bom-id) {
    color: red;
}

.md-typeset .md-table__cables {
    .bg-yellow { background-color: var(--axis-color-yellow); }
    .bg-black { background-color: var(--axis-color-black); }
}

.md-typeset .md-table__parts td div p {
    margin: auto;
}

.md-typeset .md-table__parts td div p + p {
    color: rgb(180, 180, 180);
    font-style: italic;
}

.md-typeset img.rcorners {
    border-radius: 10px;
}

.md-typeset img.pdf {
    border: 1px solid black;
}

.two_col {
    display: table;
    width: 100%;
    div {
        display: table-cell;
        text-align: center;
    }
}

@media print {
    .no_print {
        display: none;
    }
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #999;
    border-radius: 10px;
}

.badge.bg-later { background-color: var(--axis-color-green); }
.badge.bg-earlier { background-color: var(--axis-color-blue); }