
:root {
    /* Color */
    --primary_color: #FFFFFF;
    --secondary_color: #23B3F2;
    --color_one: #B6B6B6;
    /* Font */
    --primary_font_family: 'Raleway', sans-serif;
    --secondary_font_family: 'Roboto', sans-serif;
}


.d2c_timeline_wrapper {
    padding: 100px 0px;
}
.d2c_card_wrapper {
    height: 100%;
    background: var(--primary_color);
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);
    padding: 27px 27px;
    border-radius: 4px;
    position: relative;
}
.d2c_card_wrapper::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 25px 0px 25px;
    border-color: #FFFFFF transparent transparent transparent;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}
.d2c_title {
    font-family: var(--primary_font_family);
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
    color: var(--secondary_color);
    font-feature-settings: 'pnum' on, 'lnum' on;
}
.d2c_content {
    font-family: var(--secondary_font_family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--color_one);
    margin-bottom: 0px;
}
.d2c_icon_wrapper {
    width: 25px;
    height: 25px;
    border: 2px solid var(--secondary_color);
    border-radius: 50%;
    padding: 4px 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    background: var(--primary_color);
    z-index: 1;
}
.d2c_icon_wrapper i {
    font-size: 17px;
    position: relative;
}
.d2c_icon_wrapper::after {
    width: 409px;
    content: '';
    border: 1px solid #23B3F2;
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
}   
ul li:last-child .d2c_icon_wrapper::after {
    display: none;
}
.d2c_time {
    font-family: var(--primary_font_family);
    font-weight: 700;
    font-size: 28px;
    line-height: 22px;
    color: var(--secondary_color);
    text-align: center;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

/* Nabs */
.nav-tabs {
    border-bottom: 0px;
    padding: 0;
}
.nav {
    justify-content: space-around;
    position: relative;
}
.nav-tabs .nav-link {
    border: none;
    color: var(--primary_color);
    background: transparent;
    position: relative;
    isolation: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 55px;
    
}
.nav-tabs .nav-link.active {
    isolation: unset;
    color: var(--secondary_color);
    background: transparent;
}
.nav-tabs .nav-link:hover {
    isolation: initial;
}
.d2c_vertical_timeline {
    display: none;
}

/* Responsive */
@media (min-width: 0px) and (max-width: 767px) {
    .d2c_timeline_wrapper {
        padding: 50px 0px;
    }
    .d2c_card_wrapper {
        padding: 15px;
    }
    .d2c_line {
        display: none;
    }
    .d2c_card_wrapper::after {
        display: none;
    }
    .d2c_icon_wrapper {
        display: none;
    }
    .d2c_card_wrapper .d2c_time_wrapper {
        bottom: -50px;
    }
    .d2c_title {
        font-size: 18px;
        line-height: 20px;
    }
    .d2c_content {
        font-size: 14px;
    }
    .d2c_timeline_wrapper {
        display: none;
    }
    .d2c_vertical_timeline {
        display: block;
        padding: 50px 0px;
    }
    .d2c_time {
        margin-bottom: 10px;
        font-size: 14px;
        padding: 5px 10px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .d2c_timeline_wrapper {
        padding: 50px 100px;
    }
    .d2c_timeline_wrapper {
        display: none;
    }
    .d2c_vertical_timeline {
        display: block;
        padding: 50px 0px;
    }
    .d2c_time {
        margin-bottom: 15px;
        font-size: 22px;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    .d2c_timeline_wrapper {
        padding: 50px 0px;
    }
    .d2c_card_wrapper {
        padding: 20px 20px;
    }
    .d2c_title {
        font-size: 24px;
        line-height: 34px;
    }
    .d2c_content {
        font-size: 14px;
    }
    .d2c_card_wrapper .d2c_time_wrapper {
        bottom: -130px;
    }
    .d2c_icon_wrapper {
        margin-bottom: 10px;
    }
    .d2c_time {
        font-size: 22px;
    }
    .nav-item::after {
        width: 295px;
        left: 53px;
        top: 53%;
    }
    .d2c_vertical_timeline {
        display: none;
    }
}




/* 
    KIT Name: 10+ Timeline - Bootstrap Bundle
    Product URL: https://www.designtocodes.com/product/10-timeline-section-html-web-ui-kits-html-components
    Product Description: The Timeline kit is made of all the basic elements you need to create a stunning website, from the start.
    Author: designtocodes.com
    Author URL: https://www.designtocodes.com/
*/