Commitments and Contingencies (Details) (USD $)
In Thousands, unless otherwise specified
3 Months Ended 9 Months Ended
Mar. 31, 2015
Mar. 31, 2014
Mar. 31, 2015
Mar. 31, 2014
Jun. 30, 2014
Commitments And Contingencies (Textuals) [Abstract]          
Total lease expense $ 4,087 $ 3,727 $ 12,886 $ 10,122  
Unrecorded unconditional purchase obligation 26,385   26,385    
Tax payment term     7 years 6 months    
Installment obligation     14,133    
Capital Leased Assets 15,545   15,545    
Capital lease asset, accumulated depreciation         3,584
Capital Lease Obligations         11,847
Inventory          
Commitments And Contingencies (Textuals) [Abstract]          
Unrecorded unconditional purchase obligation 2,276   2,276    
Production and Computer Equipment [Domain]          
Commitments And Contingencies (Textuals) [Abstract]          
Unrecorded unconditional purchase obligation 14,185   14,185    
Other purchase commitments [Member]          
Commitments And Contingencies (Textuals) [Abstract]          
Unrecorded unconditional purchase obligation $ 9,924   $ 9,924