Annual report pursuant to Section 13 and 15(d)

Indebtedness, Retail (Details)

v3.6.0.2
Indebtedness, Retail (Details)
$ in Thousands
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Aug. 31, 2015
USD ($)
Stores
New Mexico Retail Stores      
Debt Instruments      
Number of Stores | Stores     14
Alon Retail Credit Agreement      
Debt Instruments      
Debt Instrument, Face Amount $ 110,000    
Line of Credit Facility, Maximum Borrowing Capacity 10,000    
Line of Credit Facility, Unused Borrowing Capacity $ 30,000   $ 30,000
Long-term Debt, Percentage Bearing Variable Interest, Percentage Rate 2.50%    
Alon Retail Credit Agreement | Minimum | Eurodollar      
Debt Instruments      
Debt Instrument, Interest Rate, Stated Percentage 2.00%    
Alon Retail Credit Agreement | Maximum | Eurodollar      
Debt Instruments      
Debt Instrument, Interest Rate, Stated Percentage 2.75%    
Alon Retail Credit Agreement | Term Loan      
Debt Instruments      
Debt Instrument, Face Amount     $ 11,000
Retail Credit Facilities $ 96,922 $ 104,540  
Alon Retail Credit Agreement | Term Loan | New Mexico Retail Stores      
Debt Instruments      
Number of Stores | Stores     14
Alon Retail Credit Agreement | Revolving Credit Facility      
Debt Instruments      
Letters of Credit Outstanding, Amount 10,000 10,000  
Other Retail Facilities      
Debt Instruments      
Long-term Line of Credit $ 209 $ 280