XML 64 R53.htm IDEA: XBRL DOCUMENT v3.8.0.1
Inventories (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Dec. 31, 2017
Inventories      
Crude Oil $ 545,794   $ 581,417
Other raw materials and unfinished products 338,327   396,618
Finished products 554,602   655,336
Lower of cost or market reserve (119,995)   (223,833)
Process chemicals 33,905   24,792
Repair and maintenance supplies and other 239,648   195,762
Inventories, total 1,592,281   $ 1,630,092
Lower of cost or market inventory valuation adjustment $ (103,838) $ 11,823