XML 33 R22.htm IDEA: XBRL DOCUMENT v3.19.1
SIGNIFICANT ACCOUNTING POLICIES (condensed consolidated of cash flows) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Significant Accounting Policies [Line Items]        
Net loss $ (5,322) $ (11,437) $ (21,023) $ (70,135)
Increase in contracts liability     18,264 (837)
Increase in contract asset     0  
Net cash used in operating activities     (3,738) $ (27,584)
Previously Reported [Member]        
Significant Accounting Policies [Line Items]        
Net loss (15,544)   (36,238)  
Increase in contracts liability     34,929  
Increase in contract asset     (1,450)  
Net cash used in operating activities     (3,738)  
Restatement Adjustment [Member]        
Significant Accounting Policies [Line Items]        
Net loss $ 10,222   15,215  
Increase in contracts liability     (16,665)  
Increase in contract asset     1,450  
Net cash used in operating activities     $ 0