XML 48 R36.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Debt - Additional Information (Detail) $ in Thousands | 9 Months Ended |
--- | --- | ---
Mar. 31, 2018 USD ($) Rate | Jun. 30, 2017 USD ($)
Credit Agreement Terms |  |
Senior secured revolving credit facility | $ | $ 300,000 | $ 300,000
Line Of Credit Facility Expiration Date | Feb. 08, 2022 |
Senior Leverage Ratio, Maximum | 3.00 |
Senior Leverage Ratio, Minimum | 1.00 |
Fixed Charge Coverage Ratio, Maximum | 1.25 |
Fixed Charge Coverage Ratio, Minimum | 1.00 |
Amount of Limit on Asset Dispositions | $ | $ 20,000 |
Additional Margin on alternate base rate loans, Minimum | 0.625% |
Additional Margin on alternate base rate loans, Maximum | 1.625% |
Sublimit on Australian Dollar, Canadian Dollar, Euro and Pounds Sterling | $ | $ 75,000 |
Sub-limit on letters of credit under the credit facility | $ | $ 200,000 |
Additional Margin on Adjusted LIBO, EURIBO and CDOR loans, Minimum | 1.625% |
Additional Margin on Adjusted LIBO, EURIBO and CDOR loans, Maximum | 2.625% |
Additional Margin on Canadian prime rate loans, Minimum | 2.125% |
Additional Margin on Canadian prime rate loans, Maximum | 3.125% |
Consolidated EBITDA as defined in the Credit Agreement | $ | $ 40,400 |
Consolidated funded indebtedness | $ | $ 34,300 |
Minimum [Member] |  |
Credit Agreement Terms |  |
Unused Credit Facility Fee | 0.25% |
Maximum [Member] |  |
Credit Agreement Terms |  |
Unused Credit Facility Fee | 0.45% |

X
- Definition Amount of limit on asset dispositions. + References No definition available. + Details
Name: | mtrx_AmountOfLimitOnAssetDispositions
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Consolidated earnings before interest taxes depreciation and amortization per credit. + References No definition available. + Details
Name: | mtrx_ConsolidatedEarningsBeforeInterestTaxesDepreciationAndAmortizationPerCreditAgreement
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Consolidated Funded Indebtedness + References No definition available. + Details
Name: | mtrx_ConsolidatedFundedIndebtedness
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fixed charge coverage ratio maximum. + References No definition available. + Details
Name: | mtrx_FixedChargeCoverageRatioMaximum
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fixed charge coverage ratio minimum. + References No definition available. + Details
Name: | mtrx_FixedChargeCoverageRatioMinimum
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on Adjusted LIBO, EURIBO and CDOR loans rate maximum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAdjustedLIBOEURIBOandCDORMaximum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on Adjusted LIBO, EURIBO and CDOR loans rate minimum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAdjustedLIBOEURIBOandCDORMinimum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on alternate base rate maximum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMaximum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on alternate base rate minimum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnAlternateBaseRateMinimum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on Canadian prime rate maximum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMaximum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit basis spread on Canadian prime rate minimum. + References No definition available. + Details
Name: | mtrx_LineOfCreditBasisSpreadOnCanadianPrimeRateMinimum
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Credit Facility Expiration Date + References No definition available. + Details
Name: | mtrx_MtrxLineofcreditfacilityexpirationdate
Namespace Prefix: | mtrx_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Senior Leverage Ratio Max + References No definition available. + Details
Name: | mtrx_SeniorLeverageRatioMax
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Senior Leverage Ratio Minimum + References No definition available. + Details
Name: | mtrx_SeniorLeverageRatioMin
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sublimit on Australian Dollar, Canadian Dollar, Euro and Pounds Sterling + References No definition available. + Details
Name: | mtrx_SublimitonAustralianDollarCanadianDollarEuroandPoundsSterling
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Sub-limit on letters of credit under the credit facility. + References No definition available. + Details
Name: | mtrx_Sublimitonlettersofcreditunderthecreditfacility
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_AcquiredIndefiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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: |