Fixing CSS errors for main class.