XML 47 R35.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Debt - Additional Information (Detail) $ in Thousands | 6 Months Ended |
--- | --- | ---
Dec. 31, 2017 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 | $ | $ 25,900 |
Consolidated funded indebtedness | $ | $ 77,900 |
Dividend Restriction Under Credit Agreement, Percent | 100.00% |
Dividend Restriction Under Credit Agreement, Amount | $ | $ 30,000 |
Minimum [Member] |  |
Credit Agreement Terms |  |
Unused Credit Facility Fee | 0.25% |
Maximum [Member] |  |
Credit Agreement Terms |  |
Unused Credit Facility Fee | 0.45% |
Debt Amendment [Member] |  |
Credit Agreement Terms |  |
Senior Leverage Ratio, Maximum | 4.00 |
Senior Leverage Ratio, Minimum | 1.00 |
Additional Margin on alternate base rate loans, Maximum | 1.875% |
Additional Margin on Adjusted LIBO, EURIBO and CDOR loans, Maximum | 2.875% |
Additional Margin on Canadian prime rate loans, Maximum | 3.375% |
Minimum Consolidated EBITDA Required | $ | $ 15,000 |
Restricted Payments Under Credit Amendment | $ | $ 5,000 |
Leverage Ratio Allowed for Restricted Payments, Maximum | 2.50 |
Leverage Ratio Allowed for Restricted Payments, Minimum | 1.00 |
Debt Amendment [Member] | Maximum [Member] |  |
Credit Agreement Terms |  |
Unused Credit Facility Fee | 0.50% |

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 Dividend Restriction Under Credit Agreement, as a percentage of net income for the the fiscal year. + References No definition available. + Details
Name: | mtrx_DividendRestrictionUnderCreditAgreement
Namespace Prefix: | mtrx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Dividend restriction under credit agreement, amount in dollars. + References No definition available. + Details
Name: | mtrx_DividendRestrictionUnderCreditAgreementAmount
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

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 Leverage Ratio Allowed for Restricted Payments, Maximum + References No definition available. + Details
Name: | mtrx_LeverageRatioAllowedforRestrictedPaymentsMaximum
Namespace Prefix: | mtrx_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Leverage Ratio Allowed for Restricted Payments, Minimum + References No definition available. + Details
Name: | mtrx_LeverageRatioAllowedforRestrictedPaymentsMinimum
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 Minimum Consolidated EBITDA required under the August 31, 2017 credit amendment. + References No definition available. + Details
Name: | mtrx_MinimumConsolidatedEBITDARequired
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
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 Payment of dividends and share repurchases the August 31, 2017 credit amendment is restricted to an aggregate of $5.0 million. + References No definition available. + Details
Name: | mtrx_RestrictedPaymentsUnderCreditAmendment
Namespace Prefix: | mtrx_
Data Type: | xbrli:monetaryItemType
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: |

X
- Details
Name: | us-gaap_VariableRateAxis=mtrx_DebtAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |