Quarterly report pursuant to Section 13 or 15(d)

Related-Party Transactions (Details)

v3.7.0.1
Related-Party Transactions (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Jun. 30, 2014
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Dec. 31, 2016
Related Party Transaction            
Limited Liability Company (LLC) or Limited Partnership (LP), Managing Member or General Partner, Ownership Interest       100.00%    
Limited Liability Company or Limited Partnership, Members or Limited Partners, Ownership Interest       81.60%    
Accounts payable   $ 326,693   $ 326,693   $ 249,835
Distribution Made to Limited Partner, Distributions Paid, Per Unit   $ 0.38 $ 0.00 $ 0.49 $ 0.08  
Distributions            
Related Party Transaction            
Distribution Made to Limited Partner, Cash Distributions Paid       $ 30,638 $ 5,001  
Distribution Made to Limited Partner, Distributions Paid, Per Unit       $ 0.49 $ 0.08  
Alon Energy | Corporate Overhead Allocation            
Related Party Transaction            
Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party   $ 3,116 $ 4,245 $ 5,766 $ 7,665  
Alon Energy | Labor Costs            
Related Party Transaction            
Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party   947 1,280 1,967 2,235  
Related Party Transaction, Direct Operating Expenses from Transactions with Related Party   7,451 7,070 14,474 14,332  
Alon Energy | Insurance Costs            
Related Party Transaction            
Related Party Transaction, Direct Operating Expenses from Transactions with Related Party   1,118 1,512 2,246 2,372  
Alon Energy | Leasing Agreements            
Related Party Transaction            
Lessee, Operating Lease, Term of Contract 6 years          
Operating Leases, Future Minimum Payments Due, Next Twelve Months   4,920   4,920    
Operating Leases, Rent Expense   1,230 1,230 2,460 2,460  
Alon Energy | Distributions            
Related Party Transaction            
Distribution Made to Limited Partner, Cash Distributions Paid       24,990 4,080  
Delek            
Related Party Transaction            
Related Party Transaction, Purchases from Related Party   19,458 $ 371 22,239 $ 785  
Accounts payable   $ 1,824   $ 1,824