XML 140 R103.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Retirement plans - Expense recognized in other comprehensive income (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016
Employee Benefits [Abstract] |  |
Actuarial gain (loss) | $ 564 | $ (77)
Minimum funding requirement | 0 | 0
Actuarial gain (loss), net | $ 564 | $ (77)

X
- Definition The amount of other comprehensive income, before tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). [Refer: Other comprehensive income, before tax; Defined benefit plans [member]; Plan assets [member]; Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 91 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_91_b&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 7 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_7&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Employee Benefits [Abstract] + References No definition available. + Details
Name: | mx_EmployeeBenefitsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other Comprehensive Income, Before Tax, Gains (Losses) On Remeasurements Of Defined Benefit Plans, Minimum Funding Requirement + References No definition available. + Details
Name: | mx_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlansMinimumFundingRequirement
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Other Comprehensive Income, Before Tax, Gains (Losses) On Remeasurements Of Defined Benefit Plans, Net of Minimum Funding Requirement + References No definition available. + Details
Name: | mx_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlansNetofMinimumFundingRequirement
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration