XML 157 R96.htm IDEA: XBRL DOCUMENT v3.8.0.1
Long-Term Obligations and Notes Payable Retail Credit Facility (Details)
1 Months Ended 12 Months Ended
Aug. 31, 2015
USD ($)
Dec. 31, 2017
USD ($)
store
NEW MEXICO    
Debt Instrument [Line Items]    
Number of stores | store   14
Alon Retail Credit Facilities    
Debt Instrument [Line Items]    
Proceeds from issuance of secured debt $ 11,000,000  
Secured Debt | Alon Retail Credit Facilities    
Debt Instrument [Line Items]    
Debt instrument, face amount   $ 110,000,000.0
Weighted average interest rate (percentage)   3.80%
Secured debt   $ 88,500,000
Line of Credit | Alon Retail Credit Facilities    
Debt Instrument [Line Items]    
Line of credit, incremental borrowing available   $ 30,000,000.0
Debt instrument, term (in years)   15 years
Line of Credit | Alon Retail Credit Facilities | Revolving Credit Facility    
Debt Instrument [Line Items]    
Line of credit facility, maximum borrowing capacity   $ 10,000,000.0
Line of credit, incremental borrowing available $ 30,000,000  
Unused capacity, commitment fee percentage   0.40%
Unused credit commitments   $ 10,000,000