@import url(animate.css);

* {
    box-sizing: border-box;
}

.timeline {
    position: relative;
    overflow: auto;
    width: 100%;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(50%);
    margin: 0 auto;
    height: 86%;
    width: 2px;
    background-color: #62B8E3;
}

.timeline .timeline-items {
    list-style-type: none;
    overflow: hidden;
    padding-top: 0;
    padding-left: 0;
}

/* .timeline .timeline-items .timeline-item {
    position: relative;
    margin-bottom: 100px;
    left: 79px;
    padding: 20px;
    background-color: white;
    width: 45%;
    padding-top: 0;
    margin-top: -2px;
} */

.timeline .timeline-items .timeline-item {
    position: relative;
    margin-bottom: 100px;
    left: 16.1%;
    padding: 20px;
    background-color: white;
    width: 35%;
    padding-top: 0;
    margin-top: 0px;
}

.timeline .timeline-items .timeline-item.is-hidden {
    visibility: hidden;
}

/*.timeline .timeline-items .timeline-item::before {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    right: -1em;
    top: 0;
}*/

.timeline .timeline-items .timeline-item::after {
    content: '';
    background: #0D72A3;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 2px;
    border-radius: 100%;
    left: calc(100% + -5.7%);
}

.timeline .timeline-items .timeline-item.inverted {
    position: relative;
    left: 51%;
    text-align: right;
}

.timeline .timeline-items .timeline-item.inverted::after {
    content: '';
    background: #0D72A3;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 2px;
    border-radius: 100%;
    left: calc(-2.8% - 13px);
}

.timeline .timeline-items .timeline-item:nth-of-type(2n+1) {
    background-color: transparent;
    /* color: #000; */
}

.timeline .timeline-items .timeline-item.inverted {
    text-align: left;
}

/*******************************************************************************/
/* PRINT CSS */
/*******************************************************************************/

.timeline ul {
    margin-left: 0px;
}

@media screen and (max-width: 640px) {
    .timeline::before {
        left: 0px;
    }

    .timeline h2 {
        margin: 0px;
        text-align: left;
        padding-bottom: 0px;
        padding-top: 0px;
        padding-left: 10px;
        background-color: transparent;
    }

    .timeline .timeline-items .timeline-item.inverted {
        position: relative;
        left: 0%;
        text-align: left;
    }

    .inverted {
        left: -10px !important;
    }

    .timeline .timeline-items {
        padding-top: 12px;
    }

    .timeline .timeline-items .timeline-item::after {
        background: transparent;
        width: 0px;
        height: 0px;
        position: relative;
    }

    .timeline .timeline-items .timeline-item::after {
        content: '';
        background: transparent !important;
        width: 0px;
        height: 0px;
        position: relative !important;
    }

    .timeline .timeline-items .timeline-item {
        position: relative;
        margin-bottom: 80px;
        width: 95%;
    }

    .timeline .timeline-items .timeline-item:nth-of-type(2n+1)::before,
    .timeline .timeline-items .timeline-item.inverted:nth-of-type(2n+1)::before {
        border-top: 0px;
        border-right: 0px;
    }
}