/******************* Timeline Demo - 8 *****************/
.main-timeline8 {
  overflow: hidden;
  position: relative;
}
.main-timeline8:after,
.main-timeline8:before {
  content: "";
  display: block;
  width: 100%;
  clear: both;
}
.main-timeline8:before {
  content: "";
  width: 3px;
  height: 78%;
  background: #7a459b;
  position: absolute;
  top: 30px;
  left: 50%;
}
.main-timeline8 .timeline {
  width: 50%;
  float: left;
  padding-right: 30px;
  position: relative;
}
.main-timeline8 .timeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #7a459b;
  position: absolute;
  top: 5.5%;
  right: -17.5px;
}
.main-timeline8 .year {
  display: block;
  padding: 10px;
  margin: 0;
  font-size: 30px;
  color: #fff;
  border-radius: 0 50px 50px 0;
  background: #7a459b;
  text-align: center;
  position: relative;
}
.main-timeline8 .year:before {
  content: "";
  border-top: 35px solid #7a459b;
  border-left: 35px solid transparent;
  position: absolute;
  bottom: -35px;
  left: 0;
}
.main-timeline8 .timeline-content {
  padding: 30px 20px;
  margin: 0 45px 0 35px;
  background: #f2f2f2;
}
.main-timeline8 .title {
  font-size: 19px;
  font-weight: 700;
  color: #7a459b;
  margin: 0 0 10px;
}
.main-timeline8 .description {
  font-size: 14px;
  color: #7a459b;
  margin: 0;
}

.main-timeline8 .timeline:nth-child(2n) {
  padding: 0 0 0 30px;
}
.main-timeline8 .timeline:nth-child(2n) .timeline-icon {
  right: auto;
  left: -14.5px;
}
.main-timeline8 .timeline:nth-child(2n) .year {
  border-radius: 50px 0 0 50px;
  background: #7a459b;
}
.main-timeline8 .timeline:nth-child(2n) .year:before {
  border-left: none;
  border-right: 35px solid transparent;
  left: auto;
  right: 0;
}
.main-timeline8 .timeline:nth-child(2n) .timeline-content {
  text-align: right;
  margin: 0 35px 0 45px;
}
.main-timeline8 .timeline:nth-child(2) {
  margin-top: 170px;
}
.main-timeline8 .timeline:nth-child(odd) {
  margin: -175px 0 0;
}
.main-timeline8 .timeline:nth-child(even) {
  margin-bottom: 80px;
}
/* .main-timeline8.two-box .timeline:last-child {
  margin-top: 170px !important;
} */
.main-timeline8.two-box .timeline:last-child {
  margin-bottom: 40px !important;
}
.main-timeline8.two-box .timeline:nth-child(even) {
  margin-bottom: 155px;
}
.main-timeline8.two-box:before {
  height: 60%;
}

.main-timeline8 .timeline:first-child,
.main-timeline8 .timeline:last-child:nth-child(even) {
  margin: 0;
}
.main-timeline8 .timeline:nth-child(2n) .timeline-icon {
  border-color: #7a459b;
}
.main-timeline8 .timeline:nth-child(2n) .year:before {
  border-top-color: #7a459b;
}
.main-timeline8 .timeline:nth-child(3n) .timeline-icon {
  border-color: #7a459b;
}
.main-timeline8 .timeline:nth-child(3n) .year {
  background: #7a459b;
}
.main-timeline8 .timeline:nth-child(3n) .year:before {
  border-top-color: #7a459b;
}
.main-timeline8 .timeline:nth-child(4n) .timeline-icon {
  border-color: #7a459b;
}
.main-timeline8 .timeline:nth-child(4n) .year {
  background: #7a459b;
}
.main-timeline8 .timeline:nth-child(4n) .year:before {
  border-top-color: #7a459b;
}
@media (max-width: 1200px) {
  .main-timeline8.two-box:before {
    height: 56%;
  }
}
@media only screen and (max-width: 768px) {
  .main-timeline8 {
    overflow: visible;
  }
  .main-timeline8:before {
    top: 0;
    left: 0;
  }
  .main-timeline8 .timeline:nth-child(2),
  .main-timeline8 .timeline:nth-child(even),
  .main-timeline8 .timeline:nth-child(odd) {
    margin: 0;
  }
  .main-timeline8 .timeline {
    width: 100%;
    float: none;
    padding: 0 0 0 30px;
    margin-bottom: 20px !important;
  }
  .main-timeline8 .timeline:last-child {
    margin: 0 !important;
  }
  .main-timeline8 .timeline-icon {
    right: auto;
    left: -14.5px;
    top: 0;
  }
  .main-timeline8 .year {
    border-radius: 50px 0 0 50px;
  }
  .main-timeline8 .year:before {
    border-left: none;
    border-right: 35px solid transparent;
    left: auto;
    right: 0;
  }
  .main-timeline8 .timeline-content {
    margin: 0 35px 0 45px;
  }
  .main-timeline8 .title {
    font-size: 18px;
  }
  .main-timeline8 .year {
    font-size: 20px;
  }
  .main-timeline8 .description {
    line-height: 17px;
  }
  .main-timeline8 .timeline-content,
  .main-timeline8 .timeline:nth-child(2n) .timeline-content {
    margin: 0 26px 0 26px;
  }
  .main-timeline8:before {
    height: 86%;
  }
  .main-timeline8.two-box .timeline:last-child {
    margin-top: 0px !important;
  }
  .main-timeline8.two-box .timeline:last-child {
    margin-bottom: 0px !important;
  }
  .main-timeline8.two-box:before {
    height: 70%;
  }
}
@media (max-width: 375px) {
  .main-timeline8.two-box:before {
    height: 67%;
  }
}

.common-link-all {
  color: #75459b;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}
.common-link-all:hover {
  color: #75459b;
  text-decoration: underline;
}
/* animated button */
.btn-11 {
  border: none;
  background: #75459b;
  background: linear-gradient(
    0deg,
    rgba(117, 69, 155, 1) 0%,
    rgba(117, 69, 155, 1) 100%
  );
  color: #fff;
  overflow: hidden;
  position: relative;
}
.btn-11:hover {
  text-decoration: none;
  color: #fff;
}
.btn-11:before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  animation: shiny-btn1 3s ease-in-out infinite;
}
.btn-11:hover {
  opacity: 0.7;
}
.btn-11:active {
  box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.3),
    -4px -4px 6px 0 rgba(116, 125, 136, 0.2),
    inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2);
}

@-webkit-keyframes shiny-btn1 {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
