2.4.0.82404403 - Disclosure - Goodwill and Other Intangible Assets (Details 1)truefalsefalse1falsefalsefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_IntellectualPropertyMember_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:002falsefalsefalseD2012Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_IntellectualPropertyMember_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2011-07-01T00:00:002012-06-30T00:00:001true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false5us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse76830007683000USD$falsetruefalse2truefalsefalse56640005664000USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false23false5us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1582000-1582000USD$falsefalsefalse2truefalsefalse-1030000-1030000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false24false5us-gaap_FiniteLivedIntangibleAssetsNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse61010006101000USD$falsefalsefalse2truefalsefalse46340004634000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
true25false5mtrx_IntangibleAssetsGrossExcludingGoodwillmtrx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse91330009133000USD$falsefalsefalse2truefalsefalse75340007534000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIntangible assets gross excluding goodwill.No definition available.false26false5mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwillmtrx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1582000-1582000USD$falsefalsefalse2truefalsefalse-1030000-1030000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIntangible assets accumulated amortization excluding goodwill.No definition available.false27false5us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse75510007551000USD$falsefalsefalse2truefalsefalse65040006504000USD$falsefalsefalsexbrli:monetaryItemTypemonetarySum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph ((a)(1),(b))
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 42, 45
-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.
false28false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsetruefalseD2013Q4YTD_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse09true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse001 yearfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false011false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4falsetruefalseD2013Q4YTD_us-gaap_RangeAxis_us-gaap_MaximumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse012true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse0015 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false014false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5falseUSDtruefalse$I2013Q4_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_us-gaap_TradeNamesMemberhttp://www.sec.gov/CIK0000866273instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseTrade Names [Member]us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_TradeNamesMemberus-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse015true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false5us-gaap_IndefiniteLivedTradeNamesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse14500001450000USD$falsefalsefalse2truefalsefalse18700001870000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount (original costs adjusted for previously recognized amortization and impairment) as of the balance sheet date for the rights acquired through registration of a trade name to gain or protect exclusive use thereof for a projected indefinite period of benefit.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
false217false5mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwillmtrx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00 USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIntangible assets accumulated amortization excluding goodwill.No definition available.false218false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7falseUSDtruefalse$I2013Q4_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_IntellectualPropertyMemberhttp://www.sec.gov/CIK0000866273instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseIntellectual Property [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_IntellectualPropertyMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse019true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse020false5us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse24600002460000USD$falsefalsefalse2truefalsefalse24600002460000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false221false5us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-753000-753000USD$falsefalsefalse2truefalsefalse-586000-586000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false222false5us-gaap_FiniteLivedIntangibleAssetsNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse17070001707000USD$falsefalsefalse2truefalsefalse18740001874000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
true223false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse9falsetruefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_IntellectualPropertyMember_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseIntellectual Property [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_IntellectualPropertyMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse024true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse025false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse006 yearsfalsefalsefalse2falsefalsefalse006 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false026false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse11falsetruefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_IntellectualPropertyMember_us-gaap_RangeAxis_us-gaap_MaximumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseIntellectual Property [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_IntellectualPropertyMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse027true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse028false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse0015 yearsfalsefalsefalse2falsefalsefalse0015 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false029false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse13falseUSDtruefalse$I2013Q4_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_us-gaap_CustomerRelationshipsMemberhttp://www.sec.gov/CIK0000866273instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCustomer Relationships [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerRelationshipsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse030true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse031false4us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse16000001600000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the sum of all intangible assets having statutory or estimated useful lives.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 33
-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.
false232false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse14falseUSDtruefalse$I2013Q4_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_CustomerBasedMemberhttp://www.sec.gov/CIK0000866273instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCustomer based [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_CustomerBasedMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse033true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse034false5us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse42500004250000USD$falsefalsefalse2truefalsefalse26570002657000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false235false5us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-542000-542000USD$falsefalsefalse2truefalsefalse-285000-285000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false236false5us-gaap_FiniteLivedIntangibleAssetsNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse37080003708000USD$falsefalsefalse2truefalsefalse23720002372000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
true237false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse16falsetruefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_CustomerBasedMember_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseCustomer based [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_CustomerBasedMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse038true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse039false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse001 yearfalsefalsefalse2falsefalsefalse001 yearfalsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false040false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse18falsetruefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_CustomerBasedMember_us-gaap_RangeAxis_us-gaap_MaximumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseCustomer based [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldimtrx_CustomerBasedMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse041true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse042false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse0015 yearsfalsefalsefalse2falsefalsefalse0015 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false043false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse20falseUSDtruefalse$I2013Q4_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_us-gaap_NoncompeteAgreementsMemberhttp://www.sec.gov/CIK0000866273instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNoncompete Agreements [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NoncompeteAgreementsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse044true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse045false4us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse300000300000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the sum of all intangible assets having statutory or estimated useful lives.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 33
-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.
false246true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse047false5us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse808000808000USD$falsefalsefalse2truefalsefalse547000547000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false248false5us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-287000-287000USD$falsefalsefalse2truefalsefalse-159000-159000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false249false5us-gaap_FiniteLivedIntangibleAssetsNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse521000521000USD$falsefalsefalse2truefalsefalse388000388000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
true250false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse22falsetruefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_us-gaap_NoncompeteAgreementsMember_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseNoncompete Agreements [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NoncompeteAgreementsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMinimum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse051true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse052false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse003 yearsfalsefalsefalse2falsefalsefalse003 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false053false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse24falsetruefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_us-gaap_NoncompeteAgreementsMember_us-gaap_RangeAxis_us-gaap_MaximumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseNoncompete Agreements [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NoncompeteAgreementsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMaximum [Member]us-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse054true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse055false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse005 yearsfalsefalsefalse2falsefalsefalse005 yearsfalsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false056false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse26falseUSDtruefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_us-gaap_TradeNamesMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseTrade Names [Member]us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_TradeNamesMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$nanafalse057true4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse058false5us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse005 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaUseful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false059false5us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse165000165000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false260false5us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
false261false5us-gaap_FiniteLivedIntangibleAssetsNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse165000165000USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(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.
true2falseGoodwill and Other Intangible Assets (Details 1) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.matrixservice.com/role/GoodwillAndOtherIntangibleAssetsDetails1261