2.4.0.84110 - Disclosure - Long-Term Debt (Details)truefalsefalse1false
USDfalsefalse$D2013_RevolvingCreditFacilityMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00ItemStandardhttp://www.mistrasgroup.com/20130531itemmg0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$D2012_RevolvingCreditFacilityMemberhttp://www.sec.gov/CIK0001436126duration2011-06-01T00:00:002012-05-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse6026700060267000USD$falsetruefalse | 2truefalsefalse4022900040229000USD$falsetruefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
false2
3false
4us-gaap_LongTermDebtCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-7418000-7418000USD$falsefalsefalse | 2truefalsefalse-5971000-5971000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt, after unamortized discount or premium, scheduled to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.19,20)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19
-Article 5
false2
4false
4us-gaap_LongTermDebtNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse5284900052849000USD$falsefalsefalse | 2truefalsefalse3425800034258000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, excluding amounts to be repaid within one year or the normal operating cycle, if longer (current maturities). Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
true2
5false
4us-gaap_WriteOffOfDeferredDebtIssuanceCostus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse-671000-671000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryWrite-off of amounts previously capitalized as debt issuance cost in an extinguishment of debt.Reference 1: 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.8)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
false2
6true
2us-gaap_LongTermDebtByMaturityAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
7false
3us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonthsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse74180007418000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing in the next fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
false2
8false
3us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwous-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse79860007986000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing in the second fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
false2
9false
3us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThreeus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse40120004012000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing in the third fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
false2
10false
3us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFourus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse4039900040399000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing in the fourth fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
false2
11false
3us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFiveus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse130000130000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing in the fifth fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
false2
12false
3us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFiveus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse322000322000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt, sinking fund requirements, and other securities redeemable at fixed or determinable prices and dates maturing after the fifth fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
false2
13false
3us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse6026700060267000USD$falsefalsefalse | 2truefalsefalse4022900040229000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
true2
14false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$D2013_RevolvingCreditFacilityMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberItemStandardhttp://www.mistrasgroup.com/20130531itemmg0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
15true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
16false
4us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3956700039567000USD$falsefalsefalse | 2truefalsefalse2500000025000000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
false2
17false
4us-gaap_LineOfCreditFacilityCurrentBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse125000000125000000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.19(b),22(b))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false2
18false
4us-gaap_LineOfCreditFacilityMaximumBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse150000000150000000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryMaximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.19(b),22(b))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false2
19false
4mg_LineOfCreditFacilityMaximumBorrowingCapacityInNonUSCurrenciesmg_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3000000030000000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryRepresents the maximum borrowing capacity in non-U.S. dollar currencies under the revolving credit facility.No definition available.false2
20false
4mg_LineOfCreditFacilityMaximumBorrowingCapacityAvailableForIssuanceOfLettersOfCreditmg_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1000000010000000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryRepresents the maximum amount of borrowing capacity under the revolving credit facility that is available for the issuance of letters of credit.No definition available.false2
21false
4us-gaap_LineOfCreditFacilityAmountOutstandingus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3960000039600000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount borrowed under the credit facility as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false2
22false
4us-gaap_LettersOfCreditOutstandingAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse33000003300000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe total amount of the contingent obligation under letters of credit outstanding as of the reporting date.No definition available.false2
23false
4mg_DebtInstrumentNumberOfFiscalQuartersUsedForCalculationOfFundedDebtLeverageRatiomg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse44falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:integerItemTypeintegerRepresents the number of consecutive fiscal quarters immediately preceding the date of determination of the Funded Debt Leverage Ratio.No definition available.false256
24false
4mg_DebtInstrumentAdditionalInterestRateDueToFundedDebtLeverageRatioExceedingSpecifiedThresholdmg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse0.020.02falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepureThe percentage points added to the reference rate due to the Funded Debt Leverage Ratio, which is used to compute the variable rate on the debt instrument, exceeding a specified threshold.No definition available.false0
25false
4mg_DebtInstrumentPrecedingPeriodUsedForCalculationOfInterestCoverageRatiomg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse0012 monthsfalsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:durationItemTypenaRepresents the preceding period used for determination of the Interest Coverage Ratio.No definition available.false0
26false
4us-gaap_UnamortizedDebtIssuanceExpenseus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse600000600000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2
27false
4us-gaap_WriteOffOfDeferredDebtIssuanceCostus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse100000100000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryWrite-off of amounts previously capitalized as debt issuance cost in an extinguishment of debt.Reference 1: 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.8)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
false2
28false
4us-gaap_GainsLossesOnExtinguishmentOfDebtus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse800000800000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryDifference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity.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 470
-SubTopic 50
-Section 40
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6850294&loc=d3e12317-112629
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 50
-Section 40
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=6850294&loc=d3e12355-112629
false2
29true
2us-gaap_LongTermDebtByMaturityAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
30false
3us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse3956700039567000USD$falsefalsefalse | 2truefalsefalse2500000025000000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
true2
31false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 5false
truefalseD2013_RevolvingCreditFacilityMember_MinimumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse0
32true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
33false
4mg_DebtInstrumentCovenantFundedLeverageRatioConsideredForMaximumInterestRateMarginmg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2.52.5falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:pureItemTypepureRepresents the Funded Debt Leverage Ratio at which the entity will have the maximum interest rate margin.No definition available.false0
34false
4mg_DebtInstrumentCovenantFundedDebtLeverageRatioForAdditionalInterestPaymentmg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3.03.0falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:pureItemTypepureRepresents the Funded Debt Leverage Ratio on which the entity will bear an additional interest on debt.No definition available.false0
35false
4mg_DebtInstrumentCovenantInterestCoverageRatiomg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3.03.0falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:pureItemTypepureRepresents the Interest Coverage Ratio required under the terms of the covenants.No definition available.false0
36false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 6false
truefalseD2013_RevolvingCreditFacilityMember_MaximumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse0
37true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
38false
4mg_DebtInstrumentCovenantFundedLeverageRatioConsideredForLowerInterestRateMarginmg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse0.50.5falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:pureItemTypepureRepresents the Funded Debt Leverage Ratio at which the entity will have the benefit of lower interest rate margin.No definition available.false0
39false
4mg_DebtInstrumentCovenantFundedDebtLeverageRatiomg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3.03.0falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:pureItemTypepureRepresents the Funded Debt Leverage Ratio required under the terms of the covenants.No definition available.false0
40false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 7false
truefalseD2013_RevolvingCreditFacilityMember_LondonInterbankOfferedRateLIBORMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseLIBORus-gaap_VariableRateAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_LondonInterbankOfferedRateLIBORMemberus-gaap_VariableRateAxisexplicitMembernanafalse0
41true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
42false
4us-gaap_DebtInstrumentDescriptionOfVariableRateBasisus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00LIBORfalsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringThe reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR.No definition available.false0
43false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 8false
truefalseD2013_RevolvingCreditFacilityMember_LondonInterbankOfferedRateLIBORMember_MinimumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseLIBORus-gaap_VariableRateAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_LondonInterbankOfferedRateLIBORMemberus-gaap_VariableRateAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse0
44true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
45false
4us-gaap_DebtInstrumentBasisSpreadOnVariableRate1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse0.010.01falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepurePercentage points added to the reference rate to compute the variable rate on the debt instrument.No definition available.false0
46false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 9false
truefalseD2013_RevolvingCreditFacilityMember_LondonInterbankOfferedRateLIBORMember_MaximumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseLIBORus-gaap_VariableRateAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_LondonInterbankOfferedRateLIBORMemberus-gaap_VariableRateAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse0
47true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
48false
4us-gaap_DebtInstrumentBasisSpreadOnVariableRate1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse0.020.02falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepurePercentage points added to the reference rate to compute the variable rate on the debt instrument.No definition available.false0
49false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 10false
truefalseD2013_RevolvingCreditFacilityMember_BaseRateMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseBase rateus-gaap_VariableRateAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_BaseRateMemberus-gaap_VariableRateAxisexplicitMembernanafalse0
50true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
51false
4us-gaap_DebtInstrumentDescriptionOfVariableRateBasisus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00base ratefalsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringThe reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR.No definition available.false0
52false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 11false
truefalseD2013_RevolvingCreditFacilityMember_BaseRateMember_MinimumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseBase rateus-gaap_VariableRateAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_BaseRateMemberus-gaap_VariableRateAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse0
53true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
54false
4us-gaap_DebtInstrumentBasisSpreadOnVariableRate1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse-0.0025-0.0025falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepurePercentage points added to the reference rate to compute the variable rate on the debt instrument.No definition available.false0
55false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 12false
truefalseD2013_RevolvingCreditFacilityMember_BaseRateMember_MaximumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseSenior credit facilityus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseBase rateus-gaap_VariableRateAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_BaseRateMemberus-gaap_VariableRateAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse0
56true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
57false
4us-gaap_DebtInstrumentBasisSpreadOnVariableRate1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse-0.0125-0.0125falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepurePercentage points added to the reference rate to compute the variable rate on the debt instrument.No definition available.false0
58false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 13false
USDtruefalseD2013_NotesPayableOtherPayablesMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseNotes payableus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NotesPayableOtherPayablesMemberus-gaap_LongtermDebtTypeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$nanafalse0
59true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
60false
4us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1574000015740000USD$falsefalsefalse | 2truefalsefalse1253200012532000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
false2
61false
4us-gaap_DebtInstrumentInterestRateStatedPercentageRateRangeMinimumus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse0.000.00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepureMinimum contractual interest rate for funds borrowed, under the debt agreement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22(a)(2))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false0
62false
4us-gaap_DebtInstrumentInterestRateStatedPercentageRateRangeMaximumus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse0.040.04falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepureMaximum contractual interest rate for funds borrowed, under the debt agreement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false0
63false
4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse100000100000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
false2
64true
2us-gaap_LongTermDebtByMaturityAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
65false
3us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse1574000015740000USD$falsefalsefalse | 2truefalsefalse1253200012532000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
true2
66false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 15false
truefalseD2013_NotesPayableOtherPayablesMember_MinimumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseNotes payableus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NotesPayableOtherPayablesMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse0
67true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
68false
4us-gaap_DebtInstrumentTermus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse003 yearsfalsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:durationItemTypenaPeriod of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false0
69false
4mg_DebtInstrumentMarketInterestRatemg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse0.020.02falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepureRepresents the market interest rate pertaining to a debt instrument.No definition available.false0
70false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 16false
truefalseD2013_NotesPayableOtherPayablesMember_MaximumMemberhttp://www.sec.gov/CIK0001436126duration2012-06-01T00:00:002013-05-31T00:00:00falsefalseNotes payableus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_NotesPayableOtherPayablesMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse0
71true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
72false
4us-gaap_DebtInstrumentTermus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse005 yearsfalsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:durationItemTypenaPeriod of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.No definition available.false0
73false
4mg_DebtInstrumentMarketInterestRatemg_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse0.040.04falsefalsefalse | 2falsefalsefalse00falsefalsefalse | num:percentItemTypepureRepresents the market interest rate pertaining to a debt instrument.No definition available.false0
74false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 17false
USDtruefalse$I2013_OtherLongTermDebtMemberhttp://www.sec.gov/CIK0001436126instant2013-05-31T00:00:000001-01-01T00:00:00falsefalseOtherus-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldimg_OtherLongTermDebtMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
75true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
76false
4us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse49600004960000USD$falsefalsefalse | 2truefalsefalse26970002697000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
false2
77true
2us-gaap_LongTermDebtByMaturityAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
78false
3us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse49600004960000USD$falsetruefalse | 2truefalsefalse26970002697000USD$falsetruefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
true2
falseLong-Term Debt (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mistrasgroup.com/role/DisclosureLongTermDebtDetails278