XML 88 R64.htm IDEA: XBRL DOCUMENT v3.8.0.1
Inventories (Detail) - USD ($)
$ in Thousands
Dec. 31, 2017
Dec. 31, 2016
Crude oil and feedstocks $ 149,984 $ 61,302
Refined products and blendstock 172,422 116,593
Warehouse stock and other 22,951 20,431
Total 345,357 198,326
Reserves for the lower of cost or market value of inventory 0 200
Titled Inventory    
Crude oil and feedstocks 93,970 11,620
Refined products and blendstock 63,505 38,916
Warehouse stock and other 22,951 20,431
Total 180,426 70,967
Supply and Offtake Agreements    
Crude oil and feedstocks 56,014 49,682
Refined products and blendstock 108,917 77,677
Warehouse stock and other 0 0
Total $ 164,931 $ 127,359