/**
 * 11.6- Section Timeline
 */
.timeline {
  position: relative;
}

.timeline .timeline-bar {
  content: '';
  width: 4px;
  opacity: 0.2;
  margin-left: -2px;
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
}

.timeline .timeline-inner {
  position: relative;
}

.timeline-box {
  width: 50%;
  color: #757575;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 25px;
  position: relative;
}

.timeline-box:last-child {
  margin-bottom: 0;
}

.timeline-box h3 {
  color: #414141;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 20px;
}

.timeline-box h4 {
  color: #878787;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
}

.timeline-box h3 a,
.timeline-box h4 a {
  opacity: 1;
  color: inherit;
  -webkit-transition: opacity 0.15s linear 0s;
  -moz-transition: opacity 0.15s linear 0s;
  transition: opacity 0.15s linear 0s;
}

.timeline-box h3 a:hover,
.timeline-box h4 a:hover {
  opacity: 0.6;
  text-decoration: none;
}

.timeline-box .date {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  margin-bottom: 15px;
}

.timeline-box-compact .date, .timeline-box-compact h3, .timeline-box-compact h4 {
  text-align: left;
}

.timeline-box-compact .date span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  position: relative;
  padding: 5px 8px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.timeline-box-compact .date span:before {
  content: '';
  width: 0;
  height: 0;
  top: 100%;
  left: 5px;
  display: block;
  position: absolute;
  border-style: solid;
  border-width: 0 0 8px 8px;
  border-color: transparent;
}

.timeline-box-inner {
  padding: 20px 5%;
  position: relative;
  border-width: 5px 0 0 0;
  border-style: solid;
}

.timeline-box-left .dot,
.timeline-box-right .dot {
  top: 80px;
  width: 8px;
  height: 8px;
  display: block;
  position: absolute;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: red;
}

.timeline-box-left .arrow,
.timeline-box-right .arrow {
  top: 60px;
  width: 12px;
  height: 41px;
  display: block;
  position: absolute;
  background-image: url(../images/arrows.png);
  background-repeat: no-repeat;
}

.timeline-box-left .arrow:before,
.timeline-box-right .arrow:before {
  width: 0;
  height: 0;
  content: '';
  display: block;
}

.timeline-box-left {
  float: left;
  clear: left;
}

.timeline-box-left .timeline-box-inner {
  margin-right: 35px;
}

.timeline-box-left .timeline-box-inner .arrow {
  right: -12px;
  background-position: -18px 0;
}

.timeline-box-left .timeline-box-inner .arrow:before {
  margin-right: 2px;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 10px solid #fff;
}

.timeline-box-left .dot {
  right: 0px;
  margin-right: -4px;
}

.timeline-box-right {
  float: right;
  clear: right;
}

.timeline-box-right .timeline-box-inner {
  margin-left: 35px;
}

.timeline-box-right .timeline-box-inner .arrow {
  left: -12px;
  background-position: 0 0;
}

.timeline-box-right .timeline-box-inner .arrow:before {
  margin-left: 2px;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 10px solid #fff;
}

.timeline-box-right .dot {
  left: 0px;
  margin-left: -4px;
}

@media (max-width: 600px) {
  .timeline-box {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }

  .timeline-box .timeline-box-inner {
    margin-left: 0;
    margin-right: 0;
  }

  .timeline-box .timeline-box-inner .arrow {
    display: none;
  }

  .timeline-box .dot {
    display: none;
  }
}
