.timeline {
    padding-left: 46px;
    position: relative;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 23px;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    border-left: 2px dashed #2dbdcf;
    opacity: 1;
}

.timeline-item {
    position: relative;
}

.timeline-item:not(:first-child) {
    margin-top: 0.75rem;
}

.timeline-item-inner {
    overflow: hidden;
    margin-left: 1.5rem;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
}

.timeline-item-inner:hover,
.timeline-item-inner:active {
    border-color: #2dbdcf !important;
}

.timeline-item-marker,
.timeline-item-icon {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: -23px;
    width: 16px;
    height: 16px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.timeline-item-marker span,
.timeline-item-icon span {
    display: block;
    height: 100%;
    width: 100%;
    z-index: 2;
    position: relative;
}

.timeline-item-marker:before,
.timeline-item-icon:before {
    opacity: 0.25;
}

.timeline-item-marker:after, .timeline-item-icon:after {
    background-color: #ffffff;
}

.timeline-item-marker:after,
.timeline-item-icon:after,
.timeline-item-marker:before,
.timeline-item-icon:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    content: "";
    position: absolute;
}

.timeline-item-marker:after,
.timeline-item-icon:after,
.timeline-item-marker:before,
.timeline-item-icon:before,
.timeline-item-marker span,
.timeline-item-icon span {
    background-clip: content-box;
    border-radius: 50%;
    border: 3px solid #2dbdcf;
}

.timeline-item-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item-date,
.timeline-item-text {
    color: #2b2b2b;
}

.timeline-item-header-headline {
    font-size: 1.5rem;
    color: #031d49;
}

.timeline-item-header:last-child > *:last-child,
.timeline-item-text > *:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .timeline:before {
        left: 50%;
    }

    .timeline-item {
        width: 50%;
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
    }

    .timeline-item:not(:first-child) {
        margin-top: -1.5rem;
    }

    .timeline-item-inner {
        margin-left: 0;
        margin-right: calc(1.5rem + 46px / 2);
    }

    .timeline-item-marker {
        left: auto;
        right: 0;
        -webkit-transform: translate(-92%, -50%);
        transform: translate(-92%, -50%);
    }

    .timeline-item:nth-child(even) .timeline-item-inner {
        margin-left: calc(1.5rem + 46px / 2);
        margin-right: 0;
    }

    .timeline-item:nth-child(even) .timeline-item-marker {
        left: 0;
        right: auto;
        -webkit-transform: translate(-192%, -50%);
        transform: translate(-192%, -50%);
    }
}
