Disable lightbox on vertical phones

Hi there,
I this possible with CSS and an @media statement?
Much obliged and thanks.

Replies are visible only to logged in members with an active subscription.