XML 36 R38.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Acquisitions (Details Textual) (USD $) | 0 Months Ended | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
May 03, 2011 | Jun. 30, 2013 | Jun. 30, 2012 | Jun. 30, 2013 | Jun. 30, 2012
Acquisitions (Textual) [Abstract] |  |  |  |  |
Goodwill, Purchase Accounting Adjustments |  |  |  |  | $ (241,000)
EDC [Member] |  |  |  |  |
Acquisitions (Textual) [Abstract] |  |  |  |  |
Cash payment for asset | 3,800,000 |  |  |  |
Additional incentive payment | 800,000 |  |  |  |
Financial targets achievement period | 2 years |  |  |  |
Asset purchase price | 4,600,000 |  |  |  |
Carrying value of the acquisition payable and selling, general and administrative costs |  | 400,000 | 400,000 | 800,000 |
Goodwill, Purchase Accounting Adjustments |  |  |  |  | $ 200,000

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

X
- Definition Business acquisition target achievement period. + References No definition available. + Details
Name: | mtrx_BusinessAcquisitionTargetAchievementPeriod
Namespace Prefix: | mtrx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of potential cash payments that could result from the contingent consideration arrangement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 141 -Paragraph 51 -Subparagraph f -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_BusinessAcquisitionContingentConsiderationPotentialCashPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash paid to acquire the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 141R -Paragraph 68 -Subparagraph f(1) -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 FASB -Name Statement of Financial Accounting Standard (FAS) -Number 141 -Paragraph 51 -Subparagraph d -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_BusinessAcquisitionCostOfAcquiredEntityCashPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total cost of the acquired entity including the cash paid to shareholders of acquired entities, fair value of debt and equity securities issued to shareholders of acquired entities, the fair value of the liabilities assumed, and direct costs of the acquisition. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 141 -Paragraph 51 -Subparagraph d -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_BusinessAcquisitionCostOfAcquiredEntityPurchasePrice
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents the amount of any change, including any differences arising upon settlement, recognized during the reporting period in the value of a liability, arising from an item of contingent consideration, assumed in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=7488404&loc=d3e7008-128479 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 141R -Paragraph 72 -Subparagraph b -Clause 1 -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_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Purchase accounting adjustments needed to revise the carrying amount of goodwill to fair value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 45 -Subparagraph e -Clause 7 -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_GoodwillPurchaseAccountingAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration