XML 77 R66.htm IDEA: XBRL DOCUMENT v3.7.0.1
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Dec. 31, 2017
Dec. 31, 2016
Income Tax Disclosure [Abstract]            
Income tax provision (benefit) $ 4,213 $ 18,282 $ 28,512 $ 42,968    
Income Tax Disclosure [Line Items]            
Effective income tax rate 62.40% 22.80% 39.60% 29.30%    
Valuation allowance $ 12,700   $ 12,700     $ 9,900
Unrecognized tax benefits 1,500   1,500     $ 1,300
Unrecognized tax benefits that would impact the Company's effective tax rate 1,300   1,300      
Unrecognized tax benefits that would impact goodwill $ 200   $ 200      
Forecast            
Income Tax Disclosure [Line Items]            
Effective income tax rate         40.00%