Switch to CSS for visibility effects.

Instead of setting attributes on the SVG elements (services and relations), use CSS classes and styling to show/hide/fade them.
The variable already existed in the code; I just reused it. That said, I did notice that it was topo elsewhere. I'll switch it as cleanup in a separate commit.