styles flash and error messages