.cards-timeline-01 {
  position: relative;
}
.cards-timeline-01 .timeline-card-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    align-items: start;
    margin: 75px 0;
}

.cards-timeline-01:after {
    
    position: absolute;
    content: "";
    top: 158px;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #0dedff 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 25px 3px, 25px 3px;
    background-position: 0px 0px, 153px 153px,;
    animation: border-dance 10s infinite linear;
    height: 4px;
    transform: rotate(180deg);
  z-index: -1;
}

@keyframes border-dance {
  0% {
    background-position: 0px 0px, 253px 153px, 0px 253px, 153px 0px;
  }
  100% {
    background-position: 253px 0px, 0px 153px, 0px 0px, 153px 253px;
  }
}

.cards-timeline-01 .timeline-card-row .timeline-card {
    display: flex;
    position: relative;
  padding: 15px;
  margin-top: 30px;
}


.cards-timeline-01 .timeline-card .timeline-card-inner {
    background: #fff;
    border: 1px solid #E5E7EA;
    box-sizing: border-box;
    box-shadow: 1px 1px 10px rgba(0,0,0,.1);
    text-align: left;
    position: relative;
    z-index: 2;
}

.cards-timeline-01 .timeline-details {
    padding: 35px 25px;
}

.cards-timeline-01 .timeline-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.cards-timeline-01 .timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cards-timeline-01 .card-heading {
    text-transform: uppercase;
    font-size: 30px;
    line-height: 35px;
    font-weight: 700;
    color: #2640ff;
    display: flex;
    align-items: center;
}

.cards-timeline-01 .card-heading .material-icons-outlined {
    font-size: 30px;
    margin-right: 5px;
}

.cards-timeline-01 .timeline-year {
   font-size: 2.5rem;
    font-weight: 600;
    padding: 0 0.25rem;
    z-index: 1;
    text-align: center;
}

.cards-timeline-01 .timeline-arrow {
    z-index: 1;
      top: -40px;
    position: relative;
}

.cards-timeline-01 .timeline-arrow .timeline-arrow__circle {
  background-color: #2640ff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 auto;
}

.cards-timeline-01 .timeline-card-row:before {
    
    right: 0;
    left: 2px;
    top: 10px;
    margin: 0 auto;
    position: absolute;
    content: ' ';
    text-align: center;
    width: 8px;
    height: 50px;
    background-color: #2640ff;
}

.cards-timeline-01 .timeline-card-row:after {
    
    right: 0;
    left: 2px;
    top: -10px;
    margin: 0 auto;
    position: absolute;
    content: ' ';
    width: 130px;
    height: 50px;
    background: #fff;
    border: 1px solid #E5E7EA;
    box-sizing: border-box;
    box-shadow: 1px 1px 10px rgba(0,0,0,.1);
    background-image: url(https://www.intercity.technology/hubfs/logos/1985%20intercity%20logo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}

.cards-timeline-01 .timeline-card-row.image1::after {
    background-image: url('https://www.intercity.technology/hubfs/logos/1985%20intercity%20logo.png');
}

.cards-timeline-01 .timeline-card-row.image2::after {
    background-image: url('https://www.intercity.technology/hubfs/logos/1994%20Intercity%20logo.png.jpg');
}

.cards-timeline-01 .timeline-card-row.image3::after {
    background-image: url('https://www.intercity.technology/hubfs/logos/2010%20Intercity%20logo.png');
}

.cards-timeline-01 .timeline-card-row.image4::after {
    background-image: url('https://www.intercity.technology/hubfs/logos/2015%20Intercity%20logo.png');
}
.cards-timeline-01 .timeline-card-row.image5::after {
    background-image: url('https://www.intercity.technology/hubfs/logos/intercity-technology-logo-rgb.png');
}

.cards-timeline-01 .timeline-card-row.image6::after {
    background-image: url('https://www.intercity.technology/hubfs/intercity-logo.png');
}

.cards-timeline-01 .arrow span {
  height: 60px;
    width: 60px;
  font-size: 50px;
    color: #001F9C;
  cursor: pointer;   
}

.cards-timeline-01 .timelineSlider.arrow {
  margin: 0;
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translate(-50%, -50%);
  width: 60px;
}

.cards-timeline-01 .timelineSlider.arrow--next {
  left: auto;
  right: -60px;
}


@media (max-width: 400px) {

.cards-timeline-01 .timeline-card-row {
    
    margin: 30px 0;
}
}