Stock-Based Compensation Plans (Details 1)
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Equity [Abstract]      
Risk-free interest rates 1.98% 1.80% 1.71%
Expected option life in years 5 years 11 months 12 days 6 years 3 months 6 years 3 months
Expected stock price volatility 57.42% 54.68% 55.41%
Expected dividend yield 0.00% 0.00% 0.00%