So, first I started with this map: https://codepen.io/melissad34/pen/mNGjKR
It works exactly the way I want it to work.
Then I added a collapsible sidebar: https://codepen.io/melissad34/pen/LYYrLKN
And now the trails features aren't clickable as they were on the first version. I had to change the z-index of the divs to get the sidebar to show over the map div, so I wonder if that's why, but I assume that shouldn't be an issue because it's not like the sidebar covers the entire map.
What is causing this?