VALUATION AND QUALIFYING ACCOUNTS (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Accounts and financing receivables Allowance for uncollectible accounts | Continuing operations      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of Period $ 618 $ 652 $ 380
Additions charged to expense 434 562 392
Deductions [1] (285) (596) (120)
Balance at end of Period 767 618 652
Accounts and financing receivables Allowance for uncollectible accounts | Discontinued operation      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of Period   600
Additions charged to expense    
Deductions [2]     (600)
Balance at end of Period    
Inventory Reserve for obsolescence | Continuing operations      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of Period 2,706 1,397 1,110
Additions charged to expense 541 1,343 544
Deductions (801) [3] (34) (257)
Balance at end of Period 2,446 2,706 1,397
Inventory Reserve for obsolescence | Discontinued operation      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of Period   30
Additions charged to expense    
Deductions     (30)
Balance at end of Period    
Deferred tax assets Valuation allowance | Continuing operations      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of Period 16,417 3,108 1,545
Additions charged to expense 8,205 13,309 1,563
Deductions
Balance at end of Period $ 24,622 16,417 3,108
Deferred tax assets Valuation allowance | Discontinued operation      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of Period   462
Additions charged to expense    
Deductions     (462)
Balance at end of Period    
[1] Amounts written off as uncollectible, net of recoveries
[2] Amounts written off as uncollectible, net of recoveries and reclassification to discontinued operations
[3] Amounts written off as disposals