XML 100 R74.htm IDEA: XBRL DOCUMENT v3.7.0.1
Debt - Wyoming Refining Credit Facilities (Details) - Wyoming Refining Company
Jul. 14, 2016
USD ($)
Dec. 31, 2016
USD ($)
Revolving Credit Facility    
Debt Instrument [Line Items]    
Restricted cash and cash equivalents   $ 10,000,000
Revolving Credit Facility | Wyoming Refining Senior Secured Revolver    
Debt Instrument [Line Items]    
Line credit maximum borrowing amount $ 30,000,000  
Revolver and Term Loan    
Debt Instrument [Line Items]    
Maximum leverage ratio   3.00
Consolidated leverage ratio minimum   1.25
Term Loan | Wyoming Refining Senior Secured Term Loan    
Debt Instrument [Line Items]    
Periodic payment, principal amount $ 2,300,000  
Term Loan | Wyoming Refining Senior Secured Term Loan | London Interbank Offered Rate (LIBOR)    
Debt Instrument [Line Items]    
Basis spread on variable rate 3.00%