<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:afiv1="http://www.amgfunds.com/20260227"
  xmlns:dei="http://xbrl.sec.gov/dei/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="cik0000912036-20260227.xsd" xlink:type="simple"/>
    <context id="D20170927_20251231_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170927_20251231_C000003029Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170927_20251231_C000003029Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170927_20251231_C000003030Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003030Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170927_20251231_C000194566Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170927_20251231_S000001125RussellMidcapValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001125RussellMidcapValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170927_20251231_S000001125SAndP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001125SAndP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000003037Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000003037Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000003038Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000003038Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000040086Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000040086Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000046749Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000046749Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000050291Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000050292Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000161967Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161967Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000161968Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000161968Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000194567Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194567Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000194568Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000194569Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194569Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_C000194575Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194575Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000001129Russell3000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001129Russell3000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000001129SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001129SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000001130Russell2000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001130Russell2000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000001130SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001130SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000016733Russell2000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733Russell2000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000016733Russell2500ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733Russell2500ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000016733SAndP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733SAndP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000051381Russell3000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000051381Russell3000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20170929_20251231_S000051381SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000051381SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-09-29</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20210831_20251231_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20210831_20251231_C000092914Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20210831_20251231_C000092914Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20210831_20251231_C000101741Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000101741Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20210831_20251231_C000230346Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000230346Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20210831_20251231_S000030192Russell2500TMGrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000030192Russell2500TMGrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20210831_20251231_S000030192SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000030192SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001114Member_GrowthStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:GrowthStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001114Member_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001114Member_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001114Member_MarketRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MarketRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001114Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001114Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001114Member_SectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001114Member_SmallCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SmallCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_C000003030Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003030Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_C000194566Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_ConvertibleSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ConvertibleSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_CurrencyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_ForeignInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ForeignInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_MarketRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MarketRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_RealEstateIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:RealEstateIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_SectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_SmallAndMidCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SmallAndMidCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001125Member_ValueStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ValueStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_C000050291Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_C000194567Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194567Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_ConvertibleSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ConvertibleSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_CurrencyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_ForeignInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ForeignInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_LargeCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LargeCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_MarketRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MarketRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_MasterLimitedPartnershipRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MasterLimitedPartnershipRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_PTPRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:PTPRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_RealEstateIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:RealEstateIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_RoyaltyIncomeTrustRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:RoyaltyIncomeTrustRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_SectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_SmallAndMidCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SmallAndMidCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001129Member_ValueStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ValueStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_C000040086Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000040086Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_C000194568Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_ConvertibleSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ConvertibleSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_CurrencyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_ForeignInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ForeignInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_MarketRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MarketRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_RealEstateIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:RealEstateIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_SectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_SmallAndMidCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SmallAndMidCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000001130Member_ValueStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ValueStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_C000050292Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_C000194569Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194569Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_ConvertibleSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ConvertibleSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_CurrencyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_ForeignInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ForeignInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_MarketRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MarketRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_RealEstateIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:RealEstateIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_SectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_SmallAndMidCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SmallAndMidCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000016733Member_ValueStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ValueStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000030192Member_GrowthStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:GrowthStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000030192Member_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000030192Member_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000030192Member_MarketRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MarketRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000030192Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000030192Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000030192Member_SectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000030192Member_SmallAndMidCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SmallAndMidCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_C000161967Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161967Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_C000194575Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194575Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_CurrencyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_FocusedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:FocusedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_ForeignInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ForeignInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_HighPortfolioTurnoverRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:HighPortfolioTurnoverRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_LargeCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LargeCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_MarketRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MarketRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_MasterLimitedPartnershipRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:MasterLimitedPartnershipRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_PTPRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:PTPRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_RealEstateIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:RealEstateIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_SectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_SmallAndMidCapitalizationStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:SmallAndMidCapitalizationStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="D20251031_20251031_S000051381Member_ValueStockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">afiv1:ValueStockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000003009Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</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_C000003009Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</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_C000003010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000003029Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</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_C000003029Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</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_C000003030Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003030Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000003037Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</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_C000003037Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</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_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000003038Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</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_C000003038Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</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_C000040086Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000040086Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000046749Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</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_C000046749Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</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_C000050291Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000050292Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000092914Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</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_C000092914Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</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_C000101741Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000101741Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000161967Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161967Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000161968Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</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_C000161968Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</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_C000194566Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000194567Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194567Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000194568Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000194569Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194569Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000194575Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194575Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_C000230346Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000230346Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001114Russell2000GrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114Russell2000GrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001114SP500GrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114SP500GrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001114SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001125RussellMidcapValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001125RussellMidcapValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001125SAndP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001125SAndP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001129Russell3000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001129Russell3000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001129SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001129SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001130Russell2000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001130Russell2000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000001130SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001130SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000016733Russell2000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733Russell2000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000016733Russell2500ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733Russell2500ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000016733SAndP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733SAndP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000030192Russell2500TMGrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000030192Russell2500TMGrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000030192SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000030192SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000051381Russell3000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000051381Russell3000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FiveY2025_S000051381SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000051381SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2016_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="FY2016_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="FY2016_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="FY2016_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="FY2016_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="FY2016_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="FY2016_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="FY2017_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="FY2017_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="FY2017_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="FY2017_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="FY2017_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="FY2017_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="FY2017_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="FY2018_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="FY2018_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="FY2018_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="FY2018_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="FY2018_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="FY2018_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="FY2018_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="FY2019_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="FY2019_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="FY2019_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="FY2019_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="FY2019_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="FY2019_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="FY2019_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="FY2020_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="FY2020_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="FY2020_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="FY2020_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="FY2020_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="FY2020_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="FY2020_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="FY2021_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="FY2021_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="FY2021_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="FY2021_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="FY2021_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="FY2021_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="FY2021_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="FY2022_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="FY2022_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="FY2022_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="FY2022_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="FY2022_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="FY2022_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="FY2022_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="FY2023_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="FY2023_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="FY2023_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="FY2023_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="FY2023_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="FY2023_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="FY2023_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="FY2024_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="FY2024_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="FY2024_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="FY2024_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="FY2024_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="FY2024_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="FY2024_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000003009Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</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_C000003009Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</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_C000003010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000003029Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</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_C000003029Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</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_C000003030Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003030Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000003037Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</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_C000003037Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</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_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000003038Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</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_C000003038Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</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_C000040086Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000040086Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000046749Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</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_C000046749Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</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_C000050291Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000050292Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000092914Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</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_C000092914Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</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_C000101741Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000101741Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000161967Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161967Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000161968Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</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_C000161968Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</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_C000194566Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000194567Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194567Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000194568Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000194569Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194569Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000194575Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194575Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_C000230346Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000230346Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001114Russell2000GrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114Russell2000GrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001114SP500GrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114SP500GrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001114SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001125Member_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001125Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001125RussellMidcapValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001125RussellMidcapValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001125SAndP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001125SAndP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001129Member_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001129Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001129Russell3000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001129Russell3000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001129SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001129SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001130Member_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001130Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001130Russell2000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001130Russell2000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000001130SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001130SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000016733Member_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000016733Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000016733Russell2000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733Russell2000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000016733Russell2500ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733Russell2500ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000016733SAndP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733SAndP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000030192Russell2500TMGrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000030192Russell2500TMGrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000030192SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000030192SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000051381Member_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000051381Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000051381Russell3000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000051381Russell3000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="FY2025_S000051381SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000051381SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000001114Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000001114Member_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000001114Member_C000003010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000001114Member_C000271637Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000001114Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000271637Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000030192Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000030192Member_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000030192Member_C000101741Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000101741Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000030192Member_C000230346Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiv1:S000030192Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000230346Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000003009Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000003009Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</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_C000003009Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003009Member</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_C000003010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000003029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000003029Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</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_C000003029Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003029Member</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_C000003030Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003030Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000003037Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000003037Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</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_C000003037Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003037Member</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_C000003038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000003038Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</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_C000003038Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000003038Member</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_C000040086Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000040086Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000046749Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000046749Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</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_C000046749Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000046749Member</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_C000050291Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050291Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000050292Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000050292Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000092914Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000092914Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</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_C000092914Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000092914Member</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_C000101741Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000101741Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000161967Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161967Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000161968Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000161968Member_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</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_C000161968Member_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000161968Member</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_C000194566Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000194567Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194567Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000194568Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000194569Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194569Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000194575Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000194575Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_C000230346Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">afiv1:C000230346Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001114Russell2000GrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114Russell2000GrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001114SP500GrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114SP500GrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001114SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001114SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001125RussellMidcapValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001125RussellMidcapValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001125SAndP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001125SAndP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001129Russell3000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001129Russell3000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001129SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001129SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001130Russell2000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001130Russell2000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000001130SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000001130SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000016733Russell2000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733Russell2000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000016733Russell2500ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733Russell2500ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000016733SAndP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000016733SAndP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000030192Russell2500TMGrowthIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000030192Russell2500TMGrowthIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000030192SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000030192SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000051381Russell3000ValueIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000051381Russell3000ValueIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="TenY2025_S000051381SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000912036</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">afiv1:S000051381SP500IndexMember</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_92a4d645_00e1_4370_bf58_e9f43a661629">0000912036</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_0082f8b8_10dd_4756_b3ed_8547fdcb86b0">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_5773d8f9_3830_4178_bf57_65ffbdcf7064">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_2f3fe6e1_3130_4ca9_8178_c465d653c2c0">2025-10-31</dei:DocumentPeriodEndDate>
    <oef:AnnlRtrPct
      contextRef="FY2025_S000030192Member_C000092914Member"
      decimals="4"
      id="h_10_37a22dcb-44aa-68a8-375e-f761ae0b197b"
      unitRef="pure">0.1103</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2016_S000030192Member_C000092914Member"
      decimals="4"
      id="h_2_b0e0fdcf-e78e-345e-bf2d-19a8290595f0"
      unitRef="pure">-0.0542</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2018_S000030192Member_C000092914Member"
      decimals="4"
      id="h_2_f6583b15-4234-460d-220d-62ac53df83c0"
      unitRef="pure">-0.0515</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2017_S000030192Member_C000092914Member"
      decimals="4"
      id="h_3_10b957eb-64dc-e543-2fd2-c1cfb54e1b51"
      unitRef="pure">0.1869</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2019_S000030192Member_C000092914Member"
      decimals="4"
      id="h_4_0a8e86d8-1cb1-3e83-392a-cf7e12aa7e87"
      unitRef="pure">0.2024</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2020_S000030192Member_C000092914Member"
      decimals="4"
      id="h_5_ba611c6c-07e7-92f1-8892-38703b62cb75"
      unitRef="pure">0.4561</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2021_S000030192Member_C000092914Member"
      decimals="4"
      id="h_6_71debbf9-2d8a-fc27-62e4-b36da442fbb3"
      unitRef="pure">0.1413</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2022_S000030192Member_C000092914Member"
      decimals="4"
      id="h_7_13e70d7e-f8c9-65e3-2e04-80ef1436e374"
      unitRef="pure">-0.2228</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2023_S000030192Member_C000092914Member"
      decimals="4"
      id="h_8_5ceb0f86-f253-f040-7f19-aacbc8529ab0"
      unitRef="pure">0.2113</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2024_S000030192Member_C000092914Member"
      decimals="4"
      id="h_9_dc1702b2-d443-db9d-42bc-35d75bc19f28"
      unitRef="pure">0.0927</oef:AnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20210831_20251231_C000092914Member_AfterTaxesOnDistributionsAndSalesMember"
      id="h_62_01e76be1_2a09_19fd_d0ac_11981c18aa58"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20210831_20251231_C000092914Member"
      id="h_62_10b63170_6f5f_b14e_33b7_7c59c0d778b5"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000230346Member"
      id="h_62_1da55aca_2cf0_28c3_9416_7f69402c29e5"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20210831_20251231_C000101741Member"
      id="h_62_737e604f_b578_36c1_eedc_7c45e4356053"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000230346Member"
      id="h_62_78065316_f5a7_b36d_c1b5_8d00f4908ef4"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20210831_20251231_C000092914Member_AfterTaxesOnDistributionsMember"
      id="h_62_ef32671b_994d_8c7d_2549_2fc57b8c8255"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AnnlRtrPct
      contextRef="FY2021_S000001114Member_C000003009Member"
      decimals="4"
      id="h_10_368b23b7-96db-72d8-6b65-c7442675ef11"
      unitRef="pure">0.2553</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2022_S000001114Member_C000003009Member"
      decimals="4"
      id="h_11_cb3e3a16-67c5-3902-7546-05265a290850"
      unitRef="pure">-0.2683</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2023_S000001114Member_C000003009Member"
      decimals="4"
      id="h_12_b9e9c9f5-2b41-f81a-e61b-080bd3e43428"
      unitRef="pure">0.3417</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2024_S000001114Member_C000003009Member"
      decimals="4"
      id="h_13_bc566665-0b68-afc5-bd12-13c7e5501b43"
      unitRef="pure">0.1435</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2025_S000001114Member_C000003009Member"
      decimals="4"
      id="h_4_05d651d2-eb19-2390-9a49-376cff8e62b0"
      unitRef="pure">0.1619</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2016_S000001114Member_C000003009Member"
      decimals="4"
      id="h_5_bca55867-42f8-ac80-dbc6-20cdf3c8c3d6"
      unitRef="pure">-0.0264</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2017_S000001114Member_C000003009Member"
      decimals="4"
      id="h_6_20d5420f-9fa1-fe9b-dc53-186b164154ef"
      unitRef="pure">0.2335</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2018_S000001114Member_C000003009Member"
      decimals="4"
      id="h_7_da1ad46d-fcfe-cf0c-4fea-4480d7498ebc"
      unitRef="pure">-0.0172</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2019_S000001114Member_C000003009Member"
      decimals="4"
      id="h_8_fffdffa5-9336-cd44-485c-c706fbfb63b7"
      unitRef="pure">0.3252</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2020_S000001114Member_C000003009Member"
      decimals="4"
      id="h_9_2880c8b4-79b4-f5dc-9805-a988b548766b"
      unitRef="pure">0.3185</oef:AnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000003037Member"
      id="h_146_145ae945_2827_4116_91fa_183e04e345ea"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000003037Member_AfterTaxesOnDistributionsAndSalesMember"
      id="h_154_df5e586c_ff2f_407f_9c92_e1fef4032e7b"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000003037Member_AfterTaxesOnDistributionsMember"
      id="h_150_06fe452b_d8e6_41a8_84dc_4c37e072ece4"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000050291Member"
      id="h_158_d274aa21_9080_4350_b702_53886aa04553"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000194567Member"
      id="h_161_44a9d406_13c4_4d32_8883_803fdf670bb3"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AnnlRtrPct
      contextRef="FY2020_S000001129Member_C000003037Member"
      decimals="4"
      id="h_10_10d3ba8c-090d-0e62-1ed3-9dc550995503"
      unitRef="pure">-0.0216</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2021_S000001129Member_C000003037Member"
      decimals="4"
      id="h_11_acd355a0-15ac-a996-403d-d44f0cbc38c0"
      unitRef="pure">0.2148</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2022_S000001129Member_C000003037Member"
      decimals="4"
      id="h_12_89ca4146-2f61-1ffb-aa21-9c81a0646a94"
      unitRef="pure">-0.0345</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2023_S000001129Member_C000003037Member"
      decimals="4"
      id="h_13_0b8bae79-7abd-4840-11a3-58766de4c8a8"
      unitRef="pure">0.0202</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2024_S000001129Member_C000003037Member"
      decimals="4"
      id="h_14_44acac1e-cddd-557d-0719-d14519649de1"
      unitRef="pure">0.1659</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2025_S000001129Member_C000003037Member"
      decimals="4"
      id="h_15_cbc360db-b789-2ecc-18ab-7793b0c1d28c"
      unitRef="pure">0.0702</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2016_S000001129Member_C000003037Member"
      decimals="4"
      id="h_6_fead6308-0f0f-d255-fc74-24e9d56a380a"
      unitRef="pure">0.2019</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2017_S000001129Member_C000003037Member"
      decimals="4"
      id="h_7_2646ffa0-d563-0d2f-94e9-7d774ece8043"
      unitRef="pure">0.0878</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2018_S000001129Member_C000003037Member"
      decimals="4"
      id="h_8_20878c04-5392-224b-3644-601c3603976d"
      unitRef="pure">-0.0765</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2019_S000001129Member_C000003037Member"
      decimals="4"
      id="h_9_2788891b-b89f-7dd5-db09-be6c02cc3dc6"
      unitRef="pure">0.2314</oef:AnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000161967Member"
      id="h_217_818166df_0eae_4e55_ac29_ef71e816766f"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000161968Member"
      id="h_205_9122c886_6e3c_4330_be44_482f64a2b7d8"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000161968Member_AfterTaxesOnDistributionsAndSalesMember"
      id="h_213_b41a32e8_08ba_4b52_a30c_b680263b3d69"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000161968Member_AfterTaxesOnDistributionsMember"
      id="h_209_3862ccb2_c5bc_4c84_b96c_203fed4c056a"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000194575Member"
      id="h_220_ffac9caf_60a4_4a80_ab32_ddd5e043941d"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AnnlRtrPct
      contextRef="FY2018_S000051381Member_C000161968Member"
      decimals="4"
      id="h_10_685e27de-de69-81ac-2960-e0fb8881fd28"
      unitRef="pure">-0.0395</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2019_S000051381Member_C000161968Member"
      decimals="4"
      id="h_11_e46fb1eb-818b-f16f-f7a6-77c4c338163e"
      unitRef="pure">0.3425</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2020_S000051381Member_C000161968Member"
      decimals="4"
      id="h_12_ea08bfe5-f842-d0db-29fc-b458bb24679d"
      unitRef="pure">-0.0106</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2021_S000051381Member_C000161968Member"
      decimals="4"
      id="h_13_8810c909-d619-6bdb-03f1-4d4bd895fdd4"
      unitRef="pure">0.1505</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2022_S000051381Member_C000161968Member"
      decimals="4"
      id="h_14_c22bc0bc-9d99-9214-086d-0930163b3485"
      unitRef="pure">-0.1639</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2023_S000051381Member_C000161968Member"
      decimals="4"
      id="h_15_ee28f742-c44e-d814-e93c-723101adb3aa"
      unitRef="pure">0.1219</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2024_S000051381Member_C000161968Member"
      decimals="4"
      id="h_16_f3c66afe-dc31-eb02-f347-f77646856d7c"
      unitRef="pure">0.1742</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2025_S000051381Member_C000161968Member"
      decimals="4"
      id="h_17_10229f63-4478-770b-6f65-cc82de0e0033"
      unitRef="pure">0.1337</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2016_S000051381Member_C000161968Member"
      decimals="4"
      id="h_8_f2280484-581c-1e11-5d42-e37c0f9cd98d"
      unitRef="pure">0.2592</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2017_S000051381Member_C000161968Member"
      decimals="4"
      id="h_9_b4712b1f-ab06-f1e3-ad17-0a78b8e0ce86"
      unitRef="pure">0.1058</oef:AnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170927_20251231_C000003029Member"
      id="h_264_f6bfe9ac_d803_4691_a6e7_11f86c6da989"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170927_20251231_C000003029Member_AfterTaxesOnDistributionsAndSalesMember"
      id="h_272_efd3cbd5_42e7_4b88_a4f8_4be7d60f5c66"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170927_20251231_C000003029Member_AfterTaxesOnDistributionsMember"
      id="h_268_2b52696c_5949_4220_b5fa_f6630289ec10"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170927_20251231_C000003030Member"
      id="h_276_ab95ba7d_4cc9_4e18_b40f_48d3aed9f12e"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000194566Member"
      id="h_279_d2cd61ec_f8b5_43dc_a89e_985f44b2bd92"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AnnlRtrPct
      contextRef="FY2016_S000001125Member_C000003029Member"
      decimals="4"
      id="h_10_97a51637-6d51-baf8-5012-70729575aff1"
      unitRef="pure">0.2406</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2017_S000001125Member_C000003029Member"
      decimals="4"
      id="h_11_c599d2f3-9e39-9b47-78cb-5500a3afe1a0"
      unitRef="pure">0.1152</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2018_S000001125Member_C000003029Member"
      decimals="4"
      id="h_12_79f34a01-3901-a436-9285-7382536c2f4b"
      unitRef="pure">-0.1858</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2019_S000001125Member_C000003029Member"
      decimals="4"
      id="h_13_7d9a561c-393d-512d-22e5-1e71fb61e1c0"
      unitRef="pure">0.1546</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2020_S000001125Member_C000003029Member"
      decimals="4"
      id="h_14_1f6dc9c2-890a-092e-edf6-62ecffd8b482"
      unitRef="pure">0.0387</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2021_S000001125Member_C000003029Member"
      decimals="4"
      id="h_15_14827071-6b08-2d56-c35f-217be90dc592"
      unitRef="pure">0.3198</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2022_S000001125Member_C000003029Member"
      decimals="4"
      id="h_16_2541b8f5-e317-2e81-11dc-ad2c5b636fa7"
      unitRef="pure">-0.0830</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2023_S000001125Member_C000003029Member"
      decimals="4"
      id="h_17_c6376a55-b2cc-55b3-b4ec-5fdb44f57489"
      unitRef="pure">0.2264</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2024_S000001125Member_C000003029Member"
      decimals="4"
      id="h_18_4f7b79c7-9ffd-8770-2cc5-fd3957d3d39d"
      unitRef="pure">0.1356</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2025_S000001125Member_C000003029Member"
      decimals="4"
      id="h_19_e8afd594-de21-9cb7-982d-4c4f267334da"
      unitRef="pure">0.1175</oef:AnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000046749Member"
      id="h_317_ef336d95_d37c_4232_b8ca_57b2b0524aca"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000046749Member_AfterTaxesOnDistributionsAndSalesMember"
      id="h_325_f6e9815a_cea1_4a38_a8cc_e8136186af26"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000046749Member_AfterTaxesOnDistributionsMember"
      id="h_321_5df2918c_ece2_494a_8a4b_8fa50cefc6e8"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000050292Member"
      id="h_329_c8d9636d_3a39_40fc_88ad_a50257eb1bb2"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000194569Member"
      id="h_332_3fda211f_fb0c_4fc1_942e_6634c71a49a9"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AnnlRtrPct
      contextRef="FY2016_S000016733Member_C000046749Member"
      decimals="4"
      id="h_1_f6a4ad29-c44c-10f6-8d7a-1d6163f46c8a"
      unitRef="pure">0.2713</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2025_S000016733Member_C000046749Member"
      decimals="4"
      id="h_10_58563fa0-2f9d-a303-2a19-4679302b5c07"
      unitRef="pure">0.0401</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2017_S000016733Member_C000046749Member"
      decimals="4"
      id="h_2_c2b34002-f54a-54f1-c082-7b97ba0fb9e0"
      unitRef="pure">0.1535</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2018_S000016733Member_C000046749Member"
      decimals="4"
      id="h_3_57374e77-15c4-8b52-9d6e-e0480c963bd1"
      unitRef="pure">-0.0644</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2019_S000016733Member_C000046749Member"
      decimals="4"
      id="h_4_9b5fd1c4-e0f3-f467-f699-e1bc60587128"
      unitRef="pure">0.3238</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2020_S000016733Member_C000046749Member"
      decimals="4"
      id="h_5_c6609d5b-7c81-86d1-3474-82902057d531"
      unitRef="pure">0.0171</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2021_S000016733Member_C000046749Member"
      decimals="4"
      id="h_6_715ae505-caa1-4d2b-64ff-d687fa578ba9"
      unitRef="pure">0.2333</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2022_S000016733Member_C000046749Member"
      decimals="4"
      id="h_7_b2a57323-15e5-b16c-d6d2-814b2a1386d8"
      unitRef="pure">-0.0853</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2023_S000016733Member_C000046749Member"
      decimals="4"
      id="h_8_17538a7c-3a65-85ec-f4b7-9a56e362eb3c"
      unitRef="pure">0.1440</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2024_S000016733Member_C000046749Member"
      decimals="4"
      id="h_9_ccdf861b-4666-b40c-5035-3292fac7fd67"
      unitRef="pure">0.1246</oef:AnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000003038Member"
      id="h_374_88a6126a_2b43_454d_b748_e57463d9b216"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000003038Member_AfterTaxesOnDistributionsAndSalesMember"
      id="h_382_44c3375b_086d_4604_b46e_b70f07adb46c"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000003038Member_AfterTaxesOnDistributionsMember"
      id="h_378_ae8e7a4c_37c7_4ccc_981e_7590505f11ac"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000040086Member"
      id="h_386_171a0725_bb72_491e_ab97_b58392f4b338"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000194568Member"
      id="h_389_b4ce00e6_8c74_4b4a_ad41_34bad9b886b0"
      unitRef="pure"
      xsi:nil="true"/>
    <oef:AnnlRtrPct
      contextRef="FY2016_S000001130Member_C000003038Member"
      decimals="4"
      id="h_14_fa354d12-27b6-2ae5-c343-7739ff615a6e"
      unitRef="pure">0.2696</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2017_S000001130Member_C000003038Member"
      decimals="4"
      id="h_15_ececebfc-609b-1639-8f7d-10a57c770a4f"
      unitRef="pure">0.1176</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2018_S000001130Member_C000003038Member"
      decimals="4"
      id="h_16_590abf8c-8060-2f26-73cd-e6c34b832c15"
      unitRef="pure">-0.0696</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2019_S000001130Member_C000003038Member"
      decimals="4"
      id="h_17_145fd839-69e7-8737-dbb7-0be59a845edc"
      unitRef="pure">0.2967</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2020_S000001130Member_C000003038Member"
      decimals="4"
      id="h_18_afa8ece4-59a1-a32c-088b-6a4bcef7e67b"
      unitRef="pure">0.0184</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2021_S000001130Member_C000003038Member"
      decimals="4"
      id="h_19_f1c5cd7b-f31f-4eed-cae5-caa5e04a63e8"
      unitRef="pure">0.2105</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2022_S000001130Member_C000003038Member"
      decimals="4"
      id="h_20_a2ea0ae4-1a66-5128-0a61-b03cd014d48c"
      unitRef="pure">-0.0641</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2023_S000001130Member_C000003038Member"
      decimals="4"
      id="h_21_f23cb042-da3c-98cc-8ec9-e77a98c0751c"
      unitRef="pure">0.1477</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2024_S000001130Member_C000003038Member"
      decimals="4"
      id="h_22_112c253c-89d5-e2c7-812d-8876a9589973"
      unitRef="pure">0.1407</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="FY2025_S000001130Member_C000003038Member"
      decimals="4"
      id="h_23_1027f7fe-78f7-d725-7f46-abc30ef1bd6b"
      unitRef="pure">0.0225</oef:AnnlRtrPct>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_01_10099855_1d6a_4036_9650_6eb5c3e007bc">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="h_02_50f19051_eec2_4047_8b50_b6302e755aaf">AMG FUNDS IV</dei:EntityRegistrantName>
    <oef:ProspectusDate
      contextRef="DefaultContext"
      id="t_3_2f4a5391_07bb_d70d_8b5c_5f8cd58102e4">2026-03-01</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="S000030192Member"
      id="t_17_3390f3f3_04d8_6c24_fe77_1427e0c61424"> AMG GW&amp;K Small/Mid Cap Growth Fund </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="S000030192Member"
      id="t_2_7c50f78e_24bc_4078_8859_d64179e1bf7c"> Investment Objective </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="S000030192Member"
      id="t_3_63486727_da38_4ede_a6ed_a9a8451129b3"> &lt;div style="line-height: 11.5pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund seeks to provide long-term capital appreciation.&lt;/span&gt;&lt;/div&gt; </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="S000030192Member"
      id="t_4_de1fa471_755c_4828_bca3_5138c61c1f27">  Fees and Expenses of the Fund  </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="S000030192Member"
      id="t_5_d3455ddc_78cf_4ac9_9ab4_06f340600d21"> &lt;div style="line-height: 11.5pt; margin-top: 0.0pt; 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="S000030192Member"
      id="t_6_80952c22_bcbe_4d04_8576_91c8c03c9357">  Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)  </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="S000030192Member_C000092914Member"
      decimals="4"
      id="h_1_add23ebc_a1b2_4fa9_91de_5af447aabf9b"
      unitRef="pure">0.0062</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="S000030192Member_C000101741Member"
      decimals="4"
      id="h_2_aa19114a_7e00_4a4a_859d_a1de65a42cf5"
      unitRef="pure">0.0062</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="S000030192Member_C000230346Member"
      decimals="4"
      id="h_3_d68373a3_c26b_45df_b9a2_d290bcb29372"
      unitRef="pure">0.0062</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000030192Member_C000092914Member"
      decimals="4"
      id="h_4_e7648f9a_71a1_4b2d_a91f_cc38d07456b3"
      unitRef="pure">0.0020</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000030192Member_C000101741Member"
      decimals="4"
      id="h_5_41160a21_ae3e_4c6d_969f_073bff43409d"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000030192Member_C000230346Member"
      decimals="4"
      id="h_6_bcd534bb_6560_4e15_9c86_35c0bdcce479"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000030192Member_C000092914Member"
      decimals="4"
      id="h_7_0cb338cb_f13b_4938_8b75_ca4b6702807a"
      unitRef="pure">0.0046</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000030192Member_C000101741Member"
      decimals="4"
      id="h_8_19948b86_a6db_49ad_b306_66295c53e2ee"
      unitRef="pure">0.0051</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000030192Member_C000230346Member"
      decimals="4"
      id="h_9_2edafec6_1bda_4654_a5a6_15d73c252c61"
      unitRef="pure">0.0046</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000030192Member_C000092914Member"
      decimals="4"
      id="h_10_146106a8_e15e_49b1_b9a7_592903aeb281"
      unitRef="pure">0.0128</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000030192Member_C000101741Member"
      decimals="4"
      id="h_11_f6058214_7189_434a_8d2e_72cc2038e718"
      unitRef="pure">0.0113</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000030192Member_C000230346Member"
      decimals="4"
      id="h_12_1454585a_e8f9_451d_9e51_325371bda7c2"
      unitRef="pure">0.0108</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000030192Member_C000092914Member"
      decimals="4"
      id="h_13_028a3075_890d_48b3_b6ec_987a94ac91fb"
      unitRef="pure">-0.0026</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000030192Member_C000101741Member"
      decimals="4"
      id="h_14_cb89e362_13c9_4a83_9dd9_3d39b33fad5a"
      unitRef="pure">-0.0026</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000030192Member_C000230346Member"
      decimals="4"
      id="h_15_2f9d210f_c033_4931_a87f_15de9b88df08"
      unitRef="pure">-0.0026</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000030192Member_C000092914Member"
      decimals="4"
      id="h_16_86414200_e2ef_416c_a6f6_4ad03c735a75"
      unitRef="pure">0.0102</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000030192Member_C000101741Member"
      decimals="4"
      id="h_17_3415b1e8_63b5_4886_bd8f_183a878fccb9"
      unitRef="pure">0.0087</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000030192Member_C000230346Member"
      decimals="4"
      id="h_18_61aee0a8_273d_49aa_8756_9563105462d6"
      unitRef="pure">0.0082</oef:NetExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="S000030192Member"
      id="t_45_179cda95_e66b_b783_b00c_ef4792f0218e">Expense information has been restated to reflect current fees.</oef:ExpensesRestatedToReflectCurrent>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="S000030192Member"
      id="t_46_2c0b0848_23bc_6d9b_4eb1_e8eba6e53fc3">March 1,2027</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="S000030192Member"
      id="t_7_b886ee78_192b_42be_9c06_42ae4994659c"> Expense Example </oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="S000030192Member"
      id="t_8_4bd8d112_2b2c_41e4_94af_d4e323dfff6e"> &lt;div style="line-height: 11.5pt; 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;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;March 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="S000030192Member_C000092914Member"
      decimals="INF"
      id="h_19_1a5c42c9_a918_4a3e_abab_ab201109a185"
      unitRef="USD">104</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000030192Member_C000092914Member"
      decimals="INF"
      id="h_20_41966d9d_f333_4054_b58e_08a57126f13e"
      unitRef="USD">380</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000030192Member_C000092914Member"
      decimals="INF"
      id="h_21_02fc3ead_4e04_44bb_97a5_999db7dac1d5"
      unitRef="USD">677</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000030192Member_C000092914Member"
      decimals="INF"
      id="h_22_30c1c5dd_4935_4e0c_9e65_19df9a44adcd"
      unitRef="USD">1522</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="S000030192Member_C000101741Member"
      decimals="INF"
      id="h_23_9d762024_d8e4_4003_a196_740515430075"
      unitRef="USD">89</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000030192Member_C000101741Member"
      decimals="INF"
      id="h_24_2e41367c_db06_40e2_a533_4c224fa9e788"
      unitRef="USD">333</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000030192Member_C000101741Member"
      decimals="INF"
      id="h_25_de24ef86_0901_4109_881a_175867edd612"
      unitRef="USD">597</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000030192Member_C000101741Member"
      decimals="INF"
      id="h_26_6c23e3a4_594d_46fd_8c05_d8c25900d7b4"
      unitRef="USD">1351</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="S000030192Member_C000230346Member"
      decimals="INF"
      id="h_27_2fe74146_103a_4b28_a619_57fd7a8d189d"
      unitRef="USD">84</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000030192Member_C000230346Member"
      decimals="INF"
      id="h_28_249f8020_7215_4a3b_9f87_8a6260b95dc5"
      unitRef="USD">318</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000030192Member_C000230346Member"
      decimals="INF"
      id="h_29_dcf01031_b797_4edb_b95f_8a64405b59a9"
      unitRef="USD">570</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000030192Member_C000230346Member"
      decimals="INF"
      id="h_30_ab6f1a41_b549_41fa_b2df_fbba9b24347a"
      unitRef="USD">1294</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="S000030192Member"
      id="t_9_2548233c_05e5_4dbc_9f20_e6684a2b1f99">  Portfolio Turnover  </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="S000030192Member"
      id="t_10_6e46d8be_0452_4d9e_a466_93f466adf27a"> &lt;div style="line-height: 11.5pt; 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;33&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="S000030192Member"
      decimals="4"
      id="h_31_70e6b913_4093_4ebb_ab91_53e9e688c3a2"
      unitRef="pure">0.33</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="S000030192Member"
      id="t_11_f506d1e7_d2e7_4886_9f48_7f177a93ce0c"> Principal Investment Strategies </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="S000030192Member"
      id="t_18_b8695301_73e3_ec57_8f7b_e491ab9ebbb6"> &lt;div style="line-height: 11.5pt; margin-top: 0.0pt; text-align: left;"&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 securities of small- and mid-capitalization &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies. The Fund primarily invests in common stock and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;preferred stock of U.S. small- and mid-capitalization companies. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund currently defines small- and mid-capitalization &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies to be those with market capitalizations at the time of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;purchase between $250 million and $10 billion or otherwise &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;within the range of capitalizations of companies in the Russell &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2500 Growth Index (between $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;119.4&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; million and $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;18.32&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;as of April 30, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2025&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;, the date of the latest reconstitution of the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Index (implemented by the Index June &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;27&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;2025&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;)). This capitalization&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; range will change over time. The Fund may continue to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;hold securities of a portfolio company that subsequently drops &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;below or appreciates above this threshold. Because of this, the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund may have less than 80% of its net assets in securities of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small- and mid-capitalization companies at any given time.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 11.5pt;"&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;Through its fundamental research and proprietary screening, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;GW&amp;amp;K Investment Management, LLC, the subadviser to the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund (&#x201c;GW&amp;amp;K&#x201d; or the &#x201c;Subadviser&#x201d;), seeks to identify quality &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 11.5pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies with growth oriented characteristics. GW&amp;amp;K seeks to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;assemble a portfolio of securities diversified as to companies and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;sectors.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 11.5pt;"&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 Subadviser seeks to focus on quality small- and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;mid-capitalization companies with sound management and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;long-term sustainable growth. In selecting companies for the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund, the Subadviser looks for firms with the following key attributes:&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 11.5pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.0pt; margin-left: 14pt; margin-top: 0.0pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 7pt;"&gt;&#x25cb;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; margin-left: 9pt;"&gt;Experienced, tenured, high quality management;&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: 14pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 7pt;"&gt;&#x25cb;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; margin-left: 9pt;"&gt;Business models that deliver consistent long-term growth;&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; 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;Leading companies in attractive and defensible niche &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;markets;&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: 14pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 7pt;"&gt;&#x25cb;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; margin-left: 9pt;"&gt;Strong financial characteristics; and&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: 14pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 7pt;"&gt;&#x25cb;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; margin-left: 9pt;"&gt;Appropriate valuation.&lt;/span&gt;&lt;/div&gt; </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000030192Member_RiskLoseMoneyMember"
      id="t_37_ebe98235_c4de_738f_991b_3673c6ee472e">There is the risk that you may lose money on your investment.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000030192Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_38_069b7347_72e1_2e94_fed9_6fe69fb4816c">Aninvestment in the Fund is not a deposit or obligation of any bank,is not endorsed or guaranteed by any bank, and is not insured bythe Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any othergovernment agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000030192Member_MarketRisksMember"
      id="t_39_d28749bc_e12e_8ecf_42e3_8d34554d7746"> &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="D20251031_20251031_S000030192Member_SmallAndMidCapitalizationStockRiskMember"
      id="t_40_779f32fc_0910_5611_f5cd_df0d81d64e56"> &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- and Mid-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small- and mid-capitalization companies often have greater price &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility, lower trading volume, and less liquidity than the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stocks of larger, more established companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000030192Member_GrowthStockRiskMember"
      id="t_41_edbbc99d_ea17_3d0e_143d_c6efe523c4b8"> &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="D20251031_20251031_S000030192Member_ManagementRiskMember"
      id="t_42_e3c990b8_11a2_d9e7_883e_589a32783f8e"> &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;/div&gt;  &lt;div style="line-height: 11.5pt; text-align: left;"&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="D20251031_20251031_S000030192Member_SectorRiskMember"
      id="t_43_1816ea19_3c82_af1c_f757_6aa5f7d07d44"> &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;information technology and healthcare sectors may comprise a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;significant portion of the Fund's portfolio. The industrials sector &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;may be affected by general economic trends, including &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;employment, economic growth and interest rates, changes in &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;consumer confidence and spending, government regulation, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;commodity prices and competitive pressures. The information &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;technology sector may be affected by technological obsolescence,&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; short product cycles, falling prices and profits, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;competitive pressures and general market conditions. Stocks in &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the health care sector may be affected by technological obsolescence,&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; changes in regulatory approval policies for drugs, medical &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;devices or procedures and changes in governmental and private &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;payment systems.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000030192Member_LiquidityRiskMember"
      id="t_44_4df149bc_f8fc_ba72_ee39_44ea5a8c955a"> &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:BarChartAndPerformanceTableHeading
      contextRef="S000030192Member"
      id="t_14_a34a4b49_80d6_4284_aecf_49cdcf5f1a7b"> Performance </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="S000030192Member"
      id="t_19_3483d30d_ddcd_c91b_e7f8_328b42c8c365"> &lt;div style="line-height: 11.5pt; 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&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investing in the Fund by showing changes in the Fund's performance&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;from year to year and by showing how the Fund's performance&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;compares to that of (i) a broad-based index and (ii) an&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;additional index reflecting the market segment(s) in which the&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund invests. As always, past&#160;performance of&#160;the Fund (before&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and after taxes) is not an indication of how the Fund will perform&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in the future.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 11.5pt;"&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 March 19, 2021, GW&amp;amp;K was appointed as subadviser to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the Fund and the Fund changed its name to &#x201c;AMG GW&amp;amp;K &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Small Cap Fund II&#x201d; and made changes to its principal &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investment strategies. As of May 21, 2021, the Fund changed its &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;name to &#x201c;AMG GW&amp;amp;K Small/Mid Cap Growth Fund&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x201d; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;adopted its current investment strategies&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;. The Fund&#x2019;s performance&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; information for periods prior to these dates reflects the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund&#x2019;s investment strategy that was in effect at that time and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;would have been different had the Fund&#x2019;s current investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;strategy been in effect.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 11.5pt;"&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, please &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;visit&#160;wealth.amg.com&#160;or&#160;call&#160;800.548.4539.&#160;&lt;/span&gt;&lt;/div&gt; </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="S000030192Member"
      id="t_20_2f2376ac_7d16_d213_e3b7_dce900094dcf">The following performance information illustrates the risks ofinvesting in the Fund by showing changes in the Fund's performancefrom year to year and by showing how the Fund's performancecompares to that of (i) a broad-based index and (ii) anadditional index reflecting the market segment(s) in which theFund invests.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="S000030192Member"
      id="t_21_8d91eb0c_2ab3_c996_1f37_7b543c925da8">As always, past&#160;performance of&#160;the Fund (beforeand after taxes) is not an indication of how the Fund will performin the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="S000030192Member"
      id="t_22_eca7d46f_f18f_79d4_fbc2_f63c06b105d5">wealth.amg.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="S000030192Member"
      id="t_23_8229aed6_314c_8389_834b_9c04a0ab58d0">800.548.4539</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="S000030192Member"
      id="t_24_dd172819_a5e9_02f9_c38a_9f847be8e670"> Calendar Year Total Returns as of 12/31/25 (Class N)  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="S000030192Member"
      id="t_29_eae22b6e_f9e2_a782_a910_2c8577f7f7a5"> &lt;div style="margin-top: 9pt;"&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Best Quarter: 31.00% (2nd Quarter 2020)&lt;/span&gt; &lt;br/&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Worst Quarter: -20.55% (4th Quarter 2018)&lt;/span&gt;&lt;/div&gt; </oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="S000030192Member_C000092914Member"
      id="t_25_3ebcda31_f696_99c1_0401_00edeaac39a5">Best Quarter:</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="S000030192Member_C000092914Member"
      decimals="4"
      id="h_60_48d51e01_48dc_b157_3dfc_60b228ab058f"
      unitRef="pure">0.3100</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="S000030192Member_C000092914Member"
      id="t_26_79095219_41f6_0cc5_662a_16eebb99be82">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="S000030192Member_C000092914Member"
      id="t_27_94be5e1a_f59f_89ca_de84_911303c1db4d">Worst Quarter:</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="S000030192Member_C000092914Member"
      decimals="4"
      id="h_61_61a2a3ef_aebb_7d6c_d529_7c69aea8be4f"
      unitRef="pure">-0.2055</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="S000030192Member_C000092914Member"
      id="t_28_9aaab1b0_b52c_463f_78a8_24dacb7eb358">2018-12-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="S000030192Member"
      id="t_16_aa4a027c_2ce3_44cb_ac00_02b3eacc1912">  Average Annual Total Returns as of 12/31/25  </oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000092914Member"
      decimals="4"
      id="h_32_46030d3d_88fc_4a16_9934_2a0f5f2d4305"
      unitRef="pure">0.1103</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000092914Member"
      decimals="4"
      id="h_33_98e950cc_4fea_4713_8fe2_a05639213a7f"
      unitRef="pure">0.0544</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000092914Member"
      decimals="4"
      id="h_34_a278d7dd_b1d1_4698_ac2d_22ec38049d6c"
      unitRef="pure">0.0929</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000092914Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_36_f7093f42_7f9f_4a06_8fb5_0fa61e272acd"
      unitRef="pure">0.0816</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000092914Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_37_07b7d79a_c437_4a7e_a981_8eac36a104d8"
      unitRef="pure">0.0189</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000092914Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_38_184441bf_ba83_4ea2_8ca8_797a69a2d308"
      unitRef="pure">0.0733</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000092914Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_40_50acd8a3_729f_4311_9016_abdeeaec5086"
      unitRef="pure">0.0806</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000092914Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_41_c2ba6ab7_cdf9_42b2_88d0_c0bd0696b39d"
      unitRef="pure">0.0297</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000092914Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_42_08315999_c141_4de3_98c7_2b50c632cf3c"
      unitRef="pure">0.0690</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000101741Member"
      decimals="4"
      id="h_44_e218ddc5_9333_4294_b803_ef12c3e68218"
      unitRef="pure">0.1121</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000101741Member"
      decimals="4"
      id="h_45_472731dd_b4a9_4650_ad5e_db53118363cc"
      unitRef="pure">0.0560</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000101741Member"
      decimals="4"
      id="h_46_a57543bd_558e_4df2_94b3_19cce66256d9"
      unitRef="pure">0.0948</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000230346Member"
      decimals="4"
      id="h_48_56401dd3_93e3_44c3_a73a_5f43957d0a9b"
      unitRef="pure">0.1123</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20210831_20251231_C000230346Member"
      decimals="4"
      id="h_51_49109d17_1123_4b45_9ead_900a2304e608"
      unitRef="pure">0.0341</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000030192SP500IndexMember"
      decimals="4"
      id="h_52_575985c6_a3c1_46ff_a45f_817cfe3c5e9f"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000030192SP500IndexMember"
      decimals="4"
      id="h_53_cad810df_edbf_44f0_9b19_ab314c1265c3"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000030192SP500IndexMember"
      decimals="4"
      id="h_54_c963d91b_b3b0_49a3_90ff_d373fcf95e95"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20210831_20251231_S000030192SP500IndexMember"
      decimals="4"
      id="h_55_3d8ad63e_c3e6_4ffb_a0e6_717702162075"
      unitRef="pure">0.1167</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000030192Russell2500TMGrowthIndexMember"
      decimals="4"
      id="h_56_64099ac6_4548_497a_b778_e82d4686423b"
      unitRef="pure">0.1031</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000030192Russell2500TMGrowthIndexMember"
      decimals="4"
      id="h_57_a40a7db8_8498_415e_bc3b_7df1d60b0822"
      unitRef="pure">0.0298</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000030192Russell2500TMGrowthIndexMember"
      decimals="4"
      id="h_58_f0782e24_fba4_4332_9c4a_afcc9d44b501"
      unitRef="pure">0.1055</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20210831_20251231_S000030192Russell2500TMGrowthIndexMember"
      decimals="4"
      id="h_59_c58e6fdf_65e4_4452_b5a8_f23c0a20dabe"
      unitRef="pure">0.0141</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="D20210831_20251231_C000230346Member"
      id="t_34_be8e44fd_dc51_6408_c099_3975dec05c6e">2021-08-31</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20210831_20251231_S000030192SP500IndexMember"
      id="t_35_70c3f417_de2b_e0d1_02cd_348b0beca404">2021-08-31</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20210831_20251231_S000030192Russell2500TMGrowthIndexMember"
      id="t_36_420fa5b1_6b0e_5bb7_9ed6_69c8009c17a5">2021-08-31</oef:PerfInceptionDate>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="S000030192Member"
      id="t_33_5511b5ad_562b_aaa0_7f8e_5bd14e2a58b7"> &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&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;individual U.S. federal marginal income tax rates and do not&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;reflect the impact of state and local taxes. Actual after-tax&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;those shown. After-tax returns are not relevant to investors who&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;hold their Fund shares through tax-advantaged arrangements,&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;After-tax returns are shown for Class N shares only, and after-tax&lt;/span&gt; &lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns for Class I and Class Z shares will vary.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="S000030192Member"
      id="t_30_e35388cf_17d9_cf99_c6c8_0ac66a7d8150">After-tax returns are calculated using the historical highestindividual U.S. federal marginal income tax rates and do notreflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="S000030192Member"
      id="t_31_d9b3834b_01d8_4f9f_3a97_3978498d783b">Actual after-taxreturns depend on an investor&#x2019;s tax situation and may differ fromthose shown. After-tax returns are not relevant to investors whohold their Fund shares through tax-advantaged arrangements,such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="S000030192Member"
      id="t_32_d015edd2_3ef1_8834_0628_778ed9d96417">After-tax returns are shown for Class N shares only, and after-taxreturns for Class I and Class Z shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="S000001114Member"
      id="t_33_edb6a833_d048_e071_03f6_3af4295dbc5a">AMG GW&amp;K Small Cap Growth Fund(formerly AMG Montrusco Bolton Large Cap Growth Fund)</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="S000001114Member"
      id="t_18_b05d582f_8ca3_4b83_8b81_3792a4983546">Investment Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="S000001114Member"
      id="t_19_33e177a6_72cc_4281_ad27_c0cf198b4507">&lt;div style="line-height:11.5pt;text-align:left;"&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;The Fund seeks long-term capital appreciation.&lt;/span&gt;&lt;/div&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="S000001114Member"
      id="t_20_4f7ccb64_e245_48c7_806a_297ebf3519c4"> Fees and Expenses of the Fund </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="S000001114Member"
      id="t_21_1211c66d_c5c2_4fe8_8128_6ff3f2f08200">&lt;div style="line-height:11.5pt;margin-top:0.0pt;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="S000001114Member"
      id="t_22_80473458_bb82_4287_a423_3fddd8fd6b3a"> Annual Fund Operating Expenses  (expenses that you pay each year as a percentage of the value of your investment) </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="S000001114Member_C000003009Member"
      decimals="4"
      id="h_60_843e2aaf_bc1f_4f09_b9b1_e64a2935b186"
      unitRef="pure">0.0047</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="S000001114Member_C000003010Member"
      decimals="4"
      id="h_61_5382ac57_6d24_4e6f_8404_82b748796f93"
      unitRef="pure">0.0047</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="S000001114Member_C000271637Member"
      decimals="4"
      id="h_62_e81428f9_3062_4fa4_8fc3_19ece463b1bb"
      unitRef="pure">0.0047</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000001114Member_C000003009Member"
      decimals="4"
      id="h_63_92f6ab76_cc9a_404d_94b8_01327e435bbf"
      unitRef="pure">0.0015</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000001114Member_C000003010Member"
      decimals="4"
      id="h_64_5ed996c4_d352_4cbe_9304_6336bf297fa7"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000001114Member_C000271637Member"
      decimals="4"
      id="h_65_c26d4727_cae8_44a8_8bbb_808b38aa6a59"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000001114Member_C000003009Member"
      decimals="4"
      id="h_66_814f9c8f_1ef9_4ba6_8def_0fc82dad68a4"
      unitRef="pure">0.0034</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000001114Member_C000003010Member"
      decimals="4"
      id="h_67_d9cfa400_f9e8_483d_bf91_1ff89943f188"
      unitRef="pure">0.0032</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000001114Member_C000271637Member"
      decimals="4"
      id="h_68_d448b106_f425_4220_96fa_0048ce549a09"
      unitRef="pure">0.0026</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000001114Member_C000003009Member"
      decimals="4"
      id="h_69_565f9041_0107_44d5_b60b_2bbd1eaa40d0"
      unitRef="pure">0.0096</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000001114Member_C000003010Member"
      decimals="4"
      id="h_70_f0121686_1102_4c3b_b10e_598f721e9fd3"
      unitRef="pure">0.0079</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000001114Member_C000271637Member"
      decimals="4"
      id="h_71_202547a7_dca0_48e8_91d9_3bc7370541fc"
      unitRef="pure">0.0073</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000001114Member_C000003009Member"
      decimals="4"
      id="h_72_f11f7b9e_8c3f_438f_b57b_317c4738aaeb"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000001114Member_C000003010Member"
      decimals="4"
      id="h_73_9f00633c_86a8_44fb_920d_1812085b05f8"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000001114Member_C000271637Member"
      decimals="4"
      id="h_74_befd1527_5578_4023_8f9b_63d5a7632558"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000001114Member_C000003009Member"
      decimals="4"
      id="h_75_565cf3ec_59d0_459f_9c11_51b86bd72ef6"
      unitRef="pure">0.0090</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000001114Member_C000003010Member"
      decimals="4"
      id="h_76_e2f1d7f4_5658_46ce_9d3c_a90018795b9a"
      unitRef="pure">0.0073</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000001114Member_C000271637Member"
      decimals="4"
      id="h_77_76d1f510_f085_447a_bbdf_c75ad1bd632c"
      unitRef="pure">0.0067</oef:NetExpensesOverAssets>
    <oef:OtherExpensesNewFundBasedOnEstimates
      contextRef="S000001114Member"
      id="t_40_f617abb1_1dc4_80e2_c5f6_cb022d566187">Because Class Z shares commenced operations after the end of the fiscal year ended October 31, 2025, these amounts are based on estimates for the current fiscal year.</oef:OtherExpensesNewFundBasedOnEstimates>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="S000001114Member"
      id="t_34_3ba2c8ee_616e_c8b4_39b0_568c37bfd4fc">Expense information has been restated to reflect current fees.</oef:ExpensesRestatedToReflectCurrent>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="S000001114Member"
      id="t_35_7af039af_9998_5edd_dcee_6f37a44fb071">March 1, 2027</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="S000001114Member"
      id="t_23_57603ef6_c736_4504_a1bc_f309de968ea7">Expense Example</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="S000001114Member"
      id="t_24_c9f65981_c64a_49e2_843c_a929130cc3a0">&lt;div style="line-height:11.5pt;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;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;March 1, 2027. 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="S000001114Member_C000003009Member"
      decimals="INF"
      id="h_78_8a1b7e06_c406_42fe_bf1c_bfc97c29a336"
      unitRef="USD">92</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000001114Member_C000003009Member"
      decimals="INF"
      id="h_79_5fddd212_4255_4832_abe5_98a4ce67e04f"
      unitRef="USD">300</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000001114Member_C000003009Member"
      decimals="INF"
      id="h_80_25071c09_29e5_425f_904a_4abce2926810"
      unitRef="USD">525</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000001114Member_C000003009Member"
      decimals="INF"
      id="h_81_00ea9dd2_fa60_48c4_ad73_8477d9560562"
      unitRef="USD">1173</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="S000001114Member_C000003010Member"
      decimals="INF"
      id="h_82_58b5248b_6349_48d2_b018_8abc97574f06"
      unitRef="USD">75</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000001114Member_C000003010Member"
      decimals="INF"
      id="h_83_9b3eca4d_ffe0_48c5_b29d_db1faa79a654"
      unitRef="USD">246</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000001114Member_C000003010Member"
      decimals="INF"
      id="h_84_53f22f50_0ff7_4036_b7c2_d861adda7450"
      unitRef="USD">433</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000001114Member_C000003010Member"
      decimals="INF"
      id="h_85_c42ab3ff_4a70_49bf_aaa8_53ef039dc913"
      unitRef="USD">972</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="S000001114Member_C000271637Member"
      decimals="INF"
      id="h_86_faf6a57b_3ba6_464e_b5a6_8960f7e3ea01"
      unitRef="USD">68</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000001114Member_C000271637Member"
      decimals="INF"
      id="h_87_9fb1d00d_71ac_4394_8edf_3ddaf7180b30"
      unitRef="USD">227</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000001114Member_C000271637Member"
      decimals="INF"
      id="h_88_aeac90c4_30da_4514_a53b_2cf764c8810d"
      unitRef="USD">400</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000001114Member_C000271637Member"
      decimals="INF"
      id="h_89_68e79a1e_a970_4465_974f_a9a576a94542"
      unitRef="USD">901</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="S000001114Member"
      id="t_25_061799f2_bb16_40e6_9ae9_3b0115c795f4"> Portfolio Turnover </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="S000001114Member"
      id="t_26_1fabda96_472c_4ceb_8568_1c51e1e9014d">&lt;div style="line-height:11.5pt;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 97% 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="S000001114Member"
      decimals="4"
      id="h_90_9efbe097_1de8_4347_ac6e_13ab18685131"
      unitRef="pure">0.97</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="S000001114Member"
      id="t_27_7eb8c47d_03d4_4328_a4e3_d16e15b36ab7">Principal Investment Strategies</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="S000001114Member"
      id="t_36_2cb398bd_2ccf_cbc2_0cef_2c5a7ddab930">&lt;div style="line-height:11.5pt;margin-top:0.0pt;text-align:left;"&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-capitalization companies. &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;The Fund primarily invests in common stock and preferred stock &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;of U.S. companies. Small-capitalization companies are those with &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;a market capitalization of less than $5.0 billion at the time of &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;purchase or otherwise within the range of capitalizations of &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;companies in the Russell 2000&#xae; Index, the S&amp;amp;P SmallCap 600 &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Index, or the Dow Jones U.S. Small-Cap Total Stock Market &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Index. As of April 30, 2025, the date of the latest reconstitution &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;of the Russell 2000&#xae; Index (implemented by the Index June 27, &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;2025), the range of market capitalizations of the Russell 2000&#xae; &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Index was $119.4 million to $7.4 billion. As of December 31, &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;2025, the range of market capitalizations of the S&amp;amp;P SmallCap &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;600 Index was $310.25 million to $9.219 billion. As of &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;December 31, 2025, the range of market capitalizations of the &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Dow Jones U.S. Small-Cap Total Stock Market Index was $28.23 &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;million to $34.789 billion. These capitalization ranges will &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;change over time. The Fund may continue to hold securities of a &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;portfolio company that subsequently appreciates above the &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;small-capitalization threshold. Because of this, the Fund may &lt;/span&gt;&lt;/div&gt;&lt;div style="line-height:11.5pt;text-align:left;"&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;have less than 80% of its net assets in equity securities of small-capitalization&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt; companies at any given time.&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt;line-height:11.5pt"&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 invests in an unrestricted opportunity set, pursuing &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;quality companies with growth oriented characteristics. GW&amp;amp;K &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Investment Management, LLC, the subadviser to the Fund &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;(&#x201c;GW&amp;amp;K&#x201d; or the &#x201c;Subadviser&#x201d;), intends to assemble a portfolio &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;of securities diversified as to companies and industries. The &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Subadviser may consider increasing or reducing the Fund&#x2019;s &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;investment in a particular industry in view of the Fund&#x2019;s goal of &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;achieving industry diversification.&lt;/span&gt;&lt;/div&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001114Member_RiskLoseMoneyMember"
      id="t_54_f297074c_1d8a_3a8f_0e8e_177532abf5eb">There is the risk that you may lose money on your investment. </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001114Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_55_4495758f_f96a_69be_a5bb_6fc258ce8c2f">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="D20251031_20251031_S000001114Member_MarketRisksMember"
      id="t_56_392693d4_d05a_cc06_719a_65058d434866">&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="D20251031_20251031_S000001114Member_SmallCapitalizationStockRiskMember"
      id="t_57_edcde8cb_f5c1_03a0_b7f7_1a7f1e6a8065">&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="D20251031_20251031_S000001114Member_GrowthStockRiskMember"
      id="t_58_ffa9e6a7_d2ce_cbcd_883a_ad42d6a0ac14">&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="D20251031_20251031_S000001114Member_ManagementRiskMember"
      id="t_59_f4ce1b21_1374_f3e4_b659_5a9bc850c3ac">&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="D20251031_20251031_S000001114Member_SectorRiskMember"
      id="t_60_67136f89_3985_4c74_5366_b4b769d17552">&lt;div style="line-height:11.5pt;text-align:left;"&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;information technology and healthcare sectors may comprise a &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;significant portion of the Fund's portfolio. The industrials sector &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;may be affected by general economic trends, including &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;employment, economic growth and interest rates, changes in &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;consumer confidence and spending, government regulation, &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;commodity prices and competitive pressures. The information &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;technology sector may be affected by technological obsolescence,&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt; short product cycles, falling prices and profits, &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;competitive pressures and general market conditions. Stocks in &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;the health care sector may be affected by technological obsolescence,&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt; changes in regulatory approval policies for drugs, medical &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;devices or procedures and changes in governmental and private &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;payment systems.&lt;/span&gt;&lt;/div&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001114Member_LiquidityRiskMember"
      id="t_61_1019f1f3_374b_2a9c_9d1c_734f62d56cc9">&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:BarChartAndPerformanceTableHeading
      contextRef="S000001114Member"
      id="t_30_5982f548_e5cb_4aea_b3c9_bb4745fc15a1">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="S000001114Member"
      id="t_62_3965b411_8819_a126_46c7_2528203b1228">&lt;div style="line-height:11.5pt;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 &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;investing in the Fund by showing changes in the Fund's performance&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt; from year to year and by showing how the Fund's performance&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt; compares to that of (i) a broad-based index and (ii) an &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;additional index reflecting the market segment(s) in which the &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Fund invests.&#160;As always, past&#160;performance of&#160;the Fund (before &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;and after taxes) is not an indication of how the Fund will perform &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt;line-height:11.5pt"&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 December 8, 2025, GW&amp;amp;K was appointed as subadviser to &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;the Fund and the Fund changed its name to &#x201c;AMG GW&amp;amp;K &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Small Cap Growth Fund,&#x201d; adopted its current investment strategies&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt; and began comparing its performance to the Russell 2000&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:6.5pt;position:relative;top:-4.25pt"&gt;&#xae;&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt;line-height:11.5pt"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Growth Index. The Fund&#x2019;s performance information for periods &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;prior to December 8, 2025 reflects the Fund&#x2019;s investment &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;strategy that was in effect at that time and would have been &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;different had the Fund&#x2019;s current investment strategy been in &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;effect.&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt;line-height:11.5pt"&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;Because the Fund&#x2019;s Class Z shares have not operated for a full &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;calendar year, performance history for this share class is not &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;available. Class Z shares would have similar annual returns as &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;Class N and Class I shares because all of the classes are &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;invested in the same portfolio of securities. However, Class Z &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;shares are subject to different expenses than Class N and Class I &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;shares, and Class Z performance would vary to that extent.&lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt;line-height:11.5pt"&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, please &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;visit&#160;wealth.amg.com or&#160;call&#160;800.548.4539.&#160;&lt;/span&gt;&lt;/div&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="S000001114Member"
      id="t_37_3127a5df_278f_c6fc_2924_a8407cb509de">The following performance information illustrates the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund'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="S000001114Member"
      id="t_38_96a5c43a_75c1_c929_f70e_ce31fa1f684f">As always, past&#160;performance of&#160;the Fund (before and after taxes) is not an indication of how the Fund will perform in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceOneYearOrLess
      contextRef="S000001114Member"
      id="t_39_10be16e5_496a_30c0_9af7_9babbeeb1157">Because the Fund&#x2019;s Class Z shares have not operated for a full calendar year, performance history for this share class is not available.</oef:PerformanceOneYearOrLess>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="S000001114Member"
      id="t_41_ee8de66e_6f89_9269_1058_6493da34a623">wealth.amg.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="S000001114Member"
      id="t_42_9049d36b_3341_9391_79e3_0a20b5ce2dbe">800.548.4539</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="S000001114Member"
      id="t_43_3bcbf664_6980_55c3_b6d7_fac1e0164fcf">Calendar Year Total Returns as of 12/31/25 (Class N) </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="S000001114Member"
      id="t_48_6a29dd77_2e7c_03cd_577c_8640056d07da">&lt;div style="margin-top:9pt;"&gt;&lt;span style="color:#000000;font-family:arial;font-size:8pt"&gt;Best Quarter: 24.95% (2nd Quarter 2020)&lt;/span&gt; &lt;br/&gt; &lt;span style="color:#000000;font-family:arial;font-size:8pt"&gt;Worst Quarter: -21.15% (2nd Quarter 2022)&lt;/span&gt;&lt;/div&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="S000001114Member_C000003009Member"
      id="t_44_3f8ffdc9_4eee_df12_7774_4e92e414ab8c">Best Quarter:</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="S000001114Member_C000003009Member"
      decimals="4"
      id="h_112_3797fcd7_f1d5_0ece_76ca_a6e8bcb3e19c"
      unitRef="pure">0.2495</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="S000001114Member_C000003009Member"
      id="t_45_e43a0e0a_ca6c_4f77_5eb5_31ec956f68c4">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="S000001114Member_C000003009Member"
      id="t_47_64aec7bb_0225_62f7_33ca_e0aebf59c5da">Worst Quarter:</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="S000001114Member_C000003009Member"
      decimals="4"
      id="h_113_00b722b6_c9a9_ddc5_ba4c_a8b953862107"
      unitRef="pure">-0.2115</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="S000001114Member_C000003009Member"
      id="t_46_16bd82fb_77ec_276b_bcca_556428f50f6b">2022-06-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="S000001114Member"
      id="t_32_c1171dee_72ae_45cc_a930_77deb4b1705d">  Average Annual Total Returns as of 12/31/25  </oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003009Member"
      decimals="4"
      id="h_91_aed7734e_8d52_4131_85b8_b214b8ef99be"
      unitRef="pure">0.1619</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003009Member"
      decimals="4"
      id="h_92_db6bff65_c0e6_4c1a_ba05_51115372f4c4"
      unitRef="pure">0.1036</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003009Member"
      decimals="4"
      id="h_93_65f89867_8da2_4360_b8a3_5d132fc6eebe"
      unitRef="pure">0.1294</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003009Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_94_5d732005_44cb_4c6c_b579_69fb086a4e71"
      unitRef="pure">0.0721</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003009Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_95_0655e300_3c90_44b9_93c2_a136f9612a04"
      unitRef="pure">0.0416</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003009Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_96_bee6efb4_be4f_49ad_b781_afe85ac5cd41"
      unitRef="pure">0.0805</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003009Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_97_d30b1dfd_efa1_4f2c_8bc3_5b4da20ac965"
      unitRef="pure">0.1501</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003009Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_98_b6a14ffe_b3ec_4f37_a9b0_af4531d9a60b"
      unitRef="pure">0.0673</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003009Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_99_47abdeec_94c0_4421_a876_630c575c87d5"
      unitRef="pure">0.0922</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003010Member"
      decimals="4"
      id="h_100_6cee1d5f_0a28_4098_93d0_13ee2b0a4671"
      unitRef="pure">0.1631</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003010Member"
      decimals="4"
      id="h_101_c4a2142e_5037_4035_b056_26c99748982e"
      unitRef="pure">0.1053</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003010Member"
      decimals="4"
      id="h_102_e14a683d_f3da_4eef_99d6_2276449089cd"
      unitRef="pure">0.1314</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001114SP500IndexMember"
      decimals="4"
      id="h_103_9a9b8ec0_426f_4883_af22_20e4bd5b44c5"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001114SP500IndexMember"
      decimals="4"
      id="h_104_cae58ee8_f625_4daf_abad_de859f6ece08"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001114SP500IndexMember"
      decimals="4"
      id="h_105_bf664fd3_14c7_4c6f_9257_3e91dd8d0134"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001114Russell2000GrowthIndexMember"
      decimals="4"
      id="h_106_e4ba70dd_9934_4b80_9105_7eb18489f2f9"
      unitRef="pure">0.1301</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001114Russell2000GrowthIndexMember"
      decimals="4"
      id="h_107_12d7fdf7_abb5_411e_ac0e_b09b14254e7b"
      unitRef="pure">0.0318</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001114Russell2000GrowthIndexMember"
      decimals="4"
      id="h_108_56a64a36_5a07_4943_8e12_700feed5386c"
      unitRef="pure">0.0957</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001114SP500GrowthIndexMember"
      decimals="4"
      id="h_109_3c523af2_560e_4ec2_9c72_a8cf71cb41a0"
      unitRef="pure">0.2218</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001114SP500GrowthIndexMember"
      decimals="4"
      id="h_110_ce88757e_9657_463b_8400_94faa1f5f341"
      unitRef="pure">0.1504</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001114SP500GrowthIndexMember"
      decimals="4"
      id="h_111_2af0d3e6_95af_4001_b5dc_af536e13f2ee"
      unitRef="pure">0.1699</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableMarketIndexChanged
      contextRef="S000001114Member"
      id="t_49_4a103e69_4e51_43b5_8593_74e583d86a45">The Russell 2000&#xae; Growth Index replaced the S&amp;P 500&#xae; Growth Index as the Fund's additonal benchmark on December 8, 2025 because the Investment Manager and Subadviser believe the new benchmark is more representative of the Fund's current strategies.</oef:PerformanceTableMarketIndexChanged>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="S000001114Member"
      id="t_53_09832c2c_1259_3a42_3f59_d2800e0e7bd6">&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 &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;individual U.S. federal marginal income tax rates and do not &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;reflect the impact of state and local taxes. Actual after-tax &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;returns depend on an investor&#x2019;s tax situation and may differ from &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;those shown. After-tax returns are not relevant to investors who &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;hold their Fund shares through tax-advantaged arrangements, &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;After-tax returns are shown for Class N shares only, and after-tax &lt;/span&gt;&lt;span style="color:#000000;font-family:times new roman;font-size:10pt"&gt;returns for Class I and Class Z shares will vary.&lt;/span&gt;&lt;/div&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="S000001114Member"
      id="t_50_0ca5fdc5_da86_c618_2963_9d5d80d1f445">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="S000001114Member"
      id="t_51_76945f24_ce2b_5f77_e5f1_9c5978ccb39a">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="S000001114Member"
      id="t_52_1b822333_b36a_37a1_f680_09f331bcac3f">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>
    <oef:RiskReturnHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_49_d3f3a3f3_45b5_abdb_335d_865a6206d8ae"> AMG River Road Dividend All Cap Value Fund </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_34_4306d96a_4b24_4895_9e1f_4b9da2679214"> Investment Objective </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_50_47b5624f_ded8_d3bd_413e_7452db1ae8be">The Fund seeks to provide high current income and,</oef:ObjectivePrimaryTextBlock>
    <oef:ObjectiveSecondaryTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_51_bc4b185b_18a7_58ad_82b4_f6097b0031f7">secondarily,&#160;long-term capital appreciation.</oef:ObjectiveSecondaryTextBlock>
    <oef:ExpenseHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_36_6f7190fc_592a_4281_ab79_6b10c0b07adc">  Fees and Expenses of the Fund  </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_37_c579d5b8_c4f5_4259_b8ae_40972c99d031"> &lt;div style="line-height: 10.75pt; margin-top: 0.0pt; 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="D20251031_20251031_S000001129Member"
      id="t_38_27afcb54_70b3_45bb_913c_2102a6fdaad4">  Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)  </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="4"
      id="h_112_2c199c3c_09ff_4714_affe_5b0ff5ebe38b"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="4"
      id="h_113_090b09d7_6d24_417c_aad0_48bbf9d9eb4e"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="4"
      id="h_114_274c2201_f0fb_4673_ad6f_9f41f8f9833c"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="4"
      id="h_115_e755d0a3_4825_47e8_b325_d72cadaae780"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="4"
      id="h_116_c9b6636f_55eb_48ef_b0d1_f5b827070e6d"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="4"
      id="h_117_3548efc6_9de3_4588_b01f_9b8a78dddfc8"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="4"
      id="h_118_42f4f340_9219_4b6b_9085_36363ccb2836"
      unitRef="pure">0.0036</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="4"
      id="h_119_00ace2d6_9074_4e0d_a3a4_fe8b28c349bc"
      unitRef="pure">0.0036</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="4"
      id="h_120_07697794_d419_4f7f_adc0_2e5ee88cd019"
      unitRef="pure">0.0032</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="4"
      id="h_121_301b617e_6703_42fc_9a2a_e4f92b861efb"
      unitRef="pure">0.0111</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="4"
      id="h_122_2378c6d6_295f_478c_848b_99df91ad4fb4"
      unitRef="pure">0.0086</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="4"
      id="h_123_9b2bc7d0_5bb9_4293_8b2e_1dffa76e9e76"
      unitRef="pure">0.0082</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="4"
      id="h_124_9b7e0748_2957_4b41_af95_f8276faa726a"
      unitRef="pure">-0.0014</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="4"
      id="h_125_aaa7d12f_b257_443a_845d_92723c3aac60"
      unitRef="pure">-0.0014</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="4"
      id="h_126_9b5f9867_b0ba_4cb2_81ba_e1dda4fc0fcf"
      unitRef="pure">-0.0014</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="4"
      id="h_127_c1f1c0ec_3ed7_4f1f_ae1d_28c03d64404d"
      unitRef="pure">0.0097</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="4"
      id="h_128_8d5ff4d8_e979_47a9_973f_9a9315bf0743"
      unitRef="pure">0.0072</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="4"
      id="h_129_ede51b63_2b19_42b2_9ed5_72cdfb0dc29c"
      unitRef="pure">0.0068</oef:NetExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="D20251031_20251031_S000001129Member"
      id="t_64_e2730827_432e_1a7b_08d8_85630ce138e4">Expense information has been restated to reflect current fees.</oef:ExpensesRestatedToReflectCurrent>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="D20251031_20251031_S000001129Member"
      id="t_65_067e28a3_1745_228b_415b_67e069d09af5">March 1,&#160;2027</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_39_5b74574d_a39f_4d55_b5b4_33663e0376aa">  Expense Example  </oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_40_b5de46e5_70fc_4ea5_a0da_cb94771dd165"> &lt;div style="line-height: 10.75pt; 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;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&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;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;March 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="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="INF"
      id="h_130_b7566682_69c1_4949_8ee3_4cd393856938"
      unitRef="USD">99</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="INF"
      id="h_131_4d54a2e4_a17e_46ca_9b90_27f850700bdc"
      unitRef="USD">339</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="INF"
      id="h_132_68fd5d70_6095_4f03_b1d7_aba90f192295"
      unitRef="USD">598</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="INF"
      id="h_133_090b311d_0271_41f3_84e1_d5f083f0f516"
      unitRef="USD">1339</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="INF"
      id="h_134_445cfc5a_012b_49ff_bdca_9ac07af18978"
      unitRef="USD">74</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="INF"
      id="h_135_862a2e3f_c935_4ba4_ac14_04246a7c6763"
      unitRef="USD">260</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="INF"
      id="h_136_82a80e28_f4da_4cf6_9691_a4b333c8e808"
      unitRef="USD">463</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001129Member_C000050291Member"
      decimals="INF"
      id="h_137_00775234_ca2f_4dd0_90e2_af5e64389727"
      unitRef="USD">1048</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="INF"
      id="h_138_0206fdae_5da5_40a5_91a1_f387469e8dc5"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="INF"
      id="h_139_a2c3155f_6c69_46a1_8ae4_d042601edfe9"
      unitRef="USD">248</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="INF"
      id="h_140_5b109ac8_e00b_4e0a_abe7_03ba6c0c5fb2"
      unitRef="USD">441</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001129Member_C000194567Member"
      decimals="INF"
      id="h_141_b61eb630_0f2d_4303_905f_cacc548c8f28"
      unitRef="USD">1001</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_41_b2d7ee68_f727_4e0a_9855_b4ea84c8ce21">  Portfolio Turnover  </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_42_70bda7e5_df05_4560_8023_ea8e0ddfc66d"> &lt;div style="line-height: 10.75pt; margin-top: 0.0pt; 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;38&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="D20251031_20251031_S000001129Member"
      decimals="4"
      id="h_142_f394a43b_6829_4c3d_9ed4_4b635cf7d3c4"
      unitRef="pure">0.38</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_43_7f851346_0739_4238_8641_55b01ecb3730"> Principal Investment Strategies </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_52_8aa6de45_d986_7661_bf17_e13e2b650dfd"> &lt;div style="line-height: 10.75pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Under normal conditions, the Fund invests at least 80% of its &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;assets in equity securities. The Fund invests in a diversified, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;all-cap portfolio of income-producing equity securities with &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;yields that River Road Asset Management, LLC, the subadviser &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;to the Fund (&#x201c;River Road&#x201d; or the &#x201c;Subadviser&#x201d;), believes will &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;exceed that of the Russell&#160;3000 Value Index. The Fund invests &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;primarily in dividend paying common stocks, publicly traded &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;partnerships (&#x201c;PTPs&#x201d;), and real estate investment trusts &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(&#x201c;REITs&#x201d;). The Fund may also invest in foreign securities &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(directly and through depositary receipts), convertible preferred &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stocks, and royalty income trusts.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser&#x2019;s investment philosophy is based upon its proprietary&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; Absolute Value&#xae; approach, which seeks to generate &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;attractive, sustainable returns over the long term, with an &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;emphasis on minimizing downside portfolio risk.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser builds the Fund&#x2019;s portfolio from the bottom up, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;making security-specific research central to the Subadviser&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process. At the core of the Subadviser&#x2019;s Absolute Value&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; line-height: 10.75pt;"&gt; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;approach is a systematic method for assessing the &#x2018;risk-to-reward&#x2019;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; characteristics of an investment. The goal of the research &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process is to formulate two outputs from which an investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;decision is made &#x2013; conviction rating (risk) and discount to value &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(reward). The Subadviser combines a stock&#x2019;s conviction rating &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;with its discount to value in an effort to determine not only &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;whether the stock qualifies for investment, but also how the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stock will be sized within the Fund.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Subadviser employs a balanced approach to diversification &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and a structured sell discipline that seeks to reduce portfolio &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility and the risk of permanent loss of capital.&lt;/span&gt;&lt;/div&gt; </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_RiskLoseMoneyMember"
      id="t_73_655766b4_269f_66ce_11ea_57f2a4dd168c">There is the risk that you may lose money on your investment.&#160;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_74_1390a303_bf03_7d28_97eb_c50d022a188a">An&#160;investment in the Fund is not a deposit or obligation of any bank,&#160;is not endorsed or guaranteed by any bank, and is not insured by&#160;the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any other&#160;government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_MarketRisksMember"
      id="t_75_7875e9d4_0d55_c769_9e8f_27a2115fbb5b"> &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="D20251031_20251031_S000001129Member_SmallAndMidCapitalizationStockRiskMember"
      id="t_76_1e106037_9542_53b9_9dc0_f1b5f28f1ec1"> &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- and Mid-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small- and mid-capitalization companies often have greater price &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility, lower trading volume, and less liquidity than the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stocks of larger, more established companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_ManagementRiskMember"
      id="t_77_e2939906_e00f_5762_4863_2ce0135b3d89"> &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="D20251031_20251031_S000001129Member_ValueStockRiskMember"
      id="t_78_d1c0f825_abf1_2fbb_45f5_13c4616afbd2"> &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:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_SectorRiskMember"
      id="t_79_f5970167_9119_fd71_6dd6_125f689eeb32"> &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.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_ConvertibleSecuritiesRiskMember"
      id="t_80_9ae62025_3615_f43f_96c1_352c76455ce2"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Convertible Securities Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014; convertible preferred stocks, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which are convertible into shares of the issuer&#x2019;s common stock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and pay regular dividends, and convertible debt securities, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which are convertible into shares of the issuer&#x2019;s common stock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and bear interest, are subject to the risks of equity securities and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;fixed income securities. The lower the conversion premium, the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;more likely the price of the convertible security will follow the &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;price of the underlying common stock. Conversely, higher &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;premium convertible securities are more likely to exhibit the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;behavior of bonds because the likelihood of conversion is lower, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which may cause their prices to fall as interest rates rise. There &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;is the risk that the issuer of convertible preferred stock will not &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;be able to make dividend payments or that the issuer of a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;convertible bond will not be able to make principal and/or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;interest payments.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_CurrencyRiskMember"
      id="t_81_da8bdf60_1c28_c49e_6afe_0d46f932f887"> &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="D20251031_20251031_S000001129Member_ForeignInvestmentRiskMember"
      id="t_82_e9c1dcea_0ac3_b99c_dd57_514699811926"> &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;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="D20251031_20251031_S000001129Member_LargeCapitalizationStockRiskMember"
      id="t_83_434d3412_d0bb_3ff5_f504_d845a2fb2729"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Large-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of large-capitalization&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; companies are generally more mature and may not &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;be able to reach the same levels of growth as the stocks of small- &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;or mid-capitalization companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_LiquidityRiskMember"
      id="t_84_efcba54c_97a8_426a_13e4_d1f523cdfa8d"> &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="D20251031_20251031_S000001129Member_MasterLimitedPartnershipRiskMember"
      id="t_85_023c4d14_0c6d_173d_7ab2_bc31bc5d43db"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Master Limited Partnership Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;investments in master &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;limited partnerships are subject to similar risks to those &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;associated with the specific industry or industries in which the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;partnership invests, such as the risk of investing in the real &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;estate or oil and gas industries. In addition, investments in &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;master limited partnerships are subject to the risks of investing &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in a partnership, including limited control and voting rights on &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;matters affecting the partnership and fewer investor protections &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;compared to corporations.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_PTPRiskMember"
      id="t_86_5a2b0928_735c_c168_8e33_8cd9ccb31ea7"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;PTP Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014; investing in PTPs (including master limited &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;partnerships) involves special risks in addition to those typically &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;associated with publicly traded companies. PTPs are exposed to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the risks of their underlying assets, which in many cases &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;includes the same types of risks as energy and natural resources &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies, such as commodity pricing risk, supply and demand &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;risk and depletion and exploration risk. PTPs are also subject to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;capital markets risk, which is the risk that they may be unable to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;raise capital to execute their growth strategies. PTPs are also &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;subject to tax risk, which is the risk that PTPs may lose their &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;partnership status for tax purposes. The Fund&#x2019;s ability to make &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investments in certain PTPs, including master limited partnerships,&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; can be limited by the Fund&#x2019;s intention to qualify as a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;regulated investment company accorded favorable tax treatment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;under the Internal Revenue Code of 1986, as amended (the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x201c;Internal Revenue Code&#x201d;), and if the Fund does not appropriately&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; limit such investments or if such investments are &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;recharacterized for U.S. federal income tax purposes, the Fund&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;status as a regulated investment company may be jeopardized.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_RealEstateIndustryRiskMember"
      id="t_87_327dcc7e_c6ba_bfa4_1afe_5a3c63687bf6"> &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;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&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. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;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.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; 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.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001129Member_RoyaltyIncomeTrustRiskMember"
      id="t_88_9056de09_fba9_e633_39d8_f31817dae8ba"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Royalty Income Trust Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014; investing in royalty income &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;trusts, which typically passively manage royalties and net &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;working interests in oil-, gas- or mineral-producing properties &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and rely on outside drilling or mining companies to extract the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;resources, involves certain risks not typically associated with &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investing in publicly traded companies. Royalty income trusts &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;generally do not guarantee minimum distributions or return of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;capital. Royalty income trusts are also exposed to many of the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;same risks as energy and natural resources companies, such as &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;commodity pricing risk, supply and demand risk and depletion &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and exploration risk.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_46_60e96e41_65c0_480b_a7d7_cc8eff93cee5"> Performance </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_57_e8406b09_17d8_ee24_7403_08d32fc3f705"> &lt;div style="line-height: 10.75pt; 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&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;investing in the Fund by showing changes in the Fund's performance&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;from year to year and by showing how the Fund's performance&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;compares to that of (i) a broad-based index and (ii) an&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;additional index reflecting the market segment(s) in which the&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;Fund invests. As always, past&#160;performance of&#160;the Fund (before&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;and after taxes) is not an indication of how the Fund will perform&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;in the future. To obtain updated performance information please &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;visit&#160;wealth.amg.com or&#160;call&#160;800.548.4539.&#160;&lt;/span&gt;&lt;/div&gt; </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="D20251031_20251031_S000001129Member"
      id="t_53_31647ddc_9cfe_b617_b669_12111e1bb79c">The following performance information illustrates the risks of&#160;investing in the Fund by showing changes in the Fund's performance&#160;from year to year and by showing how the Fund's performance&#160;compares to that of (i) a broad-based index and (ii) an&#160;additional index reflecting the market segment(s) in which the&#160;Fund invests.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="D20251031_20251031_S000001129Member"
      id="t_54_e08f5fc6_1d7a_a3e1_67bf_2bf8511629af">As always, past&#160;performance of&#160;the Fund (before&#160;and after taxes) is not an indication of how the Fund will perform&#160;in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="D20251031_20251031_S000001129Member"
      id="t_55_fa16a09a_16de_df80_5a4f_688eb1fee8bf">wealth.amg.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="D20251031_20251031_S000001129Member"
      id="t_56_4515c71e_f4b9_b570_83f8_9ea6e398566d">800.548.4539</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_58_1b3a3475_f601_00ed_8fe1_619fa8a404b5"> Calendar Year Total Returns as of 12/31/25 (Class N)  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_59_e529f59c_e471_42a3_17ed_468d903036e7"> &lt;div style="margin-top: 9pt;"&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Best Quarter: 16.58% (2nd Quarter 2020)&lt;/span&gt; &lt;br/&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Worst Quarter: -29.99% (1st Quarter 2020)&lt;/span&gt;&lt;/div&gt; </oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      id="t_66_3598b933_387d_477a_0a7c_0afdb67c295a">Best Quarter:</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="4"
      id="h_171_63230c71_62bc_c128_ede3_687146c41be6"
      unitRef="pure">0.1658</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      id="t_67_b380050a_a793_bbf1_4a96_fa22b3babf0f">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      id="t_68_68049b27_f249_7a60_9179_614e97177e33">Worst Quarter:</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      decimals="4"
      id="h_172_cf3740b5_2261_4e7c_e97a_67ffd45748ab"
      unitRef="pure">-0.2999</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000001129Member_C000003037Member"
      id="t_69_ca631f7f_708f_6029_3381_76cf7219cd9a">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="D20251031_20251031_S000001129Member"
      id="t_48_a7712990_9c8a_4362_9f66_4680a1c69935">  Average Annual Total Returns as of 12/31/25  </oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003037Member"
      decimals="4"
      id="h_143_127b9f72_07f9_4bfc_8ba1_d33f3f732cc7"
      unitRef="pure">0.0702</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003037Member"
      decimals="4"
      id="h_144_586a5efe_6df6_4cf2_9f39_357e2db238c9"
      unitRef="pure">0.0835</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003037Member"
      decimals="4"
      id="h_145_0851e07c_8d87_43f3_9760_121804d2fd1c"
      unitRef="pure">0.0807</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003037Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_147_d4d728b0_bfd9_4d50_b64f_559f4d54ada0"
      unitRef="pure">0.0019</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003037Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_148_506775a9_bae9_457d_8108_ef8508b4261b"
      unitRef="pure">0.0275</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003037Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_149_2f0453bf_0347_453d_b0ea_659fd36b261d"
      unitRef="pure">0.0437</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003037Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_151_36855823_eaab_44e0_a2f8_7eb9cabfcee2"
      unitRef="pure">0.0778</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003037Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_152_afd8a4dd_488e_41e2_b4c4_87a295924ba6"
      unitRef="pure">0.0606</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003037Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_153_a1f6aa41_9150_42c1_9bac_4f5cd495ff32"
      unitRef="pure">0.0602</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000050291Member"
      decimals="4"
      id="h_155_10e21b5a_bda3_41f6_868e_c19cd9f68f92"
      unitRef="pure">0.0732</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000050291Member"
      decimals="4"
      id="h_156_d155dbfd_3cd5_43c2_8a19_3f828f476259"
      unitRef="pure">0.0861</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000050291Member"
      decimals="4"
      id="h_157_826026a8_177d_49f3_b5d2_b23d58f7d31d"
      unitRef="pure">0.0834</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000194567Member"
      decimals="4"
      id="h_159_63670105_52c5_4a4f_96ad_07790df189a2"
      unitRef="pure">0.0739</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000194567Member"
      decimals="4"
      id="h_160_f41ad72f_8996_403c_9210_2962cd4fe203"
      unitRef="pure">0.0870</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000194567Member"
      decimals="4"
      id="h_162_1d76e1b2_41a5_4b0d_ba06_848ed13fe3bd"
      unitRef="pure">0.0717</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001129SP500IndexMember"
      decimals="4"
      id="h_163_930ed9c8_2367_48b0_bb59_11921aadb17e"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001129SP500IndexMember"
      decimals="4"
      id="h_164_00b5fd43_7848_450f_b1a3_4e1a8bb5426b"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001129SP500IndexMember"
      decimals="4"
      id="h_165_661c09ac_6ae4_49a5_9e55_3ffed660e87b"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000001129SP500IndexMember"
      decimals="4"
      id="h_166_f0a78af6_0aca_45eb_a64c_4832f8e57356"
      unitRef="pure">0.1476</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001129Russell3000ValueIndexMember"
      decimals="4"
      id="h_167_db00f4c6_024b_43d2_9b53_1727420a9411"
      unitRef="pure">0.1571</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001129Russell3000ValueIndexMember"
      decimals="4"
      id="h_168_8630a8e9_e3fa_4823_90ba_2b4d95cbba72"
      unitRef="pure">0.1118</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001129Russell3000ValueIndexMember"
      decimals="4"
      id="h_169_50c44e01_4cd4_49ee_b6b1_878d46eb8c09"
      unitRef="pure">0.1046</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000001129Russell3000ValueIndexMember"
      decimals="4"
      id="h_170_ec19b2fa_6d2b_45a6_b041_134fce875af7"
      unitRef="pure">0.0953</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_C000194567Member"
      id="t_70_411161dd_4f2f_72b9_8215_5a10857218db">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000001129SP500IndexMember"
      id="t_71_c880d350_dcf6_63fb_83b6_7243bcd9e7e3">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000001129Russell3000ValueIndexMember"
      id="t_72_4d15c71c_2acf_6ac6_b462_ccfadcb73b8a">2017-09-29</oef:PerfInceptionDate>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="D20251031_20251031_S000001129Member"
      id="t_63_45b8b386_52ca_c515_f5de_23662be32c84"> &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&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;individual U.S. federal marginal income tax rates and do not&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;reflect the impact of state and local taxes. Actual after-tax&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;returns depend on an investor&#x2019;s tax situation and may differ from&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;those shown. After-tax returns are not relevant to investors who&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;hold their Fund shares through tax-advantaged arrangements,&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;After-tax returns are shown for Class N shares only, and after-tax&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#160;returns for Class I and Class Z shares will vary.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="D20251031_20251031_S000001129Member"
      id="t_60_6d0312bf_dfa1_738b_a94a_a3174fffe414">After-tax returns are calculated using the historical highest&#160;individual U.S. federal marginal income tax rates and do not&#160;reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="D20251031_20251031_S000001129Member"
      id="t_61_72f415be_5e6b_123f_b924_e97e6dbbb6e8">Actual after-tax&#160;returns depend on an investor&#x2019;s tax situation and may differ from&#160;those shown. After-tax returns are not relevant to investors who&#160;hold their Fund shares through tax-advantaged arrangements,&#160;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="D20251031_20251031_S000001129Member"
      id="t_62_d0f92506_212b_9d51_da66_8f99835bce38">&#160;After-tax returns are shown for Class N shares only, and after-tax&#160;returns for Class I and Class Z shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="D20251031_20251031_S000051381Member"
      id="t_65_9f3f0537_c63a_b59a_356f_bcbb4f4611ab"> AMG River Road Focused Absolute Value Fund </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="D20251031_20251031_S000051381Member"
      id="t_50_f5d54403_9ce5_44e7_abc3_bdf152d9af2b"> Investment Objective </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="D20251031_20251031_S000051381Member"
      id="t_51_e0c9c39b_f6e0_4312_8312_3a92ca5507a7"> &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund seeks to provide long-term capital appreciation.&lt;/span&gt;&lt;/div&gt; </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="D20251031_20251031_S000051381Member"
      id="t_52_c665549d_b7ea_46de_a9cf_278db6e53984">  Fees and Expenses of the Fund  </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="D20251031_20251031_S000051381Member"
      id="t_53_b6a65f0d_09d5_4f98_b084_d5d9eff894d9"> &lt;div style="line-height: 10.75pt; 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="D20251031_20251031_S000051381Member"
      id="t_54_7795fa8f_60c6_4247_8c6d_c58ca9c200fc">  Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)  </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="4"
      id="h_171_dbc98779_982b_4c38_bcde_56b0eaba59d2"
      unitRef="pure">0.0060</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="4"
      id="h_172_5d135193_ff68_4b86_beeb_48ade05d3e15"
      unitRef="pure">0.0060</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="4"
      id="h_173_7a8f9c3e_98a1_4c31_a98f_a7ec275be84a"
      unitRef="pure">0.0060</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="4"
      id="h_174_fb2f608c_29b5_4d24_83df_9cc7b9d5f0fa"
      unitRef="pure">0.0024</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="4"
      id="h_175_a7b40089_a067_4499_8671_8b4761f3271b"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="4"
      id="h_176_fa5dcd41_2905_4dab_9add_c58291929e0b"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="4"
      id="h_177_3b4886f7_66b1_40c6_a4d2_9e4f6d79a808"
      unitRef="pure">0.0041</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="4"
      id="h_178_1c4762e4_55c1_4540_b1e5_f90e3f4d56e6"
      unitRef="pure">0.0041</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="4"
      id="h_179_028194f2_d42f_45bf_88d2_2a8cdc2c93c8"
      unitRef="pure">0.0037</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="4"
      id="h_180_d41262ef_b6f0_42c8_bf38_74377be28b27"
      unitRef="pure">0.0125</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="4"
      id="h_181_708c26e6_d87e_4821_abae_b5745a9d0bdd"
      unitRef="pure">0.0101</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="4"
      id="h_182_1e4c37ce_5f71_4517_b3cd_a63033b0c314"
      unitRef="pure">0.0097</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="4"
      id="h_183_3da3bdaf_505b_481f_9ea8_0fc579634a20"
      unitRef="pure">-0.0019</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="4"
      id="h_184_cd10745f_fc87_4cba_83f5_c39bf59573ed"
      unitRef="pure">-0.0019</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="4"
      id="h_185_fd8770f2_54bc_4619_80b7_bb48de65587e"
      unitRef="pure">-0.0019</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="4"
      id="h_186_7d2f1a83_8659_4a4e_8e13_d6ed87609253"
      unitRef="pure">0.0106</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="4"
      id="h_187_7949dcc4_a687_45e4_bc23_4ff2cbda8cf2"
      unitRef="pure">0.0082</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="4"
      id="h_188_2793502f_22c6_4b2b_9ef7_c236e30cd607"
      unitRef="pure">0.0078</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="D20251031_20251031_S000051381Member"
      id="t_78_4cfad925_bc54_8a67_7ca2_f7b8b3129a9f">March 1,&#160;2027</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="D20251031_20251031_S000051381Member"
      id="t_55_c8f6fa04_1ac5_41a3_9efc_3a29fd8bd9a3">  Expense Example  </oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="D20251031_20251031_S000051381Member"
      id="t_56_213ddbe3_f20f_445c_b784_e74f60abf0a3"> &lt;div style="line-height: 10.75pt; 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;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;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&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;March 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="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="INF"
      id="h_189_de532660_803c_4dbe_a119_aa636e922ed0"
      unitRef="USD">108</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="INF"
      id="h_190_9553bc17_88af_4cad_8bb2_773edfaf5551"
      unitRef="USD">378</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="INF"
      id="h_191_abe432fd_ec19_4513_9b91_031372bf39e3"
      unitRef="USD">668</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="INF"
      id="h_192_4ca8be02_2320_4615_b62b_071d24cd5bdc"
      unitRef="USD">1495</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="INF"
      id="h_193_76939fb0_02c0_43bb_a859_ddc59b003c58"
      unitRef="USD">84</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="INF"
      id="h_194_24673e4c_1db8_464e_8634_0fc1d76637ef"
      unitRef="USD">303</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="INF"
      id="h_195_de221377_ff5c_4767_81df_60c59d2c28e7"
      unitRef="USD">539</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000051381Member_C000161967Member"
      decimals="INF"
      id="h_196_49cfbc86_7109_4950_a13c_8ed170c416a6"
      unitRef="USD">1219</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="INF"
      id="h_197_7a0d4c63_f7f4_4a3e_bcf1_36ffcb329be7"
      unitRef="USD">80</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="INF"
      id="h_198_62c0d0d9_93a9_43c0_baba_6b677b10e813"
      unitRef="USD">290</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="INF"
      id="h_199_1779b5fd_6d48_4210_b9f5_50d7030279e2"
      unitRef="USD">518</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000051381Member_C000194575Member"
      decimals="INF"
      id="h_200_63cc9b84_c4be_44b3_affa_15fe25e94050"
      unitRef="USD">1172</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="D20251031_20251031_S000051381Member"
      id="t_57_ae7f9c21_193c_4305_8663_c1478b0eefe2">  Portfolio Turnover  </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="D20251031_20251031_S000051381Member"
      id="t_58_0049ca7a_708d_4037_afbe_62d05cdfc1a9"> &lt;div style="line-height: 10.75pt; 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;92&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="D20251031_20251031_S000051381Member"
      decimals="4"
      id="h_201_2628e73c_af1c_457a_a3cb_88028649dec4"
      unitRef="pure">0.92</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="D20251031_20251031_S000051381Member"
      id="t_59_843b0d54_ccf1_4356_90c7_0e7acc0ee6b1"> Principal Investment Strategies </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="D20251031_20251031_S000051381Member"
      id="t_66_c3c2aca4_7851_af7c_8efd_1e9fcbcec897"> &lt;div style="line-height: 10.75pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund principally invests in a portfolio of equity securities of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;U.S. and non-U.S. companies and may invest in securities of all &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;market capitalizations. Under normal conditions, the Fund &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;intends to invest its assets in the equity securities of a limited &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;number of issuers. In pursuing its investment strategy, the Fund &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;will primarily invest in common stocks, real estate investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;trusts (&#x201c;REITs&#x201d;) and publicly traded partnerships (&#x201c;PTPs&#x201d;), &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;including, but not limited to, master limited partnerships &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(&#x201c;MLPs&#x201d;). The Fund may invest in non U.S. companies through &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;depositary receipts or by directly investing in securities listed on &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;foreign exchanges.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 investment philosophy of River Road Asset Management, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;LLC, the subadviser to the Fund (&#x201c;River Road&#x201d; or the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x201c;Subadviser&#x201d;), is based upon its proprietary Absolute Value&#xae; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;approach, which seeks to generate attractive, sustainable returns &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;over the long term, with an emphasis on minimizing downside &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;portfolio risk.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser builds the Fund&#x2019;s portfolio from the bottom up, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;making security-specific research central to the Subadviser&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process. At the core of the Subadviser&#x2019;s Absolute Value&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; line-height: 10.75pt;"&gt; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;approach is a systematic method for assessing the &#x2018;risk-to-reward&#x2019;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; characteristics of an investment. The goal of the research &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process is to formulate two outputs from which an investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;decision is made &#x2013; conviction rating (risk) and discount to value &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(reward). The Subadviser combines a stock&#x2019;s conviction rating &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;with its discount to value in an effort to determine not only &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;whether the stock qualifies for investment, but also how the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stock will be sized within the Fund.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;In managing the Fund, the Subadviser employs an all-cap &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;strategy that focuses on a limited number of securities representing&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; the Subadviser&#x2019;s &#x201c;best ideas&#x201d; across all of its core strategies.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; These &#x201c;best ideas&#x201d; are the result of the Subadviser&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;risk/reward assessment, which is based on the Subadviser&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;conviction about a company and opinion about the company&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;discount to valuation.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 seek to manage risk, the Subadviser employs a structured sell &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;discipline.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser&#x2019;s investment strategy is highly opportunistic and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;may result in high portfolio turnover.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 is classified as non-diversified.&lt;/span&gt;&lt;/div&gt; </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_RiskLoseMoneyMember"
      id="t_101_361d8f7e_d528_70dc_ac7a_a625292a02b9">There is the risk that you may lose money on your investment.&#160;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_102_2bc22652_b2fe_797c_2afa_487f9353a708">An&#160;investment in the Fund is not a deposit or obligation of any bank,&#160;is not endorsed or guaranteed by any bank, and is not insured by&#160;the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any other&#160;government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_MarketRisksMember"
      id="t_86_89b7e490_f1e8_bde2_9717_ee80713d9d20"> &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="D20251031_20251031_S000051381Member_FocusedInvestmentRiskMember"
      id="t_87_1c1168ae_0ced_24e8_632b_39455b54cdf1"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Focused Investment Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;to the extent the Fund invests a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;substantial portion of its assets in a relatively small number of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;securities or a particular market, industry, group of industries, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;country, region, group of countries, asset class or sector, it &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;generally will be subject to greater risk than a fund that invests &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in a more diverse investment portfolio. In addition, the value of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the Fund would be more susceptible to any single economic, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;market, political or regulatory occurrence affecting, for example, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;that particular market, industry, region or sector.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_ManagementRiskMember"
      id="t_88_3f62f1db_51ee_f5ac_c5e0_0680094a7bb9"> &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="D20251031_20251031_S000051381Member_RiskNondiversifiedStatusMember"
      id="t_89_9eadbba9_e4e9_09b4_a084_9cb0446cc836"> &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Non-Diversified Fund Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the Fund is non-diversified and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;therefore a greater percentage of holdings may be focused in a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small number of issuers or a single issuer, which can place the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund at greater risk. Notwithstanding the Fund&#x2019;s status as a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x201c;non-diversified&#x201d; investment company under the Investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Company Act of 1940 (the &#x201c;1940 Act&#x201d;), the Fund intends to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;qualify &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;each year &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;as a regulated investment company accorded &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;), which &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;imposes its own diversification requirements that are less &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;restrictive than the requirements applicable to &#x201c;diversified&#x201d; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investment companies under the 1940 Act. The Fund&#x2019;s intention &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;to qualify as a regulated investment company may limit its &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;pursuit of its investment strategy and its investment strategy &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;could limit its ability to so qualify.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_SmallAndMidCapitalizationStockRiskMember"
      id="t_90_f92ca6a3_2159_c72d_2299_8e8a5925606a"> &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- and Mid-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small- and mid-capitalization companies often have greater price &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility, lower trading volume, and less liquidity than the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stocks of larger, more established companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_CurrencyRiskMember"
      id="t_91_13db173a_1812_d24b_9ddf_d3eec0785475"> &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="D20251031_20251031_S000051381Member_ForeignInvestmentRiskMember"
      id="t_92_4e8251c8_024f_56eb_72a8_979f30e78e4f"> &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;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="D20251031_20251031_S000051381Member_HighPortfolioTurnoverRiskMember"
      id="t_93_25a107eb_c174_835a_14c9_488e41b128aa"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;High Portfolio Turnover Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;higher portfolio turnover &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;may adversely affect Fund performance by increasing Fund &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;transaction costs and may increase a shareholder&#x2019;s tax liability.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_LargeCapitalizationStockRiskMember"
      id="t_94_9e52de78_1cc4_852c_e086_fd1a8f14ff3d"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Large-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of large-capitalization&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; companies are generally more mature and may not &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;be able to reach the same levels of growth as the stocks of small- &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;or mid-capitalization companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_LiquidityRiskMember"
      id="t_95_63cae031_a7e9_775e_27b5_fe66211bbdcd"> &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="D20251031_20251031_S000051381Member_MasterLimitedPartnershipRiskMember"
      id="t_96_022f3b9b_18ae_9783_8b4d_07fb7adaa53a"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Master Limited Partnership Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;investments in master &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;limited partnerships are subject to similar risks to those &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;associated with the specific industry or industries in which the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;partnership invests, such as the risk of investing in the real &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;estate or oil and gas industries. In addition, investments in &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;master limited partnerships are subject to the risks of investing &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in a partnership, including limited control and voting rights on &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;matters affecting the partnership and fewer investor protections &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;compared to corporations.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_PTPRiskMember"
      id="t_97_ebc17f5b_d754_ab59_45f4_2cc589a6d0c3"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;PTP Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014; investing in PTPs (including master limited &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;partnerships) involves special risks in addition to those typically &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;associated with publicly traded companies. PTPs are exposed to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the risks of their underlying assets, which in many cases &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;includes the same types of risks as energy and natural resources &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies, such as commodity pricing risk, supply and demand &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;risk and depletion and exploration risk. PTPs are also subject to &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;capital markets risk, which is the risk that they may be unable to &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;raise capital to execute their growth strategies. PTPs are also &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;subject to tax risk, which is the risk that PTPs may lose their &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;partnership status for tax purposes. The Fund&#x2019;s ability to make &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investments in certain PTPs, including master limited partnerships,&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; can be limited by the Fund&#x2019;s intention to qualify as a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;regulated investment company accorded favorable tax treatment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;under the Internal Revenue Code, and if the Fund does not &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;appropriately limit such investments or if such investments are &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;recharacterized for U.S. federal income tax purposes, the Fund&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;status as a regulated investment company may be jeopardized.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_RealEstateIndustryRiskMember"
      id="t_98_9891cf95_51ea_828e_66b7_156bd3b4c0c4"> &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. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;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.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; 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.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_SectorRiskMember"
      id="t_99_3beb76f6_ae4f_7aea_51b9_e17cc50c0578"> &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 financials &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's portfolio. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Unique risks of the financials sector include, but are not limited &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;to, government regulation uncertainty, yield curve fluctuation, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;asset flow fluctuation, and capital market fluctuations.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000051381Member_ValueStockRiskMember"
      id="t_100_a712f935_5630_da32_efcd_4c423b27498b"> &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="D20251031_20251031_S000051381Member"
      id="t_62_1dc125ec_22c1_4921_9bf4_3809d33caf00"> Performance </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="D20251031_20251031_S000051381Member"
      id="t_71_211d2a06_80ae_f7ff_d2c6_c156e428c7bd"> &lt;div style="line-height: 10.75pt; 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&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investing in the Fund by showing changes in the Fund's performance&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;from year to year and by showing how the Fund's performance&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;compares to that of (i) a broad-based index and (ii) an&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;additional index reflecting the market segment(s) in which the&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund invests. As always, past performance of the Fund (before&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and after taxes) is not an indication of how the Fund will perform&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in the future.&#160;To obtain updated performance information please &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;visit&#160;wealth.amg.com or&#160;call&#160;800.548.4539.&#160;&lt;/span&gt;&lt;/div&gt; </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="D20251031_20251031_S000051381Member"
      id="t_67_fa6f4432_97fd_28b3_9185_25d0000da5b3">The following performance information illustrates the risks of&#160;investing in the Fund by showing changes in the Fund's performance&#160;from year to year and by showing how the Fund's performance&#160;compares to that of (i) a broad-based index and (ii) an&#160;additional index reflecting the market segment(s) in which the&#160;Fund invests.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="D20251031_20251031_S000051381Member"
      id="t_68_fefd7b4b_cd56_5e02_3523_442e8d59c88f">As always, past performance of the Fund (before&#160;and after taxes) is not an indication of how the Fund will perform&#160;in the future.&#160;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="D20251031_20251031_S000051381Member"
      id="t_69_e8982837_eb1a_bc55_3234_6ff4e83e341d">wealth.amg.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="D20251031_20251031_S000051381Member"
      id="t_70_74320b5a_233f_a72b_6691_7d22878f3274">800.548.4539</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="D20251031_20251031_S000051381Member"
      id="t_72_6a8de8eb_6b03_df65_a4ba_8fb75a3aba6c"> Calendar Year Total Returns as of 12/31/25 (Class N)  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="D20251031_20251031_S000051381Member"
      id="t_73_b6c9f905_099e_1aaa_8f07_50f6af5910cb"> &lt;div style="margin-top: 9pt;"&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Best Quarter: 16.94% (4th Quarter 2020)&lt;/span&gt; &lt;br/&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Worst Quarter: -30.17% (1st Quarter 2020)&lt;/span&gt;&lt;/div&gt; </oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      id="t_79_a66ce999_9e0b_41f6_0711_49afcd3b5ec4">Best Quarter:</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="4"
      id="h_230_5020aa6f_34cd_07d5_b9dc_8e1fae7c7c2a"
      unitRef="pure">0.1694</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      id="t_80_9100fb7c_f83f_63bb_d159_14e362067cb0">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      id="t_81_540eb5f9_3461_44dd_f41d_e42fbb6d0b74">Worst Quarter:</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      decimals="4"
      id="h_231_845617e9_2028_0461_4ef9_8a19ae534c65"
      unitRef="pure">-0.3017</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000051381Member_C000161968Member"
      id="t_82_3ab32a02_0480_6af9_1291_481d359db01e">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="D20251031_20251031_S000051381Member"
      id="t_64_555ff1fe_a3e2_466b_8d9d_dcd8b0576924">  Average Annual Total Returns as of 12/31/25  </oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000161968Member"
      decimals="4"
      id="h_202_c33802c5_7cf7_4f2e_aeac_91c677440d9c"
      unitRef="pure">0.1337</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000161968Member"
      decimals="4"
      id="h_203_dd1d4174_a057_474e_b123_eb4d1859cbd9"
      unitRef="pure">0.0752</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000161968Member"
      decimals="4"
      id="h_204_c6812ae1_7bc9_4ea0_bbee_d828bd9ac789"
      unitRef="pure">0.0982</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000161968Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_206_6da194e3_61f3_4c33_9c98_f39c4de7ee92"
      unitRef="pure">0.0977</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000161968Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_207_c40e2817_56e2_4335_9c03_1ade310b6225"
      unitRef="pure">0.0543</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000161968Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_208_f959d11b_2d66_49b1_a488_6055981c8bf1"
      unitRef="pure">0.0787</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000161968Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_210_a7b67f10_2587_4603_ba0f_80456a21eeb5"
      unitRef="pure">0.0961</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000161968Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_211_10de566a_b987_4882_b3b9_9d806bbde949"
      unitRef="pure">0.0546</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000161968Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_212_d8e5252b_e7fd_4dfb_9fe3_27e68e9dff6b"
      unitRef="pure">0.0735</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000161967Member"
      decimals="4"
      id="h_214_c5369599_bf94_48fc_897e_1364bce48ac5"
      unitRef="pure">0.1365</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000161967Member"
      decimals="4"
      id="h_215_c97bcd4d_cf88_4ce6_80dd_d94781dabe5e"
      unitRef="pure">0.0779</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000161967Member"
      decimals="4"
      id="h_216_3f0338c1_86d7_4d0a_b63e_68d07686f7c9"
      unitRef="pure">0.1010</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000194575Member"
      decimals="4"
      id="h_218_ca767def_be8f_4842_a8c5_360708119fc6"
      unitRef="pure">0.1369</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000194575Member"
      decimals="4"
      id="h_219_f6767859_ea65_45c5_85ab_7e82a02e5214"
      unitRef="pure">0.0782</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000194575Member"
      decimals="4"
      id="h_221_a5cc1225_1651_4e69_af90_2c6080d00807"
      unitRef="pure">0.0800</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000051381SP500IndexMember"
      decimals="4"
      id="h_222_86f7b261_277b_492c_aac4_4c57c9c0f387"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000051381SP500IndexMember"
      decimals="4"
      id="h_223_63199278_17d4_4f3c_b5f2_25fa4e7f1a2b"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000051381SP500IndexMember"
      decimals="4"
      id="h_224_a49e09df_8955_471d_9777_9ad3b6b79b0f"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000051381SP500IndexMember"
      decimals="4"
      id="h_225_e49941a7_afcb_4fd3_a61a_69131ad15e9d"
      unitRef="pure">0.1476</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000051381Russell3000ValueIndexMember"
      decimals="4"
      id="h_226_cdd65c54_f6a3_423a_8bc9_777217d5151a"
      unitRef="pure">0.1571</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000051381Russell3000ValueIndexMember"
      decimals="4"
      id="h_227_0f1eeb69_b35c_499e_992b_2e3c17ce03c3"
      unitRef="pure">0.1118</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000051381Russell3000ValueIndexMember"
      decimals="4"
      id="h_228_49d3cac4_7730_44f4_b906_037c9a2cf80e"
      unitRef="pure">0.1046</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000051381Russell3000ValueIndexMember"
      decimals="4"
      id="h_229_3a33116e_5c74_4c8a_b5a3_bb3f8b1d3f13"
      unitRef="pure">0.0953</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_C000194575Member"
      id="t_83_b6493043_40bb_37df_231e_df8cc2c669e6">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000051381SP500IndexMember"
      id="t_84_3cd3f8ad_d2a4_40d1_5412_c21046a85b5d">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000051381Russell3000ValueIndexMember"
      id="t_85_d912a292_856d_ea1b_4b48_ff2db9d92092">2017-09-29</oef:PerfInceptionDate>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="D20251031_20251031_S000051381Member"
      id="t_77_69a4ff08_5cc5_74de_f4e9_c0a99e6fbf14"> &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&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;individual U.S. federal marginal income tax rates and do not&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;reflect the impact of state and local taxes. Actual after-tax&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;those shown. After-tax returns are not relevant to investors who&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;hold their Fund shares through tax-advantaged arrangements,&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;After-tax returns are shown for Class N shares only, and after-tax&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns for Class I and Class Z shares will vary.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="D20251031_20251031_S000051381Member"
      id="t_74_1fa5d21a_e12a_e249_3a46_c4c2e6e95bae">After-tax returns are calculated using the historical highest&#160;individual U.S. federal marginal income tax rates and do not&#160;reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="D20251031_20251031_S000051381Member"
      id="t_75_f0fe9642_b057_f8fc_d288_bda7f945aab1">Actual after-tax&#160;returns depend on an investor&#x2019;s tax situation and may differ from&#160;those shown. After-tax returns are not relevant to investors who&#160;hold their Fund shares through tax-advantaged arrangements,&#160;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&#160;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="D20251031_20251031_S000051381Member"
      id="t_76_3eeacd61_dfc4_fea7_8b74_1f43bcc2d720">After-tax returns are shown for Class N shares only, and after-tax&#160;returns for Class I and Class Z shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_81_36f1c46e_815f_e901_e156_8d6bbae50ccd"> AMG River Road Mid Cap Value Fund </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_66_90ee1117_5133_43d6_b52f_997b30992a8a"> Investment Objective </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="D20251031_20251031_S000001125Member"
      id="t_67_7ed19154_fa10_4841_bd72_fbff37b96595"> &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund seeks to provide long-term capital appreciation.&lt;/span&gt;&lt;/div&gt; </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_68_30d1c2ba_8d18_4c1a_b0aa_86acc8f34206">  Fees and Expenses of the Fund  </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="D20251031_20251031_S000001125Member"
      id="t_69_377b2ae5_b8c5_4319_8a1c_9b17dfce5c62"> &lt;div style="line-height: 10.75pt; 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="D20251031_20251031_S000001125Member"
      id="t_70_73fb769f_a75a_4b80_9363_6f8244d8ceb5">  Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)  </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="4"
      id="h_230_20094cf9_892c_4e19_9b21_a0bc60ca08b2"
      unitRef="pure">0.0056</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="4"
      id="h_231_c1da0bc9_c373_4480_84f3_47a7f04d907d"
      unitRef="pure">0.0056</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="4"
      id="h_232_d6b94a1a_f21d_4a6a_ae40_ab4880ca3f44"
      unitRef="pure">0.0056</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="4"
      id="h_233_eb3530f8_a51e_40b8_bd2a_3f8cb7577c7e"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="4"
      id="h_234_54458151_0633_4cbd_a8bb_6b1cdfb1901e"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="4"
      id="h_235_ad97888f_7a76_4d88_a1ec_96d19453d9d7"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="4"
      id="h_236_92b3edd5_0805_4061_8789_bf62c74e36a9"
      unitRef="pure">0.0033</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="4"
      id="h_237_10065dc3_ac52_4607_b42f_2b3077497f35"
      unitRef="pure">0.0028</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="4"
      id="h_238_bb2ff649_f2ab_4a6f_a8ef_e80a0ab9392e"
      unitRef="pure">0.0023</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="4"
      id="h_239_2049a8d5_8ccd_4109_b015_09331ffc212c"
      unitRef="pure">0.0114</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="4"
      id="h_240_d7bcbba8_96f8_4157_91f1_035f7a47cea1"
      unitRef="pure">0.0084</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="4"
      id="h_241_291ceffa_4cb5_4d43_a3af_b5e90b6704fb"
      unitRef="pure">0.0079</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="4"
      id="h_242_fcf63970_fecc_4b77_bc28_5c262987b6e7"
      unitRef="pure">-0.0003</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="4"
      id="h_243_58ebbc2d_5de2_40ca_9378_595ba65c4b73"
      unitRef="pure">-0.0003</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="4"
      id="h_244_75928c4a_3204_455b_bbf2_c0073252f64b"
      unitRef="pure">-0.0003</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="4"
      id="h_245_f8de7328_cb93_4e95_877b_a3138a04cb6c"
      unitRef="pure">0.0111</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="4"
      id="h_246_3d04842f_eb0d_4309_9825_4dd2a0789443"
      unitRef="pure">0.0081</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="4"
      id="h_247_8230fe74_90a5_48e5_90f3_d1ad28365462"
      unitRef="pure">0.0076</oef:NetExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="D20251031_20251031_S000001125Member"
      id="t_113_c06bc08e_92ac_004b_5933_a23151edae31">Expense information has been restated to reflect current fees.</oef:ExpensesRestatedToReflectCurrent>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="D20251031_20251031_S000001125Member"
      id="t_114_14e1b508_af2d_d0b2_391f_66f4866a1011">March 1,&#160;2027</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_71_7405475e_5c26_43af_ab67_08ae68ef54d6">  Expense Example  </oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="D20251031_20251031_S000001125Member"
      id="t_72_e87a4324_a4bf_499b_8c31_bd0d8c0df0d0"> &lt;div style="line-height: 10.75pt; margin-top: 0.00pt; 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.75pt; 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;March 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="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="INF"
      id="h_248_2aabb861_ccde_4da3_a4a4_9c8e1e4aec3f"
      unitRef="USD">113</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="INF"
      id="h_249_80782e6c_c7c8_42bb_b0b6_c0794ae566a4"
      unitRef="USD">359</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="INF"
      id="h_250_1283cf8a_0f63_46a7_937a_c022e5c625c6"
      unitRef="USD">625</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="INF"
      id="h_251_267909c0_9d6c_432e_91bb_19cbda300619"
      unitRef="USD">1383</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="INF"
      id="h_252_20744c44_8e5a_4e46_afdf_92f3b64618d5"
      unitRef="USD">83</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="INF"
      id="h_253_c9339064_1ef5_41c3_bdb3_bbd080367350"
      unitRef="USD">265</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="INF"
      id="h_254_6d5d578a_70e1_4fb9_a891_7cc34df0015d"
      unitRef="USD">463</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001125Member_C000003030Member"
      decimals="INF"
      id="h_255_e042a6db_93c2_4f7f_b3f5_e71c6e1825f8"
      unitRef="USD">1034</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="INF"
      id="h_256_0b69b676_55d8_45f3_906c_44d613f8367d"
      unitRef="USD">78</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="INF"
      id="h_257_3c41b9f0_1ee3_4f69_adf4_fc68371ec8aa"
      unitRef="USD">249</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="INF"
      id="h_258_14e8eaf9_8ac3_4b27_a485_8b5572409fa5"
      unitRef="USD">436</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001125Member_C000194566Member"
      decimals="INF"
      id="h_259_277ef8ee_07a0_4c51_9bbd_45bf78214b85"
      unitRef="USD">975</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_73_e9199448_5ee0_40ce_9773_2a9f5a8b46b5">  Portfolio Turnover  </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="D20251031_20251031_S000001125Member"
      id="t_74_d0fee057_22e6_46ea_b476_24a51d397357"> &lt;div style="line-height: 10.75pt; 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;93&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="D20251031_20251031_S000001125Member"
      decimals="4"
      id="h_260_f34a00f9_3561_456c_844a_d87fdd918c9d"
      unitRef="pure">0.93</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_75_980cfa4d_bc68_42a5_b191_91c480838d96"> Principal Investment Strategies </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="D20251031_20251031_S000001125Member"
      id="t_82_d67a4df6_db70_7c85_447b_56e850c23d8b"> &lt;div style="line-height: 10.75pt; margin-top: 0.0pt; text-align: left;"&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 securities of mid-capitalization companies. The &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund currently considers mid-cap companies to be those with &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;market capitalizations at the time of acquisition within the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;capitalization range of the Russell Midcap&#xae; Index (between $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&gt; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;billion and $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;58.5&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; billion as of April 30, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2025&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;, the date of the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;latest reconstitution of the Index (implemented by the Index &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;June &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;27&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;2025&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;)). This capitalization range will change over time. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund may continue to hold securities of a portfolio company &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;that subsequently drops below or appreciates above this capitalization&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; range. Because of this, the Fund may have less than 80% &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;of its net assets in securities of mid-cap companies at any given &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.75pt;"&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 invests primarily in equity securities that River Road &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Asset Management, LLC, the subadviser to the Fund (&#x201c;River &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Road&#x201d; or the &#x201c;Subadviser&#x201d;), believes are undervalued. Value &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investing involves buying stocks that River Road believes are &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;out of favor and/or undervalued in comparison to their peers or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;their prospects for growth. The Fund may invest in real estate &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investment trusts (&#x201c;REITs&#x201d;), convertible securities, preferred &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;securities, and foreign securities (directly and through depositary &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;receipts). The Fund may also invest in common stock of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies with market capitalizations that are above or below &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;that of the Russell Midcap&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;&#xae; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Index at the time of acquisition.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Subadviser&#x2019;s investment philosophy is based upon its proprietary&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; Absolute Value&#xae; approach, which seeks to generate &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;attractive, sustainable returns over the long term, with an &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;emphasis on minimizing downside portfolio risk.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser builds the Fund&#x2019;s portfolio from the bottom up, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;making security-specific research central to the Subadviser&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process. At the core of the Subadviser&#x2019;s Absolute Value&#xae; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;approach is a systematic method for assessing the &#x2018;risk-to-reward&#x2019;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; characteristics of an investment. The goal of the research &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process is to formulate two outputs from which an investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;decision is made &#x2013; conviction rating (risk) and discount to value &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(reward). The Subadviser combines a stock&#x2019;s conviction rating &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;with its discount to value in an effort to determine not only &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;whether the stock qualifies for investment, but also how the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stock will be sized within the Fund.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser employs a balanced approach to diversification &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and a structured sell discipline that seeks to reduce portfolio &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility and the risk of permanent loss of capital.&lt;/span&gt;&lt;/div&gt; </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001125Member_RiskLoseMoneyMember"
      id="t_83_18660d18_b64c_037b_81b3_af7782853a03">There is the risk that you may lose money on your investment.&#160;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001125Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_84_88b26caf_0503_665d_0b83_e7ca042ed62d">An&#160;investment in the Fund is not a deposit or obligation of any bank,&#160;is not endorsed or guaranteed by any bank, and is not insured by&#160;the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any other&#160;government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001125Member_MarketRisksMember"
      id="t_85_d41fd712_1fda_726f_8c04_11d12d6eea3f"> &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="D20251031_20251031_S000001125Member_SmallAndMidCapitalizationStockRiskMember"
      id="t_86_4a51145e_3cf8_3238_0f0c_2f74944db4be"> &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- and Mid-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small- and mid-capitalization companies often have greater price &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility, lower trading volume, and less liquidity than the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stocks of larger, more established companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001125Member_ManagementRiskMember"
      id="t_87_0ffc2ff3_8a5f_e8b8_2ef7_2954f0f7147b"> &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="D20251031_20251031_S000001125Member_ValueStockRiskMember"
      id="t_88_30008cc1_0cce_0f48_0cfc_3f63c5fe5a0b"> &lt;div style="line-height: 10.75pt; text-align: left;"&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:RiskTextBlock
      contextRef="D20251031_20251031_S000001125Member_SectorRiskMember"
      id="t_89_76446589_eba9_3a23_6721_5f7baad13568"> &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. The industrials sector may &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;be affected by general economic trends, including employment, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;economic growth and interest rates, changes in consumer confidence&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; and spending, government regulation, commodity prices &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and competitive pressures.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001125Member_ConvertibleSecuritiesRiskMember"
      id="t_90_4d728437_1c73_9b91_3640_99a56bcb3438"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Convertible Securities Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014; convertible preferred stocks, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which are convertible into shares of the issuer&#x2019;s common stock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and pay regular dividends, and convertible debt securities, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which are convertible into shares of the issuer&#x2019;s common stock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and bear interest, are subject to the risks of equity securities and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;fixed income securities. The lower the conversion premium, the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;more likely the price of the convertible security will follow the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;price of the underlying common stock. Conversely, higher &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;premium convertible securities are more likely to exhibit the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;behavior of bonds because the likelihood of conversion is lower, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which may cause their prices to fall as interest rates rise. There &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;is the risk that the issuer of convertible preferred stock will not &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;be able to make dividend payments or that the issuer of a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;convertible bond will not be able to make principal and/or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;interest payments.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001125Member_CurrencyRiskMember"
      id="t_91_7deadc8e_a19f_8570_2b77_a66ea5cb37d2"> &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="D20251031_20251031_S000001125Member_ForeignInvestmentRiskMember"
      id="t_92_09883930_201b_503b_1b72_cdbc59d0b833"> &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;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="D20251031_20251031_S000001125Member_LiquidityRiskMember"
      id="t_93_ae0a43a6_a058_c294_5768_63c12aeb6e98"> &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="D20251031_20251031_S000001125Member_RealEstateIndustryRiskMember"
      id="t_94_75546f65_7b96_a782_035e_12e97be07052"> &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. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;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.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; 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:BarChartAndPerformanceTableHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_78_25b38d8d_b400_497c_9a5e_4cc9361fd18a"> Performance </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="D20251031_20251031_S000001125Member"
      id="t_95_4c76a547_c413_dd54_4672_9605a8359b6b"> &lt;div style="line-height: 10.75pt; 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&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investing in the Fund by showing changes in the Fund&#x2019;s performance&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;from year to year and by showing how the Fund&#x2019;s performance&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;compares to that of (i) a broad-based index and (ii) an&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;additional index reflecting the market segment(s) in which the&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund invests.&#160;As always, past performance of the Fund (before&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and after taxes) is not an indication of how the Fund will perform&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in the future.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 March 19, 2021, River Road was appointed as subadviser &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;to the Fund and the Fund changed its name to &#x201c;AMG River &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Road Mid Cap Value Fund&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x201d; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;adopted its current investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;strategies&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;. The Fund&#x2019;s performance information for periods prior &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;to March 19, 2021 reflects the Fund&#x2019;s investment strategy that &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;was in effect at that time and would have been different had the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;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.75pt;"&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, please visit &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;wealth.amg.com or call 800.548.4539.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="D20251031_20251031_S000001125Member"
      id="t_96_4eaf2a78_4d40_4659_5e00_cea3d4616de7">The following performance information illustrates the risks of&#160;investing in the Fund by showing changes in the Fund&#x2019;s performance&#160;from year to year and by showing how the Fund&#x2019;s performance&#160;compares to that of (i) a broad-based index and (ii) an&#160;additional index reflecting the market segment(s) in which the&#160;Fund invests.&#160;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="D20251031_20251031_S000001125Member"
      id="t_97_004b2ea9_2707_09f6_9db7_42ca61cb6159">As always, past performance of the Fund (before&#160;and after taxes) is not an indication of how the Fund will perform&#160;in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="D20251031_20251031_S000001125Member"
      id="t_98_052cc422_5866_210b_ccc1_9ce570ef0eff">wealth.amg.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="D20251031_20251031_S000001125Member"
      id="t_99_696c6047_f6e1_fb21_04ca_d42ea12074ec">800.548.4539</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_100_c9d4f49f_e8ca_6c2d_f172_2bba86f0d91c"> Calendar Year Total Returns as of 12/31/25 (Class N)  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="D20251031_20251031_S000001125Member"
      id="t_101_65883bde_6090_5582_4897_4f86a9ca00fe"> &lt;div style="margin-top: 9pt;"&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Best Quarter: 20.13% (4th Quarter 2020)&lt;/span&gt; &lt;br/&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Worst Quarter: -30.42% (1st Quarter 2020)&lt;/span&gt;&lt;/div&gt; </oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      id="t_102_4c6a846e_fdd9_f997_4b19_16fbd430927a">Best Quarter:</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="4"
      id="h_289_58d937ac_c582_0c9d_b3cc_5e0b8f3bfbdf"
      unitRef="pure">0.2013</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      id="t_103_60826fd1_8e2a_3ea1_fe6b_89722e35ffc6">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      id="t_104_2ff82046_8c3a_58e6_1aa2_6a2ec22b4d24">Worst Quarter:</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      decimals="4"
      id="h_290_6a62f37b_8c0f_c0b3_bd51_5d42caf9ac62"
      unitRef="pure">-0.3042</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000001125Member_C000003029Member"
      id="t_105_05dd8096_c7c4_758e_50d1_3dda404d151e">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="D20251031_20251031_S000001125Member"
      id="t_80_118d7025_e9a9_456b_b15d_d5f1e897213c">  Average Annual Total Returns as of 12/31/25  </oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003029Member"
      decimals="4"
      id="h_261_28ad2e3c_8806_436e_aaa5_410e1994408d"
      unitRef="pure">0.1175</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003029Member"
      decimals="4"
      id="h_262_94dfe293_f3a8_4308_b51c_418bd7e95500"
      unitRef="pure">0.1350</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003029Member"
      decimals="4"
      id="h_263_f3945dcc_4052_4f01_a677_510c8dd544e8"
      unitRef="pure">0.0979</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003029Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_265_a70315b4_d87a_47e9_abcd_ccbd141c1ded"
      unitRef="pure">0.0809</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003029Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_266_381b2ad2_be17_47e1_b887_c21e58be4ebc"
      unitRef="pure">0.0792</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003029Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_267_23004220_4f2e_4993_8651_eef7d9981080"
      unitRef="pure">0.0627</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003029Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_269_2a09c298_6354_43b8_be93_e02027206014"
      unitRef="pure">0.0881</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003029Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_270_907d12c6_be21_41ce_b397_861196dad53b"
      unitRef="pure">0.0906</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003029Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_291_e6220414_cedd_8895_5483_91a12d81e92d"
      unitRef="pure">0.0688</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003030Member"
      decimals="4"
      id="h_273_8ef09622_0a3f_421f_bcf6_03623eb98056"
      unitRef="pure">0.1211</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003030Member"
      decimals="4"
      id="h_274_387a58b4_8755_479d_a121_488efe060c25"
      unitRef="pure">0.1384</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003030Member"
      decimals="4"
      id="h_275_8ecc12e3_2f88_4141_bb35_165033ba8e30"
      unitRef="pure">0.1009</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000194566Member"
      decimals="4"
      id="h_277_0f78c43d_ab5f_41f7_804d_fe06bebcd0dc"
      unitRef="pure">0.1216</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000194566Member"
      decimals="4"
      id="h_278_8edf9aa3_539e_4302_820c_5b7972a4cd69"
      unitRef="pure">0.1389</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170927_20251231_C000194566Member"
      decimals="4"
      id="h_280_883267ba_7a22_4f63_a336_bef92829471b"
      unitRef="pure">0.0871</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001125SAndP500IndexMember"
      decimals="4"
      id="h_281_2ce8dbf5_f8e3_4271_add7_26abe12148a0"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001125SAndP500IndexMember"
      decimals="4"
      id="h_282_6942e1a2_fed9_4b02_b7e3_01de275774c1"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001125SAndP500IndexMember"
      decimals="4"
      id="h_283_e9618e5e_ff5d_419d_a0a1_791dd2794bc7"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170927_20251231_S000001125SAndP500IndexMember"
      decimals="4"
      id="h_284_0ca14108_17dd_4777_bd31_397bd27293c6"
      unitRef="pure">0.1476</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001125RussellMidcapValueIndexMember"
      decimals="4"
      id="h_285_a59b24fd_45c7_47bd_912f_09b9e7fff410"
      unitRef="pure">0.1105</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001125RussellMidcapValueIndexMember"
      decimals="4"
      id="h_286_e64af413_ba88_49cf_ab1a_a43d387d1e0f"
      unitRef="pure">0.0983</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001125RussellMidcapValueIndexMember"
      decimals="4"
      id="h_287_1f253d11_0c48_4034_9ac9_b4224222d555"
      unitRef="pure">0.0978</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170927_20251231_S000001125RussellMidcapValueIndexMember"
      decimals="4"
      id="h_288_089657e6_4791_4d50_bd40_7a43c6f6fc90"
      unitRef="pure">0.0858</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="D20170927_20251231_C000194566Member"
      id="t_106_e6afc36f_0215_3755_1bfa_77259cc0775c">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170927_20251231_S000001125SAndP500IndexMember"
      id="t_107_ccfbff6d_60c4_d2a5_4531_f3a852cec31c">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170927_20251231_S000001125RussellMidcapValueIndexMember"
      id="t_108_a9a64593_43c5_2e39_f34c_2bc1c379adb6">2017-09-29</oef:PerfInceptionDate>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="D20251031_20251031_S000001125Member"
      id="t_109_c99dfced_9deb_932b_f8e2_0817802d5b19"> &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&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;individual U.S. federal marginal income tax rates and do not&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;reflect the impact of state and local taxes.&#160;Actual after-tax&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;those shown. After-tax returns are not relevant to investors who&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;hold their Fund shares through tax-advantaged arrangements,&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;After-tax returns are shown for Class N shares only, and after-tax&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns for Class I and Class Z shares will vary.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="D20251031_20251031_S000001125Member"
      id="t_110_9898448f_cb4d_61d7_ad2e_266acdb940e8">After-tax returns are calculated using the historical highest&#160;individual U.S. federal marginal income tax rates and do not&#160;reflect the impact of state and local taxes.&#160;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="D20251031_20251031_S000001125Member"
      id="t_111_508de696_2ebf_c6ff_8f44_f821895f8ed5">Actual after-tax&#160;returns depend on an investor&#x2019;s tax situation and may differ from&#160;those shown. After-tax returns are not relevant to investors who&#160;hold their Fund shares through tax-advantaged arrangements,&#160;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&#160;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="D20251031_20251031_S000001125Member"
      id="t_112_50078787_28bf_83cd_6d82_70989e9a6c86">After-tax returns are shown for Class N shares only, and after-tax&#160;returns for Class I and Class Z shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_97_f02bb1aa_83a3_6c70_55ab_7a61c8dc277b"> AMG River Road Small-Mid Cap Value Fund </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_82_d1915573_2548_4839_8fa4_d80baccc253a"> Investment Objective </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="D20251031_20251031_S000016733Member"
      id="t_83_f8c572b3_b38c_4fd9_bbc5_4e10784d513e"> &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund seeks to provide long-term capital appreciation.&lt;/span&gt;&lt;/div&gt; </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_84_69ec2339_a354_412d_b9cf_ed322f5d7346">  Fees and Expenses of the Fund  </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="D20251031_20251031_S000016733Member"
      id="t_85_63a4f99e_cbe1_4266_a4a9_b9f8313ab6eb"> &lt;div style="line-height: 10.75pt; 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="D20251031_20251031_S000016733Member"
      id="t_86_084e83a3_e035_446d_b248_5e4c329c48c6">  Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)  </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="4"
      id="h_289_95e8a3a5_19e6_4e96_a228_6ebe108ba17b"
      unitRef="pure">0.0075</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000050292Member"
      decimals="4"
      id="h_290_b861355e_56cb_4cc2_93b3_a7578f081338"
      unitRef="pure">0.0075</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000194569Member"
      decimals="4"
      id="h_291_8a83e0ed_9ee2_4846_ab58_d7eabbff7c06"
      unitRef="pure">0.0075</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="4"
      id="h_292_c7c3a907_fad8_4c90_90ff_b9d67595b87b"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000050292Member"
      decimals="4"
      id="h_293_61f2a2d8_f0b3_4d45_a5c7_4fe17861d3f0"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000194569Member"
      decimals="4"
      id="h_294_214d2122_3247_45c7_a193_a27a596a0ccb"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="4"
      id="h_295_35d04607_4365_44d6_ba97_185b91795789"
      unitRef="pure">0.0028</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000050292Member"
      decimals="4"
      id="h_296_79b3d3de_b9fb_420d_a42c_05f04b327c0a"
      unitRef="pure">0.0027</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000194569Member"
      decimals="4"
      id="h_297_5403b39c_1554_4f97_9154_159a9d808243"
      unitRef="pure">0.0022</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="4"
      id="h_298_7c15ea2d_a044_4bf4_a474_e59bb05c53ed"
      unitRef="pure">0.0128</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000050292Member"
      decimals="4"
      id="h_299_e12d2bd5_65db_4c73_a9c5_b6fb7732632d"
      unitRef="pure">0.0102</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000016733Member_C000194569Member"
      decimals="4"
      id="h_300_e5c63991_f350_46b7_b617_16623e653447"
      unitRef="pure">0.0097</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_87_8bfc56ee_7e53_4e99_9e3b_45a4af04a0c8">  Expense Example  </oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="D20251031_20251031_S000016733Member"
      id="t_88_3141f5f9_397b_489b_b67a_6dd183182e49"> &lt;div style="line-height: 10.75pt; margin-top: 0.0pt; 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;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. Although your actual costs may be higher or lower, based &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;on the above assumptions, your costs would be:&lt;/span&gt;&lt;/div&gt; </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="INF"
      id="h_301_14a8fb05_06e2_4d3e_92fd_f58e1af870bf"
      unitRef="USD">130</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="INF"
      id="h_302_33067bd3_8bcb_4349_88f6_ad170eab45a7"
      unitRef="USD">406</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="INF"
      id="h_303_1984e33d_9cab_4d95_b22a_c0b10ba435a6"
      unitRef="USD">702</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="INF"
      id="h_304_16202e69_63cf_4fbc_9835_b9c333988838"
      unitRef="USD">1545</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000016733Member_C000050292Member"
      decimals="INF"
      id="h_305_b16903d0_2152_401c_815c_16c6225aba26"
      unitRef="USD">104</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000016733Member_C000050292Member"
      decimals="INF"
      id="h_306_8d1b791c_f3e7_44b1_a2ee_2ab7bce5f047"
      unitRef="USD">325</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000016733Member_C000050292Member"
      decimals="INF"
      id="h_307_5f9386a3_5ef1_42d6_8c00_798a8f5a387a"
      unitRef="USD">563</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000016733Member_C000050292Member"
      decimals="INF"
      id="h_308_341f6a2a_7596_458e_ab41_d0632959d69a"
      unitRef="USD">1248</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000016733Member_C000194569Member"
      decimals="INF"
      id="h_309_76e8454d_5e42_423b_aaef_8c9781b08e9c"
      unitRef="USD">99</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000016733Member_C000194569Member"
      decimals="INF"
      id="h_310_570d6196_0fe1_47da_9eab_6ea48a55123e"
      unitRef="USD">309</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000016733Member_C000194569Member"
      decimals="INF"
      id="h_311_b05157ba_2fe4_4b7d_81fe_65511340d4bf"
      unitRef="USD">536</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000016733Member_C000194569Member"
      decimals="INF"
      id="h_312_e6ead27e_16ac_4b90_95a5_56ae999957b0"
      unitRef="USD">1190</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_89_5410183d_1044_4ec3_8a7f_908dbb642645">  Portfolio Turnover  </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="D20251031_20251031_S000016733Member"
      id="t_90_e19474b1_f1c0_409d_9127_d0ca5502a102"> &lt;div style="line-height: 10.75pt; 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;36&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="D20251031_20251031_S000016733Member"
      decimals="4"
      id="h_313_0baa8296_b2c4_4b93_a8ee_af78e3637152"
      unitRef="pure">0.36</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_91_01c28445_2580_40b3_ba82_44b76c9ec58b"> Principal Investment Strategies </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="D20251031_20251031_S000016733Member"
      id="t_92_b4ee2b57_b7c6_4499_bf9c_5d15d29d97a6"> &lt;div style="line-height: 10.75pt; margin-top: 0.0pt; text-align: left;"&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- and mid-capitalization &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies that River Road Asset 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;River Road&#x201d; or the &#x201c;Subadviser&#x201d;), &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;believes are undervalued. The Fund currently considers small- &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and mid-capitalization companies to be those with market &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;capitalizations at the time of acquisition within the range of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;capitalizations of companies in the Russell 2500&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;TM &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Index &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(between $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;119.4&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; million and $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;18.6&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; billion as of April 30, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2025&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;the date of the latest reconstitution of the Index (implemented by &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the Index June &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;27&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;2025&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;)). This capitalization range will change &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;over time. The Fund may continue to hold securities of a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;portfolio company that subsequently drops below or appreciates &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;above this capitalization range. Because of this, the Fund may &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;have less than 80% of its net assets in securities of small- and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;mid-cap companies at any given time. Value investing involves &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;buying stocks that the Subadviser believes are out of favor and/or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;undervalued in comparison to their peers or their prospects for &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;growth. The Fund may invest in real estate investment trusts &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(&#x201c;REITs&#x201d;), convertible preferred stocks, and foreign securities &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(directly and through depositary receipts). The Fund may also &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;invest in common stock of companies with market capitalizations &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;that exceed that of the Russell 2500&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;TM &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Index at the time of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;acquisition.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser&#x2019;s investment philosophy is based upon its proprietary&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; Absolute Value&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; approach, which seeks to generate &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;attractive, sustainable returns over the long term, with an &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;emphasis on minimizing downside portfolio risk.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser builds the Fund&#x2019;s portfolio from the bottom up, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;making security-specific research central to the Subadviser&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process. At the core of the Subadviser&#x2019;s Absolute Value&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&gt; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;approach is a systematic method for assessing the &#x2018;risk-to-reward&#x2019;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; characteristics of an investment. The goal of the research &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process is to formulate two outputs from which an investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;decision is made &#x2013; conviction rating (risk) and discount to value &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(reward). The Subadviser combines a stock&#x2019;s conviction rating &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;with its discount to value in an effort to determine not only &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;whether the stock qualifies for investment, but also how the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stock will be sized within the Fund.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser employs a balanced approach to diversification &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and a structured sell discipline that seeks to reduce portfolio &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility and the risk of permanent loss of capital.&lt;/span&gt;&lt;/div&gt; </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000016733Member_RiskLoseMoneyMember"
      id="t_98_6fd00d67_c943_801e_e546_b5de0809d3bb">There is the risk that you may lose money on your investment.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000016733Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_99_0ccf3e52_7ded_4aa2_af28_c32fba3a89a8">An&#160;investment in the Fund is not a deposit or obligation of any bank,&#160;is not endorsed or guaranteed by any bank, and is not insured by&#160;the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any other&#160;government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000016733Member_MarketRisksMember"
      id="t_100_3270aab8_c7bc_1cec_0c35_2193bb018c2f"> &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="D20251031_20251031_S000016733Member_SmallAndMidCapitalizationStockRiskMember"
      id="t_101_6b0fb1c3_4114_08af_5202_f29d8df74b30"> &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- and Mid-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small- and mid-capitalization companies often have greater price &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility, lower trading volume, and less liquidity than the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stocks of larger, more established companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000016733Member_ManagementRiskMember"
      id="t_102_81a883b5_dfba_9471_4c33_49a869019cf4"> &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="D20251031_20251031_S000016733Member_SectorRiskMember"
      id="t_103_b6d76ee6_b36a_13df_afab_984fcb6d1946"> &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'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="D20251031_20251031_S000016733Member_ValueStockRiskMember"
      id="t_104_19a2a543_e448_cc6a_53e6_53147e8d98ae"> &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:RiskTextBlock
      contextRef="D20251031_20251031_S000016733Member_ConvertibleSecuritiesRiskMember"
      id="t_105_663b9853_1b20_8e98_d5ae_15e51b85d6d6"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Convertible Securities Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014; convertible preferred stocks, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which are convertible into shares of the issuer&#x2019;s common stock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and pay regular dividends, and convertible debt securities, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which are convertible into shares of the issuer&#x2019;s common stock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and bear interest, are subject to the risks of equity securities and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;fixed income securities. The lower the conversion premium, the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;more likely the price of the convertible security will follow the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;price of the underlying common stock. Conversely, higher &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;premium convertible securities are more likely to exhibit the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;behavior of bonds because the likelihood of conversion is lower, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which may cause their prices to fall as interest rates rise. There &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;is the risk that the issuer of convertible preferred stock will not &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;be able to make dividend payments or that the issuer of a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;convertible bond will not be able to make principal and/or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;interest payments.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000016733Member_CurrencyRiskMember"
      id="t_106_2ea7b900_e616_2ff6_9ba5_d27f84639d21"> &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;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&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="D20251031_20251031_S000016733Member_ForeignInvestmentRiskMember"
      id="t_107_7e7c8592_37b3_02ca_5588_740713a0465b"> &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;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="D20251031_20251031_S000016733Member_LiquidityRiskMember"
      id="t_108_62da2598_c876_1fe9_3e18_37c04de5ca3d"> &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="D20251031_20251031_S000016733Member_RealEstateIndustryRiskMember"
      id="t_109_ab3c3bc8_92a7_73fc_4f0f_0c455a840ac5"> &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. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;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.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; 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:BarChartAndPerformanceTableHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_94_cef64bc8_fb62_4475_9485_1fdc5509a989"> Performance </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="D20251031_20251031_S000016733Member"
      id="t_110_881e911a_ec57_97b7_3a79_ac7162c1f726"> &lt;div style="line-height: 10.75pt; margin-top: 0.0pt; 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&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investing in the Fund by showing changes in the Fund's performance&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;from year to year and by showing how the Fund's performance&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;compares to that of (i) a broad-based index and (ii) two&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;additional indices reflecting the market segment(s) in which the&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund invests.&#160;As always, past performance of the Fund (before&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and after taxes) is not an indication of how the Fund will perform&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in the future.&#160;To obtain updated performance information please &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;visit&#160;wealth.amg.com or&#160;call&#160;800.548.4539.&#160;&lt;/span&gt;&lt;/div&gt; </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="D20251031_20251031_S000016733Member"
      id="t_111_d60b48b4_ca04_a9b8_3e08_625be1256cae">The following performance information illustrates the risks of&#160;investing in the Fund by showing changes in the Fund's performance&#160;from year to year and by showing how the Fund's performance&#160;compares to that of (i) a broad-based index and (ii) two&#160;additional indices reflecting the market segment(s) in which the&#160;Fund invests.&#160;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="D20251031_20251031_S000016733Member"
      id="t_112_f0a77d4a_f206_62a1_24e4_8c585c2a4689">As always, past performance of the Fund (before&#160;and after taxes) is not an indication of how the Fund will perform&#160;in the future.&#160;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="D20251031_20251031_S000016733Member"
      id="t_113_a8e7370b_a8f7_678a_519b_892c2f05bbc6">wealth.amg.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="D20251031_20251031_S000016733Member"
      id="t_114_e4b9d720_cb2b_1560_00ea_92fb692b81ae">800.548.4539</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_115_31a6a55c_e191_d946_95e2_938eb7527491"> Calendar Year Total Returns as of 12/31/25 (Class N)  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="D20251031_20251031_S000016733Member"
      id="t_116_ebfd100e_9958_884e_f823_01a9d8cc61ea"> &lt;div style="margin-top: 9pt;"&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Best Quarter:&#160;23.92% (4th Quarter 2020)&lt;/span&gt; &lt;br/&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Worst Quarter: -34.15% (1st Quarter 2020)&lt;/span&gt;&lt;/div&gt; </oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      id="t_117_ff096b41_929b_6e7f_d476_43765c9a7861">Best Quarter:&#160;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="4"
      id="h_346_54bc6b63_3051_ca52_72ed_78fde75b63d1"
      unitRef="pure">0.2392</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      id="t_118_9f0d50b4_629a_b0ce_4fa0_327f8f353869">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      id="t_119_ed1416fa_d82f_88bf_7937_8f14f25ac41e">Worst Quarter:</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      decimals="4"
      id="h_347_eb25b3dd_9eb9_00ce_341e_b9e555ada8d4"
      unitRef="pure">-0.3415</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000016733Member_C000046749Member"
      id="t_120_57e45138_70bc_5183_a839_6ab521bcc663">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="D20251031_20251031_S000016733Member"
      id="t_96_db3e725a_d7c2_4023_ac56_2534ed0f00c0">  Average Annual Total Returns as of 12/31/25  </oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000046749Member"
      decimals="4"
      id="h_314_c0553072_112d_431a_9e4b_434b8ca36b8e"
      unitRef="pure">0.0401</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000046749Member"
      decimals="4"
      id="h_315_b4c7d3c1_8726_4592_9d26_6cb9dcd17bd5"
      unitRef="pure">0.0859</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000046749Member"
      decimals="4"
      id="h_316_40e3fd88_ca58_4f8d_a2d4_0734fec991ba"
      unitRef="pure">0.1080</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000046749Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_318_5c49cb3d_ef04_4cd6_94e6_fc90da4b31bd"
      unitRef="pure">0.0269</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000046749Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_319_8401b569_86db_485e_bb86_1f9d806afeeb"
      unitRef="pure">0.0715</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000046749Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_320_7a34e550_c06e_48e4_85db_c1e8cfaea0f9"
      unitRef="pure">0.0917</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000046749Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_322_763bc756_4d60_4212_9e24_7a9ec580b9d3"
      unitRef="pure">0.0305</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000046749Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_323_d274640b_2c02_4ae6_9947_7bca845564c0"
      unitRef="pure">0.0662</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000046749Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_324_e216f7fb_2075_4a2e_a2a3_f28483667006"
      unitRef="pure">0.0846</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000050292Member"
      decimals="4"
      id="h_326_0c3d6283_579c_4c04_a8d5_44f4f2625254"
      unitRef="pure">0.0421</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000050292Member"
      decimals="4"
      id="h_327_f47b91c6_7a48_4b47_af29_b336f53931bd"
      unitRef="pure">0.0886</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000050292Member"
      decimals="4"
      id="h_328_4167c316_f833_4d95_aa0b_f5fd03f8f3e8"
      unitRef="pure">0.1110</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000194569Member"
      decimals="4"
      id="h_330_cf2e2462_e1ee_4b6f_b842_edab92c5f7f6"
      unitRef="pure">0.0436</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000194569Member"
      decimals="4"
      id="h_331_97b785f6_aa10_4e29_b570_b6e5763656c6"
      unitRef="pure">0.0893</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000194569Member"
      decimals="4"
      id="h_333_1e2f7d8f_d16d_497b_9981_ab53c4833a9e"
      unitRef="pure">0.0866</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000016733SAndP500IndexMember"
      decimals="4"
      id="h_334_8d4226e3_f021_43b9_bb88_590bc7f4f125"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000016733SAndP500IndexMember"
      decimals="4"
      id="h_335_bb13fdd3_32c2_497e_9d80_768a7c630134"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000016733SAndP500IndexMember"
      decimals="4"
      id="h_336_279ac733_6546_445c_845f_8ddf071005a1"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000016733SAndP500IndexMember"
      decimals="4"
      id="h_337_b3f2505c_3fbb_4e02_af97_0691e6d2b9e2"
      unitRef="pure">0.1476</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000016733Russell2500ValueIndexMember"
      decimals="4"
      id="h_338_7cb3e8b7_ae60_4131_b932_c0e2b8528682"
      unitRef="pure">0.1273</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000016733Russell2500ValueIndexMember"
      decimals="4"
      id="h_339_9d2b0f5a_3a9a_4369_990a_f670d06b8627"
      unitRef="pure">0.1002</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000016733Russell2500ValueIndexMember"
      decimals="4"
      id="h_340_b3c541c2_f890_4de2_8e5c_7586c2165510"
      unitRef="pure">0.0972</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000016733Russell2500ValueIndexMember"
      decimals="4"
      id="h_341_a5ba3b9a_5b2e_4557_bb21_fa01324d5031"
      unitRef="pure">0.0815</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000016733Russell2000ValueIndexMember"
      decimals="4"
      id="h_342_7bc9c0d1_b559_4204_a081_8b25df9b6d4b"
      unitRef="pure">0.1259</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000016733Russell2000ValueIndexMember"
      decimals="4"
      id="h_343_9d26cfc1_e8ac_4921_a00a_ce4719cdd527"
      unitRef="pure">0.0888</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000016733Russell2000ValueIndexMember"
      decimals="4"
      id="h_344_b3e5f5a0_d828_453f_b79c_fc427f89f15b"
      unitRef="pure">0.0927</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000016733Russell2000ValueIndexMember"
      decimals="4"
      id="h_345_ad118a07_a871_4029_9981_8c08510901b5"
      unitRef="pure">0.0696</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_C000194569Member"
      id="t_121_20df1db5_e4a7_9730_197e_41b6b8d33eab">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000016733SAndP500IndexMember"
      id="t_122_32bddf18_ca4d_789b_8b24_9dc004482be1">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000016733Russell2500ValueIndexMember"
      id="t_123_a082d80d_a25a_7a8c_b0d0_96a212252370">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000016733Russell2000ValueIndexMember"
      id="t_124_878d58dd_bcf9_f703_8fa6_c6416c4dc9d2">2017-09-29</oef:PerfInceptionDate>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="D20251031_20251031_S000016733Member"
      id="t_125_5dda3715_b3f9_f004_51ad_eb4fa361f89f"> &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&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;individual U.S. federal marginal income tax rates and do not&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;reflect the impact of state and local taxes.&#160;Actual after-tax&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;those shown. After-tax returns are not relevant to investors who&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;hold their Fund shares through tax-advantaged arrangements,&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;After-tax returns are shown for Class N shares only, and after-tax&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns for Class I and Class Z shares will vary.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="D20251031_20251031_S000016733Member"
      id="t_126_a47268a6_6270_ce6d_f792_45c7209e629c">After-tax returns are calculated using the historical highest&#160;individual U.S. federal marginal income tax rates and do not&#160;reflect the impact of state and local taxes.&#160;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="D20251031_20251031_S000016733Member"
      id="t_127_68396f71_058a_e0ff_ddf6_35dc1d1aa6df">Actual after-tax&#160;returns depend on an investor&#x2019;s tax situation and may differ from&#160;those shown. After-tax returns are not relevant to investors who&#160;hold their Fund shares through tax-advantaged arrangements,&#160;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&#160;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="D20251031_20251031_S000016733Member"
      id="t_128_fcb5c25e_531d_4530_c931_74f34b04142e">After-tax returns are shown for Class N shares only, and after-tax&#160;returns for Class I and Class Z shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_113_e2a32fd2_d67d_bb3c_a0c7_70dc42e88b0d"> AMG River Road Small Cap Value Fund </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_98_c09a939e_7514_4cde_9617_e70dc01e4dea"> Investment Objective </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="D20251031_20251031_S000001130Member"
      id="t_99_56d0c00b_c958_4c71_b8d5_bb600c67d49d"> &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;The Fund seeks to provide long-term capital appreciation.&lt;/span&gt;&lt;/div&gt; </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_100_2845b5ee_5d33_45bc_b12e_87488931705a">  Fees and Expenses of the Fund  </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="D20251031_20251031_S000001130Member"
      id="t_101_05235c46_c862_4ff6_8920_776551544ce1"> &lt;div style="line-height: 10.75pt; 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="D20251031_20251031_S000001130Member"
      id="t_102_e148082f_0929_43bf_9d94_9aae3b94c902">  Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment)  </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="4"
      id="h_346_96dd3e53_efc6_49d9_b3a8_b840b8e1d91e"
      unitRef="pure">0.0080</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000040086Member"
      decimals="4"
      id="h_347_ac0b34f3_1b6b_42ea_aec6_7170894f54e9"
      unitRef="pure">0.0080</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000194568Member"
      decimals="4"
      id="h_348_8c816d85_f0c2_4254_b494_e54c2e4baca3"
      unitRef="pure">0.0080</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="4"
      id="h_349_f228d346_d8b6_4057_93f0_999cc8a2c1a7"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000040086Member"
      decimals="4"
      id="h_350_2cbf41e2_eff2_48ef_bd4f_d5167b776181"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000194568Member"
      decimals="4"
      id="h_351_50773799_aa1c_4415_bf11_25706f7afc44"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="4"
      id="h_352_b516f200_69c2_4063_b275_6a48c147e4f5"
      unitRef="pure">0.0030</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000040086Member"
      decimals="4"
      id="h_353_d3902339_0ec2_47d2_9365_a0b1e47bfe87"
      unitRef="pure">0.0029</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000194568Member"
      decimals="4"
      id="h_354_b835875b_d48a_4305_a20f_31b7da2ef44f"
      unitRef="pure">0.0020</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="4"
      id="h_355_257c9e6f_a133_4be3_bbcc_44b907be4870"
      unitRef="pure">0.0135</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000040086Member"
      decimals="4"
      id="h_356_dfcda679_2f2e_4bca_938f_66b6a35f2fe3"
      unitRef="pure">0.0109</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="D20251031_20251031_S000001130Member_C000194568Member"
      decimals="4"
      id="h_357_de4a1eeb_d0bb_4c56_9eac_627ef0ea9a20"
      unitRef="pure">0.0100</oef:ExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="D20251031_20251031_S000001130Member"
      id="t_114_ed035136_71c6_9d23_e08a_5984a4b547b4">Expense information has been restated to reflect current fees.</oef:ExpensesRestatedToReflectCurrent>
    <oef:ExpenseExampleHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_103_18356005_1e79_4fd6_b8d7_3a6f558f07c0">  Expense Example  </oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="D20251031_20251031_S000001130Member"
      id="t_104_c2ae4c3d_92d8_410d_aad7_189d029f6d38"> &lt;div style="line-height: 10.75pt; margin-top: 0.00pt; 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;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. Although your actual costs may be higher or lower, based &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;on the above assumptions, your costs would be:&lt;/span&gt;&lt;/div&gt; </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="INF"
      id="h_358_1995d606_dd90_4eaf_bdbd_c84ff5c19ab0"
      unitRef="USD">137</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="INF"
      id="h_359_7e680e79_1caa_4e38_b020_47303f54bcb2"
      unitRef="USD">428</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="INF"
      id="h_360_a995a75a_29df_47e4_82cf_d65bc70fab5b"
      unitRef="USD">739</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="INF"
      id="h_361_dc07cad3_6364_431e_90a6_0ebc67bae103"
      unitRef="USD">1624</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000001130Member_C000040086Member"
      decimals="INF"
      id="h_362_0c6ba162_7331_41f3_8f07_01468bdac373"
      unitRef="USD">111</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001130Member_C000040086Member"
      decimals="INF"
      id="h_363_6294beb4_d7c3_43e9_b34a_58fb0547cc2e"
      unitRef="USD">347</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001130Member_C000040086Member"
      decimals="INF"
      id="h_364_dff95a45_c5ff_4eb6_9e11_587f313d273b"
      unitRef="USD">601</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001130Member_C000040086Member"
      decimals="INF"
      id="h_365_e0dd2cd6_5318_4777_94d1_324aba6755bb"
      unitRef="USD">1329</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="D20251031_20251031_S000001130Member_C000194568Member"
      decimals="INF"
      id="h_366_2f4aa827_0b31_439e_a696_4318f89867d7"
      unitRef="USD">102</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="D20251031_20251031_S000001130Member_C000194568Member"
      decimals="INF"
      id="h_367_f23700b0_837b_4889_b6f0_25f89ad91357"
      unitRef="USD">318</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="D20251031_20251031_S000001130Member_C000194568Member"
      decimals="INF"
      id="h_368_6149b5e5_6440_4164_8de8_08be14dfdbb8"
      unitRef="USD">552</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="D20251031_20251031_S000001130Member_C000194568Member"
      decimals="INF"
      id="h_369_a5c74318_0a3b_46d2_8a20_e3d7f1e20362"
      unitRef="USD">1225</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_105_c3b8702c_1e05_4f66_ab95_abdab8c66cc3">  Portfolio Turnover  </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="D20251031_20251031_S000001130Member"
      id="t_106_613f2e76_8ec7_4eba_ac22_edfab6b9bc65"> &lt;div style="line-height: 10.75pt; 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 42% 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="D20251031_20251031_S000001130Member"
      decimals="4"
      id="h_370_02d74c35_e1e5_47db_b482_dc7839f2d607"
      unitRef="pure">0.42</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_107_ef4779a4_66dd_4c5a_a329_1e6d1ac7d7c3"> Principal Investment Strategies </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="D20251031_20251031_S000001130Member"
      id="t_108_b39e83e5_de0b_4d00_8ef6_27a17d08d237"> &lt;div style="line-height: 10.75pt; margin-top: 0.00pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Under normal conditions, the Fund invests at least 80% of its &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;assets in common stocks and other equity securities of small-cap &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies that River Road Asset 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;River Road&#x201d; or the &#x201c;Subadviser&#x201d;), &lt;/span&gt;&lt;/div&gt;  &lt;div style="line-height: 10.75pt; text-align: left;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;believes are undervalued. Value investing involves buying stocks &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;that the Subadviser believes are out of favor and/or undervalued &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in comparison to their peers or their prospects for growth. The &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund currently considers small-cap companies to be those with &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;market capitalizations at the time of acquisition within the range &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;of capitalizations of companies in the Russell 2000&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; Index &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(between $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;119.4&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; million and $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;7.4&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; billion as of April 30, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2025&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;the date of the latest reconstitution of the Index (implemented by &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;the Index June &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;27&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;2025&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;)). The Fund may continue to hold &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;securities of a portfolio company that subsequently drops below &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;or appreciates above the small-capitalization range. Because of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;this, the Fund may have less than 80% of its net assets in equity &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;securities of small-cap companies at any given time. The Fund &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;may also invest in mid-cap companies, which the Fund currently &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;considers to be companies with market capitalizations at the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;time of acquisition within the range of capitalizations of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;companies in the Russell Midcap&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; Index (between $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2&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;and $&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;58.5&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; billion as of April 30, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;2025&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;, the date of the latest &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;reconstitution of the Index (implemented by the Index June &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;27&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;2025&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;)). These capitalization ranges will change over time. In &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;addition, the Fund may invest in real estate investment trusts &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(&#x201c;REITs&#x201d;), convertible preferred stocks, and foreign securities &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(directly and through depositary receipts).&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser&#x2019;s investment philosophy is based upon its proprietary&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; Absolute Value&#xae; approach, which seeks to generate &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;attractive, sustainable returns over the long term, with an &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;emphasis on minimizing downside portfolio risk.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser builds the Fund&#x2019;s portfolio from the bottom up, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;making security-specific research central to the Subadviser&#x2019;s &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process. At the core of the Subadviser&#x2019;s Absolute Value&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 6.5pt; position: relative; top: -4.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&gt; &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;approach is a systematic method for assessing the &#x2018;risk-to-reward&#x2019;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; characteristics of an investment. The goal of the research &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;process is to formulate two outputs from which an investment &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;decision is made &#x2013; conviction rating (risk) and discount to value &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;(reward). The Subadviser combines a stock&#x2019;s conviction rating &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;with its discount to value in an effort to determine not only &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;whether the stock qualifies for investment, but also how the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stock will be sized within the Fund.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; line-height: 10.75pt;"&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 Subadviser employs a balanced approach to diversification &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and a structured sell discipline that seeks to reduce portfolio &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility and the risk of permanent loss of capital.&lt;/span&gt;&lt;/div&gt; </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001130Member_RiskLoseMoneyMember"
      id="t_115_fe6b1c84_bedc_50cf_a0f8_5075bbfbca58">There is the risk that you may lose money on your investment.&#160;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001130Member_RiskNotInsuredDepositoryInstitutionMember"
      id="t_116_89ee6886_1b42_8acc_fc20_6376725cbfb3">An&#160;investment in the Fund is not a deposit or obligation of any bank,&#160;is not endorsed or guaranteed by any bank, and is not insured by&#160;the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any other&#160;government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001130Member_MarketRisksMember"
      id="t_136_469887b3_3fbb_87ae_db9f_f6e961f289d0"> &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="D20251031_20251031_S000001130Member_SmallAndMidCapitalizationStockRiskMember"
      id="t_137_91214b5e_3e7a_a782_7542_3dbd5b72cee7"> &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- and Mid-Capitalization Stock Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014;the stocks of &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;small- and mid-capitalization companies often have greater price &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;volatility, lower trading volume, and less liquidity than the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;stocks of larger, more established companies.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001130Member_ManagementRiskMember"
      id="t_138_2d3ccd52_311e_60ca_076b_7c3b248b05a7"> &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="D20251031_20251031_S000001130Member_SectorRiskMember"
      id="t_139_8f37d5d6_eb91_1a4a_e150_d772f2ed033b"> &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'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="D20251031_20251031_S000001130Member_ValueStockRiskMember"
      id="t_140_204873ea_665b_8e6d_f914_bddffff63da3"> &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:RiskTextBlock
      contextRef="D20251031_20251031_S000001130Member_ConvertibleSecuritiesRiskMember"
      id="t_141_e3a52847_e8df_5764_9934_d84f4cc06986"> &lt;div style="margin-top: 6pt;"&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt; font-weight: bold;"&gt;Convertible Securities Risk&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;&#x2014; convertible preferred stocks, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which are convertible into shares of the issuer&#x2019;s common stock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and pay regular dividends, and convertible debt securities, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which are convertible into shares of the issuer&#x2019;s common stock &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and bear interest, are subject to the risks of equity securities and &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;fixed income securities. The lower the conversion premium, the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;more likely the price of the convertible security will follow the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;price of the underlying common stock. Conversely, higher &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;premium convertible securities are more likely to exhibit the &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;behavior of bonds because the likelihood of conversion is lower, &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;which may cause their prices to fall as interest rates rise. There &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;is the risk that the issuer of convertible preferred stock will not &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;be able to make dividend payments or that the issuer of a &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;convertible bond will not be able to make principal and/or &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;interest payments.&lt;/span&gt;&lt;/div&gt; </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="D20251031_20251031_S000001130Member_CurrencyRiskMember"
      id="t_142_9c702ac6_b19d_3f48_07bb_ffa78e179320"> &lt;div style="line-height: 10.75pt; text-align: left;"&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="D20251031_20251031_S000001130Member_ForeignInvestmentRiskMember"
      id="t_143_fd2aa7a1_5b59_4297_5772_79f8d7ba20f0"> &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;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="D20251031_20251031_S000001130Member_LiquidityRiskMember"
      id="t_144_ce6eb974_4ca7_5353_9863_c7a822a1e4ee"> &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="D20251031_20251031_S000001130Member_RealEstateIndustryRiskMember"
      id="t_145_f83fed38_785f_5aca_6aa6_c3dbf8f79e18"> &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. &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;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.&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt; 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:BarChartAndPerformanceTableHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_110_eddfecde_f036_4813_8a4d_34aeb9ac83e6"> Performance </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="D20251031_20251031_S000001130Member"
      id="t_121_23338fac_d6e3_46be_e862_3a9f9c56c8d2"> &lt;div style="line-height: 10.75pt; 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&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;investing in the Fund by showing changes in the Fund's performance&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;from year to year and by showing how the Fund's performance&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;compares to that of (i) a broad-based index and (ii) an&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;additional index reflecting the market segment(s) in which the&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;Fund invests. As always, past performance of the Fund (before&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;and after taxes) is not an indication of how the Fund will perform&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;in the future. To obtain updated performance information please &lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;visit&#160;wealth.amg.com or&#160;call&#160;800.548.4539.&#160;&lt;/span&gt;&lt;/div&gt; </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="D20251031_20251031_S000001130Member"
      id="t_117_8776f486_af33_9d27_a4e4_3f3a1fe9d14f">The following performance information illustrates the risks of&#160;investing in the Fund by showing changes in the Fund's performance&#160;from year to year and by showing how the Fund's performance&#160;compares to that of (i) a broad-based index and (ii) an&#160;additional index reflecting the market segment(s) in which the&#160;Fund invests.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="D20251031_20251031_S000001130Member"
      id="t_118_8c5da806_ca92_fa26_775d_fd1384f59e3b">As always, past performance of the Fund (before&#160;and after taxes) is not an indication of how the Fund will perform&#160;in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="D20251031_20251031_S000001130Member"
      id="t_119_1b0ca25a_1155_4fa8_2e3b_bdaeeb63f679">wealth.amg.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="D20251031_20251031_S000001130Member"
      id="t_120_c1d263f4_b0c5_39bb_3609_fbb554ed076a">800.548.4539</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_122_ba46d6ec_6a52_5f22_7b27_122cf70d129d"> Calendar Year Total Returns as of 12/31/25 (Class N)  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="D20251031_20251031_S000001130Member"
      id="t_127_b8cd8d92_ad4d_54cc_9875_437ee19f4cdd"> &lt;div style="margin-top: 9pt;"&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Best Quarter: 24.79% (4th Quarter 2020)&lt;/span&gt; &lt;br/&gt;&lt;span style="color: #000000; font-family: arial; font-size: 8pt;"&gt;Worst Quarter: -32.80% (1st Quarter 2020)&lt;/span&gt;&lt;/div&gt; </oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      id="t_123_7fc4f4a7_14ee_ac7d_96a3_1cc1116802dd">Best Quarter:</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="4"
      id="h_399_1715fff6_9ac6_088f_9c66_9c8733326339"
      unitRef="pure">0.2479</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      id="t_124_ef6f62e9_86ae_04f8_31c3_90c306c67d64">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      id="t_125_c94a3cde_bf76_c9cc_e489_f484e3a0d390">Worst Quarter:</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      decimals="4"
      id="h_400_0cba2599_2be0_51c2_00b3_eecf79b51e95"
      unitRef="pure">-0.3280</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="D20251031_20251031_S000001130Member_C000003038Member"
      id="t_126_ae08b9c2_faf5_7c87_3e16_5e038c35b99d">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="D20251031_20251031_S000001130Member"
      id="t_128_d9480f5e_a0e6_ab1e_a01d_508ba36d72a0">Average Annual Total Returns as of 12/31/25</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003038Member"
      decimals="4"
      id="h_371_1269a6e8_6cf0_4bfd_873c_2097f35e5928"
      unitRef="pure">0.0225</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003038Member"
      decimals="4"
      id="h_372_14e269eb_106c_459d_9773_7b59a482e123"
      unitRef="pure">0.0869</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003038Member"
      decimals="4"
      id="h_373_47a8d0c9_be07_404d_812a_cfe1754f7702"
      unitRef="pure">0.1021</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003038Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_375_a20d0248_92d4_40e0_aa6a_cd2057848394"
      unitRef="pure">-0.0021</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003038Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_376_8beb506e_5149_4dc8_b7d1_7f7bc3f14fc6"
      unitRef="pure">0.0686</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003038Member_AfterTaxesOnDistributionsMember"
      decimals="4"
      id="h_377_019fa363_f595_497b_a650_4cda02d73d10"
      unitRef="pure">0.0822</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000003038Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_379_dcf4e34a_32a4_440b_8f9f_ccd3e942159f"
      unitRef="pure">0.0284</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000003038Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_380_a398306d_a490_4ac8_b078_4abb6b0a0777"
      unitRef="pure">0.0661</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000003038Member_AfterTaxesOnDistributionsAndSalesMember"
      decimals="4"
      id="h_381_8a097878_b0fc_498f_8c2f_dc2cb232d604"
      unitRef="pure">0.0781</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000040086Member"
      decimals="4"
      id="h_383_bb0b27d0_da50_4c9a_8319_c0578d4abd1b"
      unitRef="pure">0.0254</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000040086Member"
      decimals="4"
      id="h_384_92dd875a_e63f_4c07_9f82_87563d325140"
      unitRef="pure">0.0898</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_C000040086Member"
      decimals="4"
      id="h_385_12a49615_0329_4fd1_835d_b4058e4cba81"
      unitRef="pure">0.1050</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_C000194568Member"
      decimals="4"
      id="h_387_605ffd17_344f_4a94_94b2_53f605bfa49e"
      unitRef="pure">0.0262</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_C000194568Member"
      decimals="4"
      id="h_388_a21b4c59_f220_45d8_bded_a7b3409735a5"
      unitRef="pure">0.0907</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_C000194568Member"
      decimals="4"
      id="h_390_cccaa3e0_9e82_4d9a_a091_cf0c7477f225"
      unitRef="pure">0.0863</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001130SP500IndexMember"
      decimals="4"
      id="h_391_1876fd66_2929_4814_8b19_54b13202cef7"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001130SP500IndexMember"
      decimals="4"
      id="h_392_671cb0d4_a9d7_428c_abec_f73b2eb32196"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001130SP500IndexMember"
      decimals="4"
      id="h_393_8dd7a9e2_f2b6_4196_a135_174b678eaf7c"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000001130SP500IndexMember"
      decimals="4"
      id="h_394_8cb8f791_396f_4c18_8c3d_9b472f9b25f0"
      unitRef="pure">0.1476</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FY2025_S000001130Russell2000ValueIndexMember"
      decimals="4"
      id="h_395_60cda83a_3a2c_473e_9b7a_d5e00eb8b0f0"
      unitRef="pure">0.1259</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2025_S000001130Russell2000ValueIndexMember"
      decimals="4"
      id="h_396_6b30ac44_a1f1_4914_aabc_01310e26b292"
      unitRef="pure">0.0888</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2025_S000001130Russell2000ValueIndexMember"
      decimals="4"
      id="h_397_9ef4b1bb_0c92_4e77_a34c_84a9ebfbce34"
      unitRef="pure">0.0927</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20170929_20251231_S000001130Russell2000ValueIndexMember"
      decimals="4"
      id="h_398_919c4720_5b39_44c2_9a9b_02233f6def3e"
      unitRef="pure">0.0696</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_C000194568Member"
      id="t_129_df971f74_55c3_42c3_a550_043abff88796">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000001130SP500IndexMember"
      id="t_130_44f77fd2_35bd_a58a_a4ba_ac07b0f3071b">2017-09-29</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="D20170929_20251231_S000001130Russell2000ValueIndexMember"
      id="t_131_c9bf9203_02c4_725f_69e4_92e3de609b43">2017-09-29</oef:PerfInceptionDate>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="D20251031_20251031_S000001130Member"
      id="t_135_a7dd6eab_c29f_665b_f727_e92216aa12d9"> &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&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;individual U.S. federal marginal income tax rates and do not&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;reflect the impact of state and local taxes. Actual after-tax&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;those shown. After-tax returns are not relevant to investors who&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;hold their Fund shares through tax-advantaged arrangements,&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;After-tax returns are shown for Class N shares only, and after-tax&#160;&lt;/span&gt;&lt;span style="color: #000000; font-family: times new roman; font-size: 10pt;"&gt;returns for Class I and Class Z shares will vary.&lt;/span&gt;&lt;/div&gt; </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="D20251031_20251031_S000001130Member"
      id="t_132_4b0fa732_fd5a_0124_e27c_9bc4de6d4cec">After-tax returns are calculated using the historical highest&#160;individual U.S. federal marginal income tax rates and do not&#160;reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="D20251031_20251031_S000001130Member"
      id="t_133_a9dbfd3e_806a_773a_02d6_9040e44efe68">Actual after-tax&#160;returns depend on an investor&#x2019;s tax situation and may differ from&#160;those shown. After-tax returns are not relevant to investors who&#160;hold their Fund shares through tax-advantaged arrangements,&#160;such as 401(k) plans or individual retirement accounts (&#x201c;IRAs&#x201d;).&#160;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="D20251031_20251031_S000001130Member"
      id="t_134_6e745633_2371_b11d_b1e5_19ebe28b63c5">After-tax returns are shown for Class N shares only, and after-tax&#160;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_106_e4ba70dd_9934_4b80_9105_7eb18489f2f9"
          xlink:label="h_106_e4ba70dd_9934_4b80_9105_7eb18489f2f9"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000004" xlink:label="f_0003_000004" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The Russell 2000&#xae; Growth Index replaced the S&amp;P 500&#xae; Growth Index as the Fund's additonal benchmark on December 8, 2025 because the Investment Manager and Subadviser believe the new benchmark is more representative of the Fund's current strategies. </link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_106_e4ba70dd_9934_4b80_9105_7eb18489f2f9"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_107_12d7fdf7_abb5_411e_ac0e_b09b14254e7b"
          xlink:label="h_107_12d7fdf7_abb5_411e_ac0e_b09b14254e7b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_107_12d7fdf7_abb5_411e_ac0e_b09b14254e7b"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_108_56a64a36_5a07_4943_8e12_700feed5386c"
          xlink:label="h_108_56a64a36_5a07_4943_8e12_700feed5386c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_108_56a64a36_5a07_4943_8e12_700feed5386c"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_109_3c523af2_560e_4ec2_9c72_a8cf71cb41a0"
          xlink:label="h_109_3c523af2_560e_4ec2_9c72_a8cf71cb41a0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_109_3c523af2_560e_4ec2_9c72_a8cf71cb41a0"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_110_ce88757e_9657_463b_8400_94faa1f5f341"
          xlink:label="h_110_ce88757e_9657_463b_8400_94faa1f5f341"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_110_ce88757e_9657_463b_8400_94faa1f5f341"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_111_2af0d3e6_95af_4001_b5dc_af536e13f2ee"
          xlink:label="h_111_2af0d3e6_95af_4001_b5dc_af536e13f2ee"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_111_2af0d3e6_95af_4001_b5dc_af536e13f2ee"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_118_42f4f340_9219_4b6b_9085_36363ccb2836"
          xlink:label="h_118_42f4f340_9219_4b6b_9085_36363ccb2836"
          xlink:type="locator"/>
        <link:footnote id="f_0005_000001" xlink:label="f_0005_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Expense information has been restated to reflect current fees.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_118_42f4f340_9219_4b6b_9085_36363ccb2836"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_119_00ace2d6_9074_4e0d_a3a4_fe8b28c349bc"
          xlink:label="h_119_00ace2d6_9074_4e0d_a3a4_fe8b28c349bc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_119_00ace2d6_9074_4e0d_a3a4_fe8b28c349bc"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_120_07697794_d419_4f7f_adc0_2e5ee88cd019"
          xlink:label="h_120_07697794_d419_4f7f_adc0_2e5ee88cd019"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_120_07697794_d419_4f7f_adc0_2e5ee88cd019"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_124_9b7e0748_2957_4b41_af95_f8276faa726a"
          xlink:label="h_124_9b7e0748_2957_4b41_af95_f8276faa726a"
          xlink:type="locator"/>
        <link:footnote id="f_0005_000002" xlink:label="f_0005_000002" 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 March 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.68% 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 IV 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_124_9b7e0748_2957_4b41_af95_f8276faa726a"
          xlink:to="f_0005_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_125_aaa7d12f_b257_443a_845d_92723c3aac60"
          xlink:label="h_125_aaa7d12f_b257_443a_845d_92723c3aac60"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_125_aaa7d12f_b257_443a_845d_92723c3aac60"
          xlink:to="f_0005_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_126_9b5f9867_b0ba_4cb2_81ba_e1dda4fc0fcf"
          xlink:label="h_126_9b5f9867_b0ba_4cb2_81ba_e1dda4fc0fcf"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_126_9b5f9867_b0ba_4cb2_81ba_e1dda4fc0fcf"
          xlink:to="f_0005_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_127_c1f1c0ec_3ed7_4f1f_ae1d_28c03d64404d"
          xlink:label="h_127_c1f1c0ec_3ed7_4f1f_ae1d_28c03d64404d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_127_c1f1c0ec_3ed7_4f1f_ae1d_28c03d64404d"
          xlink:to="f_0005_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_128_8d5ff4d8_e979_47a9_973f_9a9315bf0743"
          xlink:label="h_128_8d5ff4d8_e979_47a9_973f_9a9315bf0743"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_128_8d5ff4d8_e979_47a9_973f_9a9315bf0743"
          xlink:to="f_0005_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_129_ede51b63_2b19_42b2_9ed5_72cdfb0dc29c"
          xlink:label="h_129_ede51b63_2b19_42b2_9ed5_72cdfb0dc29c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_129_ede51b63_2b19_42b2_9ed5_72cdfb0dc29c"
          xlink:to="f_0005_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_13_028a3075_890d_48b3_b6ec_987a94ac91fb"
          xlink:label="h_13_028a3075_890d_48b3_b6ec_987a94ac91fb"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000007" xlink:label="f_0001_000007" 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 March 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.82% 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 IV 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_028a3075_890d_48b3_b6ec_987a94ac91fb"
          xlink:to="f_0001_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_14_cb89e362_13c9_4a83_9dd9_3d39b33fad5a"
          xlink:label="h_14_cb89e362_13c9_4a83_9dd9_3d39b33fad5a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_14_cb89e362_13c9_4a83_9dd9_3d39b33fad5a"
          xlink:to="f_0001_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_146_145ae945_2827_4116_91fa_183e04e345ea"
          xlink:label="h_146_145ae945_2827_4116_91fa_183e04e345ea"
          xlink:type="locator"/>
        <link:footnote id="f_0005_000003" xlink:label="f_0005_000003" 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 September 29, 2017.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_146_145ae945_2827_4116_91fa_183e04e345ea"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_15_2f9d210f_c033_4931_a87f_15de9b88df08"
          xlink:label="h_15_2f9d210f_c033_4931_a87f_15de9b88df08"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_15_2f9d210f_c033_4931_a87f_15de9b88df08"
          xlink:to="f_0001_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_150_06fe452b_d8e6_41a8_84dc_4c37e072ece4"
          xlink:label="h_150_06fe452b_d8e6_41a8_84dc_4c37e072ece4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_150_06fe452b_d8e6_41a8_84dc_4c37e072ece4"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_154_df5e586c_ff2f_407f_9c92_e1fef4032e7b"
          xlink:label="h_154_df5e586c_ff2f_407f_9c92_e1fef4032e7b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_154_df5e586c_ff2f_407f_9c92_e1fef4032e7b"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_158_d274aa21_9080_4350_b702_53886aa04553"
          xlink:label="h_158_d274aa21_9080_4350_b702_53886aa04553"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_158_d274aa21_9080_4350_b702_53886aa04553"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_16_86414200_e2ef_416c_a6f6_4ad03c735a75"
          xlink:label="h_16_86414200_e2ef_416c_a6f6_4ad03c735a75"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_16_86414200_e2ef_416c_a6f6_4ad03c735a75"
          xlink:to="f_0001_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_162_1d76e1b2_41a5_4b0d_ba06_848ed13fe3bd"
          xlink:label="h_162_1d76e1b2_41a5_4b0d_ba06_848ed13fe3bd"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_162_1d76e1b2_41a5_4b0d_ba06_848ed13fe3bd"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_166_f0a78af6_0aca_45eb_a64c_4832f8e57356"
          xlink:label="h_166_f0a78af6_0aca_45eb_a64c_4832f8e57356"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_166_f0a78af6_0aca_45eb_a64c_4832f8e57356"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_17_3415b1e8_63b5_4886_bd8f_183a878fccb9"
          xlink:label="h_17_3415b1e8_63b5_4886_bd8f_183a878fccb9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_17_3415b1e8_63b5_4886_bd8f_183a878fccb9"
          xlink:to="f_0001_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_170_ec19b2fa_6d2b_45a6_b041_134fce875af7"
          xlink:label="h_170_ec19b2fa_6d2b_45a6_b041_134fce875af7"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_170_ec19b2fa_6d2b_45a6_b041_134fce875af7"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_18_61aee0a8_273d_49aa_8756_9563105462d6"
          xlink:label="h_18_61aee0a8_273d_49aa_8756_9563105462d6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_18_61aee0a8_273d_49aa_8756_9563105462d6"
          xlink:to="f_0001_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_183_3da3bdaf_505b_481f_9ea8_0fc579634a20"
          xlink:label="h_183_3da3bdaf_505b_481f_9ea8_0fc579634a20"
          xlink:type="locator"/>
        <link:footnote id="f_0007_000001" xlink:label="f_0007_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 March 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.78% 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 IV 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_183_3da3bdaf_505b_481f_9ea8_0fc579634a20"
          xlink:to="f_0007_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_184_cd10745f_fc87_4cba_83f5_c39bf59573ed"
          xlink:label="h_184_cd10745f_fc87_4cba_83f5_c39bf59573ed"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_184_cd10745f_fc87_4cba_83f5_c39bf59573ed"
          xlink:to="f_0007_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_185_fd8770f2_54bc_4619_80b7_bb48de65587e"
          xlink:label="h_185_fd8770f2_54bc_4619_80b7_bb48de65587e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_185_fd8770f2_54bc_4619_80b7_bb48de65587e"
          xlink:to="f_0007_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_186_7d2f1a83_8659_4a4e_8e13_d6ed87609253"
          xlink:label="h_186_7d2f1a83_8659_4a4e_8e13_d6ed87609253"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_186_7d2f1a83_8659_4a4e_8e13_d6ed87609253"
          xlink:to="f_0007_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_187_7949dcc4_a687_45e4_bc23_4ff2cbda8cf2"
          xlink:label="h_187_7949dcc4_a687_45e4_bc23_4ff2cbda8cf2"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_187_7949dcc4_a687_45e4_bc23_4ff2cbda8cf2"
          xlink:to="f_0007_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_188_2793502f_22c6_4b2b_9ef7_c236e30cd607"
          xlink:label="h_188_2793502f_22c6_4b2b_9ef7_c236e30cd607"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_188_2793502f_22c6_4b2b_9ef7_c236e30cd607"
          xlink:to="f_0007_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_205_9122c886_6e3c_4330_be44_482f64a2b7d8"
          xlink:label="h_205_9122c886_6e3c_4330_be44_482f64a2b7d8"
          xlink:type="locator"/>
        <link:footnote id="f_0007_000002" xlink:label="f_0007_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 September 29, 2017.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_205_9122c886_6e3c_4330_be44_482f64a2b7d8"
          xlink:to="f_0007_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_209_3862ccb2_c5bc_4c84_b96c_203fed4c056a"
          xlink:label="h_209_3862ccb2_c5bc_4c84_b96c_203fed4c056a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_209_3862ccb2_c5bc_4c84_b96c_203fed4c056a"
          xlink:to="f_0007_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_213_b41a32e8_08ba_4b52_a30c_b680263b3d69"
          xlink:label="h_213_b41a32e8_08ba_4b52_a30c_b680263b3d69"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_213_b41a32e8_08ba_4b52_a30c_b680263b3d69"
          xlink:to="f_0007_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_217_818166df_0eae_4e55_ac29_ef71e816766f"
          xlink:label="h_217_818166df_0eae_4e55_ac29_ef71e816766f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_217_818166df_0eae_4e55_ac29_ef71e816766f"
          xlink:to="f_0007_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_221_a5cc1225_1651_4e69_af90_2c6080d00807"
          xlink:label="h_221_a5cc1225_1651_4e69_af90_2c6080d00807"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_221_a5cc1225_1651_4e69_af90_2c6080d00807"
          xlink:to="f_0007_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_225_e49941a7_afcb_4fd3_a61a_69131ad15e9d"
          xlink:label="h_225_e49941a7_afcb_4fd3_a61a_69131ad15e9d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_225_e49941a7_afcb_4fd3_a61a_69131ad15e9d"
          xlink:to="f_0007_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_229_3a33116e_5c74_4c8a_b5a3_bb3f8b1d3f13"
          xlink:label="h_229_3a33116e_5c74_4c8a_b5a3_bb3f8b1d3f13"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_229_3a33116e_5c74_4c8a_b5a3_bb3f8b1d3f13"
          xlink:to="f_0007_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_236_92b3edd5_0805_4061_8789_bf62c74e36a9"
          xlink:label="h_236_92b3edd5_0805_4061_8789_bf62c74e36a9"
          xlink:type="locator"/>
        <link:footnote id="f_0009_000016" xlink:label="f_0009_000016" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Expense information has been restated to reflect current fees.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_236_92b3edd5_0805_4061_8789_bf62c74e36a9"
          xlink:to="f_0009_000016"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_237_10065dc3_ac52_4607_b42f_2b3077497f35"
          xlink:label="h_237_10065dc3_ac52_4607_b42f_2b3077497f35"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_237_10065dc3_ac52_4607_b42f_2b3077497f35"
          xlink:to="f_0009_000016"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_238_bb2ff649_f2ab_4a6f_a8ef_e80a0ab9392e"
          xlink:label="h_238_bb2ff649_f2ab_4a6f_a8ef_e80a0ab9392e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_238_bb2ff649_f2ab_4a6f_a8ef_e80a0ab9392e"
          xlink:to="f_0009_000016"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_242_fcf63970_fecc_4b77_bc28_5c262987b6e7"
          xlink:label="h_242_fcf63970_fecc_4b77_bc28_5c262987b6e7"
          xlink:type="locator"/>
        <link:footnote id="f_0009_000017" xlink:label="f_0009_000017" 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 March 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.76% 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 IV 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_242_fcf63970_fecc_4b77_bc28_5c262987b6e7"
          xlink:to="f_0009_000017"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_243_58ebbc2d_5de2_40ca_9378_595ba65c4b73"
          xlink:label="h_243_58ebbc2d_5de2_40ca_9378_595ba65c4b73"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_243_58ebbc2d_5de2_40ca_9378_595ba65c4b73"
          xlink:to="f_0009_000017"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_244_75928c4a_3204_455b_bbf2_c0073252f64b"
          xlink:label="h_244_75928c4a_3204_455b_bbf2_c0073252f64b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_244_75928c4a_3204_455b_bbf2_c0073252f64b"
          xlink:to="f_0009_000017"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_245_f8de7328_cb93_4e95_877b_a3138a04cb6c"
          xlink:label="h_245_f8de7328_cb93_4e95_877b_a3138a04cb6c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_245_f8de7328_cb93_4e95_877b_a3138a04cb6c"
          xlink:to="f_0009_000017"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_246_3d04842f_eb0d_4309_9825_4dd2a0789443"
          xlink:label="h_246_3d04842f_eb0d_4309_9825_4dd2a0789443"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_246_3d04842f_eb0d_4309_9825_4dd2a0789443"
          xlink:to="f_0009_000017"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_247_8230fe74_90a5_48e5_90f3_d1ad28365462"
          xlink:label="h_247_8230fe74_90a5_48e5_90f3_d1ad28365462"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_247_8230fe74_90a5_48e5_90f3_d1ad28365462"
          xlink:to="f_0009_000017"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_264_f6bfe9ac_d803_4691_a6e7_11f86c6da989"
          xlink:label="h_264_f6bfe9ac_d803_4691_a6e7_11f86c6da989"
          xlink:type="locator"/>
        <link:footnote id="f_0009_000018" xlink:label="f_0009_000018" 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 September 29, 2017.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_264_f6bfe9ac_d803_4691_a6e7_11f86c6da989"
          xlink:to="f_0009_000018"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_268_2b52696c_5949_4220_b5fa_f6630289ec10"
          xlink:label="h_268_2b52696c_5949_4220_b5fa_f6630289ec10"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_268_2b52696c_5949_4220_b5fa_f6630289ec10"
          xlink:to="f_0009_000018"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_272_efd3cbd5_42e7_4b88_a4f8_4be7d60f5c66"
          xlink:label="h_272_efd3cbd5_42e7_4b88_a4f8_4be7d60f5c66"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_272_efd3cbd5_42e7_4b88_a4f8_4be7d60f5c66"
          xlink:to="f_0009_000018"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_276_ab95ba7d_4cc9_4e18_b40f_48d3aed9f12e"
          xlink:label="h_276_ab95ba7d_4cc9_4e18_b40f_48d3aed9f12e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_276_ab95ba7d_4cc9_4e18_b40f_48d3aed9f12e"
          xlink:to="f_0009_000018"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_280_883267ba_7a22_4f63_a336_bef92829471b"
          xlink:label="h_280_883267ba_7a22_4f63_a336_bef92829471b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_280_883267ba_7a22_4f63_a336_bef92829471b"
          xlink:to="f_0009_000018"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_284_0ca14108_17dd_4777_bd31_397bd27293c6"
          xlink:label="h_284_0ca14108_17dd_4777_bd31_397bd27293c6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_284_0ca14108_17dd_4777_bd31_397bd27293c6"
          xlink:to="f_0009_000018"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_288_089657e6_4791_4d50_bd40_7a43c6f6fc90"
          xlink:label="h_288_089657e6_4791_4d50_bd40_7a43c6f6fc90"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_288_089657e6_4791_4d50_bd40_7a43c6f6fc90"
          xlink:to="f_0009_000018"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_317_ef336d95_d37c_4232_b8ca_57b2b0524aca"
          xlink:label="h_317_ef336d95_d37c_4232_b8ca_57b2b0524aca"
          xlink:type="locator"/>
        <link:footnote id="f_0011_000001" xlink:label="f_0011_000001" 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 September 29, 2017.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_317_ef336d95_d37c_4232_b8ca_57b2b0524aca"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_321_5df2918c_ece2_494a_8a4b_8fa50cefc6e8"
          xlink:label="h_321_5df2918c_ece2_494a_8a4b_8fa50cefc6e8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_321_5df2918c_ece2_494a_8a4b_8fa50cefc6e8"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_325_f6e9815a_cea1_4a38_a8cc_e8136186af26"
          xlink:label="h_325_f6e9815a_cea1_4a38_a8cc_e8136186af26"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_325_f6e9815a_cea1_4a38_a8cc_e8136186af26"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_329_c8d9636d_3a39_40fc_88ad_a50257eb1bb2"
          xlink:label="h_329_c8d9636d_3a39_40fc_88ad_a50257eb1bb2"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_329_c8d9636d_3a39_40fc_88ad_a50257eb1bb2"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_333_1e2f7d8f_d16d_497b_9981_ab53c4833a9e"
          xlink:label="h_333_1e2f7d8f_d16d_497b_9981_ab53c4833a9e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_333_1e2f7d8f_d16d_497b_9981_ab53c4833a9e"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_337_b3f2505c_3fbb_4e02_af97_0691e6d2b9e2"
          xlink:label="h_337_b3f2505c_3fbb_4e02_af97_0691e6d2b9e2"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_337_b3f2505c_3fbb_4e02_af97_0691e6d2b9e2"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_341_a5ba3b9a_5b2e_4557_bb21_fa01324d5031"
          xlink:label="h_341_a5ba3b9a_5b2e_4557_bb21_fa01324d5031"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_341_a5ba3b9a_5b2e_4557_bb21_fa01324d5031"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_345_ad118a07_a871_4029_9981_8c08510901b5"
          xlink:label="h_345_ad118a07_a871_4029_9981_8c08510901b5"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_345_ad118a07_a871_4029_9981_8c08510901b5"
          xlink:to="f_0011_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_352_b516f200_69c2_4063_b275_6a48c147e4f5"
          xlink:label="h_352_b516f200_69c2_4063_b275_6a48c147e4f5"
          xlink:type="locator"/>
        <link:footnote id="f_0013_000001" xlink:label="f_0013_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Expense information has been restated to reflect current fees.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_352_b516f200_69c2_4063_b275_6a48c147e4f5"
          xlink:to="f_0013_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_353_d3902339_0ec2_47d2_9365_a0b1e47bfe87"
          xlink:label="h_353_d3902339_0ec2_47d2_9365_a0b1e47bfe87"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_353_d3902339_0ec2_47d2_9365_a0b1e47bfe87"
          xlink:to="f_0013_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_354_b835875b_d48a_4305_a20f_31b7da2ef44f"
          xlink:label="h_354_b835875b_d48a_4305_a20f_31b7da2ef44f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_354_b835875b_d48a_4305_a20f_31b7da2ef44f"
          xlink:to="f_0013_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_374_88a6126a_2b43_454d_b748_e57463d9b216"
          xlink:label="h_374_88a6126a_2b43_454d_b748_e57463d9b216"
          xlink:type="locator"/>
        <link:footnote id="f_0013_000002" xlink:label="f_0013_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 September 29, 2017.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_374_88a6126a_2b43_454d_b748_e57463d9b216"
          xlink:to="f_0013_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_378_ae8e7a4c_37c7_4ccc_981e_7590505f11ac"
          xlink:label="h_378_ae8e7a4c_37c7_4ccc_981e_7590505f11ac"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_378_ae8e7a4c_37c7_4ccc_981e_7590505f11ac"
          xlink:to="f_0013_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_382_44c3375b_086d_4604_b46e_b70f07adb46c"
          xlink:label="h_382_44c3375b_086d_4604_b46e_b70f07adb46c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_382_44c3375b_086d_4604_b46e_b70f07adb46c"
          xlink:to="f_0013_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_386_171a0725_bb72_491e_ab97_b58392f4b338"
          xlink:label="h_386_171a0725_bb72_491e_ab97_b58392f4b338"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_386_171a0725_bb72_491e_ab97_b58392f4b338"
          xlink:to="f_0013_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_390_cccaa3e0_9e82_4d9a_a091_cf0c7477f225"
          xlink:label="h_390_cccaa3e0_9e82_4d9a_a091_cf0c7477f225"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_390_cccaa3e0_9e82_4d9a_a091_cf0c7477f225"
          xlink:to="f_0013_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_394_8cb8f791_396f_4c18_8c3d_9b472f9b25f0"
          xlink:label="h_394_8cb8f791_396f_4c18_8c3d_9b472f9b25f0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_394_8cb8f791_396f_4c18_8c3d_9b472f9b25f0"
          xlink:to="f_0013_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_398_919c4720_5b39_44c2_9a9b_02233f6def3e"
          xlink:label="h_398_919c4720_5b39_44c2_9a9b_02233f6def3e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_398_919c4720_5b39_44c2_9a9b_02233f6def3e"
          xlink:to="f_0013_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_51_49109d17_1123_4b45_9ead_900a2304e608"
          xlink:label="h_51_49109d17_1123_4b45_9ead_900a2304e608"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000008" xlink:label="f_0001_000008" 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 August 31, 2021.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_51_49109d17_1123_4b45_9ead_900a2304e608"
          xlink:to="f_0001_000008"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_55_3d8ad63e_c3e6_4ffb_a0e6_717702162075"
          xlink:label="h_55_3d8ad63e_c3e6_4ffb_a0e6_717702162075"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_55_3d8ad63e_c3e6_4ffb_a0e6_717702162075"
          xlink:to="f_0001_000008"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_59_c58e6fdf_65e4_4452_b5a8_f23c0a20dabe"
          xlink:label="h_59_c58e6fdf_65e4_4452_b5a8_f23c0a20dabe"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_59_c58e6fdf_65e4_4452_b5a8_f23c0a20dabe"
          xlink:to="f_0001_000008"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_60_843e2aaf_bc1f_4f09_b9b1_e64a2935b186"
          xlink:label="h_60_843e2aaf_bc1f_4f09_b9b1_e64a2935b186"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000002" xlink:label="f_0003_000002" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Expense information has been restated to reflect current fees.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_60_843e2aaf_bc1f_4f09_b9b1_e64a2935b186"
          xlink:to="f_0003_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_61_5382ac57_6d24_4e6f_8404_82b748796f93"
          xlink:label="h_61_5382ac57_6d24_4e6f_8404_82b748796f93"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_61_5382ac57_6d24_4e6f_8404_82b748796f93"
          xlink:to="f_0003_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_62_01e76be1_2a09_19fd_d0ac_11981c18aa58"
          xlink:label="h_62_01e76be1_2a09_19fd_d0ac_11981c18aa58"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_62_01e76be1_2a09_19fd_d0ac_11981c18aa58"
          xlink:to="f_0001_000008"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_62_10b63170_6f5f_b14e_33b7_7c59c0d778b5"
          xlink:label="h_62_10b63170_6f5f_b14e_33b7_7c59c0d778b5"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_62_10b63170_6f5f_b14e_33b7_7c59c0d778b5"
          xlink:to="f_0001_000008"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_62_737e604f_b578_36c1_eedc_7c45e4356053"
          xlink:label="h_62_737e604f_b578_36c1_eedc_7c45e4356053"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_62_737e604f_b578_36c1_eedc_7c45e4356053"
          xlink:to="f_0001_000008"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_62_e81428f9_3062_4fa4_8fc3_19ece463b1bb"
          xlink:label="h_62_e81428f9_3062_4fa4_8fc3_19ece463b1bb"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000001" xlink:label="f_0003_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Because Class Z shares commenced operations after the end of the fiscal year ended October 31, 2025, these amounts are based on estimates for the current fiscal year.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_62_e81428f9_3062_4fa4_8fc3_19ece463b1bb"
          xlink:to="f_0003_000001"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_62_e81428f9_3062_4fa4_8fc3_19ece463b1bb"
          xlink:to="f_0003_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_62_ef32671b_994d_8c7d_2549_2fc57b8c8255"
          xlink:label="h_62_ef32671b_994d_8c7d_2549_2fc57b8c8255"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_62_ef32671b_994d_8c7d_2549_2fc57b8c8255"
          xlink:to="f_0001_000008"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_65_c26d4727_cae8_44a8_8bbb_808b38aa6a59"
          xlink:label="h_65_c26d4727_cae8_44a8_8bbb_808b38aa6a59"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_65_c26d4727_cae8_44a8_8bbb_808b38aa6a59"
          xlink:to="f_0003_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_68_d448b106_f425_4220_96fa_0048ce549a09"
          xlink:label="h_68_d448b106_f425_4220_96fa_0048ce549a09"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_68_d448b106_f425_4220_96fa_0048ce549a09"
          xlink:to="f_0003_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_7_0cb338cb_f13b_4938_8b75_ca4b6702807a"
          xlink:label="h_7_0cb338cb_f13b_4938_8b75_ca4b6702807a"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000004" xlink:label="f_0001_000004" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Expense information has been restated to reflect current fees.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7_0cb338cb_f13b_4938_8b75_ca4b6702807a"
          xlink:to="f_0001_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_71_202547a7_dca0_48e8_91d9_3bc7370541fc"
          xlink:label="h_71_202547a7_dca0_48e8_91d9_3bc7370541fc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_71_202547a7_dca0_48e8_91d9_3bc7370541fc"
          xlink:to="f_0003_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_72_f11f7b9e_8c3f_438f_b57b_317c4738aaeb"
          xlink:label="h_72_f11f7b9e_8c3f_438f_b57b_317c4738aaeb"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000003" xlink:label="f_0003_000003" 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 March 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.67% 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 IV 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_72_f11f7b9e_8c3f_438f_b57b_317c4738aaeb"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_73_9f00633c_86a8_44fb_920d_1812085b05f8"
          xlink:label="h_73_9f00633c_86a8_44fb_920d_1812085b05f8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_73_9f00633c_86a8_44fb_920d_1812085b05f8"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_74_befd1527_5578_4023_8f9b_63d5a7632558"
          xlink:label="h_74_befd1527_5578_4023_8f9b_63d5a7632558"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_74_befd1527_5578_4023_8f9b_63d5a7632558"
          xlink:to="f_0003_000001"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_74_befd1527_5578_4023_8f9b_63d5a7632558"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_75_565cf3ec_59d0_459f_9c11_51b86bd72ef6"
          xlink:label="h_75_565cf3ec_59d0_459f_9c11_51b86bd72ef6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_75_565cf3ec_59d0_459f_9c11_51b86bd72ef6"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_76_e2f1d7f4_5658_46ce_9d3c_a90018795b9a"
          xlink:label="h_76_e2f1d7f4_5658_46ce_9d3c_a90018795b9a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_76_e2f1d7f4_5658_46ce_9d3c_a90018795b9a"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_77_76d1f510_f085_447a_bbdf_c75ad1bd632c"
          xlink:label="h_77_76d1f510_f085_447a_bbdf_c75ad1bd632c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_77_76d1f510_f085_447a_bbdf_c75ad1bd632c"
          xlink:to="f_0003_000001"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_77_76d1f510_f085_447a_bbdf_c75ad1bd632c"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_8_19948b86_a6db_49ad_b306_66295c53e2ee"
          xlink:label="h_8_19948b86_a6db_49ad_b306_66295c53e2ee"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_8_19948b86_a6db_49ad_b306_66295c53e2ee"
          xlink:to="f_0001_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_9_2edafec6_1bda_4654_a5a6_15d73c252c61"
          xlink:label="h_9_2edafec6_1bda_4654_a5a6_15d73c252c61"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_9_2edafec6_1bda_4654_a5a6_15d73c252c61"
          xlink:to="f_0001_000004"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
