XML 67 R49.htm IDEA: XBRL DOCUMENT v3.8.0.1
Description of Business and Summary of Significant Accounting Policies (Details)
$ in Thousands
3 Months Ended 11 Months Ended 12 Months Ended
Mar. 31, 2018
Dec. 31, 2017
USD ($)
Sep. 30, 2017
USD ($)
Jun. 30, 2017
USD ($)
Mar. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Sep. 30, 2016
USD ($)
Jun. 30, 2016
USD ($)
Mar. 31, 2016
USD ($)
Dec. 31, 2017
USD ($)
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Petroleum_Refineries
mi
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Feb. 01, 2017
USD ($)
Feb. 22, 2016
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
General Partners' Contributed Capital       $ 1,100                        
Income tax provision                       $ (12,379) $ 19,411 $ 406,060    
Income (loss) before income taxes   $ 371,262 $ 446,103 $ 106,069 $ (54,571) $ 83,416 $ 109,867 $ (430,515) $ 65,698     868,863 (171,534) 1,208,568    
Proceeds from Inventory Repurchase Agreements                       47,400 57,000 115,400    
Payments under Inventory Repurchase Agreements                       49,800 58,000 115,300    
Excess Tax Benefit from Share-based Compensation, Operating Activities                       700        
Inventory Valuation Reserves   (223,833)       (332,518)       $ (223,833)   $ (223,833) (332,518)      
Goodwill, Impairment Loss                         (654,084)      
Number of refineries located in Tulsa, Oklahoma | Petroleum_Refineries                       2        
Refinery distance from main city (miles) | mi                       65        
Percentage of ownership interest                       50.00%        
Allowance for doubtful accounts   3,600       2,300       3,600   $ 3,600 2,300      
Asset retirement obligation   24,800       $ 22,100       24,800   24,800 22,100      
Business Combination Assets Acquired and Liabilities Assumed, Long-lived Intangible Assets   $ 100,000               100,000   100,000     $ 102,100  
Amortization                   $ 5,900            
Turnaround and Catalyst Amortization Costs                       $ 112,900 $ 110,600 107,800    
Basis in Transportation Agreements   95,175,000       36,522,000       95,175,000   95,175,000 36,522,000      
Third Party Transportation Agreement, Amortization Expense                       $ 2,600 $ 2,000      
Third Party Transportation Agreement, Accumulated Amortization   $ 26,300       $ 23,700       $ 26,300   26,300 23,700      
Investments in and Advances to Affiliates, Amount of Equity   39,300               39,300   39,300        
Investments in Affiliates, Subsidiaries, Associates, and Joint Ventures, Fair Value Disclosure   $ 85,300               $ 85,300   85,300        
Shares withheld for tax withholding obligations                       $ 15,900 $ 4,700 $ 6,200    
Transportation vehicles                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Estimated useful life of assets, minimum                       5 years        
Osage Pipeline [Member] [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Equity Method Investment, Ownership Percentage                               50.00%
Frontier Pipeline [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Equity Method Investment, Ownership Percentage   50.00%               50.00%   50.00%        
HEP                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Long-term Purchase Commitment, Amount   $ 56,700                   $ 324,500        
Percentage of ownership in variable interest entity                       59.00%        
Percentage of ownership interest                       2.00%        
Equity Method Investment, Ownership Percentage   75.00% 50.00%             75.00%   75.00%        
Minimum [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Frequency of maintenance, in period                       2 years        
Minimum [Member] | Refining Pipeline And Terminal Facilities [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Estimated useful life of assets, minimum                       15 years        
Minimum [Member] | Buildings and Improvements [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Estimated useful life of assets, minimum                       10 years        
Minimum [Member] | Other fixed assets                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Estimated useful life of assets, minimum                       5 years        
Maximum [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Frequency of maintenance, in period                       5 years        
Maximum [Member] | Refining Pipeline And Terminal Facilities [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Estimated useful life of assets, minimum                       32 years        
Maximum [Member] | Buildings and Improvements [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Estimated useful life of assets, minimum                       40 years        
Maximum [Member] | Other fixed assets                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Estimated useful life of assets, minimum                       30 years        
Subsequent Event [Member]                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Amortization                     $ 8,000          
Subsequent Event [Member] | HEP                                
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                                
Percentage of ownership interest 57.00%