XML 221 R61.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Accounting Policies - Segment Reporting (Details) - segment
12 Months Ended
Dec. 31, 2019
Jul. 01, 2017
Jun. 30, 2017
May 14, 2015
Segment Reporting Information [Line Items]        
Number of reportable segments 3      
Alon USA Energy, Inc.        
Segment Reporting Information [Line Items]        
Equity method investment, ownership percentage   47.00% 47.00% 48.00%