Change style to a class instead to see if that could be the problem.