INCOME TAXES - Valuation Allowance (Details) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | |
|---|---|---|---|
Dec. 31, 2016 |
Dec. 31, 2016 |
Dec. 31, 2015 |
|
| Valuation Allowance [Line Items] | |||
| Valuation Allowances and Reserves, Adjustments | $ 13,000 | ||
| Increase (decrease) in valuation allowance | 86,500 | ||
| Goodwill | $ 28,000 | ||
| Deferred tax liability related to goodwill | 6,700 | ||
| foreign jurisdiction [Member] | |||
| Valuation Allowance [Line Items] | |||
| deferred tax assets, non-capital losses | $ 11,743 | 11,743 | 9,514 |
| Simonton [Member] | |||
| Valuation Allowance [Line Items] | |||
| Increase (decrease) in valuation allowance | 2,800 | $ 7,500 | |
| Valuation Allowance, Other Tax Carryforward [Member] | |||
| Valuation Allowance [Line Items] | |||
| Increase (decrease) in valuation allowance | 31,300 | ||
| Valuation Allowance, Operating Loss Carryforwards [Member] | |||
| Valuation Allowance [Line Items] | |||
| Increase (decrease) in valuation allowance | $ 5,100 | $ 55,200 | |