#status-wrapper {
    width: 100%;
}
#status-wrapper,
p#status-error {
    margin-top: 20px;
    margin-bottom: 75px;
}
table#status-table th, 
table#status-table td, 
table#status-table {
    border: none;
}
table#status-table th,
table#status-table td {
    font-weight: bold;
    padding: 25px;
    font-size: 22px;
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
    vertical-align: middle;
}
table#status-table th {
    background-color: #ef3e42;
    color: #fff;
}
table#status-table td {
    color: #545361;
}
table#status-table th:nth-child(2),
table#status-table td:nth-child(2) {
    text-align: center;
}
table#status-table td:nth-child(2) p {
    font-size: 16px;
    margin-top: 4px;
}
table#status-table th:nth-child(3),
table#status-table th:nth-child(6),
table#status-table td:nth-child(3),
table#status-table td:nth-child(6) {
    text-align: right;
}
table#status-table tr:nth-child(odd) {
    background-color: #ddd;
}
table#status-table tr:nth-child(even) {
    background-color: #f1f1f1;
}
table#status-table img {
    height: 30px;
}
table#status-table .status-warning {
    color: #ef3e42;
}
table#status-table .status-boarding {
    color: #278d30;
}
table#status-table .status-arriving {
    color: #2c28ce;
}
#status-timestamp {
    color: #545361;
    float: right;
    font-weight: bold;
    font-size: 13px;
}
#status-timestamp-hidden {
    display: none;
}
#refresh-icon {
    bottom: 2px;
    display: none;
    /* float: right; */
    height: 20px;
    position: relative;
    right: 7px;
    width: 20px;
}
.animate-refresh {
    animation: rotate-left 1s linear 2;
}

/* Media Queries */
@media (max-width: 950px) {
    #status-wrapper {
        max-height: 600px;
        overflow: auto;
    }
    table#status-table th {
        display: none;
    }
    table#status-table td {
        display: block;
        max-width: 100%;
        text-align: left !important;
        line-height: 30px;
    }
    table#status-table td:nth-child(1) {
        padding: 40px 30px 10px 30px;
    }
    table#status-table td:nth-child(2),
    table#status-table td:nth-child(3),
    table#status-table td:nth-child(4),
    table#status-table td:nth-child(5) {
        padding: 10px 30px;
    }
    table#status-table td:nth-child(6) {
        padding: 10px 30px 40px;
    }
    table#status-table td::before {
        /* display: block; */
        margin-bottom: 7px;
        margin-right: 10px;
        font-weight: normal;
        font-size: 18px;
    }
    table#status-table td:nth-child(1)::before {
        content: 'Scheduled Departure Time';
    }
    table#status-table td:nth-child(2)::before {
        content: 'Service';
    }
    table#status-table td:nth-child(3)::before {
        content: 'Train #';
    }
    table#status-table td:nth-child(4)::before {
        content: 'Final Destination';
    }
    table#status-table td:nth-child(5)::before {
        content: 'Status';
        color: #545361;
    }
    table#status-table td:nth-child(6)::before {
        content: 'Track';
    }
    table#status-table td:nth-child(2) p {
        font-size: inherit;
        display: inline-block;
        margin: 0;
    }
    table#status-table td:nth-child(2) img {
        margin-right: 7px;
    }
}

 /* Keyframes */
@keyframes rotate-left {
  100% {
    transform: rotate(-1turn);
  }
}

@keyframes opacity {
    0% {
        opacity: 10;
    }
    90% {
        opacity: 10;
    }
    100% {
        opacity: 0;
    }
}
