XML 37 R25.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Acquisitions (Details) - USD ($) $ in Thousands |  | 6 Months Ended |
--- | --- | --- | ---
Dec. 12, 2016 | Dec. 31, 2017 | Jun. 30, 2017
Business Acquisition [Line Items] |  |  |
Goodwill |  | $ 113,845 | $ 113,501
Houston Interests, LLC [Member] |  |  |
Business Acquisition [Line Items] |  |  |
Cash paid for equity interest | $ 46,000 |  |
Acquisition related adjustment for working capital settlement | 6,837 |  |
Accounts Receivable | 10,273 |  |
Costs and estimated earnings in excess of billings on uncompleted contracts | 746 |  |
Other current assets | 454 |  |
Current assets | 21,804 |  |
Property, plant and equipment | 942 |  |
Goodwill | 35,146 |  |
Other intangible assets | 10,220 |  |
Total assets acquired | 68,112 |  |
Accounts payable | 962 |  |
Billings on uncompleted contracts in excess of costs and estimated earnings | 11,648 |  |
Other accrued expenses | 2,475 |  |
Current liabilities | 15,085 |  |
Other liabilities | 190 |  |
Net assets acquired | 52,837 |  |
Less: cash acquired | 10,331 |  |
Business Combination, Consideration Transferred | $ 42,506 |  |
Warranty reserve working capital provision |  | 2,600 |
Settlement of warranty reserve |  | $ 1,700 |

X
- Definition Acquisition related adjustment for the final working capital settlement. + References No definition available. + Details
Name: | mtrx_AcquisitionRelatedAdjustmentForFinalWorkingCapitalSettlement
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Billings on uncompleted contracts in excess of costs and estimated earnings assumed in business combination. + References No definition available. + Details
Name: | mtrx_Billingsonuncompletedcontractsinexcessofcostsandestimatedearnings
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash paid for the equity interests of an acquiree. + References No definition available. + Details
Name: | mtrx_Cashpaidforequityinterest
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Costs and estimated earnings in excess of billings on uncompleted contracts assumed in business combination. + References No definition available. + Details
Name: | mtrx_Costsandestimatedearningsinexcessofbillingsonuncompletedcontracts
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Settlement of warranty reserve with previous owners of Houston Interests, LLC. + References No definition available. + Details
Name: | mtrx_Settlementofwarrantyreserve
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount the Company could have to pay the previous owners, as a working capital adjustment, depending on the amount of unused acquired warranty reserve remaining as of June 30, 2017. + References No definition available. + Details
Name: | mtrx_Warrantyreserveworkingcapitalprovision
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of assets acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities due within one year or within the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other liabilities due within one year or within the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of identifiable intangible assets recognized as of the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=73531372&loc=d3e2207-128464 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=73531372&loc=d3e2207-128464 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other liabilities due after one year or the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73530397&loc=d3e4845-128472 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=73531372&loc=d3e2207-128464 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13770-109266 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=64834752&loc=SL49117168-202975 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mtrx_HoustonInterestsLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |