2.4.0.84090 - Disclosure - Intangible Assets (Details)truefalsefalse1falseUSDfalsefalse$D2013http://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$D2012http://www.sec.gov/CIK0001436126duration2011-06-01T00:00:002012-05-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$D2011http://www.sec.gov/CIK0001436126duration2010-06-01T00:00:002011-05-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse9823800098238000USD$falsetruefalse2truefalsefalse7237300072373000USD$falsetruefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false23false4us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-45810000-45810000USD$falsefalsefalse2truefalsefalse-37904000-37904000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false24false4us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse5242800052428000USD$falsefalsefalse2truefalsefalse3446900034469000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
true25false4us-gaap_AmortizationOfIntangibleAssetsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse77000007700000USD$falsefalsefalse2truefalsefalse56000005600000USD$falsefalsefalse3truefalsefalse50000005000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(2)
-URI http://asc.fasb.org/extlink&oid=26713463&loc=d3e16323-109275
false26true2us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false3us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonthsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse86600008660000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of amortization expense expected to be recognized during the next fiscal year following the latest fiscal year for 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)(3)
-URI http://asc.fasb.org/extlink&oid=26713463&loc=d3e16323-109275
false28false3us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwous-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse83750008375000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of amortization expense expected to be recognized during the second fiscal year following the latest fiscal year for 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)(3)
-URI http://asc.fasb.org/extlink&oid=26713463&loc=d3e16323-109275
false29false3us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThreeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse70370007037000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of amortization expense expected to be recognized during the third fiscal year following the latest fiscal year for 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)(3)
-URI http://asc.fasb.org/extlink&oid=26713463&loc=d3e16323-109275
false210false3us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFourus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse53350005335000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of amortization expense expected to be recognized during the fourth fiscal year following the latest fiscal year for 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)(3)
-URI http://asc.fasb.org/extlink&oid=26713463&loc=d3e16323-109275
false211false3us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFiveus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse42070004207000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of amortization expense expected to be recognized during the fifth fiscal year following the latest fiscal year for 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)(3)
-URI http://asc.fasb.org/extlink&oid=26713463&loc=d3e16323-109275
false212false3us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFiveus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1881400018814000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of amortization expense expected to be recognized after the fifth fiscal year following the latest fiscal year for assets, excluding financial assets and goodwill, lacking physical substance with a finite life.No definition available.false213false3mg_FiniteLivedIntangibleAssetsFutureAmortizationExpenseTotalmg_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse5242800052428000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRepresents the total future amortization expense related to the company's intangible assetsNo definition available.true214false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falseUSDtruefalse$I2013_CustomerRelationshipsMemberhttp://www.sec.gov/CIK0001436126instant2013-05-31T00:00:000001-01-01T00:00:00falsefalseCustomer relationshipsus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerRelationshipsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse015true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false4us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6990100069901000USD$falsefalsefalse2truefalsefalse4505000045050000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false217false4us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-27422000-27422000USD$falsefalsefalse2truefalsefalse-21642000-21642000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false218false4us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse4247900042479000USD$falsefalsefalse2truefalsefalse2340800023408000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
true219false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse6falsetruefalseD2013_CustomerRelationshipsMember_MinimumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseCustomer relationshipsus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerRelationshipsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse020true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse005 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false022false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse7falsetruefalseD2013_CustomerRelationshipsMember_MaximumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseCustomer relationshipsus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerRelationshipsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse023true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse007 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false025false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse8falseUSDtruefalse$D2013_ComputerSoftwareIntangibleAssetMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSoftware/Technologyus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ComputerSoftwareIntangibleAssetMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse026true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse027false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse003 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false028false4us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1433600014336000USD$falsefalsefalse2truefalsefalse1317700013177000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false229false4us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-7629000-7629000USD$falsefalsefalse2truefalsefalse-6691000-6691000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false230false4us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse67070006707000USD$falsefalsefalse2truefalsefalse64860006486000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
true231false4us-gaap_AmortizationOfIntangibleAssetsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse600000600000USD$falsefalsefalse2truefalsefalse300000300000USD$falsefalsefalse3truefalsefalse400000400000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 2
-Subparagraph (a)(2)
-URI http://asc.fasb.org/extlink&oid=26713463&loc=d3e16323-109275
false232false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse11falsetruefalseD2013_ComputerSoftwareIntangibleAssetMember_MinimumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSoftware/Technologyus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ComputerSoftwareIntangibleAssetMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse033true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse034false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse003 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false035false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse12falsetruefalseD2013_ComputerSoftwareIntangibleAssetMember_MaximumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSoftware/Technologyus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ComputerSoftwareIntangibleAssetMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse036true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse037false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse0015 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false038false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse13falseUSDtruefalse$I2013_NoncompeteAgreementsMemberhttp://www.sec.gov/CIK0001436126instant2013-05-31T00:00:000001-01-01T00:00:00falsefalseCovenants not to competeus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NoncompeteAgreementsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse039true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse040false4us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse80690008069000USD$falsefalsefalse2truefalsefalse79690007969000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false241false4us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-7523000-7523000USD$falsefalsefalse2truefalsefalse-7167000-7167000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false242false4us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse546000546000USD$falsefalsefalse2truefalsefalse802000802000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
true243false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse15falsetruefalseD2013_NoncompeteAgreementsMember_MinimumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseCovenants not to competeus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NoncompeteAgreementsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse044true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse045false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false046false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse16falsetruefalseD2013_NoncompeteAgreementsMember_MaximumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseCovenants not to competeus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NoncompeteAgreementsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse047true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse048false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse005 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false049false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse17falseUSDtruefalse$I2013_OtherIntangibleAssetsMemberhttp://www.sec.gov/CIK0001436126instant2013-05-31T00:00:000001-01-01T00:00:00falsefalseOtherus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherIntangibleAssetsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse050true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse051false4us-gaap_FiniteLivedIntangibleAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse59320005932000USD$falsefalsefalse2truefalsefalse61770006177000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false252false4us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-3236000-3236000USD$falsefalsefalse2truefalsefalse-2404000-2404000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
false253false4us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse26960002696000USD$falsetruefalse2truefalsefalse37730003773000USD$falsetruefalse3falsefalsefalse00falsefalsefalsexbrli: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=26713463&loc=d3e16323-109275
true254false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse19falsetruefalseD2013_OtherIntangibleAssetsMember_MinimumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseOtherus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherIntangibleAssetsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse055true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse056false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false057false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse20falsetruefalseD2013_OtherIntangibleAssetsMember_MaximumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseOtherus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherIntangibleAssetsMemberus-gaap_FiniteLivedIntangibleAssetsByMajorClassAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse058true3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse059false4us-gaap_FiniteLivedIntangibleAssetUsefulLifeus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse005 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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.false0falseIntangible Assets (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mistrasgroup.com/role/DisclosureIntangibleAssetsDetails359