Summary of Significant Accounting Policies - Environmental thru For Cur (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Dec. 31, 2016
USD ($)
item
Jan. 31, 2017
USD ($)
Jun. 30, 2016
location
Dec. 31, 2016
USD ($)
item
Dec. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Sep. 30, 2016
Leases              
Number of locations divested | location     30        
Income Taxes              
Number of wholly owned subsidiaries which are taxable for federal and state income tax purposes | item       1      
Credit Agreement Maturing 2018 [Member]              
Leases              
Combined total leverage ratio 5.0     5.0     5.50
Cost of sales              
Foreign Currency Transactions              
Gains/(losses) realized from transactions denominated in foreign currencies       $ (251) $ (714) $ (25)  
Sublease Of Railcars [Member]              
Leases              
Number of railcars | item 1,610            
Lease exit expense $ 80,700            
Consideration in settlement of remaining lease payments 61,700            
Asset maintenance and management costs 10,700            
Decrease in prepaid rent 8,300            
Discount rate       10.00%      
Cash paid at lease termination, total 76,400            
Cash paid at lease termination, incremental costs portion $ 14,700            
Number of railcars included | item 1,250            
Number of railcars not included | item 360            
Proceeds for incremental costs   $ 19,100          
Amount saved $ 10,200            
Lease payments eliminated, 2017 30,000     $ 30,000      
Lease payments eliminated, 2018 29,000     29,000      
Lease payments eliminated, 2019 $ 13,000     $ 13,000