.wfty_process_bar_wrapper {
    display: flex;
}

.wfty_process_bar_section a,
.wfty_process_bar_section a:focus {

    outline: none;

    text-decoration: none;
    text-transform: none;
}

body.single_step .s1 {
    background-color: #59befd;
}

body.single_step .s1:before {
    border-left: 17px solid #fff;
}

body.single_step .s1:after {
    border-left: 17px solid #59befd;
}

body.two_step .s2 {
    background-color: #59befd;
}

body.two_step .s2:before {
    border-left: 17px solid #fff;
}

body.two_step .s2:after {
    border-left: 17px solid #59befd;
}


body.third_step .s3 {
    background-color: #59befd;
}

body.third_step .s3:before {
    border-left: 17px solid #fff;
}

body.third_step .s3:after {
    border-left: 17px solid #59befd;
}


.wfty_process_bar_section {
    display: flex;
    align-items: center;

    padding: 10px 5px 10px 22px;

    position: relative;


    justify-content: center;
    font-weight: 700;
}

body .wfty_process_bar_wrapper.bwf_skin_1 {
    height: 50px;
}

body .bwf_skin_3.bwf_progress_bar_count_inactive .wfty_process_bar_section:after,
body .wfty_process_bar_wrapper.bwf_skin_4.bwf_progress_bar_count_inactive .wfty_process_bar_section:after {
    display: none !important;
}

body .bwf_skin_2.bwf_progress_bar_count_inactive .wfty_process_bar_section {
    text-align: left;
}

body .wfty_process_bar_section:last-child {
    margin-right: 0 !important;
    padding-right: 0;
}

.wfty_process_bar_wrapper.bwf_skin_1 {
    margin-right: 17px;

}

.wfty_process_bar_section:hover {
    cursor: pointer;
}


.wfty_process_bar_section .wfty_pb_label {
    color: #888;
    display: block;
    line-height: 1.2;
    background: transparent;
}


.wfty_process_bar_section.active .wfty_pb_number {
    color: #59befd;
    background-color: #fff;
    border: 2px solid #fff;
}

.wfty_process_bar_section .wfty_pb_number {
    border-radius: 50%;
    padding: 3px 10px 2px;
    background-color: #f1f1f1;
    display: inline-block;
    font-size: 14px;
    border: 2px solid transparent;
    color: #888;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -15px;
    text-align: center;
}

.bwf_skin_1 .wfty_process_bar_section:last-child {
    margin-right: 0 !important;
}

.wfty_process_bar_section.active .wfty_pb_label {
    color: #fff;
}

.wfty_process_bar_wrapper.bwf_skin_1 .wfty_process_bar_section:before,
.wfty_process_bar_wrapper.bwf_skin_1 .wfty_process_bar_section:after {
    content: " ";
    position: absolute;
    top: 50%;
    right: -17px;
    width: 0;
    height: 0;
    border-top: 25px solid transparent !important;
    border-bottom: 25px solid transparent !important;
    border-left: 17px solid #f1f1f1;
    z-index: 2;
    margin-top: -25px;

}

.wfty_process_bar_wrapper.bwf_skin_1 .wfty_process_bar_section:before {
    right: auto;
    left: 0;
    border-left: 17px solid #fff;
    z-index: 0;
}

/* Skin 1 */
.bwf_skin_1 .wfty_process_bar_section {
    background-color: #f1f1f1;
}

.bwf_skin_1 .wfty_process_bar_section.bwf_step_active .wfty_pb_label {
    color: #fff;
}

.bwf_skin_1 .wfty_process_bar_section.bwf_step_active {
    background-color: #24AE4E;
}

.bwf_skin_1 .wfty_process_bar_section.bwf_step_active:after {
    border-color: #24AE4E;
}

/* Skin 2 */

.bwf_skin_2 .wfty_process_bar_section {
    background-color: transparent;
    height: auto;
    padding: 0 10px 0 0;
}

.wfty_process_bar_wrapper.bwf_skin_2 .wfty_pb_number {
    color: #fff;
}

.wfty_process_bar_wrapper.bwf_skin_2 .wfty_pb_label {
    color: #333;
}

.bwf_skin_2 .wfty_process_bar_section.bwf_step_active .wfty_pb_number {
    background-color: #24AE4E;
}

.bwf_skin_2 .wfty_process_bar_section.bwf_step_active .wfty_pb_label {
    color: #24AE4E;
}

.bwf_skin_2 .wfty_process_bar_section:not(.bwf_step_active) .wfty_pb_number {
    color: #333;
    background: #f1f1f1;
}


/* Skin 3 */
.wfty_process_bar_wrapper.bwf_skin_3 .wfty_pb_number {
    border: 1px solid #000;
}

.bwf_skin_3 .bwf_design_line {
    position: relative;
    margin-left: 10px;
}

.bwf_design_line:after {
    content: '';
    position: absolute;
    background: #D4DCEB;
    left: auto;
    width: 50px;
    height: 1px;
    top: 50%;
}

.bwf_skin_3 .wfty_process_bar_section {
    padding: 0;
    margin-right: 15px;
    padding-right: 15px;
}

.bwf_skin_3 .wfty_process_bar_section:last-child a span:last-child:after,
.bwf_skin_3 .wfty_process_bar_section:last-child:after {
    display: none;
}

.bwf_skin_3 .wfty_process_bar_section .wfty_pb_label {
    display: inline-block;
}

.bwf_skin_3 .wfty_process_bar_section.bwf_step_active .wfty_pb_number {
    background-color: #000;
    color: #fff;
}

.bwf_skin_3 .wfty_process_bar_section:not(.bwf_step_active) .wfty_pb_number {
    color: #333;
    border-color: transparent;
}

.bwf_skin_3 .wfty_process_bar_section .wfty_pb_label {

    z-index: 9999999;
    position: relative;
    background: #fff;
    padding-right: 10px;
}

body .bwf_skin_3 .wfty_process_bar_section:after {
    content: '';
    display: block;
    background: #D4DCEB;
    width: calc(100% - 40px);
    height: 1px;
    position: absolute;
    right: 0;
}


/* new skin */

.bwf_skin_3 .wfty_process_bar_section {
    width: 33.33%;
    padding-right: 0;
}

.bwf_skin_3 .wfty_process_bar_section a {
    display: inline-block;
    width: 100%;
}

.wfty_process_bar_wrapper.bwf_skin_3 .wfty_pb_number {
    z-index: 999;
}


/* Skin 4*/

.wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section {
    padding: 0;
    height: auto;
    margin: 0;
}

.wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section .wfty_pb_number {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 0 0 10px;
    z-index: 9;
}

.wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section .wfty_pb_label {
    display: block;
    padding: 0;
    line-height: 1.5;
}

.wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section a {
    padding-left: 0;
    text-align: center;
    width: 100%;
}


.wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section:first-child:after {
    display: none;
}

.bwf_skin_4 .wfty_process_bar_section.bwf_step_active .wfty_pb_number {
    background-color: #000;
    color: #fff;
    font-weight: 700;
}


.bwf_skin_4 .wfty_process_bar_section:not(.bwf_step_active) .wfty_pb_number {
    border-color: transparent;
}

.wfty_process_bar_wrapper.bwf_skin_4.bwf_progress_bar_count_inactive {
    gap: 10px;
}

.wfty_process_bar_wrapper.bwf_skin_4.bwf_progress_bar_count_inactive .wfty_process_bar_section:before {
    display: none !important;
}

.wfty_process_bar_wrapper.bwf_skin_4.bwf_progress_bar_count_inactive span.bwf_line {
    transform: none;
    align-self: center;
}


/* Skin design */

.bwf_skin_1 .wfty_process_bar_section.bwf_step_active .wfty_pb_number {
    background-color: #fff
}


.bwf_skin_2 .wfty_process_bar_section.bwf_step_active .wfty_pb_number {
    background-color: #24AE4E;
}

.bwf_skin_2 .wfty_process_bar_section.bwf_step_active .wfty_pb_label {
    color: #24AE4E;
}

.bwf_skin_3 .wfty_process_bar_section.bwf_step_active .wfty_pb_number {
    background-color: #24AE4E;
    border-color: #24AE4E;
    font-weight: 500;
}

.bwf_skin_3 .wfty_process_bar_section.bwf_step_active .wfty_pb_label {
    color: #24AE4E;
}

.bwf_skin_4 .wfty_process_bar_section.bwf_step_active .wfty_pb_number {
    background-color: #24AE4E;
}

.bwf_skin_4 .wfty_process_bar_section.bwf_step_active .wfty_pb_label {
    color: #24AE4E;
}


.bwf_skin_1 .wfty_process_bar_section:not(.bwf_step_active) .wfty_pb_number {
    background: #fff;
}


.wfty_process_bar_section:not(.bwf_step_active),
.wfty_process_bar_section:not(.bwf_step_active) .wfty_pb_number {
    font-weight: 400;
}


.bwf_skin_4 .wfty_process_bar_section.bwf_line_active:after {
    background: #24AE4E;
}


.bwf_skin_4 .wfty_process_bar_section.bwf_line_active .wfty_pb_number {
    background: #24AE4E;
    color: #fff;
}

.bwf_skin_4 .wfty_process_bar_section.bwf_line_active .wfty_pb_label {
    color: #24AE4E;
}

.bwf_skin_3 .wfty_process_bar_section .wfty_pb_label {
    padding: 0 0 0 10px;
}


/* new structure */
.bwf_skin_3 .wfty_process_bar_section,
.bwf_skin_4 .wfty_process_bar_section {
    width: auto !important;
    margin: 0;
    padding-left: 0 !important;
}

.bwf_skin_3 .wfty_process_bar_section:after,
.bwf_skin_4 .wfty_process_bar_section:after {
    display: none;
}

.bwf_skin_3 .wfty_process_bar_section a {
    padding-left: 0 !important;
}


body .bwf_skin_3 .wfty_process_bar_section:after {
    display: none;
}

span.bwf_line {
    flex: 1;
    background: #D4DCEB;
    height: 1px;
    align-self: center;
}


.bwf_skin_3 .wfty_process_bar_section .wfty_pb_number {
    position: relative;
    margin: 0 !important;
}

.bwf_skin_3 {
    gap: 10px;
}

.bwf_skin_4 span.bwf_line {
    flex: 1;
    background: #D4DCEB;
    height: 1px;
    align-self: flex-start;
    transform: translateY(15px);
}

body .wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 1px;
    background: #D4DCEB;
    top: 15px;
    right: 0;
    display: block !important;
}

body .wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 1px;
    background: #D4DCEB;
    top: 15px;
    right: 0;
    display: block !important;
}

body .wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section:before {
    left: 0;
    content: '';
    position: absolute;
    width: 50%;
    height: 1px;
    background: #D4DCEB;
    top: 15px;
    display: block !important;
}

body .wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section:last-child:after,
body .wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section:first-child:before {
    display: none !important;
}


@media (min-width: 768px) {
    .bwf_progress_bar_count_active .wfty_process_bar_section a {
        position: relative;
        padding-left: 40px;
    }

    /* skin 3*/
    .bwf_skin_3 .wfty_process_bar_section:after {
        content: '';
        display: block;
        background: #D4DCEB;
        width: 20px;
        height: 1px;
        position: absolute;
        right: -10px;
    }

    /* new design */
    /* skin 4*/
    /*.wfty_process_bar_wrapper.bwf_skin_4 .wfty_process_bar_section .wfty_pb_number{*/
    /*    margin-bottom:0;*/
    /*}*/
}


@media (max-width: 767px) {

    .wfty_process_bar_section {
        padding: 10px 15px 10px 15px;
    }

    .wfty_process_bar_wrapper.bwf_skin_1 .wfty_process_bar_section:before,
    .wfty_process_bar_wrapper.bwf_skin_1 .wfty_process_bar_section:after {
        right: -10px;
        border-left-width: 10px;
    }


    .wfty_process_bar_wrapper.bwf_skin_1 {
        margin-right: 10px;
    }

    .bwf_skin_1 .wfty_process_bar_section .wfty_pb_number {
        display: none;
    }

    /* Skin 2 */
    .bwf_skin_2 .wfty_process_bar_section .wfty_pb_number {
        display: inline-block;
        width: auto;
        height: auto;
        margin: 0px 0 10px;
        top: 0;
        text-align: center;
        position: relative;
    }


    .bwf_skin_2 .wfty_process_bar_section {
        text-align: center;
        position: relative;
        display: block;
    }

    .bwf_skin_2 .wfty_process_bar_section .wfty_pb_label {
        line-height: 1.5;
    }

    /*skin 3 or skin 5*/
    .bwf_skin_3 {
        gap: 0;
    }

    /*.bwf_skin_3 .wfty_process_bar_section,*/
    /*.bwf_skin_4 .wfty_process_bar_section {*/
    /*    padding: 0;*/
    /*    margin-right: 0px;*/
    /*    padding-right: 5px;*/
    /*}*/
    /*.bwf_skin_3 .wfty_process_bar_section .wfty_pb_number,*/
    /*.bwf_skin_4 .wfty_process_bar_section .wfty_pb_number {*/
    /*    display: inline-block;*/
    /*    width: auto;*/
    /*    height: auto;*/
    /*    margin: 0px 0 10px;*/
    /*    top: 0;*/
    /*    text-align: center;*/
    /*    position: relative;*/
    /*    z-index: 99;*/
    /*}*/
    /*.bwf_skin_3 .wfty_process_bar_section,*/
    /*.bwf_skin_4 .wfty_process_bar_section {*/
    /*    text-align: center;*/
    /*    position: relative;*/
    /*    display: block;*/
    /*    height: auto;*/
    /*}*/
    /*body .bwf_skin_3 .wfty_process_bar_section:after {*/
    /*    content: '';*/
    /*    display: block !important;*/
    /*    background: #D4DCEB;*/
    /*    width: 100%;*/
    /*    height: 1px;*/
    /*    position: absolute;*/
    /*    right: 0;*/
    /*    top: 14px;*/
    /*}*/
    /*body .bwf_skin_3 .wfty_process_bar_section:after,*/
    /*body .bwf_skin_4 .wfty_process_bar_section:before{*/
    /*    display: block !important;*/
    /*}*/
    .bwf_skin_3 .wfty_process_bar_section .wfty_pb_label {
        display: block;
    }

    .bwf_skin_3 .wfty_process_bar_section a {
        display: inline-block;
        width: auto;
        text-align: center;
    }

    .bwf_skin_3 .wfty_process_bar_section .wfty_pb_label {
        padding: 0 0 0 0px;
        margin: 10px 0 0 !important;
    }

    .bwf_skin_3 .wfty_process_bar_section .wfty_pb_number {
        position: relative;

    }

    body .bwf_skin_3 span.bwf_line {
        flex: 1;
        background: #D4DCEB;
        height: 1px;
        align-self: flex-start;
        transform: translateY(15px);
    }

}