.boardPage {
    margin-bottom: 2em;
}

/* Graphics Row */

.boardPage .graphicsRow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em 0;
}

/* Graphics Table */

.boardPage .graphicsTable {
    border-spacing: 0.3em;
    font-weight: 600;
    empty-cells: hide;
    font-size: 0.8em;
}

.boardPage .graphicsTable th {
    padding: 0.2em 0.4em;
}

.boardPage .graphicsTable td {
    padding: 0 0.2em;
}

.boardPage .graphicsTable th, .boardPage .graphicsTable td {
    margin: 0.3em;
    text-align: center;
}

/* Pin Header Table */

.boardPage .pinHeaderTable {
    color: #AAAAAA;
    --edge-border: 0.2em solid #AAAAAA;
    --edge-radius: 1em;
    --edge-width: 0.2em;
}

.boardPage .pinHeaderTable + .pinHeaderTable {
    margin-left: 0.5em;
}

.boardPage .pinHeaderTable.edge-left {
    border-left: var(--edge-border);
}

.boardPage .pinHeaderTable.edge-right {
    border-right: var(--edge-border);
}

.boardPage .pinHeaderTable.edge-top {
    border-top: var(--edge-border);
}

.boardPage .pinHeaderTable.edge-bottom {
    border-bottom: var(--edge-border);
}

.boardPage .pinHeaderTable.edge-left.edge-top {
    border-top-left-radius: var(--edge-radius);
}

.boardPage .pinHeaderTable.edge-right.edge-top {
    border-top-right-radius: var(--edge-radius);
}

.boardPage .pinHeaderTable.edge-left.edge-bottom {
    border-bottom-left-radius: var(--edge-radius);
}

.boardPage .pinHeaderTable.edge-right.edge-bottom {
    border-bottom-right-radius: var(--edge-radius);
}

/* Pin Table */

.boardPage .pintable {
    color: white;
}

.boardPage .pintable th {
    border-radius: 0.4em 0.4em 0.15em 0.15em;
}

.boardPage .pintable tfoot th {
    border-radius: 0.15em 0.15em 0.4em 0.4em;
}

.boardPage .pintable td {
    border-radius: 0.15em;
    cursor: default;
}

.boardPage .pintable tbody tr:hover > * {
    filter: brightness(1.3);
}

.boardPage .pintable.align-left td:first-child, .boardPage .pintable.align-right td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.boardPage .pintable.align-left th:nth-child(5n-4), .boardPage .pintable.align-left td:nth-child(5n-4):not([colspan],:first-child) {
    background-color: #50008E;
}

.boardPage .pintable.align-left th:nth-child(5n-3), .boardPage .pintable.align-left td:nth-child(5n-3):not([colspan],:first-child) {
    background-color: #008E13;
}

.boardPage .pintable.align-left th:nth-child(5n-2), .boardPage .pintable.align-left td:nth-child(5n-2):not([colspan],:first-child) {
    background-color: #8E0065;
}

.boardPage .pintable.align-left th:nth-child(5n-1), .boardPage .pintable.align-left td:nth-child(5n-1):not([colspan],:first-child) {
    background-color: #007E8E;
}

.boardPage .pintable.align-left th:nth-child(5n-0), .boardPage .pintable.align-left td:nth-child(5n-0):not([colspan],:first-child) {
    background-color: #8e4b00;
}

/*  */

.boardPage .pintable.align-right th:nth-child(5n-4), .boardPage .pintable.align-right td:nth-child(5n-4):not([colspan],:last-child) {
    background-color: #8e4b00;
}

.boardPage .pintable.align-right th:nth-child(5n-3), .boardPage .pintable.align-right td:nth-child(5n-3):not([colspan],:last-child) {
    background-color: #007E8E;
}

.boardPage .pintable.align-right th:nth-child(5n-2), .boardPage .pintable.align-right td:nth-child(5n-2):not([colspan],:last-child) {
    background-color: #8E0065;
}

.boardPage .pintable.align-right th:nth-child(5n-1), .boardPage .pintable.align-right td:nth-child(5n-1):not([colspan],:last-child) {
    background-color: #008E13;
}

.boardPage .pintable.align-right th:nth-child(5n-0), .boardPage .pintable.align-right td:nth-child(5n-0):not([colspan],:last-child) {
    background-color: #50008E;
}

.boardPage .pintable td[colspan] {
    text-align: left;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-radius: 0.15em;
}

.boardPage .pintable.align-right td[colspan] {
    text-align: right;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

/* Text */

.boardPage .text {
    margin: 0.5em;
    min-width: 5rem;
    align-self: center;
    text-align: center;
    font-weight: bold;
    color: #8e8e8e;
}

.boardPage .text.align-top {
    align-self: start;
}

.boardPage .text.align-bottom {
    align-self: end;
}

.boardPage .text.align-left {
    text-align: left;
}

.boardPage .text.align-right {
    text-align: right;
}

.boardPage .text.align-top-left {
    align-self: start;
    text-align: left;
}

.boardPage .text.align-top-right {
    align-self: start;
    text-align: right;
}

.boardPage .text.align-bottom-left {
    align-self: end;
    text-align: left;
}

.boardPage .text.align-bottom-right {
    align-self: end;
    text-align: right;
}

/* Rest of page */

.boardPage .info {
    margin: 0.5em 2em;
}

.boardPage .info .fullName {
    margin-bottom: 0px;
}

.boardPage .info .manufacturer {
    color: #8e8e8e;
    margin: 0px;
}

.boardPage .info .description {
    width: 40%;
    margin: auto;
    margin-top: 2em;
}

@media only screen and (max-width: 2200px) {
    .boardPage .info .description {
        width: 50%;
    }
}

@media only screen and (max-width: 1000px) {
    .boardPage .info .description {
        width: 80%;
    }
}

@media only screen and (max-width: 800px) {
    .boardPage .info .description {
        width: 100%;
    }
}