Validation added and warning css changed