2.4.0.82410406 - Disclosure - Stock-Based Compensation (Details Textual)truefalsefalse1falseUSDfalsefalse$D2013Q4YTDhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170usdPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2falseUSDfalsefalse$D2012Q4YTDhttp://www.sec.gov/CIK0000866273duration2011-07-01T00:00:002012-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$D2011Q4YTDhttp://www.sec.gov/CIK0000866273duration2010-07-01T00:00:002011-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_ShareBasedCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse38310003831000USD$falsetruefalse2truefalsefalse35040003504000USD$falsetruefalse3truefalsefalse23950002395000USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 28
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3602-108585
false23false4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse91000009100000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAs of the balance sheet date, the aggregate unrecognized cost of equity-based awards made to employees under equity-based compensation awards that have yet to vest.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph h
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false24false4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptionsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse85000008500000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate unrecognized cost of share-based awards, other than options, made to employees under an equity-based compensation plan, that have yet to vest.No definition available.false25false4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptionsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse600000600000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate unrecognized cost of option awards made to employees under a stock option plan or plans, that have yet to vest.No definition available.false26false4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse001 year 11 monthsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false07false4us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpenseus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse16000001600000USD$falsefalsefalse2truefalsefalse13000001300000USD$falsefalsefalse3truefalsefalse900000900000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe total recognized tax benefit related to compensation cost for equity-based payment arrangements recognized in income during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(1)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph g(1)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false28false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationPeriodmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse0010 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaShare based compensation arrangement by share based payment award expiration period.No definition available.false09false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse616000616000USD$falsetruefalse2truefalsefalse100000100000USD$falsetruefalse3truefalsefalse200000200000USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe total accumulated difference between fair values of underlying shares on dates of exercise and exercise price on options which were exercised (or share units converted) into shares during the reporting period under the plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)(2)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph c(2)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false210false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse003 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false011false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriodOfDirectorAwardsmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse003 yearsfalsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaShare based compensation arrangement by share based payment award award vesting period of director awards.No definition available.false012false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardDescriptionofVestingPeriodofDirectorAwardsmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse003 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaShare based compensation arrangement by share based payment award award description of vesting period of director award.No definition available.false013false4mtrx_MinimumThresholdSharesScheduledToVestForPerformanceBasedSharesmtrx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse228000228000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesMinimum threshold shares scheduled to vest for performance based shares.No definition available.false114false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredGrantsInPeriodmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse364600364600falsefalsefalse3truefalsefalse405500405500falsefalsefalsexbrli:sharesItemTypesharesShare based compensation arrangement by share based payment award deferred grants in period.No definition available.false115false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredWeightedAverageGrantDateFairValuemtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse9.999.99USD$falsetruefalse3truefalsefalse10.5710.57USD$falsetruefalsenum:perShareItemTypedecimalShare based compensation arrangement by share based payment award deferred weighted average grant date fair value.No definition available.false316false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse367449367449falsefalsefalse2truefalsefalse184149184149falsefalsefalse3truefalsefalse126428126428falsefalsefalsexbrli:sharesItemTypesharesShare based compensation arrangement by share based payment award deferred shares vested and released.No definition available.false117false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardDeferredSharesVestedAndReleasedWeightedAverageGrantDateFairValuemtrx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse10.6910.69USD$falsetruefalse2truefalsefalse10.2310.23USD$falsetruefalse3truefalsefalse9.529.52USD$falsetruefalsenum:perShareItemTypedecimalShare based compensation arrangement by share based payment award deferred shares vested and released weighted average grant date fair value.No definition available.false318false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00Monte Carlo modelfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringFor each plan, identification of the award pricing model or other valuation method used in calculating the weighted average fair values disclosed. The model is also used to calculate the compensation expense that is shown within the balance sheet, income statement, and cash flow. Examples of valuation techniques are lattice models (binomial model), closed-form models (Black-Scholes-Merton formula), and a Monte Carlo simulation technique. Fair value is the amount at which an asset or liability could be bought or incurred or sold or settled in a current transaction between willing parties, that is, other than in a forced or liquidation sale. May include disclosures about the assumptions underlying application of the method selected.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (f)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph e(1)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false019false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueMethodNumberofSimulationsUsedmtrx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse100000100000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesShare Based Compensation Arrangement By Share Based Payment Award Fair Value Method Number of Simulations UsedNo definition available.false120false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsetruefalseD2013Q4YTD_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_mtrx_EmployeeAwardMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseEmployee Award [Member]us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_EmployeeAwardMemberus-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxisexplicitMembernanafalse021true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse022false4mtrx_ShareBasedCompensationArrangementByShareBasedPaymentAwardInstallmentPeriodForVestingmtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse001 yearfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaShare based compensation arrangement by share based payment award installment period for vesting.No definition available.false023false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse5falsetruefalseD2013Q4YTD_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_mtrx_EmployeeAwardMember_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseEmployee Award [Member]us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_EmployeeAwardMemberus-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxisexplicitMemberfalsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse024true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse025false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse004 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false026false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse6falsetruefalseD2013Q4YTD_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_mtrx_EmployeeAwardMember_us-gaap_RangeAxis_us-gaap_MaximumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseEmployee Award [Member]us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_EmployeeAwardMemberus-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxisexplicitMemberfalsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse027true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse028false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse005 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false029false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse7falsetruefalseD2013Q4YTD_us-gaap_AwardTypeAxis_mtrx_MarketBasedAwardsMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseMarket Based Awards [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_MarketBasedAwardsMemberus-gaap_AwardTypeAxisexplicitMembernumberStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse030true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse031false4mtrx_PayoutAsPercentageOfOriginalAwardMinimummtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepurePayout as percentage of original award minimum.No definition available.false032false4mtrx_PayoutAsPercentageOfOriginalAwardMaximummtrx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse2.02.0falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsenum:percentItemTypepurePayout as percentage of original award maximum.No definition available.false033false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse8falsetruefalseI2013Q4_us-gaap_PlanNameAxis_mtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMemberhttp://www.sec.gov/CIK0000866273instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseMatrix Service Company's 2004 Stock and Incentive Compensation Plan [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_MatrixServiceCompanys2004StockandIncentiveCompensationPlanMemberus-gaap_PlanNameAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse034true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse035false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse23000002300000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph a
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)(3)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false136false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse9falsetruefalseI2013Q4_us-gaap_PlanNameAxis_mtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMemberhttp://www.sec.gov/CIK0000866273instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseMatrix Service Company's 2012 Stock and Incentive Compensation Plan [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_MatrixServiceCompanys2012StockandIncentiveCompensationPlanMemberus-gaap_PlanNameAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse037true3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse038false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse13000001300000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 123R
-Paragraph A240
-Subparagraph a
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)(3)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false139false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse10780001078000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false1falseStock-Based Compensation (Details Textual) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.matrixservice.com/role/StockBasedCompensationDetailsTextual339