XML 44 R33.htm IDEA: XBRL DOCUMENT v3.7.0.1
Inventory (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Inventory.    
Raw materials and supplies $ 31,041 $ 26,298
Work-in-process 8,840 1,865
Finished goods 2,822 1,777
Total inventory 42,703 29,940
Inventory held at service locations $ 8,100 $ 3,300