﻿/* body {
    margin-top: 20px;
} */

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    .timeline-steps .timeline-step {
        align-items: center;
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 1rem
    }


    .timeline-steps .timeline-step:not(:last-child):after {
        content: "";
        display: block;
        border-top: .25rem solid #f15196;
        width: 5.46rem;
        position: absolute;
        left: 5.5rem;
        top: .35rem;
        margin-top: 3rem;
    }

    .timeline-steps .timeline-step:not(:first-child):before {
        content: "";
        display: block;
        border-top: .25rem solid #f15196;
        width: 5.8125rem;
        position: absolute;
        right: 5.5rem;
        top: .35rem;
        margin-top: 3rem;
    }


.timeline-steps .timeline-content {
    width: 10rem;
    text-align: center;
    color: #f15196;
}

    .timeline-steps .timeline-content .inner-circle {
        border-radius: 1.5rem;
        height: 1rem;
        width: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #f15196;
        margin-top: 16px;
    }

        .timeline-steps .timeline-content .inner-circle:before {
            content: "";
            /*background-color: #3b82f6;*/
            display: inline-block;
            height: 3rem;
            width: 3rem;
            min-width: 3rem;
           /* border-radius: 6.25rem;
            opacity: .5*/
        }

@media (max-width:768px) {
    .timeline-steps{
        flex-direction: column;
        width: 300px;padding-left: 10px;
    }
    .timeline-steps .timeline-content{
        width: 100%;
        text-align: left;
        padding-left: 20px;
    }
    .timeline-steps .timeline-content .inner-circle{
        position: absolute;
        left: -5px;
        margin-top: -6px;
        height: 14px;
        width: 14px;
    }
    .timeline-steps .timeline-content .inner-circle:before{
        width: 32px;
        height: 32px;
    }
    .timeline-steps .timeline-step:not(:first-child):before{
        border-top: 4rem solid #f15196;
        width: 4px;
        right: unset;
        left: 0;
        margin-top: 0;
    }
    .timeline-steps .timeline-step:not(:last-child):after{
        border-top: 4rem solid #f15196;
        width: 4px;
        right: unset;
        left: 0;
    }
    .timeline-steps .timeline-step:first-child:after{
        margin-top: 0;
        border-top: 8rem solid #f15196;
    }
    .timeline-steps .timeline-step:last-child:before{
        border-top: 3.2rem solid #f15196;
    }
}
