Acquisitions - Schedule of Fair Value of Assets and Liabilities Assumed (Detail) - USD ($) $ in Thousands |
|
|
|
12 Months Ended |
|
Dec. 31, 2016 |
Feb. 16, 2016 |
Sep. 22, 2014 |
Dec. 31, 2016 |
Jan. 02, 2016 |
| Business Acquisition [Line Items] |
|
|
|
|
|
| Goodwill |
$ 108,060
|
|
|
$ 108,060
|
$ 65,635
|
| Contingent consideration |
|
|
|
3,000
|
|
| WinDoor [Member] |
|
|
|
|
|
| Business Acquisition [Line Items] |
|
|
|
|
|
| Accounts and notes receivable |
3,882
|
|
|
3,882
|
|
| Inventories |
6,778
|
|
|
6,778
|
|
| Prepaid expenses |
246
|
|
|
246
|
|
| Property and equipment |
5,029
|
|
|
5,029
|
|
| Intangible assets |
47,100
|
|
|
47,100
|
|
| Goodwill |
41,856
|
|
|
41,856
|
|
| Accounts payable and accrued liabilities |
(2,320)
|
|
|
(2,320)
|
|
| Purchase price |
102,571
|
|
|
102,571
|
|
| Cash |
99,571
|
$ 43,500
|
|
|
|
| Contingent consideration |
3,000
|
3,000
|
|
|
|
| Total fair value of consideration |
102,571
|
$ 102,600
|
|
|
|
| CGI [Member] |
|
|
|
|
|
| Business Acquisition [Line Items] |
|
|
|
|
|
| Accounts and notes receivable |
4,156
|
|
|
4,156
|
|
| Inventories |
3,229
|
|
|
3,229
|
|
| Prepaid expenses |
303
|
|
|
303
|
|
| Property and equipment |
1,709
|
|
|
1,709
|
|
| Intangible assets |
45,300
|
|
|
45,300
|
|
| Other assets |
65
|
|
|
65
|
|
| Goodwill |
65,635
|
|
|
65,635
|
|
| Deferred income taxes |
(5,472)
|
|
|
(5,472)
|
|
| Accounts payable and accrued liabilities |
(4,136)
|
|
|
(4,136)
|
|
| Other liabilities |
(351)
|
|
|
(351)
|
|
| Purchase price |
$ 110,438
|
|
|
$ 110,438
|
|
| Total fair value of consideration |
|
|
$ 110,400
|
|
|