.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

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

.timeline > li {
    margin-bottom: -15px;
    position: relative;
}
.timeline > li.has-badge{
    margin-top: 25px;
    min-height: 65px;
}
.timeline > li.has-badge > .timeline-panel{
    top: 16px;
    margin-bottom: 16px;
}
.timeline > 
.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel,
.timeline > li > .timeline-panel-notick {
    width: 47%;
    float: left;
    border: 1px solid rgba(178, 178, 255, 0.4);
    border-radius: 2px;
    padding: 7px;
    position: relative;
    background-color: rgba(229,229,255,.4);
}
.timeline > li.timeline-recipient:nth-of-type(2) {
    margin-top: -65px;
}
.timeline > li.timeline-recipient > .timeline-panel-notick {
    color: #376180;
    text-align: center;
    font-weight: bolder;
}

.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 8px;
    right: -6px;
    display: inline-block;
    border-top: 6px solid transparent;
    border-left: 6px solid rgba(178, 178, 255, 0.5);
    border-right: 0 solid rgba(231, 127, 127, 0.4);
    border-bottom: 6px solid transparent;
    content: " ";
}

.timeline > li.has-badge > .timeline-badge {
    color: #fff;
    width: 60px;
    height: 50px;
    line-height: 20px;
    font-size: 1em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -30px;
    background-color: #999999;
    z-index: 100;
    padding-top: 5px;
}

.timeline > li.timeline-inverted > .timeline-panel,
.timeline > li.timeline-inverted > .timeline-panel-notick {
    float: right;
    background-color: rgba(239, 170, 170, .2);
    border: 1px solid rgba(231, 127, 127, .2);
}

.timeline > li.timeline-initial > .timeline-panel{
    background-color: rgba(230, 90, 90, .2);
    border: 1px solid rgba(210, 60, 60, .5);
}

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

.timeline .fs-n{
    color: lightseagreen;
}
.timeline .fs-o{
    color: seagreen;
}
.timeline .fs-p{
    color: slategray;
}
.timeline .fs-r{
    color: red;
}


.timeline-badge.turquoise {
    background-color: #43aec1 !important;
    border: 1px solid #348d9d;
}
.timeline-badge.bluegreenlight{
    background-color: #378fa2 !important;
    border: 1px solid #2a6d7c;
}
.timeline-badge.bluegreen{
    background-color: #006c7d !important;
    border: 1px solid #00404a;
}
.timeline-badge.bluegreendark{
    background-color: #235562 !important;
    border: 1px solid #16343c;
}
.timeline-badge.bluegreendarker{
    background-color: #1b414b !important;
    border: 1px solid #0e2126;
}
.timeline-badge.bluegreendarkest{
    background-color: #192F49 !important;
    border: 1px solid #0c1723;
}
.timeline-badge.bluegreennotblackyet{
    background-color: #1A2047 !important;
    border: 1px solid #0c0f22;
}

.timeline > li.has-badge > .timeline-badge.timeline-order{
    height: 36px;
    margin-top: -16px;
    background-color: transparent;
}

.timeline > li.has-badge > .timeline-badge.timeline-order > button {
    border: none;
    color: rgba(180,100,240,.7);
}

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

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}
.timeline-body > span{
    display: block;
    padding: 5px 0;
    text-align: justify;
    position: relative;
    word-wrap: break-word;
    border-bottom: 1px solid rgba(150,150,150,.1);
}
.timeline-body > span p{
    margin-bottom: 2px;
}
.timeline-body > span:last-of-type{
    border-bottom: none;
}
.timeline-body time{
    display: inline;
    padding: 2px 0px 0px 5px;
    border: none;
    position: absolute;
    left: 100%;
    width: 30px;
    margin-left: -37px;
    font-size: .7em;
    color: slategray;
    top: -7%;
}
.timeline-body span.add{
    padding-left: 5px;
}

.timeline-body span.add .pull-right{
    /*background-color: rgba(172, 195, 231,.2);*/
    padding: 3px;
}

.timeline-body span.initial .pull-right{
    /*background-color: rgba(172, 195, 231,.5);*/
}

.timeline-body span.add .pull-right > .fa {
    padding-left: 5px;
}

.timeline-body .clearfix{
    padding: 0;
    margin: 0;
}

.timeline .btn-timeline{
    margin-right: 7px;
    margin-left: 7px;
}

@media(max-width: 1400px) {
    .timeline > li > .timeline-panel,
    .timeline > li > .timeline-panel-notick {
        width: 45%;
    }
}

@media(max-width: 900px) {
    .timeline > li > .timeline-panel,
    .timeline > li > .timeline-panel-notick{
        width: 43%;
    }
    
    .send-new{
        position: relative;
        top: -16px;
        background-color: #63becc;
        margin-top: 10px;
    }

    .send-new button{
        width: 150px;
        white-space: normal;
    }
    
    .send-new button > .fa{
        display: none;
    }
}

@media (max-width: 767px) {
    
    .send-new button{
        width: 100%;
        white-space: nowrap;
    }
    
    ul.timeline:before {
        left: 30px;
        margin-top: 85px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 67px);
        width: -moz-calc(100% - 67px);
        width: -webkit-calc(100% - 67px);
        float: right;
        padding: 5px;
    }

    ul.timeline > li.has-badge > .timeline-badge {
        left: 0px;
        margin-left: 0;
        top: 16px;
    }
    
    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 6px;
        left: -6px;
        right: auto;
        border-right-color: rgba(178, 178, 255, 0.5);
        border-left-color:  rgba(231, 127, 127, 0.4);
    }
    
    ul.timeline > li.timeline-inverted > .timeline-panel:after {
        border-left-width: 6px;
        border-right-width: 0;
        right: -6px;
        left: auto;
    }
    
    .timeline-body time {
        margin-left: -26px;
        top: -4px;
        color: rgba(150,150,150,.6);
    }
    
    .timeline-body > span{
        padding: 4px 0;
    }
    
    .timeline .btn-timeline{
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .timeline-body span.add .pull-right{
        width: 100%;
    }
}