XML 49 R38.htm IDEA: XBRL DOCUMENT v3.8.0.1
Description of Business and Presentation of Financial Statements (Details)
$ in Thousands
3 Months Ended
Feb. 01, 2017
USD ($)
Mar. 31, 2018
USD ($)
Petroleum_Refineries
mi
Mar. 31, 2017
USD ($)
Dec. 31, 2017
USD ($)
Ownership Interest By Project Type [Line Items]        
Effective Income Tax Rate Under The Tax Cuts and Jobs Act of 2017       25.00%
Number of refineries located in Tulsa, Oklahoma | Petroleum_Refineries   2    
Refinery Distance From Main City [Miles] | mi   65    
Business Acquisition, Percentage of Voting Interests Acquired   100.00%    
Payments to Acquire Businesses, Gross $ 862,100      
Purchase Price Canadian Dollars $ 1,125,000      
Allowance for doubtful accounts reserve   $ 3,600   $ 3,600
Goodwill   2,242,980   2,244,744
Proceeds from inventory repurchase agreements   9,800 $ 12,300  
Payments under inventory repurchase agreements   (10,000) $ (12,700)  
Reclassification from AOCI to retained earnings, Tax Cuts and Jobs Act of 2017,   $ 3,600    
Cash Flow Hedge Ineffectiveness Adjustment   54    
HEP        
Ownership Interest By Project Type [Line Items]        
Percentage of ownership in variable interest entity   57.00%    
Goodwill   $ 312,059   $ 310,610
Refining        
Ownership Interest By Project Type [Line Items]        
Goodwill   1,700,000    
Lubricants and other specialty products        
Ownership Interest By Project Type [Line Items]        
Goodwill   200,000    
HEP        
Ownership Interest By Project Type [Line Items]        
Goodwill   $ 300,000