/*ony for one corner, use this variable several time for other corners*/
.pi-timeline {
  position: relative;
  overflow: hidden;
}
.pi-timeline:after {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  margin-left: -1px;
  width: 1px;
}
.pi-timeline-date {
  position: relative;
  z-index: 1;
  width: 200px;
  margin: 40px auto 20px;
  padding: 14px 10px;
  background: #fff;
  text-align: center;
  clear: both;
  font-size: 30px;
}
.pi-timeline-item {
  position: relative;
  z-index: 2;
  width: 50%;
  margin-bottom: 20px;
}
.pi-timeline-item-date {
  position: relative;
  display: inline-block;
  height: 36px;
  padding: 6px 10px;
  margin-bottom: 10px;
  line-height: 24px;
  background: #f4f6f6;
  clear: both;
}
.pi-timeline-item-date span {
  display: inline-block;
  vertical-align: top;
}
.pi-timeline-item-date span:first-child {
  font-size: 20px;
  padding: 0 10px 0 0;
}
.pi-timeline-item-date span:last-child {
  font-size: 12px;
  color: #cfd6da;
  border-left: 1px solid #cfd6da;
  padding: 0 0 0 10px;
}
.pi-timeline-item-date:after,
.pi-timeline-item-date:before {
  display: block;
  content: '';
  position: absolute;
}
.pi-timeline-item-date:after {
  top: 0;
}
.pi-timeline-item-date:before {
  top: 13px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
}
.pi-timeline-item-left {
  float: left;
  clear: both;
  padding-right: 20px;
  margin-top: 20px;
}
.pi-timeline-item-left > div {
  clear: right;
}
.pi-timeline-item-left .pi-timeline-item-date {
  float: right;
}
.pi-timeline-item-left .pi-timeline-item-date:after {
  right: -12px;
  border-top: 18px solid transparent;
  border-left: 12px solid #f4f6f6;
  border-bottom: 18px solid transparent;
  border-right: 0 solid transparent;
}
.pi-timeline-item-left .pi-timeline-item-date:before {
  right: -25px;
  width: 12px;
  height: 12px;
}
.pi-timeline-item-right {
  float: right;
  padding-left: 20px;
  margin-top: 80px;
  clear: right;
}
.pi-timeline-item-right .pi-timeline-item-date:after {
  left: -12px;
  border-top: 18px solid transparent;
  border-left: 0 solid transparent;
  border-bottom: 18px solid transparent;
  border-right: 12px solid #f4f6f6;
}
.pi-timeline-item-right .pi-timeline-item-date:before {
  left: -26px;
  width: 12px;
  height: 12px;
}
@media (max-width: 767px) {
  .pi-timeline-item {
    width: auto;
    padding: 10px;
    margin: 50px 0 100px;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    float: none;
  }
  .pi-timeline-item .pi-timeline-item-date {
    position: absolute;
    top: -30px;
    left: 50%;
    display: block;
    width: 90px;
    margin-left: -45px;
    float: none;
    text-align: center;
  }
  .pi-timeline-item .pi-timeline-item-date:after {
    width: 0;
    top: -12px;
    left: 0;
    border-top: 0 solid transparent;
    border-left: 45px solid transparent;
    border-bottom: 12px solid #f4f6f6;
    border-right: 45px solid transparent;
  }
  .pi-timeline-item .pi-timeline-item-date:before {
    top: -32px;
    left: 50%;
    margin: 0 0 0 -6px;
    width: 12px;
    height: 12px;
  }
}
.pi-timeline:after {
  background: #aea400;
}
.pi-timeline-item-date span:first-child {
  color: #aea400;
}
.pi-timeline-item-left .pi-timeline-item-date:before {
  border: 1px solid #aea400;
}
.pi-timeline-item-right .pi-timeline-item-date:before {
  border: 1px solid #aea400;
}
@media (max-width: 767px) {
  .pi-timeline-item {
    border: 1px solid #aea400;
  }
  .pi-timeline-item .pi-timeline-item-date:before {
    border: 1px solid #aea400;
  }
}
