XML 84 R58.htm IDEA: XBRL DOCUMENT v3.7.0.1
Acquisitions - Wyoming Refining Company Acquisition (Details) - USD ($)
1 Months Ended 3 Months Ended 12 Months Ended
Jul. 14, 2016
Jun. 30, 2016
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Apr. 01, 2015
Business Acquisition [Line Items]                            
Goodwill     $ 105,732,000       $ 41,327,000       $ 105,732,000 $ 41,327,000 $ 20,786,000  
Acquisition and integration expense                     5,294,000 2,006,000 11,687,000  
Revenues                     1,865,045,000 2,066,337,000 3,108,025,000  
Net loss     $ 13,687,000 $ (27,761,000) $ (13,088,000) $ (18,673,000) $ (66,836,000) $ 14,740,000 $ 11,723,000 $ 462,000 (45,835,000) $ (39,911,000) $ (47,041,000)  
Wyoming Refining Company                            
Business Acquisition [Line Items]                            
Payments to acquire businesses $ 209,400,000                          
Goodwill 64,994,000                          
Acquisition and integration expense                     700,000      
Revenues                     174,600,000      
Net loss                     $ 700,000      
Other Long Term Assets | Wyoming Refining Company                            
Business Acquisition [Line Items]                            
Deposit to acquire businesses   $ 5,000,000                        
Convertible Debt | 5% Convertible Senior Notes due 2021                            
Business Acquisition [Line Items]                            
Debt instrument, face amount   $ 115,000,000     $ 115,000,000                  
Secured Debt | Wyoming Refining Company                            
Business Acquisition [Line Items]                            
Wyoming Refining Senior Secured Debt (58,036,000)                          
Debt instrument, face amount 65,000,000                          
Refining                            
Business Acquisition [Line Items]                            
Goodwill                           $ 13,500,000
Refining | Wyoming Refining Company                            
Business Acquisition [Line Items]                            
Goodwill 39,600,000                          
Logistics                            
Business Acquisition [Line Items]                            
Goodwill                           $ 10,800,000
Logistics | Wyoming Refining Company                            
Business Acquisition [Line Items]                            
Goodwill 25,400,000                          
Revolving Credit Facility | Wyoming Refining Company                            
Business Acquisition [Line Items]                            
Wyoming Refining Senior Secured Debt $ (10,100,000)