XML 61 R49.htm IDEA: XBRL DOCUMENT v3.10.0.1
Inventories (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Inventories          
Crude Oil $ 551,484   $ 551,484   $ 581,417
Other raw materials and unfinished products 385,242   385,242   396,618
Finished products 636,679   636,679   655,336
Lower of cost or market reserve (13,069)   (13,069)   (223,833)
Process chemicals 28,649   28,649   24,792
Repair and maintenance supplies and other 227,887   227,887   195,762
Inventories, total 1,816,872   1,816,872   $ 1,630,092
Lower of cost or market inventory valuation adjustment $ (106,926) $ 83,982 $ (210,764) $ 95,805