XML 22 R50.htm IDEA: XBRL DOCUMENT v2.4.1.9
Long-Term Borrowings - Additional Information (Detail) (Senior notes [Member], USD $)
0 Months Ended 3 Months Ended 12 Months Ended
Jul. 18, 2013
Mar. 31, 2015
Dec. 31, 2014
Jul. 18, 2013
6.625% senior notes due 2021 [Member]        
Debt Instrument [Line Items]        
Aggregate principal amount $ 225,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
    $ 225,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
Interest rate 6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
6.625%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
Due date Jul. 15, 2021 Jul. 15, 2021 Jul. 15, 2021  
Aggregate principal amount of senior notes pricing 99.50%mx_DebtInstrumentPricing
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
     
Proceeds from issuance of senior notes 218,800,000us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
     
Original debt issue discount 1,100,000us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
935,000us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
965,000us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
1,100,000us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
Debt issuance costs paid 5,100,000us-gaap_PaymentsOfDebtIssuanceCosts
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
     
Loss on early extinguishment of senior notes   (32,800,000)us-gaap_GainsLossesOnExtinguishmentOfDebt
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Repurchase premium on senior notes   23,800,000mx_PreferredStockInducementRepurchaseAndRedemptionPremiums
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Write-off of discounts, senior notes   1,900,000mx_WriteOffOfDebtDiscount
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Write-off of debt issuance costs   5,300,000us-gaap_WriteOffOfDeferredDebtIssuanceCost
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Interest incurred during the period   1,800,000us-gaap_InterestCostsIncurred
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Percentage of redeem aggregate principal amount of Notes issued   35.00%mx_PrincipalAmountRedeemedPercentage
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Redemption price plus accrued, unpaid interest and special interest to the date of redemption   106.625%mx_PercentOfRedemptionPriceOfPrincipalAmountOfNotesRedeemedPlusAccruedAndUnpaidInterest
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Redemption price   100.00%mx_PercentageOnRedemptionPriceRedeemed
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Debt instrument, covenant terms   The Company did not cure the Initial Reporting Defaults within the applicable 60-day grace period and the Initial Reporting Defaults ripened into Events of Default.    
Interest rate additional to base rate   0.25%us-gaap_DebtInstrumentInterestRateIncreaseDecrease
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
6.625% senior notes due 2021 [Member] | Maximum [Member]        
Debt Instrument [Line Items]        
Debt acceleration period   180 days    
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
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
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
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
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
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
6.625% senior notes due 2021 [Member] | Interest Expense [Member]        
Debt Instrument [Line Items]        
Amortization costs   132,000us-gaap_AmortizationOfFinancingCosts
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
6.625% senior notes due 2021 [Member] | Other non-current assets [Member]        
Debt Instrument [Line Items]        
Remaining capitalized costs   $ 4,188,000us-gaap_AccumulatedCapitalizedInterestCosts
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherNoncurrentAssetsMember
/ us-gaap_DebtInstrumentAxis
= mx_SixPointSixTwoFiveZeroPercentageSeniorSecuredNotesDueTwoThousandTwentyOneMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
10.500% senior notes due 2018 [Member]        
Debt Instrument [Line Items]        
Interest rate   10.50%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_DebtInstrumentAxis
= mx_TenPointFiveZeroPercentageSeniorSecuredNotesDueTwoThousandEighteenMember
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Due date   Apr. 15, 2018