XML 32 R21.htm IDEA: XBRL DOCUMENT v3.19.1
SIGNIFICANT ACCOUNTING POLICIES (Changes in capital deficiency) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Significant Accounting Policies [Line Items]        
Net loss for the six months ended June 30, 2018 $ (8,462) $ 450 $ (15,701) $ (58,698)
Balance (42,742) (20,668) (42,742) (20,668)
Accumulated Deficit [Member]        
Significant Accounting Policies [Line Items]        
Net loss for the six months ended June 30, 2018     (15,701) (58,698)
Balance (311,797) $ (271,354) (311,797) $ (271,354)
Previously Reported [Member]        
Significant Accounting Policies [Line Items]        
Net loss for the six months ended June 30, 2018 (11,294)   (20,694)  
Balance (49,571)   (49,571)  
Previously Reported [Member] | Accumulated Deficit [Member]        
Significant Accounting Policies [Line Items]        
Balance (318,626)   (318,626)  
Restatement Adjustment [Member]        
Significant Accounting Policies [Line Items]        
Net loss for the six months ended June 30, 2018 2,832   4,993  
Balance 6,829   6,829  
Restatement Adjustment [Member] | Accumulated Deficit [Member]        
Significant Accounting Policies [Line Items]        
Balance $ 6,829   $ 6,829