Yes. While there are certain ordering rules for applying capital losses against capital gains, ultimately, long-term capital losses can offset any short-term gains.
Casualty losses such as from a storm, in areas declared by the President to warrant federal assistance. An election may be made to deduct the loss in the year before the loss or the year of the loss.