﻿ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    ul::after {
        content: "";
        display: block;
        clear: both;
    }

    ul.timeline {
        display: flex;
        flex-wrap: wrap;
        margin-top: 30px;
        padding: 50px 30px;
    }

        ul.timeline > li {
            width: calc( 100% / 4 );
        }

            ul.timeline > li:nth-of-type(odd) > .content {
                -webkit-transform: translateY(calc(-100% - 24px));
                transform: translateY(calc(-100% - 24px));
            }

    ul .datatimeline {
        color: #fff;
        background: #1b88ca;
        display: block;
        position: relative;
        padding-left: 24px;
        line-height: 24px;
        font-weight: bold;
        font-size: 12px;
    }

        ul .datatimeline::before {
            content: "";
            width: 40px;
            height: 40px;
            position: absolute;
            background: #e40769;
            border-radius: 50%;
            left: -24px;
            top: calc( (40 - 24) / 2 * -1px );
            content: "✔︎";
            color: #fff;
            font-size: 1.8em;
            padding: 10px;
        }

        ul .datatimeline.new {
            border-radius: 0 24px 24px 0;
        }

            ul .datatimeline.new::after {
                content: "";
                width: 40px;
                height: 40px;
                position: absolute;
                background: #e40769;
                border-radius: 50%;
                right: -10px;
                top: -9.5px;
                top: calc( (40 - 24) / 2 * -1px );
                display:none;
            }



    ul .content {
        border-left: 9px solid #e40769;
        margin-left: -8px;
        padding: 15px 0;
        padding-right: 24px;
    }



        ul .content > li {
            padding-left: 20px;
            border-bottom: 4px solid #eef4f7;
            padding-bottom: 8px;
            position: relative;
            margin-left: -8px;
        }

            ul .content > li:last-of-type {
                border-bottom: 0;
                padding-bottom: 0;
            }

            ul .content > li::before {
                content: "";
                display: block;
                position: absolute;
                width: 3px;
                height: 3px;
                border-radius: 50%;
                background: #eef4f7;
                left: 2px;
                top: 8px;
            }

    /*datatimeline up*/
    ul .datatimelineUp {
        color: #fff;
        background: #1b88ca;
        display: block;
        position: relative;
        padding-left: 24px;
        line-height: 24px;
        font-weight: bold;
        font-size: 12px;
    }

        ul .datatimelineUp.newUp::after {
            content: "";
            width: 40px;
            height: 40px;
            position: absolute;
            background: #e40769;
            border-radius: 50%;
            right: -10px;
            top: -9.5px;
            top: calc( (40 - 24) / 2 * -1px );
        }

span.datatimelineUp.newUp.rightUp {
    text-align: right;
    padding-right: 40px;
}

ul.contentUp.rightTextUp {
    text-align: right;
    padding-right: 27px;
}

ul .contentUp {
    border-right: 9px solid #e40769;
    margin-right: 5px;
    padding: 15px 0;
    padding-right: 24px;
}

    ul .contentUp > li {
        padding-right: 5px;
        border-bottom: 4px solid #eef4f7;
        padding-bottom: 8px;
        position: relative;
        margin-right: -8px;
    }

        ul .contentUp > li:last-of-type {
            border-bottom: 0;
            padding-bottom: 0;
        }

        ul .contentUp > li::before {
            content: "";
            display: block;
            position: absolute;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #eef4f7;
            right: -25px;
            top: 8px;
        }

/*datatimeline down*/
ul .datatimelineDown {
    color: #fff;
    background: #1b88ca;
    display: block;
    position: relative;
    padding-left: 24px;
    line-height: 24px;
    font-weight: bold;
    font-size: 12px;
}

    ul .datatimelineDown.newDown::after {
        content: "";
        width: 40px;
        height: 40px;
        position: absolute;
        background: #e40769;
        border-radius: 50%;
        right: -10px;
        top: -9.5px;
        top: calc( (40 - 24) / 2 * -1px );
    }

span.datatimelineDown.newDown.rightDown {
    text-align: right;
    padding-right: 40px;
}

ul.contentDown.rightTextDown {
    text-align: right;
    padding-right: 27px;
}

ul .contentDown {
    border-right: 9px solid #e40769;
    margin-right: 5px;
    padding: 15px 0;
    padding-right: 24px;
}

    ul .contentDown > li {
        padding-right: 5px;
        border-bottom: 4px solid #eef4f7;
        padding-bottom: 8px;
        position: relative;
        margin-right: -8px;
    }

        ul .contentDown > li:last-of-type {
            border-bottom: 0;
            padding-bottom: 0;
        }

        ul .contentDown > li::before {
            content: "";
            display: block;
            position: absolute;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #eef4f7;
            right: -25px;
            top: 8px;
        }

ul.timeline > li:nth-of-type(odd) .contentUp {
    -webkit-transform: none;
    transform: none;
    transform: translateY(calc(-100% - 24px));
}


@media screen and (max-width: 1140px) {
    ul.timeline > li {
        width: calc( 100% / 4 );
    }
}

@media screen and (max-width: 991px) {
    ul.timeline > li {
        width: calc(100%/1)!important;
    }
}

@media screen and (max-width: 767px) {
    ul.timeline {
        display: block;
    }

        ul.timeline > li {
            width: calc(100%/1)!important;
        }

            ul.timeline > li:nth-of-type(odd) .content {
                -webkit-transform: none;
                transform: none;
            }

    .card-title-rastreamento-lote{
        text-align:center;
    }
}
