Summary of Significant Accounting Policies - Intangibles and Impairment (Details) $ in Thousands |
3 Months Ended |
6 Months Ended |
9 Months Ended |
12 Months Ended |
|
Dec. 31, 2016
USD ($)
|
Sep. 30, 2016
USD ($)
|
Jun. 30, 2016
USD ($)
|
Sep. 30, 2016
USD ($)
|
Dec. 31, 2016
USD ($)
location
|
Dec. 31, 2015
USD ($)
|
Dec. 31, 2014
USD ($)
|
| Impairment Long-Lived Assets |
|
|
|
|
|
|
|
| Impairment of goodwill |
|
|
|
|
$ 121,752
|
|
|
| Long-lived asset impairment |
|
|
|
|
28,220
|
|
|
| Goodwill and long-lived asset impairment |
|
$ 149,900
|
|
|
149,972
|
|
|
| Goodwill derecognized |
|
|
|
|
$ 17,920
|
|
|
| Forecast period |
|
|
|
|
5 years
|
|
|
| Minimum |
|
|
|
|
|
|
|
| Intangibles |
|
|
|
|
|
|
|
| Estimated economic useful life |
|
|
|
|
2 years
|
|
|
| Maximum |
|
|
|
|
|
|
|
| Intangibles |
|
|
|
|
|
|
|
| Estimated economic useful life |
|
|
|
|
20 years
|
|
|
| GDSO |
|
|
|
|
|
|
|
| Impairment Long-Lived Assets |
|
|
|
|
|
|
|
| Impairment of goodwill |
|
|
|
|
$ 0
|
|
$ 0
|
| Long-lived asset impairment |
|
|
|
|
300
|
|
|
| Goodwill derecognized |
|
|
|
|
$ 17,920
|
|
|
| Number of discrete asset groups evaluated for impairment | location |
|
|
|
|
1
|
|
|
| Wholesale Segment |
|
|
|
|
|
|
|
| Impairment Long-Lived Assets |
|
|
|
|
|
|
|
| Impairment of goodwill |
|
|
|
$ 121,700
|
$ 121,752
|
$ 0
|
$ 0
|
| Long-lived asset impairment |
|
|
|
|
26,100
|
|
|
| Goodwill, potential write-off under step two of assessment |
|
|
$ 121,700
|
|
|
$ 121,700
|
|
| Goodwill, estimated fair value |
|
$ 0
|
|
$ 0
|
|
|
|
| Change to impairment estimate |
$ 0
|
|
|
|
|
|
|
| Transloading Terminals [Member] | Wholesale Segment |
|
|
|
|
|
|
|
| Impairment Long-Lived Assets |
|
|
|
|
|
|
|
| Long-lived asset impairment |
|
|
|
|
23,200
|
|
|
| Crude Oil Terminals [Member] | Wholesale Segment |
|
|
|
|
|
|
|
| Impairment Long-Lived Assets |
|
|
|
|
|
|
|
| Long-lived asset impairment |
|
|
|
|
2,900
|
|
|
| Natural Gas Processing Plant [Member] |
|
|
|
|
|
|
|
| Impairment Long-Lived Assets |
|
|
|
|
|
|
|
| Long-lived asset impairment |
|
|
|
|
$ 1,900
|
|
|