Segment Reporting - Summary of Changes in Carrying Amount of Goodwill by Segment (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Goodwill [Roll Forward]    
Goodwill, Beginning Balance $ 63,288 $ 63,288
Goodwill, activity   0
Goodwill, Ending Balance 70,550 63,288
Refined products    
Goodwill [Roll Forward]    
Goodwill, Beginning Balance 36,550 36,550
Goodwill, activity   0
Goodwill, Ending Balance 36,550 36,550
Natural gas    
Goodwill [Roll Forward]    
Goodwill, Beginning Balance 18,626 18,626
Goodwill, activity   0
Goodwill, Ending Balance 25,888 18,626
Materials handling    
Goodwill [Roll Forward]    
Goodwill, Beginning Balance 6,896 6,896
Goodwill, activity   0
Goodwill, Ending Balance 6,896 6,896
Other    
Goodwill [Roll Forward]    
Goodwill, Beginning Balance 1,216 1,216
Goodwill, activity   0
Goodwill, Ending Balance 1,216 $ 1,216
Santa Buckley Energy, Inc. (SBE)    
Goodwill [Roll Forward]    
Goodwill, activity 7,262  
Santa Buckley Energy, Inc. (SBE) | Refined products    
Goodwill [Roll Forward]    
Goodwill, activity 0  
Santa Buckley Energy, Inc. (SBE) | Natural gas    
Goodwill [Roll Forward]    
Goodwill, activity 7,262  
Santa Buckley Energy, Inc. (SBE) | Materials handling    
Goodwill [Roll Forward]    
Goodwill, activity 0  
Santa Buckley Energy, Inc. (SBE) | Other    
Goodwill [Roll Forward]    
Goodwill, activity $ 0