.timeline-heading i {
    margin-right: 4px;
    /*vertical-align: -1px;*/
}

.timeline {
    padding: 0 0 20px 0;
    list-style: none;
    position: relative;
    /*min-height: 100%;*/
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #cccccc;
    left: 50%;
    margin-left: -1.5px; 
}

.timeline-event {
    margin-bottom: 20px;
    position: relative; 
}

.timeline-footer {
    margin-top: 10px;
    padding: 10px 0; 
}
.timeline-footer a {
    color: #fff;
    background-color: #acb7c0;
    border-radius: 0.25em;
    padding: 0.8em 1em;
    margin: 0; 
}

.timeline-title {
    margin-top: 0; 
}

timeline-separator{
    margin-bottom: 10px;
    position: relative;
    display: block;
    height: 30px;
}
.timeline-separator{
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    text-align: center;
    margin-left: -50px;
    background: #CCC;
    border-radius: 5px;
    padding: 5px
}

timeline-panel > * {
    margin: 0; 
}

timeline-panel {
    background-color: #fff;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 5px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    min-height: 70px;
}

timeline-panel:before {
    position: absolute;
    top: 35px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " "; 
}

timeline-panel:after {
    position: absolute;
    top: 36px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " "; 
}

timeline-badge {
    box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);    
    width: 40px;
    height: 40px;    
    font-size: 20px;    
    margin-left: -20px;
    position: absolute;
    top: 32px;
    left: 50%;
    z-index: 100;    
    background-color: #999999;
    color: #fff;    
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-inverted timeline-panel {
    float: right; 
}

.timeline-inverted timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto; 
}

.timeline-inverted timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto; 
}

.timeline-event:before,
.timeline-event:after {
    content: " ";
    display: table; 
}

.timeline-event:after {
    clear: both; 
}

.timeline-event:before,
.timeline-event:after {
    content: " ";
    display: table; 
}

.timeline-event:after {
    clear: both; 
}

/* Comentários abaixo foram feitos para ignorar o tamanho da tela */
@media only screen and (min-width: 768px) {
    timeline-panel {
        width: calc(50% - 45px);
        width: -moz-calc(50% - 45px);
        width: -webkit-calc(50% - 45px); 
    } 
}

@media only screen and (max-width: 767px) {
    timeline:before {
        left: 40px; 
    }
    timeline-panel {
        width: calc(100% - 85px);
        width: -moz-calc(100% - 85px);
        width: -webkit-calc(100% - 85px); 
    }
    timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 30px; 
    }
    timeline-panel {
        float: right; 
    }
    timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
        top: 30px; 
    }
    timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
        top: 31px; 
    } 
}
