XML 42 R31.htm IDEA: XBRL DOCUMENT v3.10.0.1
INVENTORIES (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Dec. 31, 2017
Jun. 30, 2017
Dec. 31, 2016
Inventory [Line Items]              
Excess of Replacement or Current Costs over Stated LIFO Value $ 12,037   $ 12,037        
Crude oil and feedstocks 1,055,654   1,055,654   $ 1,073,093    
Refined products and blendstocks 1,399,975   1,399,975   1,342,294    
Warehouse stock and other 105,477   105,477   98,866    
Inventory, Gross 2,561,106   2,561,106   2,514,253    
Lower of cost or market adjustment 0 $ 498,045 0 $ 498,045 (300,456) $ 763,122 $ 595,988
Inventories 2,561,106   2,561,106   2,213,797    
Operating Income (Loss) (253,827) (550,687) (710,743) (376,753)      
Net income 224,698 526,080 624,640 255,164      
Titled Inventory [Member]              
Inventory [Line Items]              
Crude oil and feedstocks 1,055,654   1,055,654   1,073,093    
Refined products and blendstocks 1,060,841   1,060,841   1,030,817    
Warehouse stock and other 105,477   105,477   98,866    
Inventory, Gross 2,221,972   2,221,972   2,202,776    
Lower of cost or market adjustment 0   0   (232,652)    
Inventories 2,221,972   2,221,972   1,970,124    
Inventory Supply and Offtake Arrangements [Member]              
Inventory [Line Items]              
Crude oil and feedstocks 0   0   0    
Refined products and blendstocks 339,134   339,134   311,477    
Warehouse stock and other 0   0   0    
Inventory, Gross 339,134   339,134   311,477    
Lower of cost or market adjustment 0   0   (67,804)    
Inventories 339,134   339,134   $ 243,673    
Scenario, Adjustment [Member]              
Inventory [Line Items]              
Operating Income (Loss) $ (54,801) $ (265,077) $ (300,456) $ (97,943)