/* Container */

.tp-tl {
    position: relative;
    width: 100%;
    margin-bottom: 65px;
    margin-top: 40px;
}


/* Vertical center line */

.tp-tl-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 5px;
    transform: translateX(-50%);
    background: #e5e7eb;
    /* base line */
    border-radius: 999px;
}

.tp-tl-end-dot {
    position: absolute;
    content: "";
    background: #d9d9d9;
    width: 28px;
    height: 28px;
    border-radius: 50px;
    bottom: 0;
    left: -10.5px;
    z-index: 999;
}

.tp-tl-end-dot.active {
    background: var(--tp-accent, #e74c3c);
}


/* Progress that grows on scroll (height set bằng JS) */

.tp-tl-progress {
    position: absolute;
    left: 0;
    bottom: auto;
    top: 0;
    width: 100%;
    height: 0;
    background: var(--tp-accent, #e74c3c);
    border-radius: 999px;
}


/* Items */

.tp-tl-item {
    position: relative;
    width: 50%;
}

.tp-tl-item.is-left {
    text-align: right;
    padding-right: 60px;
}

.tp-tl-item.is-right {
    margin-left: 50%;
    padding-left: 60px;
}

.tp-tl-title {
    margin: 0 0 8px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.25;
}


/* Number badge (circle) */

.tp-tl-badge {
    height: 60px;
    width: 60px;
    border-radius: 50px;
    background: #fff2f2;
    font-size: 32px;
    color: #000;
    display: inline-block;
    text-align: center;
    line-height: 60px;
    margin-bottom: 15px;
}

.tp-tl-item.active .tp-tl-badge {
    background: var(--tp-accent, #e74c3c);
    color: #fff;
}

.tp-tl-body {
    margin: 8px 0 0;
    line-height: 1.7;
}

.tp-tl-footer {
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: -40px;
    font-weight: 600;
    font-size: 20px;
    line-height: 39px;
    color: #000;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tp-tl-footer.active {
    color: var(--tp-accent, #e74c3c);
}

.tp-tl-list {
    list-style: none;
    margin: 8px 0 0;
    padding-left: 0;
}

.tp-tl-list li {
    position: relative;
    padding-left: 20px;
    margin: 6px 0;
    line-height: 1.7;
}

.tp-tl-list li:before {
    content: "";
    /* position: absolute; */
    border: 2px solid var(--tp-accent, #e74c3c);
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 10px;
    margin-right: 8px;
    /* left: 0; */
    /* top: 10px; */
}
.tp-tl-item.is-right .tp-tl-list li:before{
    position: absolute;
    left: 0;
    top: 10px;
}

/* Mobile */

@media (max-width: 768px) {
    .tp-tl-item.is-left .tp-tl-list li:before{
        position: absolute;
        left: 0;
        top: 10px;
    }
    .tp-tl-line {
        left: 0;
        transform: none;
    }
    .tp-tl-item,
    .tp-tl-item.is-right,
    .tp-tl-item.is-left {
        width: 100%;
        margin: 0;
        padding-right: 0;
        padding-left: 30px;
        text-align: left;
        margin-bottom: 20px;
    }
    .tp-tl-badge {
        height: 40px;
        width: 40px;
        line-height: 40px;
        font-size: 20px;
    }
    .tp-tl-footer {
        display: none;
    }
}
