XML 63 R46.htm IDEA: XBRL DOCUMENT v3.5.0.2
Inventories (Detail) - USD ($)
$ in Thousands
Sep. 30, 2016
Dec. 31, 2015
Inventory [Line Items]    
Crude oil and feedstocks $ 59,969 $ 86,530
Refined products and blendstock 117,046 115,631
Warehouse stock and other 19,936 17,276
Total 196,951 219,437
Reserves for the lower of cost or market value of inventory   23,700
Titled Inventory    
Inventory [Line Items]    
Crude oil and feedstocks 12,117 18,404
Refined products and blendstock 37,749 28,023
Warehouse stock and other 19,936 17,276
Total 69,802 63,703
Supply and Offtake Agreements    
Inventory [Line Items]    
Crude oil and feedstocks 47,852 68,126
Refined products and blendstock 79,297 87,608
Warehouse stock and other 0 0
Total $ 127,149 $ 155,734