2.4.0.84161 - Disclosure - Income Taxes (Details 2)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_DeferredTaxAssetsNetOfValuationAllowanceAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccountsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse745000745000USD$falsetruefalse2truefalsefalse941000941000USD$falsetruefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from the allowance for doubtful accounts.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 false23false 4us-gaap_DeferredTaxAssetsInventoryus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse637000637000USD$falsefalsefalse2truefalsefalse490000490000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from inventory.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 false24false 4us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse52200005220000USD$falsefalsefalse2truefalsefalse51440005144000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill.No definition available.false25false 4us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilitiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse25050002505000USD$falsefalsefalse2truefalsefalse26700002670000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from accrued liabilities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 false26false 4us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse33140003314000USD$falsefalsefalse2truefalsefalse37570003757000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 false27false 4mg_DeferredTaxAssetsCapitalLeaseObligationmg_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse452000452000USD$falsefalsefalse2truefalsefalse587000587000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from capital lease obligation.No definition available.false28false 4us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCostus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse46900004690000USD$falsefalsefalse2truefalsefalse33140003314000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 false29false 4us-gaap_DeferredTaxAssetsOtherus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3700037000USD$falsefalsefalse2truefalsefalse6500065000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences not separately disclosed.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 false210false 4us-gaap_DeferredTaxAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1760000017600000USD$falsefalsefalse2truefalsefalse1696800016968000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32537-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Deferred Tax Asset -URI http://asc.fasb.org/extlink&oid=6510090 true211false 4us-gaap_DeferredTaxAssetsValuationAllowanceus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-2701000-2701000USD$falsefalsefalse2truefalsefalse-4491000-4491000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32537-109319 false212false 4us-gaap_DeferredTaxAssetsNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1489900014899000USD$falsefalsefalse2truefalsefalse1247700012477000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b),(c) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32537-109319 true213true 3us-gaap_DeferredTaxLiabilitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse014false 4us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipmentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-7142000-7142000USD$falsefalsefalse2truefalsefalse-7675000-7675000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 false215false 4us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwillus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-7390000-7390000USD$falsefalsefalse2truefalsefalse-4907000-4907000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred tax liability attributable to taxable temporary differences from goodwill.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 740 -Section 25 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=6912350&loc=d3e9979-128506 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 740 -Section 25 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6912350&loc=d3e9972-128506 false216false 4us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssetsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-9277000-9277000USD$falsefalsefalse2truefalsefalse-2607000-2607000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred tax liability attributable to taxable temporary differences from intangible assets other than goodwill.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 false217false 4us-gaap_DeferredTaxLiabilitiesOtherus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-83000-83000USD$falsefalsefalse2truefalsefalse-304000-304000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred tax liability attributable to taxable temporary differences not separately disclosed.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319 false218false 4us-gaap_DeferredIncomeTaxLiabilitiesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedTotalLabel1truefalsefalse-23892000-23892000USD$falsefalsefalse2truefalsefalse-15493000-15493000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred tax liability attributable to taxable temporary differences.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Deferred Tax Liability -URI http://asc.fasb.org/extlink&oid=6510232 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32537-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 15 -Subparagraph b(2) -Article 7 true219false 4us-gaap_DeferredTaxAssetsLiabilitiesNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-8993000-8993000USD$falsefalsefalse2truefalsefalse-3016000-3016000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards, net of deferred tax liability attributable to taxable temporary differences.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32537-109319 true220true 2us-gaap_ReconciliationOfUnrecognizedTaxBenefitsExcludingAmountsPertainingToExaminedTaxReturnsRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false 3us-gaap_UnrecognizedTaxBenefitsus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse971000971000USD$falsefalsefalse2truefalsefalse375000375000USD$falsefalsefalse3truefalsefalse502000502000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of unrecognized tax benefits pertaining to uncertain tax positions taken in tax returns.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Unrecognized Tax Benefit -URI http://asc.fasb.org/extlink&oid=6527854 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 false222false 3us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositionsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3100031000USD$falsefalsefalse2truefalsefalse2400024000USD$falsefalsefalse3truefalsefalse3100031000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 false223false 3us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositionsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse9300093000USD$falsefalsefalse2truefalsefalse4400044000USD$falsefalsefalse3truefalsefalse5400054000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 false224false 3us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositionsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2truefalsefalse-22000-22000USD$falsefalsefalse3truefalsefalse-119000-119000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 false225false 3us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromAcquisitionus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse561000561000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase in unrecognized tax benefits resulting from acquisitions.No definition available.false226false 3us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromForeignCurrencyTranslationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-24000-24000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of decrease in unrecognized tax benefits resulting from foreign currency translation.No definition available.false227false 3us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthoritiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-4000-4000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of decrease in unrecognized tax benefits resulting from settlements with taxing authorities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 false228false 3us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitationsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-6000-6000USD$falsefalsefalse2truefalsefalse-11000-11000USD$falsefalsefalse3truefalsefalse-93000-93000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a)(4) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 false229false 3us-gaap_UnrecognizedTaxBenefitsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse10610001061000USD$falsefalsefalse2truefalsefalse971000971000USD$falsefalsefalse3truefalsefalse375000375000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of unrecognized tax benefits pertaining to uncertain tax positions taken in tax returns.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Unrecognized Tax Benefit -URI http://asc.fasb.org/extlink&oid=6527854 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 false230false 2us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRateus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse14000001400000USD$falsefalsefalse2truefalsefalse12000001200000USD$falsefalsefalse3truefalsefalse400000400000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 false231false 2us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefitus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse600000600000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the unrecognized tax benefit of a position taken for which it is reasonably possible that the total amount thereof will significantly increase or decrease within twelve months of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32718-109319 false232false 2us-gaap_UndistributedEarningsOfForeignSubsidiariesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-6900000-6900000USD$falsefalsefalse2truefalsefalse43000004300000USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of undistributed earnings of foreign subsidiaries intended to be permanently reinvested outside the country of domicile.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (b)(c) -URI http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 740 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6479915&loc=d3e66715-112838 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 740 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6487024&loc=d3e29054-158556 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 995 -SubTopic 740 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6503627&loc=d3e59836-110443 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28200-109314 false233false 2us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiariesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred tax liability not recognized because of the exceptions to comprehensive recognition of deferred taxes related to undistributed earnings of foreign subsidiaries.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331 false234false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4false USDtruefalse$I2013_StateAndLocalJurisdictionMemberhttp://www.sec.gov/CIK0001436126instant2013-05-31T00:00:000001-01-01T00:00:00falsefalseStateus-gaap_IncomeTaxAuthorityAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StateAndLocalJurisdictionMemberus-gaap_IncomeTaxAuthorityAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse035true 3us-gaap_OperatingLossCarryforwardsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse036false 4us-gaap_OperatingLossCarryforwardsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse15000001500000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32559-109319 false237false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse5false USDtruefalse$I2013_ForeignCountryMemberhttp://www.sec.gov/CIK0001436126instant2013-05-31T00:00:000001-01-01T00:00:00falsefalseForeign Countryus-gaap_IncomeTaxAuthorityAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignCountryMemberus-gaap_IncomeTaxAuthorityAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse038true 3us-gaap_OperatingLossCarryforwardsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse039false 4us-gaap_OperatingLossCarryforwardsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1000000010000000USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32559-109319 false2falseIncome Taxes (Details 2) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mistrasgroup.com/role/DisclosureIncomeTaxesDetails2339