/* Timeline */
.timeline {
    border-left: 4px solid var(--bs-primary);
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    /*background: rgba(var(--bs-primary-rgb), 0.1);*/
    background: #e7f1ff;
    margin: 0 auto;
    letter-spacing: 0.5px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding: 50px;
    list-style: none;
    text-align: left;
    font-weight: 100;
    /*max-width: 70%;*/
}

.timeline .date:before {
    display: inline-block;
    width: 12ch;
    background-color: red;
    content: attr(data-date);
}

.timeline .event {
    border-bottom: 1px dashed var(--bs-primary);
    padding-bottom: 25px;
    margin-bottom: 50px;
    position: relative;
}

.timeline .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline .event:before,
.timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event:after {
    box-shadow: 0 0 0 4px var(--bs-primary);
    left: -57.85px;
    background-color: var(--bs-light);
    border-radius: 50%;
    height: 11px;
    width: 11px;
    content: "";
    top: 5px;
}

@media (max-width: 992px) {
    .portrait {
        max-width: 40vw;
    }
}

@media (min-width: 992px) {
    .timeline {
        margin-left: calc(20px + 12ch);
    }

    .timeline .event:before,
    .timeline .event:after {
        position: absolute;
        display: block;
        top: 0;
    }

    .timeline .event:before {
        left: calc(-80px - 12ch);
        content: attr(data-date);
        text-align: right;
        font-weight: 100;
        font-size: 0.9em;
        /*min-width: 120px;*/
        /*background-color: lightblue;*/
        min-width: 12ch;
        font-family: 'Saira', sans-serif;
    }

}



