﻿/* -------------------------------------------------------- the matrix */
.matrix-table {
    border-collapse: separate;
    border-spacing: 4px;
}

.matrix-table th {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    text-align: center;
}

.matrix-corner {
    text-align: left !important;
    color: #6c757d;
}

.matrix-year {
    text-align: right !important;
    color: #495057;
}

.matrix-cell {
    width: 130px;
    height: 54px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

.matrix-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 6px 4px;
    text-decoration: none;
    color: inherit;
}

.matrix-link:hover {
    text-decoration: none;
    outline: 2px solid #1976d2;
    outline-offset: -2px;
}

.matrix-count {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.matrix-note {
    display: block;
    font-size: 11px;
    color: #6c757d;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.matrix-link-empty {
    color: #a02b22;
    font-size: 12px;
    padding-top: 16px;
}

/* close to thirty competitions stand in the list, so each line carries the colour
   of its state - what is done, what is begun, what has not been touched */
.matrix-option-full {
    color: #1e7b34;
}

.matrix-option-partial {
    color: #8a6d00;
}

.matrix-option-empty {
    color: #a02b22;
}

.matrix-full {
    background: #e6f4ea;
    border-color: #a8d5b5;
}

.matrix-partial {
    background: #fff8db;
    border-color: #e6c84f;
}

.matrix-empty {
    background: #fdecea;
    border-color: #ea9b95;
}

.matrix-legend {
    font-size: 13px;
    color: #495057;
}

.matrix-legend-box {
    display: inline-block;
    width: 16px;
    height: 12px;
    border: 1px solid #dee2e6;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 4px;
}

.matrix-summary {
    font-size: 13px;
    color: #495057;
    margin-bottom: 10px;
}
