.main-timeline {
    font-family: sans-serif;
}

.main-timeline:after {
    content: '';
    display: block;
    clear: both;
}

.main-timeline .timeline {
    width: calc(50% + 110px);
    margin: 0 0 30px;
    float: right;
}

.main-timeline .timeline-content {
    background: #fff;
    padding: 25px 25px 25px 175px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: block;
    position: relative;
    min-height: 120px;
    /* add min-height */
}

.main-timeline .timeline-content:hover {
    text-decoration: none;
}

.main-timeline .timeline-content:before {
    content: "";
    background: #8cc242;
    width: 125px;
    height: 100%;
    border: 0 solid #709b34;
    border-right-width: 30px;
    position: absolute;
    top: 0;
    left: 0;
}

.main-timeline .timeline-icon img {
    /* add  img */
    color: #fff;
    background: #ffffff;
    /* #b46a17 */
    font-size: 45px;
    text-align: center;
    line-height: 105px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 1px 1px 0px #fff inset, 0 0 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 62px;
}

.main-timeline .timeline-year {
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    line-height: 35px;
    transform: translateY(-50%) rotate(90deg);
    position: absolute;
    top: 50%;
    left: -10px;
}

.main-timeline .title {
    color: #f59220;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.main-timeline .description {
    color: #777;
    font-size: 16px;
    margin: 0;
}

.main-timeline .timeline:nth-child(even) {
    float: left;
}

.main-timeline .timeline:nth-child(even) .timeline-content {
    padding: 25px 175px 25px 25px;
}

.main-timeline .timeline:nth-child(even) .timeline-content:before {
    border-left-width: 30px;
    border-right-width: 0;
    left: auto;
    right: 0;
}

.main-timeline .timeline:nth-child(even) .timeline-year {
    left: auto;
    right: -10px;
}

.main-timeline .timeline:nth-child(even) .timeline-icon img {
    /* add img */
    box-shadow: -1px 1px 0px #fff inset, 0 0 8px rgba(0, 0, 0, 0.4);
    left: auto;
    right: 62px;
}

.main-timeline .timeline:nth-child(4n+2) .timeline-content:before {
    background: #8cc242;
    border-color: #709b34;
}

.main-timeline .timeline:nth-child(4n+2) .timeline-icon {
    background: #0c7088;
}

.main-timeline .timeline:nth-child(4n+2) .title {
    color: #129bbd;
}

@media screen and (max-width:767px) {
    .main-timeline .timeline {
        width: 100%;
    }
}

@media screen and (max-width:576px) {
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even) {
        text-align: center;
        margin: 0 0 30px;
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(even) .timeline-content {
        padding: 15px 10px 175px 10px;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(even) .timeline-content:before {
        width: 100%;
        height: 123px;
        border-left-width: 0;
        border-right-width: 0;
        border-top-width: 30px;
        top: auto;
        bottom: 0;
    }
    .main-timeline .timeline-year,
    .main-timeline .timeline:nth-child(even) .timeline-year {
        transform: translateX(-50%) translateY(0) rotate(0deg);
        top: auto;
        bottom: 10px;
        left: 50%;
    }
    .main-timeline .timeline-icon img,
    .main-timeline .timeline:nth-child(even) .timeline-icon img {
        /* add img */
        box-shadow: -1px -1px 0px #fff inset, 0 0 8px rgba(0, 0, 0, 0.4);
        transform: translateX(-50%) translateY(0);
        top: auto;
        bottom: 62px;
        left: 50%;
    }
    .main-timeline .title {
        font-size: 20px;
    }
}