XML 88 R73.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Share Capital (Earnings (loss) per share) (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016
Disclosure of share capital, reserves and other equity interest [Abstract] |  |
Net earnings (loss) | $ 26,600,000 | $ (17,900,000.0)
Weighted average number of common shares outstanding (in shares) | 305,521,000 | 265,234,000
Basic loss per share (usd per share) | $ 0.09 | $ (0.07)
Dilutive effect of potential common share equivalents (in shares) | 3,500,000 | 0
Diluted weighted average number of common shares outstanding (in shares) | 309,021,000 | 265,234,000
Diluted loss per share (usd per share) | $ 0.09 | $ (0.07)

X
- Definition Disclosure of share capital, reserves and other equity interest [Abstract] + References No definition available. + Details
Name: | agi_DisclosureofsharecapitalreservesandotherequityinterestAbstract
Namespace Prefix: | agi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average number of ordinary shares outstanding plus the weighted average number of ordinary shares that would be issued on the conversion of all the dilutive potential ordinary shares into ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2017-01-01 -Paragraph 70 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=33&date=2017-03-01&anchor=para_70_b&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_AdjustedWeightedAverageShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator) divided by the weighted average number of ordinary shares outstanding during the period (the denominator). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2017-01-01 -Paragraph 66 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=33&date=2017-03-01&anchor=para_66&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_BasicEarningsLossPerShare
Namespace Prefix: | ifrs-full_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator), divided by the weighted average number of ordinary shares outstanding during the period (the denominator), both adjusted for the effects of all dilutive potential ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2017-01-01 -Paragraph 66 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=33&date=2017-03-01&anchor=para_66&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_DilutedEarningsLossPerShare
Namespace Prefix: | ifrs-full_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of dilutive potential ordinary shares that relate to the assumed exercise of the entity's share options. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 33 -IssueDate 2017-01-01 -Paragraph 70 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=33&date=2017-03-01&anchor=para_70_b&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_DilutiveEffectOfShareOptionsOnNumberOfOrdinaryShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total of income less expenses, excluding the components of other comprehensive income. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2017-01-01 -Paragraph 18 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2017-03-01&anchor=para_18_b&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2017-01-01 -Paragraph 24 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=1&date=2017-03-01&anchor=para_24_b&doctype=Standard -URIDate 2017-03-09 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2017-01-01 -Paragraph 32 -Subparagraph a -Clause ii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=1&date=2017-03-01&anchor=para_32_a_ii&doctype=Standard -URIDate 2017-03-09 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2017-01-01 -Paragraph 28 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=8&date=2017-03-01&anchor=para_28_b&doctype=Standard -URIDate 2017-03-09 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2017-01-01 -Paragraph 23 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=8&date=2017-03-01&anchor=para_23&doctype=Standard -URIDate 2017-03-09 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2017-01-01 -Paragraph B10 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2017-03-01&anchor=para_B10_b&doctype=Appendix&seq=2 -URIDate 2017-03-09 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 106 -Subparagraph d -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_106_d_i&doctype=Standard -URIDate 2017-03-09 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Note Effective on first application of IFRS 9 -Name IFRS -Number 4 -IssueDate 2017-01-01 -Paragraph 39L -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=4&date=2017-03-01&anchor=para_39L_e&doctype=Standard -URIDate 2017-03-09 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 81A -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_81A_a&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_ProfitLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of ordinary shares outstanding at the beginning of the period, adjusted by the number of ordinary shares bought back or issued during the period multiplied by a time-weighting factor. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2017-01-01 -Paragraph 70 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=33&date=2017-03-01&anchor=para_70_b&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration