<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:afiii="http://wealth.amg.com/20260921"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:fnd="http://xbrl.sec.gov/fnd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef xlink:href="cik0000720309-20260921.xsd" xlink:type="simple"/>
    <context id="D20170531_20251231_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170531_20251231_C000091187Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170531_20251231_C000091187Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170531_20251231_C000091188Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091188Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170531_20251231_C000188985Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000188985Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170531_20251231_MSCIWorldExUSAIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiii:MSCIWorldExUSAIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170531_20251231_MSCIWorldExUSASmallCapIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiii:MSCIWorldExUSASmallCapIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_CurrencyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_EmergingMarketsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:EmergingMarketsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_ForeignInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:ForeignInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_GeographicFocusRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:GeographicFocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_GrowthStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:GrowthStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_MarketRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:MarketRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_PoliticalRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:PoliticalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_RealEstateIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:RealEstateIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_SectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:SectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_SmallCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:SmallCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D20260531_20260531_S000029672Member_ValueStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiii:ValueStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000091187Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000091187Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000091188Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091188Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000188985Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000188985Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_MSCIWorldExUSAIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiii:MSCIWorldExUSAIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_MSCIWorldExUSASmallCapIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiii:MSCIWorldExUSASmallCapIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2016_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="FY2017_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="FY2018_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="FY2019_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="FY2020_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="FY2021_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="FY2022_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="FY2023_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="FY2024_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000091187Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000091187Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000091188Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091188Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000188985Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000188985Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_MSCIWorldExUSAIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiii:MSCIWorldExUSAIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_MSCIWorldExUSASmallCapIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiii:MSCIWorldExUSASmallCapIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000029672Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="S000029672Member_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="S000029672Member_C000091188Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091188Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="S000029672Member_C000188985Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000029672Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000188985Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000091187Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000091187Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000091187Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091187Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000091188Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000091188Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000188985Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiii:C000188985Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_MSCIWorldExUSAIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiii:MSCIWorldExUSAIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_MSCIWorldExUSASmallCapIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiii:MSCIWorldExUSASmallCapIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_d87c4315_fd70_4a68_86b3_db6c89f033f0">0000720309</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_249013d5_1523_4695_8d95_869631557ba6">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_0f227111_6a7f_44d5_9344_784a471c3c1b">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_861cd8f8_cc3b_40c1_9e56_ac60280abe66">2026-05-31</dei:DocumentPeriodEndDate>
    <oef:AnnlRtrPct
      contextRef="FY2016_S000029672Member_C000091187Member"
      decimals="4"
      id="h_61_ff39cb6e-0896-465b-8ac4-e84de31fe066"
      unitRef="pure">0.2468</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2017_S000029672Member_C000091187Member"
      decimals="4"
      id="h_62_3c8efbe5-ae28-2ea1-89b7-7ab4a7c78f5a"
      unitRef="pure">0.2222</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2018_S000029672Member_C000091187Member"
      decimals="4"
      id="h_63_3acb68f8-52a8-dfa5-0dd1-60f4d2310a81"
      unitRef="pure">-0.0612</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2019_S000029672Member_C000091187Member"
      decimals="4"
      id="h_64_e113a023-1fb0-4ca1-270f-b447009b0f02"
      unitRef="pure">0.0974</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2020_S000029672Member_C000091187Member"
      decimals="4"
      id="h_65_febccd93-ac42-11ec-bf25-e74893abb424"
      unitRef="pure">0.0156</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2021_S000029672Member_C000091187Member"
      decimals="4"
      id="h_66_0b14743f-8153-3920-4785-cfecabcec338"
      unitRef="pure">0.0216</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2022_S000029672Member_C000091187Member"
      decimals="4"
      id="h_67_4e89dc02-037d-aea1-dc8c-1f67c95dcf43"
      unitRef="pure">-0.2044</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2023_S000029672Member_C000091187Member"
      decimals="4"
      id="h_68_cef2d27e-403a-121d-f714-c1418c38e45b"
      unitRef="pure">0.0604</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2024_S000029672Member_C000091187Member"
      decimals="4"
      id="h_69_418c9610-8ff2-d763-6934-993eb674c1e4"
      unitRef="pure">0.0199</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2025_S000029672Member_C000091187Member"
      decimals="4"
      id="h_70_e57e8fc5-4b10-a7b8-d50b-03aecc10bc55"
      unitRef="pure">0.2064</oef:AnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170531_20251231_C000091187Member_AfterTaxesOnDistributionsMember"
      id="h_60_4cf3b2cd_70ce_f601_147b_0b9a845ea45e"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000188985Member"
      id="h_60_6c495127_3f12_3b86_d362_8076e08795a5"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170531_20251231_C000091187Member_AfterTaxesOnDistributionsAndSalesMember"
      id="h_60_99b8c028_f57c_1d80_504f_f3e72a4966f6"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170531_20251231_C000091188Member"
      id="h_60_bf9bf9b2_ae48_df30_ca29_4225f1cc77c7"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170531_20251231_C000091187Member"
      id="h_60_fd6f6194_3f9b_ae20_666e_5cb4551954f9"
      unitRef="pure"
      xsi:nil="true"/>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_01_2fb6c26c_decb_4867_a42a_3f197cb5e12a">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="h_02_b74bc97b_d04d_497a_83bf_77147d080fa8">AMG FUNDS III</dei:EntityRegistrantName>
    <oef:ProspectusDate
      contextRef="DefaultContext"
      id="t_3_6906d879_d91a_2ff2_0c48_14540c9154b8">2026-10-01</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="S000029672Member"
      id="t_17_dc7b7dcc_f9b4_dff5_2982_4cebf2ed5328"> AMG GW&amp;K International Small Cap Fund </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="S000029672Member"
      id="t_2_c13108ed_cd17_4e6f_aecd_a70c8e9d1517"> Investment Objective </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="S000029672Member"
      id="t_3_ec0b44ed_acc6_49a4_9255_5339f26acff6"> &lt;div style="line-height: 10.9pt; margin-top: 0.0pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The investment objective of AMG GW&amp;amp;K International Small &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Cap Fund (the &#x201c;Fund&#x201d;) is to seek long-term capital appreciation.&lt;/span&gt;&lt;/div&gt; </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="S000029672Member"
      id="t_4_37aa7a0b_1a49_4895_80e9_4f65d7f28e45">  Fees and Expenses of the Fund  </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="S000029672Member"
      id="t_5_2f4b7e22_db7b_4506_b709_7985c84c8241"> &lt;div style="line-height: 10.9pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The table below describes the fees and expenses that you may &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;You may pay &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;other fees, such as brokerage commissions and other &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;fees to financial intermediaries, which are not reflected &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;in the tables and examples below.&lt;/span&gt;&lt;/div&gt; </oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="S000029672Member"
      id="t_6_42fd7d39_4004_4eaf_b1c7_6c0a11ec795b">  Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)  </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_1_e5d3d512_c354_4151_bcea_1aec1e3263f7"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="S000029672Member_C000091188Member"
      decimals="4"
      id="h_2_80052cb0_d376_4c57_8b91_14bb6756195d"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="S000029672Member_C000188985Member"
      decimals="4"
      id="h_3_044cafe4_ba8c_42c2_a983_46e423ef0d0b"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_4_3ac83393_3763_4a37_acec_0b61edf9273a"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000029672Member_C000091188Member"
      decimals="4"
      id="h_5_2cdd014d_e59a_4904_9ed4_ff827f6d5f6b"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000029672Member_C000188985Member"
      decimals="4"
      id="h_6_c2003b0b_399d_48d9_ac7d_2bcc8a030af1"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_7_4ec192e4_681c_4948_b60b_ba193806e76b"
      unitRef="pure">0.0084</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000029672Member_C000091188Member"
      decimals="4"
      id="h_8_5db0905d_0430_4d26_b4ad_bc288770b325"
      unitRef="pure">0.0069</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000029672Member_C000188985Member"
      decimals="4"
      id="h_9_bdd05230_840a_40a4_9908_0cb8af87c755"
      unitRef="pure">0.0059</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_10_ab08edae_fbcb_495f_bee0_d86640bb66c4"
      unitRef="pure">0.0153</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000029672Member_C000091188Member"
      decimals="4"
      id="h_11_ca1854a5_a914_49b3_a053_6eb6fed4259e"
      unitRef="pure">0.0138</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000029672Member_C000188985Member"
      decimals="4"
      id="h_12_16eafda2_c83b_4f17_b558_e2133d4d33db"
      unitRef="pure">0.0128</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_13_7dfaaff9_e23c_4d8c_ad09_557b856d8cfd"
      unitRef="pure">-0.0039</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000029672Member_C000091188Member"
      decimals="4"
      id="h_14_95021160_9cf6_4274_b609_545d6fbdabcf"
      unitRef="pure">-0.0039</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000029672Member_C000188985Member"
      decimals="4"
      id="h_15_f89b347e_c94f_42fb_89b4_82c67d98c6c0"
      unitRef="pure">-0.0039</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_16_1f0e48e6_4432_4d02_8304_a95131aa1fb8"
      unitRef="pure">0.0114</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000029672Member_C000091188Member"
      decimals="4"
      id="h_17_a051f355_a80d_416d_9ce2_0e68d53cda36"
      unitRef="pure">0.0099</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000029672Member_C000188985Member"
      decimals="4"
      id="h_18_d1cfa308_348e_486b_9755_a75a8208212d"
      unitRef="pure">0.0089</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="S000029672Member"
      id="t_18_a69d558c_416a_93be_08a4_b02d2c3ea042">October 1, 2027</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="S000029672Member"
      id="t_7_18971ff2_a355_455e_9420_ae86b84b9a1b">  Expense Example  </oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="S000029672Member"
      id="t_8_53e59c00_34ba_467d_970d_ffc6e37af16a"> &lt;div style="line-height: 10.9pt; margin-top: -0.01pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;This Example will help you compare the cost of investing in the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund to the cost of investing in other mutual funds. The Example &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;makes certain assumptions. It assumes that you invest $10,000 &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;as an initial investment in the Fund for the time periods &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.9pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;indicated and then redeem all of your shares at the end of those &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;periods. It also assumes that your investment has a 5% total &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;return each year and the Fund&#x2019;s operating expenses remain the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;same. The first year of each amount shown in the Example &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;reflects the Fund&#x2019;s contractual expense limitation through &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;October 1, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2027&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;. Although your actual costs may be higher or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;lower, based on the above assumptions, your costs would be:&lt;/span&gt;&lt;/div&gt; </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="S000029672Member_C000091187Member"
      decimals="INF"
      id="h_19_da2d45ad_88d2_42b8_96e7_a75c2ce6f767"
      unitRef="USD">116</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000029672Member_C000091187Member"
      decimals="INF"
      id="h_20_d0d82f3f_c6a0_41f0_9867_bd8b9ee7a824"
      unitRef="USD">445</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000029672Member_C000091187Member"
      decimals="INF"
      id="h_21_fd5835fe_45ef_43b6_9cf3_c7611c63e94a"
      unitRef="USD">797</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000029672Member_C000091187Member"
      decimals="INF"
      id="h_22_0261fa09_50bd_40c2_a572_2b2a8ed8d47c"
      unitRef="USD">1790</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="S000029672Member_C000091188Member"
      decimals="INF"
      id="h_23_aad68ecc_b906_447d_ad06_c87c8c4c2fdd"
      unitRef="USD">101</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000029672Member_C000091188Member"
      decimals="INF"
      id="h_24_4143a211_d2ae_46e7_a556_0d63b0c862c4"
      unitRef="USD">399</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000029672Member_C000091188Member"
      decimals="INF"
      id="h_25_bdb8a944_a734_41ed_ad50_6be18980d01c"
      unitRef="USD">718</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000029672Member_C000091188Member"
      decimals="INF"
      id="h_26_d1a2296e_10b5_44ed_a4b0_a596d178e57d"
      unitRef="USD">1624</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="S000029672Member_C000188985Member"
      decimals="INF"
      id="h_27_871a27f2_dfe8_40a1_989f_5936e2a06029"
      unitRef="USD">91</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000029672Member_C000188985Member"
      decimals="INF"
      id="h_28_503de978_6ed3_4fce_a7b6_271ead4f16fe"
      unitRef="USD">367</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000029672Member_C000188985Member"
      decimals="INF"
      id="h_29_777eb2c4_9af7_4918_80e7_3d7ba7305ee8"
      unitRef="USD">665</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000029672Member_C000188985Member"
      decimals="INF"
      id="h_30_7bf97fa3_6faa_499d_a33a_9abad5e1abcf"
      unitRef="USD">1511</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="S000029672Member"
      id="t_9_71a7a788_62fe_402f_8e6b_64164ecc9a4b">  Portfolio Turnover  </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="S000029672Member"
      id="t_10_c8d6e7c9_ce5a_4f28_8e03_edf17a05fb45"> &lt;div style="line-height: 10.9pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund pays transaction costs, such as commissions, when it &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;portfolio turnover rate may indicate higher transaction costs and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;may result in higher taxes when Fund shares are held in a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;taxable account. These costs, which are not reflected in Annual &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund Operating Expenses or in the Example, affect the Fund&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;performance. During the most recent fiscal year, the Fund&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;portfolio turnover rate was &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;31&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;% of the average value of its &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;portfolio.&lt;/span&gt;&lt;/div&gt; </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="S000029672Member"
      decimals="4"
      id="h_31_45f894b1_5491_468d_9142_36e5bad4b1ac"
      unitRef="pure">0.31</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="S000029672Member"
      id="t_11_3ef7a953_c28d_49e9_8f2f_a5ac24f9c666"> Principal Investment Strategies </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="S000029672Member"
      id="t_19_4735d140_95b1_8735_e510_69c8b822431d"> &lt;div style="line-height: 10.9pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund seeks to achieve its investment objective by investing &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;primarily in a portfolio of equity securities issued by foreign, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small market capitalization companies. The Fund invests in &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies that GW&amp;amp;K Investment Management, LLC, the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;subadviser to the Fund (&#x201c;GW&amp;amp;K&#x201d; or the &#x201c;Subadviser&#x201d;), believes &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;have the ability to grow earnings or asset value over the long &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;term. Using its fundamental research process, GW&amp;amp;K seeks to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;identify quality companies trading at attractive prices, often &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;under-researched or under-owned by other institutional &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investors, and possessing one or more of the following characteristics:&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.0pt; margin-left: 26.89pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 7pt; margin-left: -12.89pt;"&gt;&#x25cb;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; margin-left: 9pt;"&gt;Stable and visible earnings or cash flow growth with a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;high-quality business franchise;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.0pt; margin-left: 26.89pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 7pt; margin-left: -12.89pt;"&gt;&#x25cb;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; margin-left: 9pt;"&gt;Under-appreciated growth potential trading at a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;discounted valuation;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.0pt; margin-left: 26.89pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 7pt; margin-left: -12.89pt;"&gt;&#x25cb;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; margin-left: 9pt;"&gt;Attractive assets with possible catalysts to unlock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;embedded value; or&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.0pt; margin-left: 26.89pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 7pt; margin-left: -12.89pt;"&gt;&#x25cb;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; margin-left: 9pt;"&gt;Potential for rapid growth requiring a longer-term &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investment horizon to recognize underlying value&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Under normal circumstances, the Fund invests at least 80% of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;its net assets, plus the amount of any borrowings for investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;purposes, in equity securities of small market capitalization &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund defines small&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; market capitalization &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;as&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; those with a market capitalization &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;of&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; less than $5 &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;billion or otherwise within the capitalization range of companies &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in the MSCI World ex USA Small Cap Index. As of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;September&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;1&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2026&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;, the date of the latest rebalance of the MSCI World ex USA &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.9pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Small Cap Index, the capitalization range was $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;200.11&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; million to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;$&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;12.074&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; billion. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Index capitalization ranges&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; will change over &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;time.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Additionally, under normal circumstances, the Fund invests at &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;least 40% (or, if market conditions are not favorable in the view &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;of GW&amp;amp;K, at least 30%) of its net assets in investments &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;economically tied to countries other than the U.S., and the Fund &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;will hold investments economically tied to a minimum of three &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;countries other than the U.S. The Fund considers an investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;to be economically tied to a country other than the U.S. if it &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;provides investment exposure to a non-U.S. issuer. The Fund &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;considers a company to be non-U.S. issuer if (i) it is organized &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;outside the U.S. or maintains a principal place of business &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;outside the U.S., (ii) its securities are traded principally outside &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the U.S., or (iii) during its most recent fiscal year, it derived at &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;least 50% of its revenues or profits from goods produced or sold, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investments made, or services performed outside the U.S. or it &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;has at least 50% of its assets outside the U.S. The Fund may &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;invest in securities of issuers located in any country outside the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;U.S., including developed and emerging market countries.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund&#x2019;s investments in equity securities may include &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;common shares and other equity securities, such as preferred &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;shares, depositary receipts and securities convertible into &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;common shares, preferred shares or depositary receipts, and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;pooled investment vehicles, including real estate investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;trusts (&#x201c;REITs&#x201d;).&lt;/span&gt;&lt;/div&gt; </oef:StrategyNarrativeTextBlock>
    <fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock
      contextRef="S000029672Member"
      id="t_54_87e732c4_47ef_f92b_74fa_e157ee78c777">Under normal circumstances, the Fund invests at least 80% of its net assets, plus the amount of any borrowings for investment purposes, in equity securities of small market capitalization companies. </fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock>
    <fnd:NmRule35d1TermDfnSmryTextBlock
      contextRef="S000029672Member"
      id="t_57_bed7d039_348d_2576_14f3_9de7bff6db6d">The Fund defines small market capitalization companies as those with a market capitalization of less than $5 billion or otherwise within the capitalization range of companies in the MSCI World ex USA Small Cap Index. As of September1, 2026, the date of the latest rebalance of the MSCI World ex USA &lt;div style="line-height: 10.9pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Small Cap Index, the capitalization range was $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;200.11&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; million to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;$&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;12.074&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; billion. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Index capitalization ranges&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; will change over &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;time.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;/div&gt;</fnd:NmRule35d1TermDfnSmryTextBlock>
    <fnd:NmRule35d1TermSlctnCritSmryTextBlock
      contextRef="S000029672Member"
      id="t_58_c0ef02d6_96c2_1695_6736_931a9fb494f3">The Fund considers an investment to be economically tied to a country other than the U.S. if it provides investment exposure to a non-U.S. issuer. The Fund considers a company to be non-U.S. issuer if (i) it is organized outside the U.S. or maintains a principal place of business outside the U.S., (ii) its securities are traded principally outside the U.S., or (iii) during its most recent fiscal year, it derived at least 50% of its revenues or profits from goods produced or sold, investments made, or services performed outside the U.S. or it has at least 50% of its assets outside the U.S.</fnd:NmRule35d1TermSlctnCritSmryTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_RiskLoseMoneyMember"
      id="t_20_5bdfe42a_0c31_430b_1686_184d8f2fb5c3">There is the risk that you may lose money on your investment.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_50_136283f3_bcff_0c6b_69ec_b429786fa021">An investment in the Fund is not a deposit or obligation of any bank, is not endorsed or guaranteed by any bank, and is not insured by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any other government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_MarketRisksMember"
      id="t_32_72acad08_fdce_eec5_5672_4168fd05764a"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Market Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;market prices of investments held by the Fund &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;may fall rapidly or unpredictably due to a variety of factors, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;including economic or market conditions, or other factors &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;including terrorism, war, natural disasters and the spread of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;infectious illness or other public health issues, including &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;epidemics or pandemics, or in response to events that affect &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;particular industries or companies. In addition, unexpected &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;political, regulatory, trade and diplomatic events within the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;United States and abroad may affect investor and consumer &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;confidence and may adversely impact financial markets and the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;broader economy, perhaps suddenly and to a significant degree.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_ForeignInvestmentRiskMember"
      id="t_33_33a426c0_cb8d_28f8_5fef_6a0c11202264"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Foreign Investment Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;investments in foreign issuers &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;involve additional risks (such as risks arising from less frequent &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;trading, changes in political or social conditions, and less &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.9pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;publicly available information about non-U.S. issuers) that differ &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;from those associated with investments in U.S. issuers and may &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;result in greater price volatility.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_SmallCapitalizationStockRiskMember"
      id="t_34_ef84a018_891e_0883_5d68_363ccd763c19"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Small-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of small-capitalization&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; companies often have greater price volatility, lower &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;trading volume, and less liquidity than the stocks of larger, more &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;established companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_GrowthStockRiskMember"
      id="t_35_bf2e05ef_f1fa_7c59_81b0_1db9d751e6ba"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Growth Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the prices of equity securities of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies that are expected to experience relatively rapid &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;earnings growth, or &#x201c;growth stocks,&#x201d; may be more sensitive to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;market movements because the prices tend to reflect future &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investor expectations rather than just current profits.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_EmergingMarketsRiskMember"
      id="t_36_e23f1948_666d_4d75_6d04_2fb025abf78f"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Emerging Markets Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;investments in emerging markets &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;are subject to the general risks of foreign investments, as well as &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;additional risks which can result in greater price volatility. Such &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;additional risks include the risk that markets in emerging market &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;countries are typically less developed and less liquid than &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;markets in developed countries and such markets are subjected &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;to increased economic, political, or regulatory uncertainties.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_CurrencyRiskMember"
      id="t_37_bc67aa71_7209_b818_928e_81e53d8ecab6"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Currency Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;fluctuations in exchange rates may affect the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;total loss or gain on a non-U.S. dollar investment when converted &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;back to U.S. dollars and exposure to non-U.S. currencies may &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;subject the Fund to the risk that those currencies will decline in &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;value relative to the U.S. dollar.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_GeographicFocusRiskMember"
      id="t_38_81793754_42b3_f35f_5a37_b1725d64a939"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Geographic Focus Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;to the extent the Fund focuses its &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investments in a particular country, group of countries or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;geographic region, the Fund is particularly susceptible to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;economic, political, regulatory or other events or conditions &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;affecting such countries or region, and the Fund&#x2019;s NAV may be &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;more volatile than the NAV of a more geographically diversified &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;fund and may result in losses.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-style: italic;"&gt;Japan.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; The Fund is highly susceptible to the social, political, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;economic, regulatory and other conditions or events that may &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;affect Japan&#x2019;s economy. The Japanese economy is heavily &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;dependent upon international trade, and, therefore, is particularly&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; exposed to the risks of currency fluctuation, foreign trade &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;policy and regional and global economic disruption, including &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the risk of increased tariffs, embargoes, and other trade limitations&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; or factors. The Japanese economy, at times, has been &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;impacted by government regulation, intervention, and protectionism;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; cross-ownership among major corporations; an aging &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;demographic; and a declining population. The potential for &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;natural disasters, such as earthquakes, volcanic eruptions, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;typhoons and tsunamis, could also have significant negative &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;effects on Japan&#x2019;s economy.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_LiquidityRiskMember"
      id="t_39_334dd6ab_09d0_db6f_0594_17d7e2bf3af6"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Liquidity Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the Fund may not be able to dispose of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;particular investments, such as illiquid securities, readily at &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;favorable times or prices or the Fund may have to sell them at a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;loss.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_ManagementRiskMember"
      id="t_40_9c3d492c_00d5_4086_69f0_147a35f32e04"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;because the Fund is an actively managed &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investment portfolio, security selection or focus on securities in a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;particular style, market sector or group of companies may cause &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the Fund to incur losses or underperform relative to its benchmarks&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; or other funds with a similar investment objective. There &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;can be no guarantee that the Subadviser&#x2019;s investment techniques &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and risk analysis will produce the desired result.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_PoliticalRiskMember"
      id="t_41_d95e908f_6766_af4f_ec2d_9cf3a97eda44"> &lt;div style="line-height: 10.9pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Political Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;changes in the general political and social &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;environment of a country can have substantial effects on the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;value of investments exposed to that country.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_RealEstateIndustryRiskMember"
      id="t_42_204cd625_7ecb_8393_fabe_54f8fe882598"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Real Estate Industry Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;investments in the Fund may be &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;subject to many of the same risks as a direct investment in real &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;estate. The stock prices of companies in the real estate industry, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;including REITs, are typically sensitive to changes in real estate &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;values, property taxes, interest rates, cash flow of underlying real &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;estate assets, occupancy rates, government regulations affecting &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;zoning, land use, and rents, as well as the management skill and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;creditworthiness of the issuer. Investments in the real estate &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;sector also may be adversely impacted by natural or environmental&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; disasters. REITs also depend generally on their ability to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;generate cash flow to make distributions to shareholders or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;unitholders and are subject to the risk of failing to qualify for &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;favorable tax treatment under the Internal Revenue Code of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;1986, as amended (the &#x201c;Internal Revenue Code&#x201d;).&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_SectorRiskMember"
      id="t_43_88903ad5_4cab_2390_2e23_cf3611e6efef"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Sector Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;issuers and companies that are in similar &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;industry sectors may be similarly affected by particular &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;economic or market events; to the extent the Fund has &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;substantial holdings within a particular sector, the risks &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;associated with that sector increase. Stocks in the industrials &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;sector may comprise a significant portion of the Fund&#x2019;s portfolio. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The industrials sector may be affected by general economic &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;trends, including employment, economic growth and interest &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;rates, changes in consumer confidence and spending, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;government regulation, commodity prices and competitive &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;pressures.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20260531_20260531_S000029672Member_ValueStockRiskMember"
      id="t_44_b35f0234_f992_d5b0_335f_7f0befb350fa"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Value Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;value stocks may perform differently from &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the market as a whole and may be undervalued by the market for &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;a long period of time.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="S000029672Member"
      id="t_14_59602164_1ffc_4e9c_a1e2_a432068ff411"> Performance </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="S000029672Member"
      id="t_24_00bcd2a7_44c9_3ac6_913c_c9d043e55513"> &lt;div style="line-height: 10.9pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The following performance information illustrates the risks of investing in the Fund by showing changes in the Fund&#x2019;s performance from year to year and by showing how the Fund&#x2019;s performance compares to that of (i) a broad based index and (ii) an additional index reflecting the market segment(s) in which the Fund invests.&#160;As always, past performance of the Fund (before and after taxes) is not an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;As of October 8, 2020, GW&amp;amp;K was appointed as subadviser to the Fund and the Fund changed its name to &#x201c;AMG GW&amp;amp;K International Small Cap Fund,&#x201d; adopted its current investment strategies and began comparing its performance to the MSCI World ex USA Small Cap Index. The Fund&#x2019;s performance information for periods prior to October 8, 2020 reflects the Fund&#x2019;s investment strategy that was in effect at that time and would have been different had the Fund&#x2019;s current investment strategy been in effect.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Effective February 27, 2017, outstanding Class S shares of the Fund (formerly Service Class shares, which were renamed Class S shares on October 1, 2016) were renamed Class N shares. Effective October 1, 2016, outstanding Institutional Class shares of the Fund were renamed Class I shares.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.9pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;To obtain updated performance information for the Fund please &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;visit wealth.amg.com or call 800.548.4539.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="S000029672Member"
      id="t_23_0e0ab099_6e49_9f9d_fcaa_2df7a25490ac">The following performance information illustrates the risks of investing in the Fund by showing changes in the Fund&#x2019;s performance from year to year and by showing how the Fund&#x2019;s performance compares to that of (i) a broad based index and (ii) an additional index reflecting the market segment(s) in which the Fund invests.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="S000029672Member"
      id="t_22_660024ff_55b0_f5f6_67a7_2c50e51218d9">&#160;As always, past performance of the Fund (before and after taxes) is not an indication of how the Fund will perform in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="S000029672Member"
      id="t_55_7487c0a6_fd0a_22b2_0e99_ece285aa78f6">wealth.amg.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="S000029672Member"
      id="t_56_5b6f371b_9461_18cd_fe38_30188593c637">800.548.4539</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="S000029672Member"
      id="t_25_00253a47_b240_1eee_ca29_402b9c3bcca8"> Calendar Year Total Returns as of 12/31/25 (Class N)  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="S000029672Member"
      id="t_26_15f8b302_3883_ef8e_77cc_3c04827901c0"> &lt;div style="margin-top: 9pt;"&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Best Quarter: 20.61% (2nd Quarter 2020)&lt;/span&gt; &lt;br/&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Worst Quarter: -30.82% (1st Quarter 2020)&lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 9pt;"&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Year-to-Date (as of 6/30/26&lt;/span&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;): &lt;/span&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;6.27&lt;/span&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;%&lt;/span&gt;&lt;/div&gt; </oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="S000029672Member_C000091187Member"
      id="t_45_76f84e74_11cc_c0c1_c562_b26f1ac6b913">Best Quarter:</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_60_f62d9cec_82ed_2cff_1c18_cb35465273bb"
      unitRef="pure">0.2061</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="S000029672Member_C000091187Member"
      id="t_46_da294f52_3925_a211_54d3_294f637a3c6c">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="S000029672Member_C000091187Member"
      id="t_47_7d213320_3c30_7a75_40a4_82452274967b">Worst Quarter:</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_61_2846f65a_b65e_da34_c523_68da1392c568"
      unitRef="pure">-0.3082</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="S000029672Member_C000091187Member"
      id="t_48_3e029d00_b635_964b_d0d2_b0818cafc890">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="S000029672Member_C000091187Member"
      id="t_49_e07299ff_b02d_fdfd_22cc_af9be4422f87">Year-to-Date</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="S000029672Member_C000091187Member"
      id="t_51_b979ca2f_39f9_6134_e9f5_7c44c6df6ed4">2026-06-30</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="S000029672Member_C000091187Member"
      decimals="4"
      id="h_62_d310c52f_3b67_fba0_a0f1_700c0856d69a"
      unitRef="pure">0.0627</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableHeading
      contextRef="S000029672Member"
      id="t_16_789d4b8d_bd57_4b20_85ba_0753f210c983">  Average Annual Total Returns as of 12/31/25  </oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000091187Member"
      decimals="4"
      id="h_32_2bcb56dd_7e11_47d5_91f6_daccba21db18"
      unitRef="pure">0.2064</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000091187Member"
      decimals="4"
      id="h_33_29de9ac5_a608_43b9_931e_6b51a494bad3"
      unitRef="pure">0.0118</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000091187Member"
      decimals="4"
      id="h_34_a61d0428_a662_4742_8ea0_96fbbfe513cd"
      unitRef="pure">0.0539</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000091187Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_36_169cc640_4525_45c7_bd19_5644d8a5a404"
      unitRef="pure">0.1947</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000091187Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_37_9563c477_8f24_4ad6_8c7f_366ea8e5744a"
      unitRef="pure">0.0090</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000091187Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_38_7ab4e2ba_83f7_47c6_ab6c_440bc9af3021"
      unitRef="pure">0.0500</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000091187Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_40_65e52da0_b43a_4e90_ab98_5c634292ccab"
      unitRef="pure">0.1284</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000091187Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_41_df161536_50d4_4f72_b144_9e9555a45afe"
      unitRef="pure">0.0100</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000091187Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_42_c21a221a_7549_4b63_801e_d44e741cb4ca"
      unitRef="pure">0.0433</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000091188Member"
      decimals="4"
      id="h_44_1f1b1bf4_384d_49bc_aa69_585fb2bfd9b0"
      unitRef="pure">0.2081</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000091188Member"
      decimals="4"
      id="h_45_b0efbf40_b811_49f1_8305_ed9aa8231b78"
      unitRef="pure">0.0134</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000091188Member"
      decimals="4"
      id="h_46_f253ab77_3e80_4ef7_abbb_89152149ab89"
      unitRef="pure">0.0555</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000188985Member"
      decimals="4"
      id="h_48_5e3cbdc6_375f_4241_a120_1110a5cc4772"
      unitRef="pure">0.2096</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000188985Member"
      decimals="4"
      id="h_49_627627ac_50ca_4935_a89e_bbd048e54a51"
      unitRef="pure">0.0144</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170531_20251231_C000188985Member"
      decimals="4"
      id="h_51_2c5de5f5_a600_48dc_9b49_844f91e058ac"
      unitRef="pure">0.0342</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_MSCIWorldExUSAIndexMember"
      decimals="4"
      id="h_52_5d3f8783_e40c_46f5_b606_ef90fdc0a5a7"
      unitRef="pure">0.3185</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_MSCIWorldExUSAIndexMember"
      decimals="4"
      id="h_53_5c771e2a_5147_41d9_b1ae_331aa274a823"
      unitRef="pure">0.0946</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_MSCIWorldExUSAIndexMember"
      decimals="4"
      id="h_54_7a7f6609_77b6_4898_8764_c1deabbb9ba1"
      unitRef="pure">0.0855</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170531_20251231_MSCIWorldExUSAIndexMember"
      decimals="4"
      id="h_55_8cf83407_3c06_4a23_b704_527a2eab56d0"
      unitRef="pure">0.0815</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_MSCIWorldExUSASmallCapIndexMember"
      decimals="4"
      id="h_56_b57d769c_247a_4b53_a13b_723617426c61"
      unitRef="pure">0.3407</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_MSCIWorldExUSASmallCapIndexMember"
      decimals="4"
      id="h_57_698dc111_cbbd_4b75_a75a_c67060539b3d"
      unitRef="pure">0.0649</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_MSCIWorldExUSASmallCapIndexMember"
      decimals="4"
      id="h_58_ce72e87e_c7e7_45b8_93e7_098252b06389"
      unitRef="pure">0.0805</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170531_20251231_MSCIWorldExUSASmallCapIndexMember"
      decimals="4"
      id="h_59_ca9d426d_4314_4c0c_9907_e07dad87beb0"
      unitRef="pure">0.0713</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="D20170531_20251231_C000188985Member"
      id="t_27_62ef3014_2879_46c0_6da3_4eae3172fc1e">2017-05-31</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170531_20251231_MSCIWorldExUSAIndexMember"
      id="t_52_42654ea2_6d51_5f8a_0e68_a03ffe89eadd">2017-05-31</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170531_20251231_MSCIWorldExUSASmallCapIndexMember"
      id="t_53_48003653_2ed6_b5cc_dbb4_5df58d79bd5a">2017-05-31</oef:PerfInceptionDate>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="S000029672Member"
      id="t_31_070ad324_e171_1b37_fe86_e24ff349ec7a"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;After-tax returns are calculated using the historical highest individual U.S. federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns are not relevant to investors who hold their Fund shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;). After-tax returns are shown for Class N shares only, and after-tax returns for Class I and Class Z shares will vary.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="S000029672Member"
      id="t_28_0473cfe0_1631_8f1f_cf1d_962f33f7b0ef">After-tax returns are calculated using the historical highest individual U.S. federal marginal income tax rates and do not reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="S000029672Member"
      id="t_29_7836c97c_9389_d2cd_6f57_dcb8935bf242">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns are not relevant to investors who hold their Fund shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="S000029672Member"
      id="t_30_583e93ce_a9fd_4b47_b69d_1f697f2075ed">After-tax returns are shown for Class N shares only, and after-tax returns for Class I and Class Z shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#h_13_7dfaaff9_e23c_4d8c_ad09_557b856d8cfd"
          xlink:label="h_13_7dfaaff9_e23c_4d8c_ad09_557b856d8cfd"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000001" xlink:label="f_0001_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">AMG Funds LLC (the &#x201c;Investment Manager&#x201d;) has contractually agreed, through at least October 1, 2027, to waive management fees and/or pay or reimburse the Fund&#x2019;s expenses in order to limit Total Annual Fund Operating Expenses After Fee Waiver and Expense Reimbursements (exclusive of taxes, interest (including interest incurred in connection with bank and custody overdrafts and in connection with securities sold short), shareholder servicing fees, distribution and service (12b-1) fees, brokerage commissions and other transaction costs, dividends payable with respect to securities sold short, acquired fund fees and expenses, and extraordinary expenses) of the Fund to the annual rate of 0.89% of the Fund&#x2019;s average daily net assets (this annual rate or such other annual rate that may be in effect from time to time, the &#x201c;Expense Cap&#x201d;), subject to later reimbursement by the Fund in certain circumstances. In general, for a period of up to 36 months after the date any amounts are paid, waived or reimbursed by the Investment Manager, the Investment Manager may recover such amounts from the Fund, provided that such repayment would not cause the Fund&#x2019;s Total Annual Fund Operating Expenses After Fee Waiver and Expense Reimbursements (exclusive of the items noted in the parenthetical above) to exceed either (i) the Expense Cap in effect at the time such amounts were paid, waived or reimbursed, or (ii) the Expense Cap in effect at the time of such repayment by the Fund. The contractual expense limitation may only be terminated in the event the Investment Manager or a successor ceases to be the investment manager of the Fund or a successor fund, by mutual agreement between the Investment Manager and the AMG Funds III Board of Trustees or in the event of the Fund&#x2019;s liquidation unless the Fund is reorganized or is a party to a merger in which the surviving entity is successor to the accounting and performance information of the Fund.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_13_7dfaaff9_e23c_4d8c_ad09_557b856d8cfd"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_14_95021160_9cf6_4274_b609_545d6fbdabcf"
          xlink:label="h_14_95021160_9cf6_4274_b609_545d6fbdabcf"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_14_95021160_9cf6_4274_b609_545d6fbdabcf"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_15_f89b347e_c94f_42fb_89b4_82c67d98c6c0"
          xlink:label="h_15_f89b347e_c94f_42fb_89b4_82c67d98c6c0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_15_f89b347e_c94f_42fb_89b4_82c67d98c6c0"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_16_1f0e48e6_4432_4d02_8304_a95131aa1fb8"
          xlink:label="h_16_1f0e48e6_4432_4d02_8304_a95131aa1fb8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_16_1f0e48e6_4432_4d02_8304_a95131aa1fb8"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_17_a051f355_a80d_416d_9ce2_0e68d53cda36"
          xlink:label="h_17_a051f355_a80d_416d_9ce2_0e68d53cda36"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_17_a051f355_a80d_416d_9ce2_0e68d53cda36"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_18_d1cfa308_348e_486b_9755_a75a8208212d"
          xlink:label="h_18_d1cfa308_348e_486b_9755_a75a8208212d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_18_d1cfa308_348e_486b_9755_a75a8208212d"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_51_2c5de5f5_a600_48dc_9b49_844f91e058ac"
          xlink:label="h_51_2c5de5f5_a600_48dc_9b49_844f91e058ac"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000002" xlink:label="f_0001_000002" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Class Z and Index performance shown reflects performance since the inception date of the Fund's Class Z shares on May 31, 2017.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_51_2c5de5f5_a600_48dc_9b49_844f91e058ac"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_55_8cf83407_3c06_4a23_b704_527a2eab56d0"
          xlink:label="h_55_8cf83407_3c06_4a23_b704_527a2eab56d0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_55_8cf83407_3c06_4a23_b704_527a2eab56d0"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_59_ca9d426d_4314_4c0c_9907_e07dad87beb0"
          xlink:label="h_59_ca9d426d_4314_4c0c_9907_e07dad87beb0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_59_ca9d426d_4314_4c0c_9907_e07dad87beb0"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_60_4cf3b2cd_70ce_f601_147b_0b9a845ea45e"
          xlink:label="h_60_4cf3b2cd_70ce_f601_147b_0b9a845ea45e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_60_4cf3b2cd_70ce_f601_147b_0b9a845ea45e"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_60_99b8c028_f57c_1d80_504f_f3e72a4966f6"
          xlink:label="h_60_99b8c028_f57c_1d80_504f_f3e72a4966f6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_60_99b8c028_f57c_1d80_504f_f3e72a4966f6"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_60_bf9bf9b2_ae48_df30_ca29_4225f1cc77c7"
          xlink:label="h_60_bf9bf9b2_ae48_df30_ca29_4225f1cc77c7"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_60_bf9bf9b2_ae48_df30_ca29_4225f1cc77c7"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_60_fd6f6194_3f9b_ae20_666e_5cb4551954f9"
          xlink:label="h_60_fd6f6194_3f9b_ae20_666e_5cb4551954f9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_60_fd6f6194_3f9b_ae20_666e_5cb4551954f9"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
