﻿.timeline {
    display: flex;
    overflow-x: hidden;
    margin: 30px 0px;
    min-height: 200px;
}

.timeline-container {
    display: flex;
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-card {
    flex: 0 0 auto;
    position: relative;
    padding: 20px;
    width: 400px;
    height: 250px;
    background: #fff;
    border: 1px solid #dedede;
}

    .timeline-card:not(:first-child) {
        margin-left: -170px;
    }

    .timeline-card:nth-of-type(even) {
        margin-top: 350px;
    }

.timeline-card-svg path {
    fill: #dedede;
}

.timeline-card-svg:nth-of-type(odd),
.timeline-card-svg:nth-of-type(even) {
    position: absolute;
    width: 13px;
    height: 49px;
    left: 50%;
    bottom: -63px;
    transform: translate(-50%);
}

.timeline-card:nth-of-type(even) .timeline-card-svg {
    top: -12px;
    margin-top: -49px;
    transform: scaleY(-1) translate(-50%);
}

.timeline-nav {
    overflow: visible;
    min-width: 100%;
    margin-top: 96px;
    z-index: 10;
}

.timeline-nav-button {
    width: 48px;
    height: 48px;
    cursor: pointer;
    opacity: 0.75;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    background: #fff;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .timeline-nav-button:hover {
        width: 60px;
        height: 60px;
    }

    .timeline-nav-button:after {
        content: "";
        position: absolute;
        height: 2px;
        width: 10px;
        background: #d81e05;
    }

    .timeline-nav-button:before {
        content: "";
        position: absolute;
        margin-left: -1px;
        height: 8px;
        width: 8px;
        border-style: solid;
        border-color: #d81e05;
        border-width: 0px 2px 2px 0px;
        transform: rotate(135deg);
    }












.timeline-list {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timestamp {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 100;
    min-height: 75px;
    max-height: 75px;
    overflow: hidden;
}

.status {
    padding-top: 20px;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    justify-content: center;
    border-top: 2px solid #D6DCE0;
    position: relative;
    transition: all 200ms ease-in;
    min-height: 200px;
    max-height: 200px;
    font-size: 0.90em;
}

    .status h4 {
        font-weight: 600;
    }

    .status:before {
        content: "";
        width: 25px;
        height: 25px;
        background-color: white;
        border-radius: 25px;
        border: 1px solid #ddd;
        position: absolute;
        top: -15px;
        left: 45.5%;
        transition: all 200ms ease-in;
    }

.li {
    min-width: 300px;
    overflow: hidden;
}

    .li.complete .status {
        border-top: 2px solid #00618A;
    }

    .li.complete .status:before {
        background-color: #00618A;
        border: none;
        transition: all 200ms ease-in;
    }

    .li.complete .status h4 {
        color: #00618A;
    }