Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Awards (Stock-Based Compensation Expense) (Details)

v3.8.0.1
Stock-Based Awards (Stock-Based Compensation Expense) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Restricted Stock Award, Forfeitures     $ 4,500  
Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount $ 3,100      
Allocated Share-based compensation expense 4,026 $ 4,239 7,634 $ 14,698
Income tax benefit 1,308 (1,493) 163 (5,134)
Stock-based compensation expense after income taxes 5,334 2,746 7,797 9,564
Selling and marketing        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Allocated Share-based compensation expense 1,777 1,369 4,941 4,880
General and administrative        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Allocated Share-based compensation expense $ 2,249 $ 2,870 $ 2,693 $ 9,818