section.timeline {
    padding: 40px 0px 140px 0px;
}

h1.head {
    padding-top: 40px;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    background: #C5CAE9;
    width: 5px;
    height: 95%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    width: 100%;
    margin-bottom: -40px;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
    padding: 40px 30px 10px 30px;
}

.timeline-item:nth-child(even) .timeline-content .date-title {
    right: auto;
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #ffdd00 transparent transparent;
}

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

.timeline-content {
    position: relative;
    width: 45%;
    padding: 10px 30px;
    border-radius: 4px;
    background: #f5f5f5;
    box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}

.timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #ffdd00;
}

.timeline-img {
    width: 30px;
    height: 30px;
    background: #3F51B5;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-top: 25px;
    margin-left: -15px;
}

.timeline-img.completed {
    background-color: #3fb574;
}

.timeline-img.in-progress {
    background-color: #ffdd00;
    border: 10px solid #3f51b5;
}

a.bnt-more {
    background: #3F51B5;
    color: #FFFFFF;
    text-decoration: none;
    padding: 8px 20px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 20px;
    margin-top: 10px;
    display: inline-block;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6);
}

a.bnt-more:hover,
a.bnt-more:active,
a.bnt-more:focus {
    background: #32408f;
    color: #FFFFFF;
    text-decoration: none;
}

section.study a.bnt-more {
    padding: 14px 26px;
    font-size: 20px;
}

.timeline-card {
    padding: 0 !important;
}

.timeline-card p {
    padding: 0 20px;
}

.timeline-card a.bnt-more {
    margin-left: 20px;
}

.timeline-item .timeline-img-header {
    background-size: cover !important;
}

.timeline-img-header {
    height: 200px;
    position: relative;
    margin-bottom: 20px;
}

.timeline-img-header h2 {
    color: #FFFFFF;
    position: absolute;
    bottom: 5px;
    left: 20px;
}

.timeline .timeline-content h2 {
    width: 85%;
}

blockquote {
    margin-top: 30px;
    color: #757575;
    border-left-color: #3F51B5;
    padding: 0 20px;
}

.date-title {
    background: #ffdd00;
    display: inline-block;
    color: #222;
    padding: 13px;
    position: absolute;
    top: 0;
    right: 0;
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 50px;
    }
    .timeline .timeline-img {
        left: 50px;
    }
    .timeline .timeline-content {
        max-width: 100%;
        width: auto;
        margin-left: 70px;
    }
    .timeline .timeline-item:nth-child(even) .timeline-content {
        float: none;
    }
    .timeline .timeline-item:nth-child(odd) .timeline-content::after {
        content: '';
        position: absolute;
        border-style: solid;
        width: 0;
        height: 0;
        top: 30px;
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent #ffdd00 transparent transparent;
    }
    .timeline-item {
        margin-bottom: 40px;
    }
    .date-title {
        right: inherit;
        left: 0;
    }
    .timeline .timeline-item:nth-child(1) .timeline-content h2 {
        padding-top: 50px;
    }
    .timeline-img-header h2 {
        font-size: 18px;
    }
}
