XML 64 R54.htm IDEA: XBRL DOCUMENT v3.7.0.1
Restatement of Prior Period Financial Statements - Narrative (Details) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended
Jan. 31, 2017
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Apr. 01, 2016
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Conversion feature and call option value           $ 3,900,000
Amortization of debt discount   $ 0 $ 1,630,000 $ 194,000 $ 1,630,000  
Amortization of debt discount     300,000 $ 0 226,000  
Gain on derivative         2,800,000  
Kanis S.A            
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Amortization of debt discount     $ 1,600,000      
Amortization of debt discount         $ 100,000  
Convertible Debt | Two Million 8 Percent Shareholder Note Due September 2017            
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Face amount of debt           2,000,000.0
Amortization of debt discount $ 200,000          
Convertible Debt | Kanis Agreement            
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Long-term debt, gross           $ 7,500,000