XML 55 R42.htm IDEA: XBRL DOCUMENT v3.19.2
CASH AND RESTRICTED CASH (Details - Balance Sheet) - USD ($)
$ in Thousands
Jun. 30, 2019
Dec. 31, 2018
Jun. 30, 2018
Dec. 31, 2017
Cash and Cash Equivalents [Abstract]        
Cash and cash equivalents $ 51,332 $ 105,102    
Restricted cash and cash equivalents 58 56    
Cash, cash equivalents, restricted cash and restricted cash equivalents at beginning of period $ 51,390 $ 105,158 $ 293,350 $ 372,641