XML 60 R45.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Summary of Significant Accounting Policies (Assets) (Details) | 12 Months Ended
--- | ---
Dec. 31, 2017
Leasehold improvements [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 3 years
Mobile Equipment [Member] | Bottom of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 2 years
Mobile Equipment [Member] | Top of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 10 years
Other equipment [member] | Bottom of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 2 years
Other equipment [member] | Top of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 20 years
Processing Plant [Member] | Bottom of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 2 years
Processing Plant [Member] | Top of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 20 years
Vehicles [member] | Bottom of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 3 years
Vehicles [member] | Top of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 6 years
Buildings [member] | Bottom of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 7 years
Buildings [member] | Top of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 20 years
Office equipment [member] | Bottom of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 2 years
Office equipment [member] | Top of range [member] |
Disclosure of detailed information about property, plant and equipment [line items] |
Useful lives of property, plant and equipment | 8 years

X
- Definition Useful Lives Or Depreciation Rates, Property, Plant And Equipment, Period + References No definition available. + Details
Name: | agi_UsefulLivesOrDepreciationRatesPropertyPlantAndEquipmentPeriod
Namespace Prefix: | agi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_LeaseholdImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=agi_MobileEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_OtherPropertyPlantAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=agi_ProcessingPlantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_VehiclesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_BuildingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_OfficeEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |