XML 61 R50.htm IDEA: XBRL DOCUMENT v3.19.1
Rafael Holdings, Inc. Spin-Off (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jan. 31, 2019
Jan. 31, 2018
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]        
Loss before income taxes $ 2,225 $ 176 $ 2,267 $ (205)
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 (680) (1,220)
Loss before income taxes attributable to IDT Corporation $ (548) $ (1,046)