@import url('https://fonts.googleapis.com/css?family=Roboto:400');

* {
    box-sizing: border-box;
}

html, body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling : touch !important;
}

a,
a:visited {
    text-decoration: none;
    cursor: pointer;
}

a,
a:hover,
a:active,
a:visited,
a:focus {
    color : #1982d1;
}

a:active,
a:hover,
a:focus {
    text-decoration: underline;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.visible {
    visibility: visible;
    opacity: 1;
}

.invisible {
    visibility: hidden;
    opacity: 0;
}

.filter {
    text-align: center;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
}

.line {
    position: absolute;
    left: calc(50% - 0.125rem);
    height: calc(100%);
    width: 0.25rem;
    background-color: #111;
}

.events {
    margin: auto;
    max-width: 80rem;
    padding: 0 1rem;
    position: relative;
}

.event {
    width: calc(50% - 2.5rem);
    background-color: #fff;
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.event:not(:last-child) {
    margin-bottom: 30px;
}

.event::before {
    content: '';
    position: absolute;
    top: 50px;
    border: 1rem solid transparent;
}

.event::after {
    content: '';
    position: absolute;
    top: calc(50px + 0.5rem);
    height: 1rem;
    width: 1rem;
    background: #ff2a00;
    border: solid 1px white;
    border-radius: 50%;
}

.event-wrapper {
    border-radius: 0.5rem;
    border: solid 1px #111;
    padding: 1rem;
}

.event-bottom {
    justify-content: space-between;
    -webkit-justify-content: space-between;
    margin-top: 12px;
}

.event-twitter-btn {
    color: rgba(255, 42, 0, 0.8);
    border-radius: 50%;
    border: 3px solid rgba(255, 42, 0, 0.8);
    width: 40px;
    height: 40px;
    justify-content: center;
    -webkit-justify-content: center;
    align-content: center;
    -webkit-align-content: center;
    font-size: 24px;
}

.event-twitter-btn:focus,
.event-twitter-btn:active,
.event-twitter-btn:hover,
.event-twitter-btn:visited {
    color: rgba(255, 42, 0, 0.8);
    text-decoration: none;
}

.event-twitter-btn:hover {
    color: white;
    background: rgba(255, 42, 0, 0.8);
}

.fa-twitter {
    margin-top: 4px;
}

.date {
    font-size: 1em;
    color: #ff2a00;
    text-transform: uppercase;
    margin: 0 0 0.5em 0;
    font-family: 'Roboto';
    line-height: 1em;
}

.revised-date {
    color: #8c8c8c;
    font-style: italic;
    display: block;
    margin-top: 10px;
}

.headline {
    font: normal 30px georgia;
    line-height: 34px;
    color: #111;
    margin: 0 0 10px 0;
}

.image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position : top center;
    margin: 0 auto;
}

.caption {
    font-size: 0.75rem;
    color: #757575;
}

.description {
    font-size: 19px;
    font-family: 'Georgia';
    line-height: 26px;
}

.description button {
    min-width: 0 !important;
    font-size: 0.75em !important;
}

blockquote {
    margin: 0;
}

twitterwidget {
    width: 100% !important;
}

twitterwidget::shadow .EmbeddedTweet {
    max-width: 100% !important;
}

button {
    background: none;
    text-transform: uppercase;
    font-size: 1em;
    border: solid 1px #ff2a00;
    color: #1b1b1b;
    margin: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: 0.35s color;
}

button:active, button:focus {
    outline: none;
    cursor: pointer;
}

button:hover {
    color : #ff2a00;;
}

.active {
    color: white;
    background-color: #ff2a00;
    border: solid 1px #111;
}

.active:hover {
    color: white;
}

.read-more,
.read-more:active,
.read-more:focus,
.read-more:visited {
    color: black;
    font-weight: bold;
    background: white;
    border-radius: 0.25rem;
    text-transform: uppercase;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
    padding: 8px 20px;
    display: block;
    margin: 10px auto 0;
    transition: 0.35s background;
    border: 1px solid #ccc;
}

.read-more:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 42, 0, 0.8);
}

.hideExtra .extra {
    display: none;
}

.options {
    text-align: center;
    margin-bottom: 2rem;
}

.options button,
.description button {
    background: #ff2a00;
    color: white;
    min-width: 135px;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}
.loader {
  color: #f92e49;
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before,
.loader:after {
  position: absolute;
  content: '';
}
.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #fafff9;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #fafff9;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}

.person {
  font-weight: bold;
  cursor: pointer;
  color: #ff2a00;
}

.tooltip {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.tooltip .img {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  max-width: 100%;
  min-width: 150px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #ff2a00;
}

.tooltip__left {
  padding-right: 12px;
}

.tooltip h5 {
  font: normal 24px georgia;
  line-height: 28px;
  color: #111;
  margin: 0 0 5px 0;
}

.tooltip strong {
  font-size: 16px;
  font-family: sans-serif, Arial;
  line-height: 20px;
  color: #ff2a00;
  margin: 0 0 8px 0;
  display: block;
}

.tooltip p {
  font-size: 19px;
  font-family: 'Georgia';
  line-height: 26px;
  margin: 0;
  width: 100%;
}

.tooltip .caption {
  font-size: 0.7rem;
  color: #757575;
  text-align: left;
  font-family: sans-serif, Arial;
}

.tooltip .timeline-link {
  color: #ff2a00;
  font-family: sans-serif, Arial;
  font-size: 0.75rem;
  font-weight: bold;
}

.tipsy {
  position: absolute;
  z-index: 100000;
}

.tipsy-n {
  margin-bottom: -10px;
}

.tipsy-e {
  margin-left: -10px;
}

.tipsy-s {
  margin-top: -10px;
}

.tipsy-w {
  margin-right: -10px;
}

.tipsy-inner {
  border-radius: 0.5rem;
  border: solid 1px #111;
  padding: 0.6rem 0.8rem;
  background-color: white;
  max-width: 35rem;
  position: relative;
}

.tipsy-inner:after,
.tipsy-inner:before {
  content: "";
  position: absolute;
  border: solid transparent;
  height: 0;
  width: 0;
  pointer-events: none;
}

.tipsy-inner:after {
  border-color: rgba(255, 255, 255, 0);
  border-width: 10px;
}

.tipsy-inner:before {
  border-color: rgba(0, 0, 0, 0);
  border-width: 11px;
}

.tipsy-n .tipsy-inner:after,
.tipsy-n .tipsy-inner:before {
  bottom: 100%;
  left: 50%;
}

.tipsy-n .tipsy-inner:after {
  border-bottom-color: #ffffff;
  margin-left: -10px;
}

.tipsy-n .tipsy-inner:before {
  border-bottom-color: #000000;
  margin-left: -11px;
}

.tipsy-e .tipsy-inner:after,
.tipsy-e .tipsy-inner:before {
  left: 100%;
  top: 50%;
}

.tipsy-e .tipsy-inner:after {
  border-left-color: #ffffff;
  margin-top: -10px;
}

.tipsy-e .tipsy-inner:before {
  border-left-color: #000000;
  margin-top: -11px;
}

.tipsy-s .tipsy-inner:after,
.tipsy-s .tipsy-inner:before {
  top: 100%;
  left: 50%;
}

.tipsy-s .tipsy-inner:after {
  border-top-color: #ffffff;
  margin-left: -10px;
}

.tipsy-s .tipsy-inner:before {
  border-top-color: #000000;
  margin-left: -11px;
}

.tipsy-w .tipsy-inner:after,
.tipsy-w .tipsy-inner:before {
  right: 100%;
  top: 50%;
}

.tipsy-w .tipsy-inner:after {
  border-right-color: #ffffff;
  margin-top: -10px;
}

.tipsy-w .tipsy-inner:before {
  border-right-color: #000000;
  margin-top: -11px;
}

.tipsy-arrow {
  display: none;
}

@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 40rem) {
    .events {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-flow: row wrap;
        flex-flow: row wrap;
    }

    .event:nth-child(even)::before {
        left: -2rem;
        border-right: 1rem solid #ff2a00;
    }

    .event:nth-child(odd)::before {
        right: -2rem;
        border-left: 1rem solid #ff2a00;
    }

    .event:nth-child(odd)::after {
        right: -3rem;
    }

    .event:nth-child(even)::after {
        left: -3.1rem;
    }

    .event:nth-child(even) {
        margin-left: 5em;
    }

    .hideExtra .event {
        margin-bottom: 10px;
        min-height: 0;
    }
}

@media screen and (max-width: 40rem) {
    .filter button {
        font-size: 0.75em;
    }

    .timeline {
        margin-bottom: 0;
    }

    .date {
        font-size: 0.75rem;
    }

    .caption {
        font-size: 0.7rem;
        margin-top: 5px;
    }

    .description {
        font-size: 13px;
        line-height: 17px;
    }

    .headline {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .revised-date {
        font-size: 12px;
    }

    .event-twitter-btn {
        font-size: 20px;
        border-width: 2px;
        width: 30px;
        height: 30px;
    }

    .line {
        left: 1rem;
    }

    .event {
        width: calc(100% - 2rem);
        margin-bottom: 1rem !important;
        margin-left: 2rem;
    }

    .event::before {
        border-right: 1rem solid #ff2a00;
        left: -2rem;
    }

    .event::after {
        left: -2.5rem;
    }

    .image {
        height : 130px;
        width  : 100%;
    }

    .read-more {
        font-size: 0.75rem;
    }

    .tooltip .img {
      height: 100px;
      width: 100px;
      min-width: 100px;
    }

    .tooltip h5 {
      font-size: 20px;
      line-height: 24px;
    }

    .tooltip strong {
      font-size: 14px;
      line-height: 18px;
    }

    .tooltip p {
      font-size: 13px;
      line-height: 17px;
    }

    .tooltip .caption {
      font-size: 0.55rem;
    }

    .tipsy {
      left: 0 !important;
    }

    .tipsy-inner {
      max-width: 100vw;
    }

    .tipsy-inner:after,
    .tipsy-inner:before {
      display: none;
    }
}
