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.
Tangible depreciable property placed in service after 1980 and before 1987 and depreciable under ACRS.