Wix code for hiding and showing elements not working on safari

Hi
I’m seeing an issue with a page on my site which uses a text element to hide or show elements on a page. The text elements work on Chrome to allow you to show or hide content on the page, but the text elements do not function on safari.
Is there a workaround for this, the page causing a problem is https://www.piranhasc.com/parent-rota

Appreciate any suggestions on fixing this