XML 85 R61.htm IDEA: XBRL DOCUMENT v3.8.0.1
Acquisitions - Summary of Assets Acquired and Liabilities Assumed (Detail) - USD ($)
$ in Thousands
Dec. 31, 2017
Dec. 31, 2016
Jul. 14, 2016
Dec. 31, 2015
Apr. 01, 2015
Goodwill $ 107,187 $ 105,732   $ 41,327  
Wyoming Refining Company          
Cash     $ 183    
Accounts receivable     16,880    
Inventories     28,402    
Prepaid and other assets     1,304    
Property, plant and equipment     254,367    
Goodwill     66,449    
Accounts payable and other current liabilities     (57,861)    
Other non-current liabilities     (32,222)    
Total     209,366    
Wyoming Refining Company | Secured Debt          
Wyoming Refining Senior Secured Debt     (58,036)    
Mid Pac Petroleum, LLC          
Cash         $ 10,007
Accounts receivable         9,905
Inventories         5,375
Prepaid and other current assets         1,444
Property, plant and equipment         40,997
Land         34,800
Goodwill         26,942
Intangible assets         33,647
Other non-current assets         1,228
Accounts payable and other current liabilities         (10,742)
Deferred tax liability       $ (16,800) (16,759)
Other non-current liabilities         (7,235)
Total         $ 129,609
Wyoming Refining Senior Secured Revolver | Wyoming Refining Company | Revolving Credit Facility          
Wyoming Refining Senior Secured Debt     $ (10,100)