@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto Regular'), local('Roboto-Regular'), url('./fonts/roboto.woff') format('woff');
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
input[type=submit],
.button,
.button:visited,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
html [type="button"].button,
input[type="reset"],
[type="reset"].button,
input[type="submit"],
[type="submit"].button {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled],
html [disabled].button {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner,
input[type=submit]::-moz-focus-inner,
.button::-moz-focus-inner,
.button:visited::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input,
input[type=submit],
.button,
.button:visited {
    line-height: normal;
}

input[type="checkbox"],
[type="checkbox"].button,
input[type="radio"],
[type="radio"].button {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
[type="number"].button::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
[type="number"].button::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"],
[type="search"].button {
    -webkit-appearance: textfield;
    /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    /* 2 */
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
[type="search"].button::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
[type="search"].button::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    /* 1 */
    padding: 0;
    /* 2 */
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}


/* Keyframes */

@-moz-keyframes ripple-animation {
    0% {
        -moz-transform: scale(1);
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        -moz-transform: scale(100);
        transform: scale(100);
        opacity: 0;
    }
}

@-webkit-keyframes ripple-animation {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        -webkit-transform: scale(100);
        transform: scale(100);
        opacity: 0;
    }
}

@keyframes ripple-animation {
    0% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        -moz-transform: scale(100);
        -ms-transform: scale(100);
        -webkit-transform: scale(100);
        transform: scale(100);
        opacity: 0;
    }
}

html {
    background-color: #eee;
}

body,
select,
input,
input[type=submit],
.button,
.button:visited,
textarea {
    color: #000;
    color: rgba(0, 0, 0, 0.7);
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.5em;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* *,
* *:before,
* *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background-color: #FDFFFD;
}

ul,
ol {
    padding: 0;
}

p {
    margin: 0;
    line-height: 1.5em;
}

.content {
    max-width: 72em;
    margin-left: auto;
    margin-right: auto;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 0.5em;
    background-color: #29BDBB;
    height: 3em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    line-height: 3em;
    color: #fff;
    transform: translateZ(0);
    backface-visibility: hidden;
}

header h3 {
    margin: 0;
}

.arrivals-list {
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    transition: opacity 0.2s ease-in-out;
    padding: 0 0.5em;
}

.arrivals-list.loading {
    opacity: 0.2;
}

#main {
    margin-top: 3em;
    width: 100%;
    position: relative;
}

.item {
    border-radius: 4px;
    margin: 0.5em auto;
    padding: 1em;
    width: 100%;
    background-color: #fff;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.item .title,
.item .status,
.item .time {
    display: block;
}

.item .title {
    font-weight: bold;
}

.item .status {
    float: right;
    text-transform: uppercase;
}

#offline {
    background: #f00;
    color: #fff;
    padding: 1em;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}
