body {
    font-family: "Consolas", monospace, sans-serif;
    display: grid;
    grid-template-columns: 1fr minmax(0, 1200px) 1fr;
}

header {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
}

header h1 {
    grid-column: 2;
}

#disclaimer {
    font-style: italic;
    font-size: 12px;
    grid-column: 2;
    max-width: 50%;
    justify-self: center;
}

#nav-container {
    grid-column: 1 / 4;
    display: grid;
    grid-template-columns: subgrid;
    background-color: rgba(235, 145, 45, 1);
    margin-bottom: 10px;
}

#navigation {
    list-style-type: none;
    padding: 0;
    margin: 0;
    grid-column: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-column: 2;
}

#navigation li a {
    display: block;
    color: black;
    padding: 8px 16px;
    text-decoration: none;

    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#navigation li a:hover {
    background-color: rgba(228, 121, 0, 0.9);
}

.selected {
    background-color: rgba(228, 121, 0, 0.9);
}

.select-date {
    background-color: rgba(159, 159, 159, 0.2);
    cursor: text;
}

.date-select-button {
    width: auto;
    height:auto;
}

.date-select-button:hover {
    cursor: pointer;
}

#ds-container {
    display: block;
    margin-top: 5px;
}

.cumd-container {
    display: inline-block;
}

#content-container {
    text-align: center;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    display: grid;
}

#table-container {
    grid-column: 2;
    margin-top: 10px;
}

#table-header {
    background-color: rgba(235, 145, 45, 1);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 25;
}

#table-header td {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

#table-header td:hover {
    background-color: rgba(228, 121, 0, 0.842);
}

#table-header td i {
    float: right;
    margin-top: 3px;
    margin-right: 2px;
}

#table-wrapper {
    overflow-x: auto;
    width: 100%;
    margin: auto;
    height: 75vh;
}

table {
    border-spacing:1px;
    margin: auto;
    width:100%;
}

td {
    padding: 3px 5px;
    min-width: 75px;
    align-items: center;
    text-align: center;
}

td:first-child {
    width: 1%;
    white-space: nowrap;
    padding: 5px 10px;
}

table, th, td {
    border: 0 black;
}

tr {
    background-color: rgb(245, 245, 245);
    transition:background-color 0.15s ease;
}

tr:nth-child(2n) {
    background-color: rgba(81, 81, 81, 0.3)
}

#control-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    grid-column: 2;
}

#date-container p{
    font-size: 12px;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;

}

.invisible {
    visibility: hidden;
}

.right {
  transform: rotate(-45deg);
    margin-left:5px;
}

.left {
  transform: rotate(135deg);
    margin-right:5px;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#eps-control {
    display: flex;
    align-self:center;
    width: 100%;
    justify-content:space-evenly;
}

@media (max-width: 600px) {
    #disclaimer {
        max-width: 100%;
    }

    #navigation {
        flex-direction: column;
    }

    .cumd-container {
        display: block;
    }

    .cumd-container label {
        display: block;
    }

    #eps-control {
        flex-direction: column;
    }

    #eps-control div {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

