XML 39 R25.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Basis of Presentation Basis of Presentation - Narrative (Details) - USD ($) $ / shares in Units, $ in Millions | 9 Months Ended
--- | ---
Mar. 31, 2017 | Mar. 31, 2016
New Accounting Pronouncements and Changes in Accounting Principles [Abstract] |  |
Effect of new accounting standard compared to old standard | $ 0.5 |
Effect of adoption of new accounting standard compared to old standard, EPS | $ 0.02 |
New Accounting Pronouncement or Change in Accounting Principle, Description of Prior-period Information Retrospectively Adjusted |  | The amendments relating to the presentation of excess tax benefits and tax deficiencies in the statement of cash flows were applied retrospectively. The effect of the retrospective adjustment was to eliminate the presentation of an operating cash outflow and a financing cash inflow for excess tax benefits on exercised stock options and vesting of deferred shares. These eliminations increased net cash provided by operating activities by $3.2 million and decreased net cash provided by financing activities by $3.2 million for the nine months ended March 31, 2016. Net cash flows did not change as a result of the retrospective adjustment.

X
- Definition Effect of adoption of new accounting standard compared to old standard, EPS + References No definition available. + Details
Name: | mtrx_EffectofadoptionofnewaccountingstandardcomparedtooldstandardEPS
Namespace Prefix: | mtrx_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effect of new accounting standard compared to old standard + References No definition available. + Details
Name: | mtrx_Effectofnewaccountingstandardcomparedtooldstandard
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Description of the prior-period information that has been retrospectively adjusted when a new accounting pronouncement or a change in accounting principle is adopted. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=64853466&loc=d3e22499-107794 + Details
Name: | us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleDescriptionOfPriorperiodInformationRetrospectivelyAdjusted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration