restyled the document box for each step