.timeline ul {
    /*background: #1B9AAA;*/
    padding: 50px 0;
}

.timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: #093990;
}

.timeline ul li::after {
    content: '';
    position: absolute;
    left: 50%;
    /*bottom: 0;*/
    bottom: -7px;
    z-index: 10;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: inherit;
}

.timeline ul li div {
    position: relative;
    bottom: 0;
    width: 400px;
    /*padding: 15px;*/
    /*background: #E86361;*/
    border-bottom: 1px solid #093990;

}

.timeline ul li div::before {
    content: '';
    position: absolute;
    bottom: 7px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline ul li:nth-child(odd) div {
    left: 45px;

}
/* freccina dx */
.timeline ul li:nth-child(odd) div::before {
    left: -19px;
    bottom: 0;
    border-width: 10px 18px 10px 0;
    border-color: transparent #093990 transparent transparent;
    border-color: transparent transparent transparent transparent;
}

.timeline ul li:nth-child(even) div {
    left: -439px;
}
/* freccina sx */
.timeline ul li:nth-child(even) div::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #cd221e;
    border-color: transparent transparent transparent transparent;
}

.timeline p{
    font-size: .9em;
    padding-top: 5px;
}

.timeline span{
    display: block;
    font-weight: bold;
    padding-top: 5px;
}

time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Sommet Rounded';
    text-align: center;
    /*border-bottom: 1px solid #093990;*/
    padding-top: 10px;
    background: #093990;
    color: #fff;
}



/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li::after {
    transition: background .5s ease-in-out;
}

.timeline ul li.in-view::after {
    background: #cd221e;
}

.timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all .5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
    transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
    transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
    .timeline ul li div {
        width: 250px;
    }
    .timeline ul li:nth-child(even) div {
        left: -289px;
        /*250+45-6*/
    }
}

@media screen and (max-width: 600px) {
    .timeline ul li {
        margin-left: 20px;
    }
    .timeline ul li div {
        /*width: calc(100vw - 91px);*/
    }
    .timeline ul li:nth-child(even) div {
        left: 45px;
    }
    .timeline ul li:nth-child(even) div::before {
        left: -15px;
        border-width: 8px 16px 8px 0;
        border-color: transparent #E86361 transparent transparent;
        border-color: transparent transparent transparent transparent;
    }
}
