XML 53 R42.htm IDEA: XBRL DOCUMENT v3.19.1
Cash, Cash Equivalents, and Restricted Cash and Cash Equivalents (Details) - USD ($)
$ in Thousands
Apr. 30, 2019
Jul. 31, 2018
Apr. 30, 2018
Jul. 31, 2017
Cash, Cash Equivalents, and Restricted Cash and Cash Equivalents [Abstract]        
Cash and cash equivalents $ 79,326 $ 73,981    
Restricted cash and cash equivalents 162,848 129,216    
Total cash, cash equivalents, and restricted cash and cash equivalents $ 242,174 $ 203,197 $ 194,989 $ 211,963