2.4.0.84090 - Disclosure - Intangible Assets (Details)truefalsefalse1false USDfalsefalse$D2013http://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$D2012http://www.sec.gov/CIK0001436126duration2011-06-01T00:00:002012-05-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$D2011http://www.sec.gov/CIK0001436126duration2010-06-01T00:00:002011-05-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-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 false23false 4us-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 false24false 4us-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 true25false 4us-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 false26true 2us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false 3us-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 false28false 3us-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 false29false 3us-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 false210false 3us-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 false211false 3us-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 false212false 3us-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.false213false 3mg_FiniteLivedIntangibleAssetsFutureAmortizationExpenseTotalmg_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse5242800052428000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRepresents the total future amortization expense related to the company's intangible assetsNo definition available.true214false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4false USDtruefalse$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$nanafalse015true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false 4us-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 false217false 4us-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 false218false 4us-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 true219false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse6false truefalseD2013_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_RangeAxisexplicitMembernanafalse020true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false 4us-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.false022false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse7false truefalseD2013_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_RangeAxisexplicitMembernanafalse023true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false 4us-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.false025false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse8false USDtruefalse$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$nanafalse026true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse027false 4us-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.false028false 4us-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 false229false 4us-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 false230false 4us-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 true231false 4us-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 false232false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse11false truefalseD2013_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_RangeAxisexplicitMembernanafalse033true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse034false 4us-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.false035false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse12false truefalseD2013_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_RangeAxisexplicitMembernanafalse036true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse037false 4us-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.false038false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse13false USDtruefalse$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$nanafalse039true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse040false 4us-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 false241false 4us-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 false242false 4us-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 true243false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse15false truefalseD2013_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_RangeAxisexplicitMembernanafalse044true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse045false 4us-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.false046false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse16false truefalseD2013_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_RangeAxisexplicitMembernanafalse047true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse048false 4us-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.false049false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse17false USDtruefalse$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$nanafalse050true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse051false 4us-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 false252false 4us-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 false253false 4us-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 true254false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse19false truefalseD2013_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_RangeAxisexplicitMembernanafalse055true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse056false 4us-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.false057false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse20false truefalseD2013_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_RangeAxisexplicitMembernanafalse058true 3us-gaap_FiniteLivedIntangibleAssetsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse059false 4us-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