html {
  font-size: 100%;
  font-family: 'Roboto', 'Arial', 'Sans-Serif';
}

body {
  margin: 0px;
  background: #F2F2F2;
  height: calc(100vh - 2px);
  border: 1px solid #CCC;
  border-radius: 5px;
  color: #898989;
  width: 298px;
  height: 248px;
  position: relative;
}

header {
  position: relative;
  background: #E42420;
  overflow: auto;
  height: 33px;
}

header .brand {
  float: left;
  padding: 5px 10px;
  width: 100px
}

header .date {
  padding-right: 10px;
  float: right;
  line-height: 33px;
  right: 10px;
  color: #FFF;
  font-size: 14px;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.heading {
  text-align: center;
  display: block;
  font-style: italic;
  padding: 10px;
}

.sun {
  width: 50px;
  float: left;
  height: 40px;
  position: relative;
}

.sun-image {
  margin: 0 auto;
  width: 40px;
  display: block;
  float: right;
}

.full-width {
  width: 100%;
}

.speed {
  font-size: 35px;
  font-weight: 500;
  color: #E42420;
  position: relative;
  display: inline-block;
  width: 80px;
  height: 40px;
  float: left;
  text-align: right;
}

.speed::after {
  content: "";
  display: block;
  clear: both;
}

.speed div {
  position: absolute;
}

.in {
  opacity: 1;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.out {
  opacity: 0;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.hidden {
  opacity: 0;
}

.shown {
  opacity: 1;
}

.medium {
  opacity: .5;
}

#peak-type {
  display:block;
  margin-left: 10px;
  float: left;
  line-height: 30px;
  font-weight: 300;
}

#arrow {
  width: 8px;
  display: block;
  position: absolute;
  right: 16px;
}

.arrow-afternoon {
  transform: rotate(180deg);
}

.arrow-down {
  opacity: 1;
  top: 24px;
  transition: top .8s linear, opacity 0.6s ease-in;
}

.arrow-up {
  opacity: 0;
  top: 0px;
  transition: top .8s linear, opacity 0.6s ease-out;
}

.trip-data {
  display: inline-block;
  margin-left: 20px;
  padding-top: 4px;
  max-width: 200px;
}

#trip-id {
  float:left;
  display: block;
  font-weight: 300;
  font-size: 12px
}

#headsign {
  float:left;
  display: block;
  clear:left;
  font-style: italic;
}

.km {
  color: #E42420;
  clear: both;
  display: block;
  width: 80px;
  text-align: right;
  font-size: 16px;
  margin-top: 40px;
}

footer {
  position: absolute;
  bottom: 6px;
  width: 100%;
  text-align: right;
  font-size: 0.8rem;
}

footer a {
  padding-right: 5px;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  padding: 0;
  margin: 5px;
}

.media {
  float:right;
  margin-right: 5px;
  font-size: 16px;
}

.more {
  float: left;
  margin-left: 5px;
  text-decoration: underline;
}

a {
  text-decoration: none;
}

a:link,
a:visited {
  color: #E42420;
}

a:hover,
a:active {
  color: #898989;
}