XML 83 R68.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Segment Information (Details Textual) | 12 Months Ended
--- | ---
Jun. 30, 2018 Rate | Jun. 30, 2017 Rate | Jun. 30, 2016 Rate
Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 11.40% | 19.50% | 14.80%
Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 8.60% | 15.30% | 10.60%
Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 6.40% | 5.20% | 8.30%
Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 6.00% | 4.20% | 4.40%
Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 4.20% | 4.00% | 4.20%
Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 3.20% | 2.70% | 3.90%
Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 3.20% | 2.20% | 3.80%
Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 3.00% |  | 3.40%
Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 2.70% |  | 2.30%
Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 2.30% |  | 2.10%
Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  |  | 1.60%
Electrical Infrastructure [Member] | Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 38.90%
Electrical Infrastructure [Member] | Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 46.00% | 0.00%
Electrical Infrastructure [Member] | Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 26.50% | 0.00% | 0.00%
Electrical Infrastructure [Member] | Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 25.40% | 0.00% | 16.60%
Electrical Infrastructure [Member] | Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 12.70% | 0.00%
Electrical Infrastructure [Member] | Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Electrical Infrastructure [Member] | Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 14.40%
Electrical Infrastructure [Member] | Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 12.90% |  | 12.70%
Electrical Infrastructure [Member] | Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 0.00%
Electrical Infrastructure [Member] | Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 10.00% |  | 0.00%
Electrical Infrastructure [Member] | Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  |  | 0.00%
Oil Gas & Chemical [Member] | Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 29.00% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 25.80% | 0.00%
Oil Gas & Chemical [Member] | Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 20.70% | 0.00%
Oil Gas & Chemical [Member] | Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 12.00% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 10.80% | 0.00% | 20.20%
Oil Gas & Chemical [Member] | Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Oil Gas & Chemical [Member] | Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 0.00%
Oil Gas & Chemical [Member] | Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 0.00%
Oil Gas & Chemical [Member] | Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 11.20%
Oil Gas & Chemical [Member] | Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  |  | 0.00%
Storage Solutions [Member] | Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 48.50% | 10.20%
Storage Solutions [Member] | Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 2.40% | 24.70%
Storage Solutions [Member] | Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.60% | 0.00% | 19.30%
Storage Solutions [Member] | Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Storage Solutions [Member] | Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 2.20% | 0.00% | 0.00%
Storage Solutions [Member] | Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Storage Solutions [Member] | Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 10.90% | 0.00% | 0.00%
Storage Solutions [Member] | Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 0.00%
Storage Solutions [Member] | Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 0.00%
Storage Solutions [Member] | Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 0.00%
Storage Solutions [Member] | Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  |  | 0.00%
Industrial [Member] | Customer One [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 62.90% | 0.00% | 0.00%
Industrial [Member] | Customer Two [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Industrial [Member] | Customer Three [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Industrial [Member] | Customer Four [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 0.00%
Industrial [Member] | Customer Five [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 0.00% | 36.90%
Industrial [Member] | Customer Six [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 31.70% | 0.00%
Industrial [Member] | Customer Seven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% | 25.80% | 0.00%
Industrial [Member] | Customer Eight [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 0.00%
Industrial [Member] | Customer Nine [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 14.70% |  | 20.10%
Industrial [Member] | Customer Ten [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue | 0.00% |  | 0.00%
Industrial [Member] | Customer Eleven [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Percentage of Revenue |  |  | 14.00%

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=109250915&loc=d3e13531-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109250915&loc=d3e13537-108611 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
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_EntityWideRevenueMajorCustomerLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerFiveMemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerSixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerSevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerEightMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerNineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerTenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mtrx_CustomerElevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_ElectricalInfrastructureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_OilGasAndChemicalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_StorageSolutionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mtrx_IndustrialMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |