added required field style to pages