XML 48 R36.htm IDEA: XBRL DOCUMENT v3.8.0.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, 2018
Feb. 28, 2017
Feb. 28, 2018
Feb. 28, 2017
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]        
Restricted stock and stock appreciation rights $ 12,952 $ 13,751 $ 56,459 $ 11,710
Employee stock purchase plan 2,087 1,567 3,787 3,317
Other 0 0 7,538 0
Total $ 15,039 $ 15,318 $ 67,784 $ 15,027