:root {
    --red: #f45b69;
    --dark-blue: #227c9d;
    --turquoise: #CFCFCF;
    --white: #fff;
}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* .timeline {
    padding: 50px 20px;
    margin: 0 auto;
    max-width: 1000px;
    color: var(--dark-blue);
} */

.timeline ol {
    position: relative;
    list-style: none;
    padding: 0;
}

.timeline ol::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--turquoise);
}

.timeline ol li .item-inner {
    padding: 20px 180px;
    margin-bottom: 4vh;
    padding-right: 0 !important;
}

.timeline .boxwrap {
    padding: 25px 23px;
}

.timeline ol li .time-wrapper {
    position: relative;
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 0.9;
}

.timeline ol li .time-wrapper::before,
.timeline ol li .time-wrapper::after {
    content: "";
    position: absolute;
    background: var(--turquoise);
}

.timeline ol li .time-wrapper::before {
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    transition: width 0.8s linear;
}

.timeline ol li .time-wrapper::after {
    top: calc(50% - 8px);
    left: -60px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    transform: scale(0);
    transform-origin: left center;
    transition: all 0.4s linear;
}

.timeline ol li time,
.timeline ol li .details>* {
    /* opacity: 0; */
    /* transition: 0.5s; */
}

.timeline ol li time {
    display: inline-block;
    transform: translateY(-30px);
}

.timeline ol li .details>* {
    /* transform: translateY(30px); */
}

.timeline ol li .details h3 {
    font-size: 2rem;
    line-height: 1;
    margin: 15px 0;
}

/* ANIMATION STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ol li.in-view .time-wrapper::before {
    width: 140px;
}

.timeline ol li.in-view .time-wrapper::after {
    transition-delay: 0.8s;
    transform: scale(1.5);
}

/* .timeline ol li.in-view .secondaryheading,
.timeline ol li.in-view .details>* {
    opacity: 1;
    transform: none;
}

.timeline ol li.in-view .secondaryheading {
    transition-delay: 1.3s;
}

.timeline ol li.in-view .details h4 {
    transition-delay: 1.5s;
}

.timeline ol li.in-view .details p {
    transition-delay: 1.7s;
} */

/* MQ STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 1025px) {
    .timeline ol li .item-inner {
        padding: 20px 115px;
        margin-bottom: 5px;
    }

    .timeline ol li.in-view .time-wrapper::before {
        width: 79px;
    }

    .timeline ol li .time-wrapper::before {
        left: -138px;
    }
}

@media (max-width: 700px) {
    .timeline ol li .item-inner {
        padding: 20px 30px;
    }

    .timeline .boxwrap {
        padding: 25px 18px;
    }

    .timeline ol::before {
        left: 9px;
        width: 2px;
    }

    .timeline ol li .time-wrapper::before {
        display: none;
    }

    .timeline ol li .time-wrapper::after {
        left: -44px;
        transform-origin: center;
        width: 12px;
        height: 12px;
    }

    .timeline ol li.in-view .time-wrapper::after {
        transition-delay: 0s;
    }

    /* .timeline ol li.in-view .secondaryheading {
        transition-delay: 0.5s;
    }

    .timeline ol li.in-view .details h3 {
        transition-delay: 0.7s;
    }

    .timeline ol li.in-view .details p {
        transition-delay: 0.9s;
    } */
}