XML 118 R101.htm IDEA: XBRL DOCUMENT v3.7.0.1
Derivative Instruments and Hedging Activities - Fair Value in the Condensed Consolidated Balance Sheets (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Foreign currency forward contracts    
Derivatives, Fair Value [Line Items]    
Notional amount of forward contracts held to sell U.S. dollars in exchange for Canadian dollars $ 39,000 $ 33,200
Prepaid expenses and other current assets | Cash Flow Hedging | Designated As Hedging Instrument | Foreign currency forward contracts    
Derivatives, Fair Value [Line Items]    
Fair Value Asset (Liability) $ 1,174 $ 792
Minimum    
Derivatives, Fair Value [Line Items]    
Contract maturity 1 month  
Maximum    
Derivatives, Fair Value [Line Items]    
Contract maturity 12 months