XML 88 R64.htm IDEA: XBRL DOCUMENT v3.19.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, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Business Acquisition [Line Items]                          
Goodwill     $ 153,397,000       $ 107,187,000       $ 153,397,000 $ 107,187,000 $ 105,732,000
Acquisition and integration costs                     10,319,000 395,000 5,294,000
Net loss     $ 13,886,000 $ (5,822,000) $ 16,178,000 $ 15,185,000 $ 19,005,000 $ 18,824,000 $ 7,006,000 $ 27,786,000 $ 39,427,000 72,621,000 (45,835,000)
Wyoming Refining Company                          
Business Acquisition [Line Items]                          
Payments to acquire businesses $ 209,400,000                        
Adjustment to WRC environmental liability (other non-current liabilities)                 2,000,000        
Adjustment to inventory                 500,000        
Adjustment to goodwill                 $ 1,500,000     $ 1,455,000  
Goodwill 66,449,000                        
Acquisition and integration costs                         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                      
5% Convertible Senior Notes due 2021                          
Business Acquisition [Line Items]                          
Debt instrument, interest rate   5.00% 5.00%               5.00%    
Convertible Debt | Convertible Subordinated Bridge Notes                          
Business Acquisition [Line Items]                          
Debt instrument, interest rate     2.50%               2.50%    
Convertible Debt | 5% Convertible Senior Notes due 2021                          
Business Acquisition [Line Items]                          
Debt instrument, interest rate     5.00%               5.00%   5.00%
Debt instrument, face amount   $ 115,000,000                      
Secured Debt | Wyoming Refining Company                          
Business Acquisition [Line Items]                          
Wyoming Refining Senior Secured Debt (58,036,000)                        
Refining | Wyoming Refining Company                          
Business Acquisition [Line Items]                          
Goodwill 39,800,000                        
Logistics | Wyoming Refining Company                          
Business Acquisition [Line Items]                          
Goodwill 26,600,000                        
Revolving Credit Facility | Wyoming Refining Senior Secured Revolver | Wyoming Refining Company                          
Business Acquisition [Line Items]                          
Wyoming Refining Senior Secured Debt (10,100,000)                        
Secured Debt | Wyoming Refining Company                          
Business Acquisition [Line Items]                          
Debt instrument, face amount $ 65,000,000