.dwl-timeline {
    max-width: 926px;
    margin: 0 auto;
}

.timeline {
    list-style: none;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px 0 30px;
    position: relative;
}

    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 8px;
        background-color: #A0A0A0;
        left: 50%;
        margin-left: -1.5px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .timeline:after {
        bottom: 0;
        position: absolute;
        content: " ";
        width: 8px;
        background: rgb(160,160,160);
        background: linear-gradient(180deg, rgba(160,160,160,1) 0%, rgba(245,245,245,1) 100%);
        left: 50%;
        margin-left: -1.5px;
        height: 100px;
    }

    .timeline > li {
        margin-bottom: 50px;
        position: relative;
        width: 50%;
        float: left;
        clear: left;
    }

        .timeline > li p {
            font-weight: var(--waa-font-medium);
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            width: 89%;
            float: left;
            border: 1.2px solid #A0A0A0;
            border-radius: 8px;
            /*padding: 20px;*/
            position: relative;
        }

            .timeline > li > .timeline-panel:before {
                position: absolute;
                top: 20px;
                right: -3px;
                display: inline-block;
                width: 5px;
                height: 38px;
                background: var(--waa-body);
                content: " ";
            }

        .timeline > li.timeline-inverted > .timeline-panel:before {
            background: var(--waa-body);
            left: -3px;
            right: auto;
        }

        .timeline > li.timeline-inverted > .timeline-panel:after {
            left: -14px;
            right: auto;
        }

        .timeline > li > .timeline-panel:after {
            position: absolute;
            top: 26px;
            right: -13px;
            display: inline-block;
            width: 26px;
            height: 26px;
            background: var(--waa-green);
            border-radius: 50%;
            content: " ";
            z-index: 500;
        }

        .timeline > li > .timeline-badge {
            color: #fff;
            width: 41px;
            height: 1px;
            line-height: 50px;
            font-size: 1.4em;
            text-align: center;
            position: absolute;
            top: 40px;
            right: 0;
            background-color: #A0A0A0;
            z-index: 100;
        }

        .timeline > li.timeline-inverted > .timeline-badge {
            left: 0;
            background-color: #A0A0A0;
        }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
        }

        .timeline > li > .timeline-panel .timeline-body {
            padding: 30px;
        }

            .timeline > li > .timeline-panel .timeline-body img {
                margin-bottom: 15px;
            }

            .timeline > li > .timeline-panel .timeline-body span.year {
                font-weight: 700;
                font-size: 30px;
                display: block;
            }

            .timeline > li > .timeline-panel .timeline-body span.title {
                font-weight: 700;
                font-size: 18px;
                display: block;
            }


        .timeline > li.timeline-inverted {
            float: right;
            clear: right;
            margin-top: 30px;
            margin-bottom: 30px;
        }

        .timeline > li:nth-child(2) {
            margin-top: 60px;
        }

@media (max-width: 767px) {
    .timeline:before, .timeline:after {
        visibility: hidden;
    }

    .timeline > li {
        width: 100%;
        margin-top: 30px;
    }

        .timeline > li p {
            font-size: 15px;
        }

        .timeline > li > .timeline-panel .timeline-body span.year {
            font-weight: 700;
            font-size: 24px;
            display: block;
        }

        .timeline > li:nth-child(2) {
            margin-top: 25px;
        }

        .timeline > li > .timeline-panel {
            width: 100%;
            float: left;
            border: 1.2px solid #A0A0A0;
            border-radius: 8px;
            /*padding: 20px;*/
            position: relative;
        }

        .timeline > li:first-child > .timeline-panel:before {
            visibility: hidden;
        }

        .timeline > li > .timeline-panel:before, .timeline > li.timeline-inverted > .timeline-panel:before {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--waa-green);
            top: -15px;
            bottom: unset;
            right: 0;
            left: 0;
            margin: 0px auto;
            border: 1px solid var(--waa-body);
            z-index: 400;
        }

        .timeline > li > .timeline-panel:after, .timeline > li.timeline-inverted > .timeline-panel:after {
            width: 30px;
            height: 30px;
            top: unset;
            right: 0;
            left: 0;
            margin: 0px auto;
            bottom: -15px;
            border: 1px solid var(--waa-body);
        }

        .timeline > li > .timeline-badge {
            width: 1px;
            height: 50px;
            text-align: center;
            position: absolute;
            top: unset;
            right: 0;
            left: 0;
            margin: 0px auto;
            bottom: -50px;
        }


        .timeline > li.items:nth-last-child(2) > .timeline-panel:after, .timeline > li.items:nth-last-child(2) > .timeline-badge {
            visibility: hidden;
        }
}
