XML 14 R4.htm IDEA: XBRL DOCUMENT v3.19.1
Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2019
Feb. 28, 2018
Feb. 28, 2019
Feb. 28, 2018
Statement Of Income And Comprehensive Income [Abstract]        
Other comprehensive income, tax expense (benefit) $ 75 $ (306) $ 301 $ (274)