img {
    width: 100%;
}

.flexbox {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.flex {
    width: 20%;
    display: flex;
    flex-direction: column;
    padding: 3% 4%;
    justify-content: center;
}

.flexbottom {
    border-bottom: 6px solid #20639b;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.flextop {
    border-top: 5px solid #173f5f;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    position: relative;
}

.firstfb {
    border-bottom-left-radius: 100px;
    border-left: solid 4px #20639b;
}

.lastfb {
    border-bottom-right-radius: 100px;
    border-right: solid 4px #20639b;
    position: relative;
}



.reversearrow {
    height: 64px;
    border-right: solid 4px #20639b;
    border-left: solid 4px #20639b;
    border-top: solid 4px #20639b;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    box-shadow: inset 0px 8px 0px #20639b;
    position: relative;
}

.reversearrow:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    border-top: 5px solid #20639b;
    border-left: 5px solid #20639b;
    top: 0px;
    left: 13px;
    background: transparent;
    transform: rotate(281deg);
}

.reversearrow:after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    border-top: 5px solid #20639b;
    border-left: 5px solid #20639b;
    top: 0px;
    right: 13px;
    background: transparent;
    transform: rotate(340deg);
}

.flexbottom {
    position: relative
}

.flexbottom:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-top: 3px solid #20639b;
    border-left: 3px solid #20639b;
    left: -4%;
    right: 2px;
    background: transparent;
    transform: rotate(222deg);
}

.flexbottom:after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-top: 3px solid #20639b;
    border-left: 3px solid #20639b;
    right: -4%;
    background: transparent;
    transform: rotate(44deg);
}

.flextop:before {
    content: "";
    width: 1px;
    height: 148px;
    background: #20639b;
    position: absolute;
    left: 0;
    /* border-radius: 64px; */
}

.flextop:after {
    content: "";
    width: 1px;
    height: 148px;
    background: #20639b;
    position: absolute;
    right: 0;
}

.flexbottom {
    box-shadow: inset 0px -20px 0px #20639b;
}

.flex.flextop {
    box-shadow: inset 0px 20px 0px #20639b;
}

.stepNumber {
    width: 100%;
    text-align: center;
    border-radius: 50px 0px 50px 0px;
    background: linear-gradient(to right, #25719d, #00bcd4);
    color: white;
}

.flextop img {
    width: 70px;
    margin-bottom: 10px;
}

.flexbottom img {
    width: 70px;
    margin-bottom: 10px;
}

.flex.flexbottom .textbox .leadtxt2, .flex.flextop .textbox .leadtxt2{
    font-size: 16px;
    line-height: 22px;
    font-family: "KatahdinRound";
}

@media only screen and (max-width: 425px) {
    .flextop img {
        width: 46px !important;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .flexbottom img {
        width: 46px;
        margin-bottom: 10px;
    }

    .stepNumber {
        border-radius: 16px 0px 15px 0px;
        font-size: 15px;
    }

    .flex.flexbottom .textbox .leadtxt2, .flex.flextop .textbox .leadtxt2 {
        font-size: 10px;
        line-height: 12px;
        font-weight: bold;
        font-family: "VarelaRound-Regular";
        min-height: 57px;
    }

    .flex {
        padding: 1%;
    }

    .flex span {
        font-size: 11px;
    }


    .reversearrow {
        height: 64px;
        border-right: solid 4px #20639b;
        border-left: solid 4px #20639b;
        border-top: solid 4px #20639b;
        border-top-left-radius: 100px;
        border-top-right-radius: 100px;
        box-shadow: inset 0px 8px 0px #20639b;
        position: relative;
    }

    .reversearrow:before {
        content: "";
        position: absolute;
        width: 25px;
        height: 25px;
        border-top: 5px solid #20639b;
        border-left: 5px solid #20639b;
        top: 0px;
        left: 13px;
        background: transparent;
        transform: rotate(281deg);
    }

    .reversearrow:after {
        content: "";
        position: absolute;
        width: 25px;
        height: 25px;
        border-top: 5px solid #20639b;
        border-left: 5px solid #20639b;
        top: 0px;
        right: 13px;
        background: transparent;
        transform: rotate(340deg);
    }

    .flexbottom {
        position: relative
    }

    .flexbottom:before {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        border-top: 3px solid #20639b;
        border-left: 3px solid #20639b;
        left: -9%;
        right: 2px;
        background: transparent;
        transform: rotate(222deg);
    }

    .flexbottom:after {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        border-top: 3px solid #20639b;
        border-left: 3px solid #20639b;
        right: -9%;
        background: transparent;
        transform: rotate(44deg);
    }

    .flextop:before {
        content: "";
        width: 1px;
        height: 109px;
    }

    .flextop:after {
        content: "";
        width: 1px;
        height: 109px;
    }
}

@media only screen and (min-width: 426px) and (max-width: 1023px) {
    .flextop img {
        width: 70px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .flexbottom img {
        width: 70px;
        margin-bottom: 10px;
    }

    .flex.flexbottom .textbox .leadtxt2, .flex.flextop .textbox .leadtxt2 {
        font-size: 17px;
        line-height: 24px;
        font-weight: bold;
        font-family: "VarelaRound-Regular";
        min-height: 57px;
    }
}