CSS not being applied to dropdown properly