adjusted the css and consolidated styles