XML 45 R87.htm IDEA: XBRL DOCUMENT v2.4.1.9
Long-term Borrowings - Additional Information (Detail) (USD $)
12 Months Ended 0 Months Ended 12 Months Ended 0 Months Ended
Dec. 31, 2013
Dec. 31, 2011
Dec. 31, 2013
Jul. 18, 2013
Dec. 31, 2012
May 16, 2011
Apr. 09, 2010
Debt Instrument [Line Items]              
Net proceeds from senior notes $ 218,836,000us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt            
Original debt issue discount 1,077,000us-gaap_DebtInstrumentUnamortizedDiscount 2,302,000us-gaap_DebtInstrumentUnamortizedDiscount 1,077,000us-gaap_DebtInstrumentUnamortizedDiscount   2,038,000us-gaap_DebtInstrumentUnamortizedDiscount    
Loss on early extinguishment of senior notes (32,812,000)us-gaap_GainsLossesOnExtinguishmentOfDebt (5,459,000)us-gaap_GainsLossesOnExtinguishmentOfDebt          
6.625% senior notes due 2021 [Member]              
Debt Instrument [Line Items]              
Aggregate principal amount 225,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
  225,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
225,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
     
Interest rate 6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
   
Due date Jul. 15, 2021 Jul. 15, 2021   Jul. 15, 2021 Jul. 15, 2021    
Aggregate principal amount of senior notes pricing       99.50%mx_SeniorNotesPricing
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
     
Net proceeds from senior notes     218,800,000us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
218,800,000us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
     
Original debt issue discount 1,100,000us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
  1,100,000us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
1,100,000us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
     
Debt issuance costs paid     5,100,000us-gaap_PaymentsOfDebtIssuanceCosts
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
5,100,000us-gaap_PaymentsOfDebtIssuanceCosts
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
     
Loss on early extinguishment of senior notes 32,800,000us-gaap_GainsLossesOnExtinguishmentOfDebt
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
           
Repurchase premium on senior notes 23,800,000mx_PreferredStockInducementRepurchaseAndRedemptionPremiums
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
           
Write-off of discounts, senior notes 1,900,000mx_WriteOffOfDebtDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
           
Write-off of debt issuance costs 5,300,000us-gaap_WriteOffOfDeferredDebtIssuanceCost
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
           
Interest incurred during the period 1,800,000us-gaap_InterestCostsIncurred
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
           
Percentage of redeem aggregate principal amount of Notes issued 35.00%mx_PrincipalAmountRedeemedPercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
  35.00%mx_PrincipalAmountRedeemedPercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
       
Redemption price plus accrued, unpaid interest and special interest to the date of redemption 106.625%mx_PercentOfRedemptionPriceOfPrincipalAmountOfNotesRedeemedPlusAccruedAndUnpaidInterest
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
           
Redemption price 100.00%mx_PercentageOnRedemptionPriceRedeemed
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
           
6.625% senior notes due 2021 [Member] | Other non-current assets [Member]              
Debt Instrument [Line Items]              
Remaining capitalized costs 4,822,000us-gaap_AccumulatedCapitalizedInterestCosts
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherNoncurrentAssetsMember
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
  4,822,000us-gaap_AccumulatedCapitalizedInterestCosts
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherNoncurrentAssetsMember
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
       
6.625% senior notes due 2021 [Member] | Amortization costs [Member]              
Debt Instrument [Line Items]              
Interest expense, net 217,000us-gaap_InterestExpense
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_FinancialInstrumentAxis
= mx_AmortizedCostMember
           
6.625% senior notes due 2021 [Member] | 2017 [Member]              
Debt Instrument [Line Items]              
Redemption price plus accrued, unpaid interest and special interest to the date of redemption 103.313%mx_PercentOfRedemptionPriceOfPrincipalAmountOfNotesRedeemedPlusAccruedAndUnpaidInterest
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_DebtInstrumentRedemptionPeriodAxis
= us-gaap_DebtInstrumentRedemptionPeriodOneMember
           
6.625% senior notes due 2021 [Member] | 2018 [Member]              
Debt Instrument [Line Items]              
Redemption price plus accrued, unpaid interest and special interest to the date of redemption 101.656%mx_PercentOfRedemptionPriceOfPrincipalAmountOfNotesRedeemedPlusAccruedAndUnpaidInterest
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_DebtInstrumentRedemptionPeriodAxis
= us-gaap_DebtInstrumentRedemptionPeriodTwoMember
           
6.625% senior notes due 2021 [Member] | 2019 [Member]              
Debt Instrument [Line Items]              
Redemption price plus accrued, unpaid interest and special interest to the date of redemption 100.00%mx_PercentOfRedemptionPriceOfPrincipalAmountOfNotesRedeemedPlusAccruedAndUnpaidInterest
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_DebtInstrumentRedemptionPeriodAxis
= us-gaap_DebtInstrumentRedemptionPeriodThreeMember
           
10.5% senior notes due 2018 [Member]              
Debt Instrument [Line Items]              
Aggregate principal amount           250,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
250,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
Interest rate 10.50%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
10.50%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
10.50%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
  10.50%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
  10.50%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
Due date Apr. 15, 2018 Apr. 15, 2018     Apr. 15, 2018 Apr. 15, 2018 Apr. 15, 2018
Aggregate principal amount of senior notes pricing             98.674%mx_SeniorNotesPricing
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
Loss on early extinguishment of senior notes   5,460,000us-gaap_GainsLossesOnExtinguishmentOfDebt
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
         
Repurchase premium on senior notes   3,998,000mx_PreferredStockInducementRepurchaseAndRedemptionPremiums
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
         
Write-off of discounts, senior notes   554,000mx_WriteOffOfDebtDiscount
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
         
Write-off of debt issuance costs   609,000us-gaap_WriteOffOfDeferredDebtIssuanceCost
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
         
Additionally repurchased senior notes   46,300,000mx_AdditionalStockRepurchasedDuringPeriodValue
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
         
Direct legal and advisory service fees   $ 299,000mx_LegalFeesIncurred
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember