body {
    background-color: #f5f5f5;
    font-family: 'Sawarabi Gothic', sans-serif;
    width: 100%;
    margin:0;
}

main {
    height:100%;
    min-height:95vh;
    box-sizing: border-box;
    flex-direction: column;
}

a {
    color: black;
    text-decoration: none;
}

footer {
    margin-top: auto;
    width:100%;
    text-align: center;
}

footer p{
    margin: 0;
    font-size: x-small;
}

img.logo {
    padding-left: 5px;
    width: 80px;
    height: 28px;
}

div.content {
    padding: 0px;
}

div#clock {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 50px;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 0 5px;
    font-weight: bold;
    color: #92c65f;
    background-color: #222;
    display: none;
}

div#clock span.colon {
    opacity:0;
}


div.station-panel {
    margin: 0 auto;
    font-weight: 600;
    width:100%;
}

div.option-panel {
    position: absolute;
    width:50px;
    height:100%;
    background-color: rgba(45,45,45, 0.5);
    right: 0;
    z-index: 10000;
}

div.option-panel ul {
    padding: 0;
}

div.option-panel ul li {
    list-style: none;
}

span.update_text {
    display: block;
    font-size: x-small;
    text-align: right;
}

@media(min-width: 749px) {
    body{
        overflow: hidden;
    }
    div.dep-sign {
        display: flex;
    }
    div.dep-sign div.inbound {
        margin-right: 0;
    }
    div.dep-sign div.outbound {
        margin-left: 0;
    }

    div.inbound,
    div.outbound {
        width:50%;
    }

    div#clock {
        display: block;
    }
}

div.inbound,
div.outbound {
    padding: 0 0.5%;
    max-width:700px;
    min-width:350px;
    margin-left: auto;
    margin-right: auto;
}

div.dep-title {
    color:#f5f5f5;
    background-color: #333;
    width:100%;
    height:40px;
    text-align: left;
    font-size: 20px;
}

div.dep-title p {
    padding:0 10px;
}

div.dep-title span {
    font-size: 13px;
    margin-left: 10px;
}

table {
    width:100%;
    background-color: #222;
    border-collapse: collapse;
    margin:0;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-word;
}

table tbody{
    margin:0;
}

div#loader-bg{
    position: absolute;
    height:100vh;
    width:100%;
    background-color:#f5f5f5;
}

tr {
    background-color: #222;
}

tr th{
    background-color: #333;
    color:#f5f5f5;
    font-size: 14px;
    text-align: left;
    padding:0 10px;
}

tr td {
    background-color: #222;
    padding:0 5px;
    font-size: 35px;
    height:60px;
}

tr td p{
    color:#fff170;
    padding: 0;
    margin: 0;
    text-align: center;
    text-align-last: justify;
    white-space:nowrap;
    vertical-align: middle;
}

table th:first-child,
table td:first-child {
    width:30%;
}

div.inbound table tbody td:first-child,
div.outbound table tbody td:first-child {
    font-size: 50px;
    line-height: 0.5;
}

th:nth-child(2),
td:nth-child(2) {
    width:20%;
}

th:nth-child(3),
td:nth-child(3) {
    width:40%;
}

tr:nth-child(n+5) {
    display:none;
}

p.text-center {
    text-align: center;
}

p.small {
    font-size:small;
}

.invisible {
    display:none;
}
