XML 58 R47.htm IDEA: XBRL DOCUMENT v3.19.1
Rafael Holdings, Inc. Spin-Off (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]        
Loss before income taxes $ 3,286 $ (2,201) $ 5,552 $ (2,405)
Rafael Holdings, Inc. Spin-Off [Member]        
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]        
Loss before income taxes (1,190) (2,410)
Loss before income taxes attributable to IDT Corporation $ (1,062) $ (2,107)