XML 51 R37.htm IDEA: XBRL DOCUMENT
v3.5.0.2

Summary of Significant Accounting Policies Summary of Significant Accounting Policies (Impact of New Accounting Pronouncement) (Details) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Jun. 30, 2015 | Jun. 30, 2016
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
Other Additional Capital |  | $ 9.8
Deferred Tax Asset Impact [Member] |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
New Accounting Pronouncement or Change in Accounting Principle, Effect of Adoption, Quantification | $ 6.6 |
Deferred Tax Liabilities Impact [Member] |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
New Accounting Pronouncement or Change in Accounting Principle, Effect of Adoption, Quantification | $ 6.6 |

X
- Definition Represents the quantification of the effect of adopting the new accounting standard or change in accounting principle expected by the entity to have a significant effect on the entity's financial statements. + References No definition available. + Details
Name: | us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of additional paid-in capital (APIC) classified as other. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.30(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SAB Topic 5.T) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20547-122688 + Details
Name: | us-gaap_OtherAdditionalCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=mtrx_DeferredTaxAssetImpactMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=mtrx_DeferredTaxesImpactLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |