/**********************************/
/********* Timeline 3 CSS *********/
/**********************************/

*,
*::before,
*::after {
    box-sizing: border-box;
}


.timeline {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 30px 0;
}

.tcontainer {
    padding: 0 15px;
    position: relative;
    background: inherit;
    width: 50%;
    margin-top: -5px;
}

.tcontainer.left {
    left: 0;
}

.tcontainer.right {
    left: 50%;
}

.tcontainer::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 5px;
    background: #3174f1;
    z-index: 1;
}

.tcontainer.left::before {
    top: 0;
    right: 0;
}

.tcontainer.right::before {
    bottom: 0;
    left: 0;
}

.tcontainer::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 5px;
    background: #3174f1;
    z-index: 1;
}

.tcontainer.left::after {
    bottom: 0;
    right: 0;
}

.tcontainer.right::after {
    top: 0;
    left: 0;
}

.tcontainer:first-child::before,
.tcontainer:last-child::before {
    display: none;
}

.tcontainer .content {
    padding: 30px;
    background: #ffffff;
    position: relative;
    border-right: 5px solid #3174f1;
    border-left: 5px solid #eeeeee;
    border-radius: 15px 0 0 15px;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.tcontainer.right .content {
    border-right: 5px solid #eeeeee;
    border-left: 5px solid #3174f1;
    border-radius: 0 15px 15px 0;
}

    .tcontainer .content h2 {
        margin: 0 0 10px 0;
        font-size: 18px;
        font-weight: normal;
        color: #3174f1;
    }

    .tcontainer .content h2 span {
        display: inline-block;
        margin-right: 15px;
        padding: 5px 10px;
        color: #ffffff;
        background: #3174f1;
    }

.tcontainer .content p {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    color: #454545;
}

@media (max-width: 767.98px) {
    .timeline {
        padding-bottom: 0;
    }

    .tcontainer {
        width: 100%;
        margin-top: 0;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 30px;
    }
    
    .tcontainer.right {
        left: 0%;
    }

    .tcontainer.left::after, 
    .tcontainer.right::after,
    .tcontainer.left::before,
    .tcontainer.right::before {
        width: 5px;
        height: 35px;
        left: 30px;
    }

        .tcontainer.left .content,
        .tcontainer.right .content {
            border-right: 5px solid #eeeeee;
            border-left: 5px solid #3174f1;
            border-radius: 0 15px 15px 0;
        }
}