XML 50 R36.htm IDEA: XBRL DOCUMENT
v3.5.0.2

Summary of Significant Accounting Policies (Details Textual) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Jun. 30, 2016 | Jun. 30, 2015
Summary of Significant Accounting Policies (Textual) [Abstract] |  |
Restricted cash | $ 0.3 | $ 0.3
Minimum [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Useful life of intangible assets | 1 year 6 months |
Maximum [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Useful life of intangible assets | 15 years |
Building [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Depreciable life of office equipment and software | 40 years |
Construction Equipment [Member] | Minimum [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Depreciable life of office equipment and software | 3 years |
Construction Equipment [Member] | Maximum [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Depreciable life of office equipment and software | 15 years |
Transportation Equipment [Member] | Minimum [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Depreciable life of office equipment and software | 3 years |
Transportation Equipment [Member] | Maximum [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Depreciable life of office equipment and software | 5 years |
Office Equipment and Software [Member] | Minimum [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Depreciable life of office equipment and software | 3 years |
Office Equipment and Software [Member] | Maximum [Member] |  |
Property, Plant and Equipment [Line Items] |  |
Depreciable life of office equipment and software | 10 years |

X
- Definition Summary of significant accounting policies. + References No definition available. + Details
Name: | mtrx_SummaryOfSignificantAccountingPoliciesTextualAbstract
Namespace Prefix: | mtrx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
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_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying amounts of cash and cash equivalent items which are restricted as to withdrawal or usage. Restrictions may include legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or entity statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits. Excludes compensating balance arrangements that are not agreements which legally restrict the use of cash amounts shown on the balance sheet. This element is for unclassified presentations; for classified presentations there is a separate and distinct element. + 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.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_RestrictedCashAndCashEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_EquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_TransportationEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_FurnitureAndFixturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |