XML 67 R52.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Income Taxes Income Taxes (Details 5) $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2018 USD ($)
State tax credit carryforward [Member] |
Tax Credit Carryforward [Line Items] |
Tax Credit Carryforward, Description | June 2018 to June 2033
Tax Credit Carryforward, Amount | $ 679
Federal tax credit carryforward [Member] |
Tax Credit Carryforward [Line Items] |
Tax Credit Carryforward, Description | June 2019 to June 2025
Tax Credit Carryforward, Amount | $ 1,244
Foreign tax credit carryforward [Member] |
Tax Credit Carryforward [Line Items] |
Tax Credit Carryforward, Description | June 2035 to June 2037
Tax Credit Carryforward, Amount | $ 668

X
- Definition The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 + Details
Name: | us-gaap_TaxCreditCarryforwardAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition A description of the origin, nature, and characteristics of the tax credit carryforward. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 + Details
Name: | us-gaap_TaxCreditCarryforwardDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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_TaxCreditCarryforwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | mtrx_IncomeTaxAuthorityDescriptionAxis=mtrx_StatetaxcreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mtrx_IncomeTaxAuthorityDescriptionAxis=mtrx_FederaltaxcreditcarryforwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mtrx_IncomeTaxAuthorityDescriptionAxis=mtrx_ForeigntaxcreditcarryforwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |