XML 52 R63.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Employee Benefit Plans (Details Textual) (USD $) | 12 Months Ended
--- | ---
Jun. 30, 2013 | Jun. 30, 2012 | Jun. 30, 2011
Employee Benefit Plans (Textual) [Abstract] |  |  |
Percentage of limitation on pretax compensation | 25.00% |  |
Company match of first 3% of employee contributions | 100.00% |  |
Percentage of employee contribution for first half | 3.00% |  |
Employee contribution for next 2% | 50.00% |  |
Percentage of employee contribution for next half | 2.00% |  |
Contribution made by company | $ 3,400,000 | $ 3,300,000 | $ 3,000,000
Employee share purchase limit aggregate market value |  | $ 60,000 |
Shares available at ESPP |  | 1,000,000 |
Employee Stock Purchase Plan, Termination Date | Jan. 02, 2021 |  |
Shares issued under ESPP | 4,452 | 4,395 | 699
Zone Red [Member] |  |  |
Multiemployer Plans [Line Items] |  |  |
Percentage of plan funded | 65.00% |  |
Description of plans funded | less than 65 percent |  |
Zone Yellow [Member] |  |  |
Multiemployer Plans [Line Items] |  |  |
Percentage of plan funded | 80.00% |  |
Description of plans funded | less than 80 percent |  |
Zone Green [Member] |  |  |
Multiemployer Plans [Line Items] |  |  |
Percentage of plan funded | 80.00% |  |
Description of plans funded | at least 80 percent |  |

X
- Definition Defined contribution plan employer matching contribution percent for next two percent of employee contribution. + References No definition available. + Details
Name: | mtrx_DefinedContributionPlanEmployerMatchingContributionPercentForTwoPercentOfEmployeeContribution
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay, by the terms of the plan, that the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | mtrx_DefinedContributionPlanMaximumAnnualContributionByEmployeePercent
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of funded portion of plan. + References No definition available. + Details
Name: | mtrx_DescriptionOfFundedPortionOfPlan
Namespace Prefix: | mtrx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | mtrx_EmployeeBenefitPlansTextualAbstract
Namespace Prefix: | mtrx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Employee stock purchase plan per participant maximum annual share purchase limited to aggregate market value. + References No definition available. + Details
Name: | mtrx_EmployeeStockPurchasePlanMaximumAnnualSharePurchaseLimitedToAggregateMarketValue
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Employee stock purchase plan maximum number of shares available for issuance. + References No definition available. + Details
Name: | mtrx_EmployeeStockPurchasePlanMaximumNumberOfSharesAvailableForIssuance
Namespace Prefix: | mtrx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Employee Stock Purchase Plan, Termination Date + References No definition available. + Details
Name: | mtrx_EmployeeStockPurchasePlanTerminationDate
Namespace Prefix: | mtrx_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of employee contribution as base for employer contributions. + References No definition available. + Details
Name: | mtrx_PercentageOfEmployeeContributionAsBaseForEmployerContributions
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of employee contribution as base for employer contribution to match + References No definition available. + Details
Name: | mtrx_PercentageOfEmployeeContributionAsBaseForEmployerContributionToMatch
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of plan funded. + References No definition available. + Details
Name: | mtrx_PercentageOfPlanFunded
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the cost recognized during the period for defined contribution plans. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6414718&loc=d3e28014-114942 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 132R -Paragraph 11 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_MultiemployerPlansLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Principles Board Opinion (APB) -Number 12 -Paragraph 10 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=6959260&loc=d3e187085-122770 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 129 -Paragraph 5 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration