Debt - Additional Information (Detail) - USD ($)
12 Months Ended
Mar. 10, 2016
Dec. 31, 2016
Dec. 31, 2015
Working capital facilities | U.S. dollar | Federal Funds Rate      
Debt Instrument [Line Items]      
Debt instruments, interest rate   0.50%  
Working capital facilities | U.S. dollar | Eurocurrency Rate      
Debt Instrument [Line Items]      
Debt instruments, interest rate   1.00%  
Working capital facilities | Canadian Dollars | Eurocurrency Rate      
Debt Instrument [Line Items]      
Debt instruments, interest rate   1.00%  
Working capital facilities | Debt Instrument Amended And Restated      
Debt Instrument [Line Items]      
Line of credit facility, accordion feature, increase limit $ 200,000,000.0    
Revolving Credit Agreement      
Debt Instrument [Line Items]      
Debt instruments, weighted average interest rate   3.40% 2.90%
Revolving Credit Agreement | One Month London Interbank Offered Rate (LIBOR)      
Debt Instrument [Line Items]      
Variable interest rate periods   1 month  
Revolving Credit Agreement | Two Month London Interbank Offered Rate (LIBOR)      
Debt Instrument [Line Items]      
Variable interest rate periods   2 months  
Revolving Credit Agreement | Three Month London Interbank Offered Rate (LIBOR)      
Debt Instrument [Line Items]      
Variable interest rate periods   3 months  
Revolving Credit Agreement | Six Month London Interbank Offered Rate (LIBOR)      
Debt Instrument [Line Items]      
Variable interest rate periods   6 months  
Revolving Credit Agreement | Debt Instrument Amended And Restated      
Debt Instrument [Line Items]      
Debt instruments, maturity date   Dec. 09, 2019  
Line of credit facility, accordion feature, increase limit 200,000,000.0    
Revolving Credit Agreement | Working capital facilities      
Debt Instrument [Line Items]      
Working capital facilities, borrowing base   $ 525,400,000 $ 542,600,000
Letters of credit outstanding   31,600,000 $ 23,600,000
Excess availability under credit agreement   183,500,000  
Revolving Credit Agreement | Working capital facilities | Debt Instrument Amended And Restated      
Debt Instrument [Line Items]      
Debt instruments, borrowing capacity 1,000,000,000    
Revolving Credit Agreement | Acquisition facility      
Debt Instrument [Line Items]      
Excess availability under credit agreement   $ 304,600,000  
Revolving Credit Agreement | Acquisition facility | Debt Instrument Amended And Restated      
Debt Instrument [Line Items]      
Debt instruments, borrowing capacity 550,000,000    
Kildair | Revolving Credit Agreement | Working capital facilities | Debt Instrument Amended And Restated      
Debt Instrument [Line Items]      
Debt instruments, borrowing capacity $ 120,000,000