XML 104 R73.htm IDEA: XBRL DOCUMENT
v3.19.1

Segmented Information (Narrative) (Details) | Dec. 31, 2018 geographical_area
--- | ---
Disclosure of entity's operating segments [Abstract] |
Number of geographical areas | 2

X
- Definition Disclosure of entity's operating segments [Abstract] + References No definition available. + Details
Name: | agi_DisclosureofentitysoperatingsegmentsAbstract
Namespace Prefix: | agi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Geographical Areas + References No definition available. + Details
Name: | agi_NumberofGeographicalAreas
Namespace Prefix: | agi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant