LONG-TERM DEBT - Additional Information (Details) - USD ($) | Nov. 16, 2018 | Oct. 15, 2018 | Apr. 12, 2018 | Jul. 04, 2020 | Jun. 29, 2019 | Dec. 31, 2019 | Nov. 15, 2018 | Oct. 14, 2018 | Feb. 08, 2018 |
Line of Credit Facility [Line Items] | | | | | | | | | |
Payment on outstanding borrowings | | | | $ 30,000,000 | $ 50,000,000 | | | | |
Term Loan Facility due April 2025 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Installment payment as a percentage of principal | | | 1.00% | | | | | | |
Debt instrument, interest rate during period | | | | 3.94% | | | | | |
Debt instrument, effective rate | | | | 6.51% | | | | | |
Mandatory prepayment, percentage of annual excess cash flow | | | 50.00% | | | | | | |
Debt instrument, covenant compliance, excess cash flow, minimum | | | $ 10,000,000 | | | | | | |
Cash Flow Revolver | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | | | $ 115,000,000 | | | | | | |
Weighted average interest rate on debt | | | | 3.31% | | | | | |
Secured debt, percentage of capital stock held by foreign subsidiary | | | 65.00% | | | | | | |
Debt instrument, covenant compliance, secured leverage ratio, maximum | | | 7.75 | | | | | | |
ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Weighted average interest rate on debt | | | | 2.01% | | | | | |
Remaining borrowing capacity on line of credit | | | | $ 145,778,000 | | | | | |
Revolving loans outstanding | | | | 385,000,000 | | | | | |
Line of credit outstanding | | | | $ 35,627,000 | | | | | |
8.00% senior notes due April 2026 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, effective rate | | | | 8.64% | | | | | |
Debt instrument, interest rate, stated percentage | 8.00% | | 8.00% | 8.00% | | 8.00% | | | |
Debt instrument, redemption price, percentage of principal amount redeemed | 40.00% | | | | | | | | |
ABL Facility | Revolving Credit Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | $ 611,000,000 | $ 396,000,000 | $ 360,000,000 | | | | | | $ 150,000,000 |
Increase in borrowing capacity | 215,000,000 | 36,000,000 | | | | | | | |
Payment on outstanding borrowings | 325,000,000 | | | | | | | | |
Fixed charge coverage ratio | | | 1 | | | | | | |
Debt instrument, covenant compliance, percentage of specified availability | | | 10.00% | | | | | | |
Debt instrument, covenant terms, specific availability In excess of threshold of calendar days | | | 20 days | | | | | | |
ABL Facility | Revolving Credit Facility | ABL U.S. Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | 483,700,000 | 313,500,000 | $ 285,000,000 | | | | $ 313,500,000 | $ 285,000,000 | |
ABL Facility | Revolving Credit Facility | ABL Canadian Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | $ 127,300,000 | $ 82,500,000 | $ 75,000,000 | | | | $ 82,500,000 | $ 75,000,000 | |
London Interbank Offered Rate (LIBOR) | Term Loan Facility due April 2025 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate, floor | | | 0.00% | | | | | | |
Debt instrument, basis spread on variable rate | | | 3.75% | | | | | | |
London Interbank Offered Rate (LIBOR) | Cash Flow Revolver | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate, floor | | | 0.00% | | | | | | |
London Interbank Offered Rate (LIBOR) | ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate, floor | | | 0.00% | | | | | | |
Base Rate | Term Loan Facility due April 2025 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 2.75% | | | | | | |
Minimum | London Interbank Offered Rate (LIBOR) | Cash Flow Revolver | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 2.50% | | | | | | |
Minimum | London Interbank Offered Rate (LIBOR) | ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 1.25% | | | | | | |
Minimum | Base Rate | Cash Flow Revolver | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 1.50% | | | | | | |
Minimum | Base Rate | ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 0.25% | | | | | | |
Maximum | London Interbank Offered Rate (LIBOR) | Cash Flow Revolver | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 3.00% | | | | | | |
Maximum | London Interbank Offered Rate (LIBOR) | ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 1.75% | | | | | | |
Maximum | Base Rate | Cash Flow Revolver | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 2.00% | | | | | | |
Maximum | Base Rate | ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, basis spread on variable rate | | | 0.75% | | | | | | |
Letter of Credit | ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | | | | | | | | | 30,000,000 |
Swingline Borrowings | ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Line of credit facility, maximum borrowing capacity | | | | | | | | | $ 20,000,000 |
Commitment Fee Percentage One | Minimum | Cash Flow Revolver | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Unused commitment fee | | | 0.25% | | | | | | |
Commitment Fee Percentage One | Minimum | ABL Facility | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Unused commitment fee | | | 0.25% | | | | | | |
Commitment Fee Percentage One | Maximum | Cash Flow Revolver | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Unused commitment fee | | | 0.50% | | | | | | |
Debt Instrument, Redemption, Period One | 8.00% senior notes due April 2026 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, redemption price, percentage | 100.00% | | | | | | | | |
Debt Instrument, Redemption, Period Two | 8.00% senior notes due April 2026 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, redemption price, percentage | 108.00% | | | | | | | | |
Debt Instrument, Redemption, Period Three | 8.00% senior notes due April 2026 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, redemption price, percentage | 104.00% | | | | | | | | |
Debt Instrument, Redemption, Period Four | 8.00% senior notes due April 2026 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, redemption price, percentage | 100.00% | | | | | | | | |
Leverage Ratio Target Achieved | Minimum | Term Loan Facility due April 2025 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Mandatory prepayment, percentage of annual excess cash flow | | | 25.00% | | | | | | |
Leverage Ratio Target Achieved | Maximum | Term Loan Facility due April 2025 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Mandatory prepayment, percentage of annual excess cash flow | | | 0.00% | | | | | | |
Ply Gem | 8.00% senior notes due April 2026 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, face amount | | | $ 645,000,000 | | | | | | |
Ply Gem | Term Loan Facility due April 2025 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, face amount | | | $ 1,755,000,000 | | | | | | |
Debt instrument, discount rate | | | 0.50% | | | | | | |
Increase in borrowing capacity | $ 805,000,000 | | | | | | | | |
Ply Gem | 8.00% senior notes due April 2026 | | | | | | | | | |
Line of Credit Facility [Line Items] | | | | | | | | | |
Debt instrument, discount rate | | | 2.25% | | | | | | |