ul#timeline-menu {
  height: 50px;
  text-align: center;
}
ul#timeline-menu li {
  position: relative;
  float: left;
  list-style: none;
  margin: 0px;
  padding: 0px;
}
ul#timeline-menu li a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  padding: 10px;
  padding-top: 20px;
  color: black;
  font-weight: bold;
  border-bottom: 5px solid transparent;
}
ul#timeline-menu li a:hover {
  color: #343a40;
  border-bottom: 5px solid #343a40;
  font-weight: normal;
}

section#timeline {
  width: 90%;
  margin: 20px auto;
  padding-bottom: 20px;
  position: relative;
}
section#timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 2px;
  background-color: #343a40;
  left: 50%;
  height: 100%;
  margin-left: -1.5px;
  z-index: 10;
}
section#timeline article {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}
section#timeline article:after {
  content: "";
  display: block;
  clear: both;
}

section#timeline > article > div.panel {
  width: 45%;
  float: left;
  background: #fff;
  border: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}
section#timeline > article > div.panel .panel-heading {
  padding: 5px 10px;
  margin: 0;
  font-size: 1.2em;
  background-color: #343a40;
  overflow: hidden;
  text-align: center;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}
section#timeline > article > div.panel .panel-heading .panel-title {
  color: #fff;
}
section#timeline > article > div.panel .panel-body {
  padding: 15px;
  position: relative;
}
section#timeline article div.panel-body:after {
  content: "";
  position: absolute;
  top: 20px;
  right: -5px;
  width: 10px;
  height: 10px;
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background: #fff;
}
section#timeline > article > div.panel .panel-body img {
  float: left;
  margin: 0 15px 15px 0;
}
section#timeline > article > div.panel .panel-footer {
  padding: 15px;
  background-color: #eee;
}

section#timeline > article.inverted > div.panel {
  float: right;
}
section#timeline > article.inverted > div.panel .panel-body:after {
  left: -5px;
}
section#timeline > article.inverted > div.panel .panel-body img {
  float: right;
}

section#timeline div[class*="group"],
section#timeline article div.panel div.badge {
  display: block;
  text-align: center;
  font-weight: bold;
  -moz-box-shadow: 0 0 0 2px #343a40, inset 0 2px 0 rgba(0, 0, 0, 0.1),
    0 3px 0 2px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 0 0 2px #343a40, inset 0 2px 0 rgba(0, 0, 0, 0.1),
    0 3px 0 2px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 0 2px #343a40, inset 0 2px 0 rgba(0, 0, 0, 0.1),
    0 3px 0 2px rgba(0, 0, 0, 0.15);
}
section#timeline div[class*="group"] {
  width: 65px;
  font-size: 1.3em;
  margin: 35px auto;
  padding: 5px;
  border-radius: 0px;
  background: #343a40;
  color: #fff;
}
section#timeline article div.panel div.badge {
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 50%;
  margin: 0 0 0 -1.5vw;
  font-size: 0.75em;
  width: 3vw;
  height: 3vh;
  background: #fff;
  color: #343a40;
  z-index: 20;

}
section#timeline article div.panel div.badge:last-child {
  background-color: #343a40;
  width: 20px;
  height: 20px;
  margin: 0 0 0 -10px;
}

a.mylink {
  color: #343a40;
  font-weight: bold;
}
a.mylink:hover {
  color: #343a40;
}
