Brake travel

Then is the proportioning valve tripped , try center it , open the front and rear bleeder to center it you should feel a click in the pedal if it Centers