XML 37 R13.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Inventories | 12 Months Ended
--- | ---
Dec. 31, 2017
Inventory Disclosure [Abstract] |
Inventories | Note 5—Inventories Inventories at December 31, 2017 and 2016 consist of the following (in thousands):
| Titled Inventory |  | Supply and Offtake Agreements (1) |  | Total
December 31, 2017 |  |  |  |  |
Crude oil and feedstocks | $ | 93,970 |  |  | $ | 56,014 |  |  | $ | 149,984 |
Refined products and blendstock | 63,505 |  |  | 108,917 |  |  | 172,422 |
Warehouse stock and other | 22,951 |  |  | — |  |  | 22,951 |
Total | $ | 180,426 |  |  | $ | 164,931 |  |  | $ | 345,357 |
December 31, 2016 |  |  |  |  |
Crude oil and feedstocks | $ | 11,620 |  |  | $ | 49,682 |  |  | $ | 61,302 |
Refined products and blendstock | 38,916 |  |  | 77,677 |  |  | 116,593 |
Warehouse stock and other | 20,431 |  |  | — |  |  | 20,431 |
Total | $ | 70,967 |  |  | $ | 127,359 |  |  | $ | 198,326 |
_________________________________________________________
(1) | Please read Note 10—Inventory Financing Agreements for further information.
There was no reserve for the lower of cost or net realizable value of inventory as of December 31, 2017. As of December 31, 2016, the reserve for the lower of cost or net realizable value of inventory was $0.2 million.

X
- References No definition available. + Details
Name: | us-gaap_InventoryDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for inventory. Includes, but is not limited to, the basis of stating inventory, the method of determining inventory cost, the classes of inventory, and the nature of the cost elements included in inventory. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.6) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766 + Details
Name: | us-gaap_InventoryDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration