added hide class and removed inline styles