Added Demorgans - untested. Also told Netbeans to stop complaining about calculations in the CSS files (project.properties change)