.timeline {
    list-style: none;
    /*padding: 20px 0 20px;*/
    position: relative;
}

/*The line between badge*/
.timeline:before {
    content: '';
    top: 0;
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--go-ortho-color-kaki);
    left: 28px;
}

@media screen and (min-width: 992px){
    .timeline:before {
        left: 50%;
        margin-left: -2px;
    }
}

/*A row containing the badge and the pannel*/
.timeline-block {
    margin-bottom: 4rem;

    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media screen and (max-width: 991px) {
    .timeline-block {
        margin-left: 75px;
    }
}

@media screen and (min-width: 992px){
    .timeline-block:nth-child(even) {
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
    }
}

.timeline .timeline-block .timeline-panel {

    /*border-radius: 50px;*/ /*Round edge*/
    background: transparent;
    /*padding: 20px;*/ /*Padding*/
    position: relative;
    width: 100%;

    min-height: 60px; /*Must be the same had the badge height*/

    /*-webkit-animation-name: bounceInRight;*/
    /*animation-name: bounceInRight;*/
    /*animation-duration: 1s;*/
}

/*When screen is big*/
@media screen and (min-width: 992px) {
    .timeline .timeline-block .timeline-panel {
        width: 45%;
    }

    .timeline .timeline-block:nth-child(odd) .timeline-panel {
        -webkit-animation-name: bounceInLeft;
        animation-name: bounceInLeft;
        animation-duration: 1s;
    }

    .timeline .timeline-block:nth-child(even) .timeline-panel {
        -webkit-animation-name: bounceInRight;
        animation-name: bounceInRight;
        animation-duration: 1s;
    }
    

    .timeline .timeline-block:nth-child(odd) .timeline-panel {
        text-align: right;
    }
}

.timeline .timeline-block .timeline-panel:before {
    content: '';
    position: absolute;
    top: 18px;
    right: 100%;
    height: 0;
    width: 0;
    background: white;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

@media screen and (min-width: 992px) {
    .timeline .timeline-block .timeline-panel:before {
        top: 25px;
        left: 100%;
        border-color: transparent;
        border-left-color: white;
    }
}

@media screen and (min-width: 992px) {
    .timeline .timeline-block:nth-child(even) > .timeline-panel:before {
        left: auto;
        right: 100%;
        border-color: transparent;
        border-right-color: white;
    }
}

/*Badge representing the circle in the middle of the timeline*/
.timeline-badge {
    width: 60px;
    height: 60px;
    text-align: center;
    position: absolute;
    left: 0;
    z-index: 1;
    border-radius: 50%;

    /*box-shadow: 0 0 0 4px #F16625, inset 0 20px 0 rgba(0,0,0,.08), 0 3px 0 4px rgba(0,0,0,.05);*/

    -webkit-animation-name: rubberBand;
    animation-name: rubberBand;
    animation-duration: 1s;
}

@media screen and (min-width: 992px){
    .timeline-badge {
        width: 60px;
        height: 60px;
        left: 50%;
        margin-left: -30px; /*Must be half the width of the badge*/
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.timeline-badge-text {
    font-size: 3.5rem;
    font-family: "PP Telegraf", Arial, Helvetica;
    font-weight: 800;
}

/*.timeline .timeline-badge i {
    position: relative;
    top: 15%;
}*/

.badge-left {
    background-color: var(--go-ortho-color-grey);
}

.badge-right {
    background-color: var(--go-ortho-color-cream);
}

.timelineRegularText {
    color: #000000;
}

/*@media screen and (min-width: 992px){*/
    /*.timeline .timeline-block .timeline-date {*/
        /*position: absolute;*/
        /*width: 100%;*/
        /*left: 135%;*/
        /*top: 0;*/
        /*font-size: 1.6rem;*/
        /*opacity: 0.6;*/
        /*color: white;*/
    /*}*/

    /*.timeline .timeline-block:nth-child(even) .timeline-date {*/
        /*left: auto;*/
        /*right: 170%;*/
        /*text-align: right;*/
    /*}*/
/*}*/