XML 49 R38.htm IDEA: XBRL DOCUMENT v3.19.2
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Restricted Cash) (Details) - USD ($)
$ in Thousands
May 31, 2019
Aug. 31, 2018
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES [Abstract]    
Restricted cash for land purchase option agreements $ 4,136 $ 400
Other short-term restricted cash   5
Total short-term restricted cash 4,136 405
Other long-term restricted cash [1] 3,402 3,049
Total long-term restricted cash 3,402 3,049
Total restricted cash $ 7,538 $ 3,454
[1] Other long-term restricted cash consists mainly of cash deposits held within banking institutions in compliance with federal regulatory requirements in Costa Rica and Panama.