XML 116 R79.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Share-based compensation - Changes in stock options (Details) | 12 Months Ended
--- | ---
Dec. 31, 2017 USD ($) shares | Dec. 31, 2016 USD ($) shares
Share-Based Payment Arrangements [Abstract] |  |
Number of stock options outstanding, beginning of period | shares | 344,767 | 448,507
Number of stock options granted | shares | 31,400 | 75,500
Number of stock options exercised | shares | (98,274) | (153,140)
Number of stock options cancelled | shares | (15,358) | (14,100)
Number of stock options expired | shares |  | (12,000)
Number of stock options outstanding, end of period | shares | 262,535 | 344,767
Weighted average exercise price of stock options outstanding, beginning of period (in usd per option) | $ | $ 40.91 | $ 30.52
Weighted average exercise price of stock options granted (in usd per option) | $ | 50.17 | 34.59
Weighted average exercise price of stock options exercised (in usd per option) | $ | 30.90 | 9.80
Weighted average exercise price of stock options cancelled (in usd per option) | $ | 52.43 | 44.04
Weighted average exercise price of stock options expired (in usd per option) | $ |  | 6.33
Weighted average exercise price of stock options outstanding, end of period (in usd per option) | $ | $ 45.09 | $ 40.91

X
- Definition The number of share options outstanding in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_d&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_i&doctype=Standard -URIDate 2017-03-09 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_vi&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfOutstandingShareOptions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of share options exercised in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iv&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options expired in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause v -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_v&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsExpiredInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options forfeited in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsForfeitedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options granted in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_ii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options exercised in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iv&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExercisedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options expired in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause v -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_v&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExpiredInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options forfeited in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsForfeitedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options granted in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_ii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options outstanding in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_i&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_vi&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsOutstandingInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-Based Payment Arrangements [Abstract] + References No definition available. + Details
Name: | mx_ShareBasedPaymentArrangementsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration