XML 52 R40.htm IDEA: XBRL DOCUMENT v3.3.1.900
Income taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 27, 2015
Dec. 28, 2014
Dec. 27, 2015
Dec. 28, 2014
Income Tax Disclosure [Abstract]        
Income tax (benefit) expense $ (14,081) $ 2,002 $ 5,547 $ 23,571
Effective income tax rate (6.70%)   1.10%  
U.S. federal statutory tax rate     35.00%