Restructuring and Other Charges - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges $ 27,457 $ 31,315 $ 0
Non-cash inventory write-downs 800 15,600 $ 3,200
Belleli EPC | Continuing Operations | Plan to exit      
Restructuring Cost and Reserve [Line Items]      
Long-lived asset impairment charge 700    
Spin-off      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 3,900 15,700  
Non-cash inventory write-downs   4,700  
Spin-off | International contract operations segment      
Restructuring Cost and Reserve [Line Items]      
Non-cash inventory write-downs   4,200  
Spin-off | Oil and gas product sales segment      
Restructuring Cost and Reserve [Line Items]      
Non-cash inventory write-downs   500  
Cost reduction plan      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 23,500 15,600  
Non-cash inventory write-downs   4,000  
Retention awards to certain employees      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 3,056 3,121  
Retention awards to certain employees | Spin-off      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 3,100 3,100  
Estimated additional one-time expenditures 1,900    
Financial advisor fees      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 0 4,598  
Financial advisor fees | Spin-off      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges   4,600  
One-time cash signing bonus      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 0 2,000  
Start-up of stand-alone functions      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 887 1,332  
Start-up of stand-alone functions | Spin-off      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges   1,300  
Employee termination benefits | Cost reduction plan      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 19,900    
Employee severance      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 19,892 9,625  
Employee severance | Cost reduction plan      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges   9,600  
Employee severance | Cost reduction plan | Oil and gas product sales segment      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 9,000 6,400  
Employee severance | Cost reduction plan | Belleli EPC      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 5,400    
Ceased use of corporate building under operating lease      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges 2,904 0  
Ceased use of corporate building under operating lease | Cost reduction plan      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges $ 2,900    
Chief Executive Officer | One-time cash signing bonus | Spin-off      
Restructuring Cost and Reserve [Line Items]      
Restructuring and other charges   $ 2,000