XML 40 R41.htm IDEA: XBRL DOCUMENT v3.19.3
CASH AND RESTRICTED CASH (Details - Balance Sheet) - USD ($)
$ in Thousands
Sep. 30, 2019
Dec. 31, 2018
Sep. 30, 2018
Dec. 31, 2017
Cash and Cash Equivalents [Abstract]        
Cash and cash equivalents $ 50,497 $ 105,102    
Restricted cash and cash equivalents 259 56    
Cash, cash equivalents, restricted cash and restricted cash equivalents at beginning of period $ 50,756 $ 105,158 $ 265,241 $ 372,641