2.4.0.82404403 - Disclosure - Goodwill and Other Intangible Assets (Details 1)truefalsefalse1false falsefalseD2013Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_IntellectualPropertyMember_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2012-07-01T00:00:002013-06-30T00:00:002false falsefalseD2012Q4YTD_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_mtrx_IntellectualPropertyMember_us-gaap_RangeAxis_us-gaap_MinimumMemberhttp://www.sec.gov/CIK0000866273duration2011-07-01T00:00:002012-06-30T00:00:001true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 5us-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. false23false 5us-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. false24false 5us-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. true25false 5mtrx_IntangibleAssetsGrossExcludingGoodwillmtrx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse91330009133000USD$falsefalsefalse2truefalsefalse75340007534000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIntangible assets gross excluding goodwill.No definition available.false26false 5mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwillmtrx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1582000-1582000USD$falsefalsefalse2truefalsefalse-1030000-1030000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIntangible assets accumulated amortization excluding goodwill.No definition available.false27false 5us-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. false28false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false truefalseD2013Q4YTD_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_RangeAxisexplicitMembernanafalse09true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false 5us-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.false011false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4false truefalseD2013Q4YTD_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_RangeAxisexplicitMembernanafalse012true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false 5us-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.false014false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false USDtruefalse$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$nanafalse015true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false 5us-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 false217false 5mtrx_IntangibleAssetsAccumulatedAmortizationExcludingGoodwillmtrx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIntangible assets accumulated amortization excluding goodwill.No definition available.false218false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7false USDtruefalse$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$nanafalse019true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse020false 5us-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. false221false 5us-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. false222false 5us-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. true223false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse9false truefalseD2013Q4YTD_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_RangeAxisexplicitMembernanafalse024true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse025false 5us-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.false026false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse11false truefalseD2013Q4YTD_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_RangeAxisexplicitMembernanafalse027true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse028false 5us-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.false029false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse13false USDtruefalse$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$nanafalse030true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse031false 4us-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. false232false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse14false USDtruefalse$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$nanafalse033true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse034false 5us-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. false235false 5us-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. false236false 5us-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. true237false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse16false truefalseD2013Q4YTD_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_RangeAxisexplicitMembernanafalse038true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse039false 5us-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.false040false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse18false truefalseD2013Q4YTD_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_RangeAxisexplicitMembernanafalse041true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse042false 5us-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.false043false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse20false USDtruefalse$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$nanafalse044true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse045false 4us-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. false246true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse047false 5us-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. false248false 5us-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. false249false 5us-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. true250false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse22false truefalseD2013Q4YTD_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_RangeAxisexplicitMembernanafalse051true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse052false 5us-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.false053false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse24false truefalseD2013Q4YTD_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_RangeAxisexplicitMembernanafalse054true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse055false 5us-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.false056false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse26false USDtruefalseD2013Q4YTD_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$nanafalse057true 4us-gaap_IntangibleAssetsNetExcludingGoodwillAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse058false 5us-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.false059false 5us-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. false260false 5us-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. false261false 5us-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