XML 46 R33.htm IDEA: XBRL DOCUMENT v3.7.0.1
Income Taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Income Tax Disclosure [Abstract]        
Provision (benefit) for income taxes $ 2,361 $ (3,507) $ 3,480 $ (8,764)
Domestic tax authority | Internal Revenue Service (IRS) | Tax year 2014 and 2015        
Income Tax Contingency [Line Items]        
Unrecognized tax benefits, decrease resulting from prior period tax positions     $ 3,900