XML 52 R40.htm IDEA: XBRL DOCUMENT v3.19.1
Stock-Based Compensation and Shares Repurchases - Recognized Stock-Based Compensation Expense within Selling, General and Administrative Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2019
Feb. 28, 2018
Feb. 28, 2019
Feb. 28, 2018
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]        
Restricted stock units and stock appreciation rights $ 13,604 $ 12,952 $ 28,655 $ 56,459
Employee stock purchase plan 2,093 2,087 4,291 3,787
Other 0 0 0 7,538
Total $ 15,697 $ 15,039 $ 32,946 $ 67,784