.timeline {
    min-height: 300px;
    position: relative;
    z-index: 50;
    padding-bottom: 10px;
    margin-bottom: 100px;
}

.timeline::before {
    position: absolute;
    content: " ";
    display: block;
    width:1px;
    height: 100%;
    left: 50%;
    top: 30px;
    z-index:10;
    margin-left: -.5px;
    background: var(--darkgreen);
}

.timeline-end {
    display: block;
    width: 20px;
    height: 20px;
    background: var(--darkgreen);
    position: absolute;
    bottom: -50px;
    left: 50%;
    margin-left: -10px;
}

.timeline-year-container {
    text-align: center;
}

.timeline-year-label {
    display: inline-block;
    background: var(--darkgreen);
    padding: 5px 35px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
}


.timeline-item-wrapper {
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.timeline-item-container {
    max-width: 50%;
}

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

.timeline-item-title {
    font-size: 24px;
    display: block;
    /* border-bottom: 1px solid var(--darkgreen); */
    margin: 20px 0;
    line-height: 130%;
    padding: 0 20px 10px 0;
}

.timeline-item-title,
.timeline-item-title:hover,
.timeline-item-title:active,
.timeline-item-title:focus,
.timeline-item-title:visited {
    color: var(--darkgreen);
    text-decoration: none;
}

.timeline-item-body {
    padding-right: 20px;
}

.timeline-item-image {
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
}

.timeline-item-description {
    font-size: 18px;
    color: #333;
    word-wrap: break-word;
    text-align: justify;
}

.timeline-item-description a,
.timeline-item-description a:hover,
.timeline-item-description a:active,
.timeline-item-description a:focus,
.timeline-item-description a:visited {
    color: #333;
    text-decoration: none;
}

.timeline-item-container:nth-child(even) .timeline-item-title {
    padding-left: 0px;
    padding-right: 0;
}

.timeline-item-container:nth-child(even) .timeline-item-date {
    padding-left: 20px;
    padding-right: 0;
    text-align: left;   
}

.timeline-item-container:nth-child(even) .timeline-item-body {
    padding-left: 20px;
    padding-right: 0;
}

.timeline-item-container:nth-child(even) .timeline-item-description {
    padding-left: 0px;
    padding-right: 0;
}

.timeline-item-date {
    font-size: 20px;
    display: block;
    border-bottom: 1px solid var(--darkgreen);
    margin: 20px 0;
    line-height: 130%;
    padding: 0 20px 10px 0;
    color: var(--darkgreen);
    text-align: right;
}

@media screen and (max-width: 991px) {

    .timeline::before {
        left: .5px;
    }

    .timeline-item-body,
    .timeline-item-date,
    .timeline-item-title {
        padding-left: 20px;
        padding-right: 0;
    }

    .timeline-year-container,
    .timeline-item-container {
        text-align: left;
    }

    .timeline-item-container {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 50px;
    }

    .timeline-end {
        left: 0;
        margin-left: 0;
    }
    
    .timeline-item-title {
        font-size: 18px;
    }
    .timeline-item-description {
        font-size: 16px;
    }
}