2.4.0.84030 - Disclosure - Earnings per Share (Details)truefalseIn Thousands, except Per Share data, unless otherwise specifiedfalse1false
USDfalsefalse$D2013Q4http://www.sec.gov/CIK0001436126duration2013-03-01T00:00:002013-05-31T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$D2013Q3http://www.sec.gov/CIK0001436126duration2012-12-01T00:00:002013-02-28T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
USDfalsefalse$D2013Q2http://www.sec.gov/CIK0001436126duration2012-09-01T00:00:002012-11-30T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false
USDfalsefalse$D2013Q1http://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002012-08-31T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5false
USDfalsefalse$D2012Q4http://www.sec.gov/CIK0001436126duration2012-03-01T00:00:002012-05-31T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6false
USDfalsefalse$D2012Q3http://www.sec.gov/CIK0001436126duration2011-12-01T00:00:002012-02-29T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$7false
USDfalsefalse$D2012Q2http://www.sec.gov/CIK0001436126duration2011-09-01T00:00:002011-11-30T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$8false
USDfalsefalse$D2012Q1http://www.sec.gov/CIK0001436126duration2011-06-01T00:00:002011-08-31T00:00:00USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$9false
USDfalsefalse$D2013http://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$10false
USDfalsefalse$D2012http://www.sec.gov/CIK0001436126duration2011-06-01T00:00:002012-05-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$11false
USDfalsefalse$D2011http://www.sec.gov/CIK0001436126duration2010-06-01T00:00:002011-05-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_NetIncomeLossAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-4549000-4549USD$falsetruefalse | 2truefalsefalse27510002751USD$falsetruefalse | 3truefalsefalse91630009163USD$falsetruefalse | 4truefalsefalse42810004281USD$falsetruefalse | 5truefalsefalse71320007132USD$falsetruefalse | 6truefalsefalse30370003037USD$falsetruefalse | 7truefalsefalse79560007956USD$falsetruefalse | 8truefalsefalse32280003228USD$falsetruefalse | 9truefalsefalse1164600011646USD$falsetruefalse | 10truefalsefalse2135300021353USD$falsetruefalse | 11truefalsefalse1643100016431USD$falsetruefalse | xbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2
3true
3us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
4false
4us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse2814100028141falsefalsefalse | 10truefalsefalse2783900027839falsefalsefalse | 11truefalsefalse2672400026724falsefalsefalse | xbrli:sharesItemTypesharesNumber of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 10
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1448-109256
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Weighted-Average Number of Common Shares Outstanding
-URI http://asc.fasb.org/extlink&oid=6528421
false1
5false
3us-gaap_IncomeLossFromContinuingOperationsPerBasicShareus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse-0.16-0.16USD$falsetruefalse | 2truefalsefalse0.100.10USD$falsetruefalse | 3truefalsefalse0.330.33USD$falsetruefalse | 4truefalsefalse0.150.15USD$falsetruefalse | 5truefalsefalse0.250.25USD$falsetruefalse | 6truefalsefalse0.110.11USD$falsetruefalse | 7truefalsefalse0.290.29USD$falsetruefalse | 8truefalsefalse0.120.12USD$falsetruefalse | 9truefalsefalse0.410.41USD$falsetruefalse | 10truefalsefalse0.770.77USD$falsetruefalse | 11truefalsefalse0.610.61USD$falsetruefalse | num:perShareItemTypedecimalThe amount of net income (loss) from continuing operations per each share of common stock or unit outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1252-109256
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.21)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-04.23)
-URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 18
-Article 7
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 20
-Article 5
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 21
-Article 9
false3
6true
3us-gaap_NetIncomeLossAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
7false
4us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-4549000-4549USD$falsetruefalse | 2truefalsefalse27510002751USD$falsetruefalse | 3truefalsefalse91630009163USD$falsetruefalse | 4truefalsefalse42810004281USD$falsetruefalse | 5truefalsefalse71320007132USD$falsetruefalse | 6truefalsefalse30370003037USD$falsetruefalse | 7truefalsefalse79560007956USD$falsetruefalse | 8truefalsefalse32280003228USD$falsetruefalse | 9truefalsefalse1164600011646USD$falsetruefalse | 10truefalsefalse2135300021353USD$falsetruefalse | 11truefalsefalse1643100016431USD$falsetruefalse | xbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2
8true
3us-gaap_WeightedAverageNumberOfSharesOutstandingAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
9false
4us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse2814100028141falsefalsefalse | 10truefalsefalse2783900027839falsefalsefalse | 11truefalsefalse2672400026724falsefalsefalse | xbrli:sharesItemTypesharesNumber of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 10
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1448-109256
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Weighted-Average Number of Common Shares Outstanding
-URI http://asc.fasb.org/extlink&oid=6528421
false1
10false
4mg_IncrementalCommonSharesAttributableToStockOptionsOutstandingmg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse804000804falsefalsefalse | 10truefalsefalse737000737falsefalsefalse | 11truefalsefalse173000173falsefalsefalse | xbrli:sharesItemTypesharesAdditional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of stock options outstanding.No definition available.false1
11false
4mg_IncrementalCommonSharesAttributableToRestrictedStockUnitsOutstandingmg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse161000161falsefalsefalse | 10truefalsefalse109000109falsefalsefalse | 11truefalsefalse3600036falsefalsefalse | xbrli:sharesItemTypesharesAdditional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of restricted stock units outstanding.No definition available.false1
12false
4us-gaap_WeightedAverageNumberOfDilutedSharesOutstandingus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse2910600029106falsefalsefalse | 10truefalsefalse2868500028685falsefalsefalse | 11truefalsefalse2693300026933falsefalsefalse | xbrli:sharesItemTypesharesThe average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 16
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1505-109256
true1
13false
3us-gaap_IncomeLossFromContinuingOperationsPerDilutedShareus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse-0.16-0.16USD$falsetruefalse | 2truefalsefalse0.110.11USD$falsetruefalse | 3truefalsefalse0.320.32USD$falsetruefalse | 4truefalsefalse0.150.15USD$falsetruefalse | 5truefalsefalse0.250.25USD$falsetruefalse | 6truefalsefalse0.110.11USD$falsetruefalse | 7truefalsefalse0.280.28USD$falsetruefalse | 8truefalsefalse0.110.11USD$falsetruefalse | 9truefalsefalse0.400.40USD$falsetruefalse | 10truefalsefalse0.740.74USD$falsetruefalse | 11truefalsefalse0.610.61USD$falsetruefalse | num:perShareItemTypedecimalThe amount of net income (loss) derived from continuing operations during the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1252-109256
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.21)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 18
-Article 7
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 20
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 21
-Article 9
false3
14false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | 12false
truefalseD2013_EmployeeStockOptionMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalsePotential common stock attributable to stock options outstandingus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockOptionMemberus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse0
15true
3us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
16false
4us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse50005falsefalsefalse | 10truefalsefalse50005falsefalsefalse | 11truefalsefalse21540002154falsefalsefalse | xbrli:sharesItemTypesharesSecurities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Antidilution
-URI http://asc.fasb.org/extlink&oid=6505113
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Diluted Earnings Per Share
-URI http://asc.fasb.org/extlink&oid=6510752
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Contingent Stock Agreement
-URI http://asc.fasb.org/extlink&oid=6508534
false1
falseEarnings per Share (Details) (USD $)ThousandsThousandsNoRoundingUnKnowntruefalsefalseSheethttp://www.mistrasgroup.com/role/DisclosureEarningsPerShareDetails1116