/*
 * Styles for Historic Analog Allotments (1952.php)
 */

/* ---- Layout ---- */

.allot-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.allot-title {
    text-align: center;
}

/* ---- Tables (shared) ---- */

.allot-table {
    border-collapse: collapse;
    margin: 0 auto;
    text-align: left;
}

.allot-table td {
    padding: 4px;
}

/* ---- State header row (table & flagged views) ---- */

.state-header td {
    text-align: center;
}

/* Column-header row that appears under each state */
.col-header td {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.col-header td:not(:last-child) {
    border-right: 1px solid #000;
}

.col-header-center {
    text-align: center;
}

/* ---- Data rows ---- */

.city-cell {
    border-right: 1px solid #000;
    border-bottom: 1px dotted #777;
}

.channel-cell {
    border-bottom: 1px dotted #777;
}

/* ---- Date-change view ---- */

.date-table-header td {
    border-bottom: 1px solid #000;
}

.date-table-header td:not(:last-child) {
    border-right: 1px solid #000;
}

.date-table-header td:last-child {
    text-align: center;
}

.date-removed-header {
    text-align: center;
}

.date-added-header {
    text-align: center;
}

/* ---- Flagged view ---- */

.flag-desc td {
    text-align: justify;
    max-width: 720px;
}

/* ---- Map legend ---- */

.map-legend {
    margin: 0 auto;
}

.map-legend-item {
    border: 1px solid #000;
}

.map-legend-item td:first-child {
    text-align: right;
}

/* ---- Submenu / navigation ---- */

.allot-nav {
    margin: 8px 0;
}

/* ---- Form ---- */

.allot-form {
    white-space: nowrap;
}
