<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:bmifvi="http://www.bny.com/20260818"
  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:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cik0000881773-20260818.xsd" xlink:type="simple"/>
    <context id="D20251231_20260630_C000055454Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="D20251231_20260630_C000055455Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="D20251231_20260630_C000055456Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="D20251231_20260630_C000163518Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="TI20260630_C000055454Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_AlphabetIncClAMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AlphabetIncClAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_AmazonComIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AmazonComIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_AppleIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AppleIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_AppliedMaterialsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AppliedMaterialsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_CiscoSystemsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:CiscoSystemsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_ConsumerDiscretionarySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerDiscretionarySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_ConsumerStaplesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerStaplesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_InformationTechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:InformationTechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifvi:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_JPMorganChaseAndCoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:JPMorganChaseAndCoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_MaterialsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:MaterialsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_MicrosoftCorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:MicrosoftCorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifvi:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_NVIDIACorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:NVIDIACorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_TexasInstrumentsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:TexasInstrumentsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_UnitedHealthGroupIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:UnitedHealthGroupIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055454Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055454Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_AlphabetIncClAMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AlphabetIncClAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_AmazonComIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AmazonComIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_AppleIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AppleIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_AppliedMaterialsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AppliedMaterialsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_CiscoSystemsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:CiscoSystemsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_ConsumerDiscretionarySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerDiscretionarySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_ConsumerStaplesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerStaplesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_InformationTechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:InformationTechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifvi:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_JPMorganChaseAndCoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:JPMorganChaseAndCoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_MaterialsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:MaterialsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_MicrosoftCorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:MicrosoftCorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifvi:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_NVIDIACorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:NVIDIACorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_TexasInstrumentsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:TexasInstrumentsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_UnitedHealthGroupIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:UnitedHealthGroupIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055455Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055455Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_AlphabetIncClAMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AlphabetIncClAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_AmazonComIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AmazonComIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_AppleIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AppleIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_AppliedMaterialsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AppliedMaterialsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_CiscoSystemsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:CiscoSystemsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_ConsumerDiscretionarySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerDiscretionarySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_ConsumerStaplesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerStaplesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_InformationTechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:InformationTechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifvi:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_JPMorganChaseAndCoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:JPMorganChaseAndCoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_MaterialsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:MaterialsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_MicrosoftCorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:MicrosoftCorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifvi:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_NVIDIACorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:NVIDIACorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_TexasInstrumentsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:TexasInstrumentsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_UnitedHealthGroupIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:UnitedHealthGroupIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000055456Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000055456Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_AlphabetIncClAMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AlphabetIncClAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_AmazonComIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AmazonComIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_AppleIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AppleIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_AppliedMaterialsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:AppliedMaterialsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_CiscoSystemsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:CiscoSystemsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_ConsumerDiscretionarySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerDiscretionarySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_ConsumerStaplesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:ConsumerStaplesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_InformationTechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:InformationTechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifvi:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_JPMorganChaseAndCoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:JPMorganChaseAndCoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_MaterialsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:MaterialsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_MicrosoftCorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:MicrosoftCorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifvi:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_NVIDIACorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:NVIDIACorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_TexasInstrumentsIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:TexasInstrumentsIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_UnitedHealthGroupIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">bmifvi:UnitedHealthGroupIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000163518Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000881773</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifvi:C000163518Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Holding">
        <measure>bmifvi:Holding</measure>
    </unit>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_CiscoSystemsIncMember"
      decimals="4"
      id="h_07e91ec5_a098_4863_9d80_a1bd01ad4c3f"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_CommunicationsSectorMember"
      decimals="4"
      id="h_0a0511e5_e301_4e28_b3ac_8eef3410849d"
      unitRef="pure">0.107</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_IndustrialSectorMember"
      decimals="4"
      id="h_0fece6c6_11d6_4c68_8707_fdaaff8e1e4b"
      unitRef="pure">0.108</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_121b22fb_8ab1_43f1_a68b_ba471c04c332"
      unitRef="pure">0.144</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_CiscoSystemsIncMember"
      decimals="4"
      id="h_163ae94d_d774_49f1_b2f0_9be7e93cb885"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_IndustrialSectorMember"
      decimals="4"
      id="h_180e5348_6fa8_4b61_b5ce_3282aa9cbd44"
      unitRef="pure">0.108</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_JPMorganChaseAndCoMember"
      decimals="4"
      id="h_1971e1ef_ecaa_42e1_905b_a56d5335a7fa"
      unitRef="pure">0.019</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_NVIDIACorpMember"
      decimals="4"
      id="h_1c8d33fd_7867_4dde_a6f0_bd3c1689bd34"
      unitRef="pure">0.071</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_UnitedHealthGroupIncMember"
      decimals="4"
      id="h_1cea4698_44af_42fb_ba1e_feb1f72ada4c"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_EnergySectorMember"
      decimals="4"
      id="h_1ddba5f3_a1ff_4868_9885_8d04ecb3256e"
      unitRef="pure">0.044</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_AlphabetIncClAMember"
      decimals="4"
      id="h_2265d90e_3ee2_4bee_9765_35b642693089"
      unitRef="pure">0.064</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_HealthcareSectorMember"
      decimals="4"
      id="h_24a71e06_d600_4941_8d9f_a95c1dbb562b"
      unitRef="pure">0.109</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_270302b3_a55e_4e90_b361_af87dc1cfd72"
      unitRef="pure">0.144</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_29ca5969_664a_481e_bd00_f1d9911b2ef2"
      unitRef="pure">-0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_MicrosoftCorpMember"
      decimals="4"
      id="h_2ae54369_d4ea_4b33_a118_4017eb3dc404"
      unitRef="pure">0.038</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_InformationTechnologySectorMember"
      decimals="4"
      id="h_2cd32066_bfe7_4e0c_a0f6_d685aaebbef6"
      unitRef="pure">0.325</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_2d003bb2_4bf6_4529_8efd_6202178127e9"
      unitRef="pure">0.144</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_InformationTechnologySectorMember"
      decimals="4"
      id="h_2d3ef87a_e7df_4e35_9031_92cf470a6b6a"
      unitRef="pure">0.325</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_2eacfca1_f60a_4098_8d02_216e265a16da"
      unitRef="pure">0.016</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_TexasInstrumentsIncMember"
      decimals="4"
      id="h_2fe06fa8_6c0d_4a3a_97c1_5e7fafd646f8"
      unitRef="pure">0.028</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_TexasInstrumentsIncMember"
      decimals="4"
      id="h_4512969d_908e_41a9_aaa2_c0075b469713"
      unitRef="pure">0.028</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_AppleIncMember"
      decimals="4"
      id="h_46aa00c8_28a2_4221_b2f1_62b69d2e5792"
      unitRef="pure">0.049</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_JPMorganChaseAndCoMember"
      decimals="4"
      id="h_48c93172_5a41_4bbd_8ea8_1c2d8d884bff"
      unitRef="pure">0.019</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_AmazonComIncMember"
      decimals="4"
      id="h_4babf926_6687_4c67_8677_587cac139e87"
      unitRef="pure">0.046</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_NVIDIACorpMember"
      decimals="4"
      id="h_4e46e291_d732_4bf1_96b5_1a42b6a52901"
      unitRef="pure">0.071</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_UtilitiesSectorMember"
      decimals="4"
      id="h_4f1b4d38_6f8c_4dcc_8e5d_261b330d663a"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_NVIDIACorpMember"
      decimals="4"
      id="h_4fb1efb2_e0ef_4bee_abbe_ee8df6990615"
      unitRef="pure">0.071</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_TexasInstrumentsIncMember"
      decimals="4"
      id="h_5368dcc6_22d5_4603_b777_5797c3f213bd"
      unitRef="pure">0.028</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_MicrosoftCorpMember"
      decimals="4"
      id="h_54aa7c9a_f954_441f_ad30_9de94d38b8a2"
      unitRef="pure">0.038</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_AppliedMaterialsIncMember"
      decimals="4"
      id="h_5fe84dd6_ab2b_4bae_9a6b_aabafda582c3"
      unitRef="pure">0.022</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_HealthcareSectorMember"
      decimals="4"
      id="h_62142d94_e7b9_4f84_b30a_3679aeea7387"
      unitRef="pure">0.109</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_AppleIncMember"
      decimals="4"
      id="h_687bf576_a643_4ba1_870b_5e7795a8ea8f"
      unitRef="pure">0.049</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_AppliedMaterialsIncMember"
      decimals="4"
      id="h_68eb32b3_4a0d_4825_844a_bbc208ce1a3c"
      unitRef="pure">0.022</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_TexasInstrumentsIncMember"
      decimals="4"
      id="h_6c57c214_c92c_4814_ad03_4e8108f95f0b"
      unitRef="pure">0.028</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_InformationTechnologySectorMember"
      decimals="4"
      id="h_6d46e8dc_39ce_4242_b654_be3e4fac149e"
      unitRef="pure">0.325</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_IndustrialSectorMember"
      decimals="4"
      id="h_72a31803_d3a8_4d09_925e_a64128e43737"
      unitRef="pure">0.108</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_EnergySectorMember"
      decimals="4"
      id="h_762b4e42_b9b7_4d1f_991f_d93214b58e60"
      unitRef="pure">0.044</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_JPMorganChaseAndCoMember"
      decimals="4"
      id="h_76f44099_673b_4c7d_9095_ec37810f6c92"
      unitRef="pure">0.019</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_AlphabetIncClAMember"
      decimals="4"
      id="h_795423d5_8927_47c5_bb2c_7f908bcb3395"
      unitRef="pure">0.064</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_UnitedHealthGroupIncMember"
      decimals="4"
      id="h_7a27ab9d_2a47_47b4_86e2_3cc7171bceb8"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_7c8a59c9_299c_4368_9c9a_b5c3046e3d0c"
      unitRef="pure">-0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_HealthcareSectorMember"
      decimals="4"
      id="h_7e8d4801_8d62_4ab9_8247_b643cb243c41"
      unitRef="pure">0.109</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_EnergySectorMember"
      decimals="4"
      id="h_801e9a01_b058_467b_95e8_457fa1634eed"
      unitRef="pure">0.044</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_CommunicationsSectorMember"
      decimals="4"
      id="h_88807ecf_91e9_4d78_8a19_c812f12308ab"
      unitRef="pure">0.107</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_UtilitiesSectorMember"
      decimals="4"
      id="h_8aa49ff4_e2a2_4afa_802d_17c0f3833f43"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_8fb48de6_dc26_457a_ba81_5d14ff2b07b9"
      unitRef="pure">0.016</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_MaterialsSectorMember"
      decimals="4"
      id="h_92eb12f4_16a0_4dc2_8420_d3fd29281bfa"
      unitRef="pure">0.024</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_ConsumerStaplesSectorMember"
      decimals="4"
      id="h_95c8476d_3e4a_4511_b5ea_59983ca4d2bb"
      unitRef="pure">0.041</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_962c7492_daac_42ba_a708_997169d838de"
      unitRef="pure">-0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_EnergySectorMember"
      decimals="4"
      id="h_96b9d5b3_7a8a_40c4_b246_911bb7d377d0"
      unitRef="pure">0.044</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_MicrosoftCorpMember"
      decimals="4"
      id="h_99c5fd0f_1b08_4770_a26b_98cb458c13d9"
      unitRef="pure">0.038</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_9b8b4dd2_c287_42d8_8caf_88c5d3cc1c51"
      unitRef="pure">0.016</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_IndustrialSectorMember"
      decimals="4"
      id="h_a352bc37_6d80_4965_a1b7_87ba647bdb38"
      unitRef="pure">0.108</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_CiscoSystemsIncMember"
      decimals="4"
      id="h_a4742bdf_6dbd_4854_8bd7_beb2675ef6cd"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_UnitedHealthGroupIncMember"
      decimals="4"
      id="h_a62d8db0_c144_49bb_b158_c4933bf59f57"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_ConsumerDiscretionarySectorMember"
      decimals="4"
      id="h_a82499a5_ee3c_4c1e_b226_ca4f1e013c04"
      unitRef="pure">0.069</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_ConsumerDiscretionarySectorMember"
      decimals="4"
      id="h_a88e52c0_18c5_4790_ab25_96c20b5792f6"
      unitRef="pure">0.069</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_AppliedMaterialsIncMember"
      decimals="4"
      id="h_a8aff118_65e7_4e9a_86e6_a9842f17fa22"
      unitRef="pure">0.022</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_HealthcareSectorMember"
      decimals="4"
      id="h_ac72959b_d6f4_4348_af42_bd5f34891f05"
      unitRef="pure">0.109</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_MaterialsSectorMember"
      decimals="4"
      id="h_ac7e681d_3b74_4c9f_8c1e_4e74184c10b8"
      unitRef="pure">0.024</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_ConsumerDiscretionarySectorMember"
      decimals="4"
      id="h_acf777e2_c2c8_4fb1_8914_9f014f070c4d"
      unitRef="pure">0.069</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_NVIDIACorpMember"
      decimals="4"
      id="h_af6e5e70_1f88_4297_a438_9b3ffa2d08ef"
      unitRef="pure">0.071</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_ConsumerStaplesSectorMember"
      decimals="4"
      id="h_b9aa8551_5766_4ec7_b247_63cdce8785ae"
      unitRef="pure">0.041</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_b9fbca5d_b46f_4bb2_9664_1668df2cc1e0"
      unitRef="pure">-0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_MaterialsSectorMember"
      decimals="4"
      id="h_ba9d6cad_1297_4050_a926_4544c6620c3a"
      unitRef="pure">0.024</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_ConsumerDiscretionarySectorMember"
      decimals="4"
      id="h_bce2c7f8_68af_4479_a010_a710366e0d87"
      unitRef="pure">0.069</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_UtilitiesSectorMember"
      decimals="4"
      id="h_c2c198f2_076c_4879_b694_026507856b51"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_c4cc86ff_dca8_4d29_908f_f4485ec53d44"
      unitRef="pure">0.016</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_MicrosoftCorpMember"
      decimals="4"
      id="h_c4dc31c9_2cba_40d6_a7a2_db718e108bb1"
      unitRef="pure">0.038</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_MaterialsSectorMember"
      decimals="4"
      id="h_c902eaab_2f42_47ec_a1fa_a6ede2489ceb"
      unitRef="pure">0.024</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_CommunicationsSectorMember"
      decimals="4"
      id="h_cc93c15e_6a3c_4c4e_9a8f_7917f269dac8"
      unitRef="pure">0.107</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_cf48881e_5af4_4ed1_9d8c_63bc88107160"
      unitRef="pure">0.144</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_AmazonComIncMember"
      decimals="4"
      id="h_d9aaf270_5abc_4a8e_9386_67b7b4383300"
      unitRef="pure">0.046</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_AppliedMaterialsIncMember"
      decimals="4"
      id="h_d9e0dcb2_aa6e_48f7_a377_ea1d1c1a29e4"
      unitRef="pure">0.022</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_ConsumerStaplesSectorMember"
      decimals="4"
      id="h_dd5f8bcd_f10a_4185_a6d2_cea250e145af"
      unitRef="pure">0.041</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055455Member_AlphabetIncClAMember"
      decimals="4"
      id="h_ddaacb3c_935d_4ce7_9e91_aaed78101df4"
      unitRef="pure">0.064</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_CiscoSystemsIncMember"
      decimals="4"
      id="h_dffd6c45_6c57_455b_850a_bc06715cf7e4"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_AppleIncMember"
      decimals="4"
      id="h_e40e5249_f0a8_4002_be35_0dafc8e32d61"
      unitRef="pure">0.049</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_UtilitiesSectorMember"
      decimals="4"
      id="h_e52ea570_49eb_4fb4_a839_08af5f17baa9"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_CommunicationsSectorMember"
      decimals="4"
      id="h_e7ce961c_7cd5_4189_96b6_c977ec8e98dd"
      unitRef="pure">0.107</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_JPMorganChaseAndCoMember"
      decimals="4"
      id="h_ec0edbc5_ded3_483d_8bee_c379ab477017"
      unitRef="pure">0.019</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_AlphabetIncClAMember"
      decimals="4"
      id="h_eed63a32_8951_4514_94dd_0528433a1a1b"
      unitRef="pure">0.064</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_ConsumerStaplesSectorMember"
      decimals="4"
      id="h_ef7ab636_77e4_411e_9b31_46eff8f7cea6"
      unitRef="pure">0.041</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055456Member_UnitedHealthGroupIncMember"
      decimals="4"
      id="h_f08847f2_90c5_4461_8dd0_d55ca0d6dc6a"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000055454Member_AmazonComIncMember"
      decimals="4"
      id="h_f31b19a8_0512_4926_bcb2_ffd92376e8da"
      unitRef="pure">0.046</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_InformationTechnologySectorMember"
      decimals="4"
      id="h_fa184abd_9bc5_48e5_9bb2_62e055d5a52d"
      unitRef="pure">0.325</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_AmazonComIncMember"
      decimals="4"
      id="h_fcc3fd7c_1d69_4e32_8b9c_9915f0aacc42"
      unitRef="pure">0.046</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000163518Member_AppleIncMember"
      decimals="4"
      id="h_fe88baa6_b928_490d_a51e_11c9881b2fd4"
      unitRef="pure">0.049</oef:PctOfNav>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_0dbdec80_602d_4391_9a57_419d0ce63f70">0000881773</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_7ad751e7_4040_4e0b_975a_6ace2dd6dba0">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_1_01650015-f48c-5ffe-9896-41f2f86c85ad">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="t_3_6c9128ad_6491_b98e_3175_51eec36f50e5">N-CSRS</dei:DocumentType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_1_7126db56_542b_a1b7_2e30_666efdad70a7">BNY Mellon Investment Funds V, Inc.</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="t_2_54f516e4_94af_8173_11e5_5ea228d90298">2026-06-30</dei:DocumentPeriodEndDate>
    <oef:FundName
      contextRef="D20251231_20260630_C000055454Member"
      id="t_13_dbba72d4_400f_f2ff_4c11_702a664d1b4e">BNY Mellon Large Cap Equity Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251231_20260630_C000055454Member"
      id="t_11_e5c2058b_6e3d_9bbb_150e_2edb54847d31">Class A</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251231_20260630_C000055454Member"
      id="t_12_1cb82bee_5d2a_006e_786d_db5895256ef1">DLQAX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251231_20260630_C000055454Member"
      id="t_1_4dee070b_d1cb_4019_8c64_86ca4f939c7e">This semi-annual shareholder report contains important information about BNY Mellon Large Cap Equity Fund (the &#x201c;Fund&#x201d;) for the period of January 1, 2026 to June 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251231_20260630_C000055454Member"
      id="t_2_f1c38d48_7928_4740_ad60_955a38577079">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251231_20260630_C000055454Member"
      id="t_3_d63435a6_4758_4495_baa4_5f46c4a1ee76">You can find additional information about the Fund at &lt;span style="white-space:nowrap"&gt;&lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:7.5pt;word-break:break-all;white-space:nowrap;font-weight:400;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt;.&lt;/span&gt; You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="D20251231_20260630_C000055454Member"
      id="t_5_39f573c7_682e_47ad_af19_0d75e9e11532">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251231_20260630_C000055454Member"
      id="t_6_0b4bd0fa_2585_430b_9449_c7668fd64b1f">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251231_20260630_C000055454Member"
      id="t_4_bcc9a314_6439_49ac_92dc_24b9363611cc">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="D20251231_20260630_C000055454Member"
      id="t_7_1b04f31d_8655_41dd_93a8_63026e99fddf">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;six months&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; text-indent: -6pt;"&gt;Class &lt;span style="white-space:nowrap"&gt;A&lt;sup style="vertical-align:super;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;51&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;1.00&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align:super;font-size:5pt"&gt;**&lt;/sup&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid;margin-bottom:22pt"&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;Annualized.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251231_20260630_C000055454Member"
      decimals="INF"
      id="h_1_fa97d6d1_bde2_4c48_8421_0cae9eeee8c1"
      unitRef="USD">51</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251231_20260630_C000055454Member"
      decimals="4"
      id="h_2_6bebf52f_2285_44c5_82cb_649690953704"
      unitRef="pure">0.0100</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251231_20260630_C000055454Member"
      id="t_8_dd957183_696b_448c_9457_dbca58175c8b">&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;6/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Portfolio Turnover&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;136&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;93&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; white-space: nowrap; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;23.10&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260630_C000055454Member"
      decimals="INF"
      id="h_3_53aafb2c_f092_4707_b37a_56db1eb4edd8"
      unitRef="USD">136000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260630_C000055454Member"
      decimals="INF"
      id="h_4_370202f7_eb11_4afb_88a4_281d1326d24b"
      unitRef="Holding">93</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251231_20260630_C000055454Member"
      decimals="4"
      id="h_5_0d39d65a_6f41_4af8_8a96_fa9a97f32275"
      unitRef="pure">0.2310</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251231_20260630_C000055454Member"
      id="t_9_fec0f71f_a853_4992_bee7_1fe203806c25">&lt;div style="margin-top:0px;text-transform:uppercase;margin-bottom:3pt;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;6/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align:super;font-size:smaller"&gt;*&lt;/sup&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_12168858.jpg" style="margin-left: 50pt; width: 482pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;font-family:'times new roman';font-size:9pt;line-height:10pt;color:rgb(0, 0, 0);margin-top:-4pt;margin-bottom:0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Sector Allocation (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:6pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_12168766.jpg" style="margin-left: 29pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:LargestHoldingsTableTextBlock
      contextRef="D20251231_20260630_C000055454Member"
      id="t_10_4e483f0a_cfdd_ed17_7e01_8392ac14fef5">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align:super;font-size:smaller"&gt;*&lt;/sup&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_12168858.jpg" style="margin-left: 50pt; width: 482pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;font-family:'times new roman';font-size:9pt;line-height:10pt;color:rgb(0, 0, 0);margin-top:-4pt;margin-bottom:0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;</oef:LargestHoldingsTableTextBlock>
    <oef:FundName
      contextRef="D20251231_20260630_C000055455Member"
      id="t_19_866e5f30_3adf_6c1e_d947_2fe3bea392cc">BNY Mellon Large Cap Equity Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251231_20260630_C000055455Member"
      id="t_20_805ba99e_c176_470e_13e6_d5699431966e">Class C</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251231_20260630_C000055455Member"
      id="t_21_74005eb3_16e5_2625_701d_87aa19a3ff38">DEYCX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251231_20260630_C000055455Member"
      id="t_10_66afbbb0_fe2b_4f79_a00b_fa7d4db7c5f8">This semi-annual shareholder report contains important information about BNY Mellon Large Cap Equity Fund (the &#x201c;Fund&#x201d;) for the period of January 1, 2026 to June 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251231_20260630_C000055455Member"
      id="t_11_ed0f40ad_01c6_4036_b006_20d7475a6b61">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251231_20260630_C000055455Member"
      id="t_12_a0742047_5675_4792_a79d_617b416625ec">You can find additional information about the Fund at &lt;span style="white-space:nowrap"&gt;&lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:7.5pt;word-break:break-all;white-space:nowrap;font-weight:400;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt;.&lt;/span&gt; You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="D20251231_20260630_C000055455Member"
      id="t_14_1ea3fd62_0275_425d_b2e3_6c19d3591489">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251231_20260630_C000055455Member"
      id="t_15_2a55cd8d_0876_42da_8103_f6e9af7b71a5">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251231_20260630_C000055455Member"
      id="t_13_00b1f6b7_d9ef_4297_a03e_e9d265abd97e">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="D20251231_20260630_C000055455Member"
      id="t_16_058d90ee_3378_4780_b813_f0edb56c3bcb">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;six months&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; text-indent: -6pt;"&gt;Class &lt;span style="white-space:nowrap"&gt;C&lt;sup style="vertical-align:super;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;89&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;1.75&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align:super;font-size:5pt"&gt;**&lt;/sup&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid;margin-bottom:22pt"&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;Annualized.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251231_20260630_C000055455Member"
      decimals="INF"
      id="h_6_e3fcc938_de8c_4823_9822_7bbc345e9304"
      unitRef="USD">89</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251231_20260630_C000055455Member"
      decimals="4"
      id="h_7_d92a1b71_9627_406e_8272_08471a69c27d"
      unitRef="pure">0.0175</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251231_20260630_C000055455Member"
      id="t_17_314744f5_a513_40fd_a792_2d1b58eed1f3">&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;6/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Portfolio Turnover&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;136&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;93&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; white-space: nowrap; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;23.10&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260630_C000055455Member"
      decimals="INF"
      id="h_8_bc743e77_3299_4564_9344_9a84e43b4eaa"
      unitRef="USD">136000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260630_C000055455Member"
      decimals="INF"
      id="h_9_8259eff8_94a7_4285_9c9e_144fbff17cd9"
      unitRef="Holding">93</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251231_20260630_C000055455Member"
      decimals="4"
      id="h_10_74997090_7cea_4bc4_bf65_aa8919a0efde"
      unitRef="pure">0.2310</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251231_20260630_C000055455Member"
      id="t_18_ad3dcfdd_e98e_4966_a019_5ec83652f872">&lt;div style="margin-top:0px;text-transform:uppercase;margin-bottom:3pt;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;6/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align:super;font-size:smaller"&gt;*&lt;/sup&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_12168859.jpg" style="margin-left: 50pt; width: 482pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;font-family:'times new roman';font-size:9pt;line-height:10pt;color:rgb(0, 0, 0);margin-top:-4pt;margin-bottom:0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Sector Allocation (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:6pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_12168765.jpg" style="margin-left: 29pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:LargestHoldingsTableTextBlock
      contextRef="D20251231_20260630_C000055455Member"
      id="t_22_5ddd1ae1_f32e_d62c_e522_4ba6dbe76c81">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align:super;font-size:smaller"&gt;*&lt;/sup&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_12168859.jpg" style="margin-left: 50pt; width: 482pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;font-family:'times new roman';font-size:9pt;line-height:10pt;color:rgb(0, 0, 0);margin-top:-4pt;margin-bottom:0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;</oef:LargestHoldingsTableTextBlock>
    <oef:FundName
      contextRef="D20251231_20260630_C000055456Member"
      id="t_28_2b7d6713_270d_0f5c_0bc5_85b57b790934">BNY Mellon Large Cap Equity Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251231_20260630_C000055456Member"
      id="t_29_db3fd69d_7ba4_4de4_5c29_1a237a61100a">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251231_20260630_C000055456Member"
      id="t_30_df7ecefb_869a_4ba5_5145_39421b6591c9">DLQIX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251231_20260630_C000055456Member"
      id="t_19_9be89ebd_0c87_4e92_a546_479c7cf47de5">This semi-annual shareholder report contains important information about BNY Mellon Large Cap Equity Fund (the &#x201c;Fund&#x201d;) for the period of January 1, 2026 to June 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251231_20260630_C000055456Member"
      id="t_20_b7440d08_9a6b_40b6_9926_9baa7a2b0f76">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251231_20260630_C000055456Member"
      id="t_21_e08f5bd3_cbba_4a67_a7c1_c0cdfd58c4f6">You can find additional information about the Fund at &lt;span style="white-space:nowrap"&gt;&lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:7.5pt;word-break:break-all;white-space:nowrap;font-weight:400;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt;.&lt;/span&gt; You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="D20251231_20260630_C000055456Member"
      id="t_23_47eba03b_27f9_486a_b298_1fa657b7d6b4">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251231_20260630_C000055456Member"
      id="t_24_b5386027_ca6a_4641_902b_bfefa88b4a64">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251231_20260630_C000055456Member"
      id="t_22_71be8f24_3937_4973_94a2_52f2bf354c0c">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="D20251231_20260630_C000055456Member"
      id="t_25_800e959f_78cc_4223_9481_061ed8294860">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;six months&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; text-indent: -6pt;"&gt;Class &lt;span style="white-space:nowrap"&gt;I&lt;sup style="vertical-align:super;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;38&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.75&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align:super;font-size:5pt"&gt;**&lt;/sup&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid;margin-bottom:22pt"&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;Annualized.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251231_20260630_C000055456Member"
      decimals="INF"
      id="h_11_0769f78b_630d_422d_8047_ba9e6457956e"
      unitRef="USD">38</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251231_20260630_C000055456Member"
      decimals="4"
      id="h_12_f8705990_a8de_4b7f_95ef_f07689050b5c"
      unitRef="pure">0.0075</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251231_20260630_C000055456Member"
      id="t_26_ad16e374_8035_4f2b_8fee_d5e134134ff7">&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;6/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Portfolio Turnover&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;136&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;93&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; white-space: nowrap; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;23.10&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260630_C000055456Member"
      decimals="INF"
      id="h_13_a6f8ffd0_c0b0_426b_a9c2_a4620afc0dda"
      unitRef="USD">136000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260630_C000055456Member"
      decimals="INF"
      id="h_14_fed16c97_b1fd_4708_b84c_47fd055e7814"
      unitRef="Holding">93</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251231_20260630_C000055456Member"
      decimals="4"
      id="h_15_09fc7596_e822_4c06_9c6b_dfd895975a23"
      unitRef="pure">0.2310</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251231_20260630_C000055456Member"
      id="t_27_31b67073_d84f_429d_82e8_d7322b2d08de">&lt;div style="margin-top:0px;text-transform:uppercase;margin-bottom:3pt;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;6/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align:super;font-size:smaller"&gt;*&lt;/sup&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_12168860.jpg" style="margin-left: 50pt; width: 482pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;font-family:'times new roman';font-size:9pt;line-height:10pt;color:rgb(0, 0, 0);margin-top:-4pt;margin-bottom:0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Sector Allocation (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:6pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_12168767.jpg" style="margin-left: 29pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:LargestHoldingsTableTextBlock
      contextRef="D20251231_20260630_C000055456Member"
      id="t_31_4fa27907_4e0e_d2c3_838e_b8e8def50a6d">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align:super;font-size:smaller"&gt;*&lt;/sup&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_12168860.jpg" style="margin-left: 50pt; width: 482pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;font-family:'times new roman';font-size:9pt;line-height:10pt;color:rgb(0, 0, 0);margin-top:-4pt;margin-bottom:0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;</oef:LargestHoldingsTableTextBlock>
    <oef:FundName
      contextRef="D20251231_20260630_C000163518Member"
      id="t_37_9dab8dba_5674_7d9d_b458_2e7d9adc8ea4">BNY Mellon Large Cap Equity Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251231_20260630_C000163518Member"
      id="t_38_f9b55c17_8fcd_1efb_fcf6_0a826b52d990">Class Y</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251231_20260630_C000163518Member"
      id="t_39_cf2b2895_9bb4_c05c_1683_d57fbc553670">DLACX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251231_20260630_C000163518Member"
      id="t_28_e4735fe2_7e5c_4cc9_9f0b_1837ad8d5864">This semi-annual shareholder report contains important information about BNY Mellon Large Cap Equity Fund (the &#x201c;Fund&#x201d;) for the period of January 1, 2026 to June 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251231_20260630_C000163518Member"
      id="t_29_9d9e4ba1_5baa_4214_89bd_0c9d5f9526cd">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251231_20260630_C000163518Member"
      id="t_30_9c096f68_4960_4da8_ad9f_9e19c5545adf">You can find additional information about the Fund at &lt;span style="white-space:nowrap"&gt;&lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:7.5pt;word-break:break-all;white-space:nowrap;font-weight:400;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt;.&lt;/span&gt; You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="D20251231_20260630_C000163518Member"
      id="t_32_d4cf36f5_41fc_4866_8f84_50852726a080">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251231_20260630_C000163518Member"
      id="t_33_989ec149_fa8e_4bb3_a55e_7f0ca81162bf">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251231_20260630_C000163518Member"
      id="t_31_e06e5d26_5ae3_4a8a_b4c4_db93498f01e4">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="D20251231_20260630_C000163518Member"
      id="t_34_855e3a6c_65e3_4ecf_89c9_de602c5dc2ae">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;six months&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: left; width: 25%;"&gt;Share Class&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; text-indent: -6pt;"&gt;Class &lt;span style="white-space:nowrap"&gt;Y&lt;sup style="vertical-align:super;font-size:5pt"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;38&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.75&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align:super;font-size:5pt"&gt;**&lt;/sup&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid;margin-bottom:22pt"&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: 10pt; text-align: left; vertical-align: super;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;"&gt;Annualized.&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251231_20260630_C000163518Member"
      decimals="INF"
      id="h_16_b045493a_9a29_4634_95ff_941eec25cd68"
      unitRef="USD">38</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251231_20260630_C000163518Member"
      decimals="4"
      id="h_17_80bafc27_8fd0_4fee_9712_3342330a1b0b"
      unitRef="pure">0.0075</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251231_20260630_C000163518Member"
      id="t_35_d5d2e69a_b136_4683_ae9c_655c17c67bf5">&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;6/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Portfolio Turnover&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;136&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;93&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; white-space: nowrap; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;23.10&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260630_C000163518Member"
      decimals="INF"
      id="h_18_5ba37c34_e9e7_4fbe_b813_41b43809e713"
      unitRef="USD">136000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260630_C000163518Member"
      decimals="INF"
      id="h_19_00cf83e5_9b61_4ee2_86c0_4c72a83b2bf5"
      unitRef="Holding">93</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251231_20260630_C000163518Member"
      decimals="4"
      id="h_20_65fe2e38_fd29_4d51_90bd_3cf42c58d2f0"
      unitRef="pure">0.2310</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251231_20260630_C000163518Member"
      id="t_36_d076f382_2465_4210_bd39_8dd45f7c60da">&lt;div style="margin-top:0px;text-transform:uppercase;margin-bottom:3pt;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;6/30/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align:super;font-size:smaller"&gt;*&lt;/sup&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_12168857.jpg" style="margin-left: 50pt; width: 482pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;font-family:'times new roman';font-size:9pt;line-height:10pt;color:rgb(0, 0, 0);margin-top:-4pt;margin-bottom:0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Sector Allocation (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:6pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_12168768.jpg" style="margin-left: 29pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:LargestHoldingsTableTextBlock
      contextRef="D20251231_20260630_C000163518Member"
      id="t_40_6530e068_e170_3da2_5aae_7170b10b588a">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Top Ten Holdings (Based on Net Assets)&lt;/b&gt; &lt;b&gt; &lt;sup style="vertical-align:super;font-size:smaller"&gt;*&lt;/sup&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_12168857.jpg" style="margin-left: 50pt; width: 482pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;font-family:'times new roman';font-size:9pt;line-height:10pt;color:rgb(0, 0, 0);margin-top:-4pt;margin-bottom:0px;"&gt;* Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.&lt;/div&gt;</oef:LargestHoldingsTableTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#h_07e91ec5_a098_4863_9d80_a1bd01ad4c3f"
          xlink:label="h_07e91ec5_a098_4863_9d80_a1bd01ad4c3f"
          xlink:type="locator"/>
        <link:footnote id="f_0007_000009" xlink:label="f_0007_000009" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_07e91ec5_a098_4863_9d80_a1bd01ad4c3f"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_1_fa97d6d1_bde2_4c48_8421_0cae9eeee8c1"
          xlink:label="h_1_fa97d6d1_bde2_4c48_8421_0cae9eeee8c1"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000001" xlink:label="f_0001_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_1_fa97d6d1_bde2_4c48_8421_0cae9eeee8c1"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_11_0769f78b_630d_422d_8047_ba9e6457956e"
          xlink:label="h_11_0769f78b_630d_422d_8047_ba9e6457956e"
          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">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_11_0769f78b_630d_422d_8047_ba9e6457956e"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_12_f8705990_a8de_4b7f_95ef_f07689050b5c"
          xlink:label="h_12_f8705990_a8de_4b7f_95ef_f07689050b5c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_12_f8705990_a8de_4b7f_95ef_f07689050b5c"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <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">Annualized.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_12_f8705990_a8de_4b7f_95ef_f07689050b5c"
          xlink:to="f_0005_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_16_b045493a_9a29_4634_95ff_941eec25cd68"
          xlink:label="h_16_b045493a_9a29_4634_95ff_941eec25cd68"
          xlink:type="locator"/>
        <link:footnote id="f_0007_000007" xlink:label="f_0007_000007" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_16_b045493a_9a29_4634_95ff_941eec25cd68"
          xlink:to="f_0007_000007"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_163ae94d_d774_49f1_b2f0_9be7e93cb885"
          xlink:label="h_163ae94d_d774_49f1_b2f0_9be7e93cb885"
          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">Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_163ae94d_d774_49f1_b2f0_9be7e93cb885"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_17_80bafc27_8fd0_4fee_9712_3342330a1b0b"
          xlink:label="h_17_80bafc27_8fd0_4fee_9712_3342330a1b0b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_17_80bafc27_8fd0_4fee_9712_3342330a1b0b"
          xlink:to="f_0007_000007"
          xlink:type="arc"/>
        <link:footnote id="f_0007_000008" xlink:label="f_0007_000008" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;">Annualized.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_17_80bafc27_8fd0_4fee_9712_3342330a1b0b"
          xlink:to="f_0007_000008"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_1971e1ef_ecaa_42e1_905b_a56d5335a7fa"
          xlink:label="h_1971e1ef_ecaa_42e1_905b_a56d5335a7fa"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000003" xlink:label="f_0001_000003" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_1971e1ef_ecaa_42e1_905b_a56d5335a7fa"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_1c8d33fd_7867_4dde_a6f0_bd3c1689bd34"
          xlink:label="h_1c8d33fd_7867_4dde_a6f0_bd3c1689bd34"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_1c8d33fd_7867_4dde_a6f0_bd3c1689bd34"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_1cea4698_44af_42fb_ba1e_feb1f72ada4c"
          xlink:label="h_1cea4698_44af_42fb_ba1e_feb1f72ada4c"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000005" xlink:label="f_0003_000005" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_1cea4698_44af_42fb_ba1e_feb1f72ada4c"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_2_6bebf52f_2285_44c5_82cb_649690953704"
          xlink:label="h_2_6bebf52f_2285_44c5_82cb_649690953704"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2_6bebf52f_2285_44c5_82cb_649690953704"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:footnote id="f_0001_000002" xlink:label="f_0001_000002" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Annualized.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2_6bebf52f_2285_44c5_82cb_649690953704"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_2265d90e_3ee2_4bee_9765_35b642693089"
          xlink:label="h_2265d90e_3ee2_4bee_9765_35b642693089"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2265d90e_3ee2_4bee_9765_35b642693089"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_2ae54369_d4ea_4b33_a118_4017eb3dc404"
          xlink:label="h_2ae54369_d4ea_4b33_a118_4017eb3dc404"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2ae54369_d4ea_4b33_a118_4017eb3dc404"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_2fe06fa8_6c0d_4a3a_97c1_5e7fafd646f8"
          xlink:label="h_2fe06fa8_6c0d_4a3a_97c1_5e7fafd646f8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2fe06fa8_6c0d_4a3a_97c1_5e7fafd646f8"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_4512969d_908e_41a9_aaa2_c0075b469713"
          xlink:label="h_4512969d_908e_41a9_aaa2_c0075b469713"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_4512969d_908e_41a9_aaa2_c0075b469713"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_46aa00c8_28a2_4221_b2f1_62b69d2e5792"
          xlink:label="h_46aa00c8_28a2_4221_b2f1_62b69d2e5792"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_46aa00c8_28a2_4221_b2f1_62b69d2e5792"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_48c93172_5a41_4bbd_8ea8_1c2d8d884bff"
          xlink:label="h_48c93172_5a41_4bbd_8ea8_1c2d8d884bff"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_48c93172_5a41_4bbd_8ea8_1c2d8d884bff"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_4babf926_6687_4c67_8677_587cac139e87"
          xlink:label="h_4babf926_6687_4c67_8677_587cac139e87"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_4babf926_6687_4c67_8677_587cac139e87"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_4e46e291_d732_4bf1_96b5_1a42b6a52901"
          xlink:label="h_4e46e291_d732_4bf1_96b5_1a42b6a52901"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_4e46e291_d732_4bf1_96b5_1a42b6a52901"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_4fb1efb2_e0ef_4bee_abbe_ee8df6990615"
          xlink:label="h_4fb1efb2_e0ef_4bee_abbe_ee8df6990615"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_4fb1efb2_e0ef_4bee_abbe_ee8df6990615"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_5368dcc6_22d5_4603_b777_5797c3f213bd"
          xlink:label="h_5368dcc6_22d5_4603_b777_5797c3f213bd"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_5368dcc6_22d5_4603_b777_5797c3f213bd"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_54aa7c9a_f954_441f_ad30_9de94d38b8a2"
          xlink:label="h_54aa7c9a_f954_441f_ad30_9de94d38b8a2"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_54aa7c9a_f954_441f_ad30_9de94d38b8a2"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_5fe84dd6_ab2b_4bae_9a6b_aabafda582c3"
          xlink:label="h_5fe84dd6_ab2b_4bae_9a6b_aabafda582c3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_5fe84dd6_ab2b_4bae_9a6b_aabafda582c3"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_6_e3fcc938_de8c_4823_9822_7bbc345e9304"
          xlink:label="h_6_e3fcc938_de8c_4823_9822_7bbc345e9304"
          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"><xhtml:div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_6_e3fcc938_de8c_4823_9822_7bbc345e9304"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_687bf576_a643_4ba1_870b_5e7795a8ea8f"
          xlink:label="h_687bf576_a643_4ba1_870b_5e7795a8ea8f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_687bf576_a643_4ba1_870b_5e7795a8ea8f"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_68eb32b3_4a0d_4825_844a_bbc208ce1a3c"
          xlink:label="h_68eb32b3_4a0d_4825_844a_bbc208ce1a3c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_68eb32b3_4a0d_4825_844a_bbc208ce1a3c"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_6c57c214_c92c_4814_ad03_4e8108f95f0b"
          xlink:label="h_6c57c214_c92c_4814_ad03_4e8108f95f0b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_6c57c214_c92c_4814_ad03_4e8108f95f0b"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_7_d92a1b71_9627_406e_8272_08471a69c27d"
          xlink:label="h_7_d92a1b71_9627_406e_8272_08471a69c27d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7_d92a1b71_9627_406e_8272_08471a69c27d"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <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"><xhtml:div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:9pt;line-height:normal;font-style:normal;text-align:left;vertical-align:top;color:rgb(0, 0, 0);padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom:0px;">Annualized.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7_d92a1b71_9627_406e_8272_08471a69c27d"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_76f44099_673b_4c7d_9095_ec37810f6c92"
          xlink:label="h_76f44099_673b_4c7d_9095_ec37810f6c92"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_76f44099_673b_4c7d_9095_ec37810f6c92"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_795423d5_8927_47c5_bb2c_7f908bcb3395"
          xlink:label="h_795423d5_8927_47c5_bb2c_7f908bcb3395"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_795423d5_8927_47c5_bb2c_7f908bcb3395"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_7a27ab9d_2a47_47b4_86e2_3cc7171bceb8"
          xlink:label="h_7a27ab9d_2a47_47b4_86e2_3cc7171bceb8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7a27ab9d_2a47_47b4_86e2_3cc7171bceb8"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_99c5fd0f_1b08_4770_a26b_98cb458c13d9"
          xlink:label="h_99c5fd0f_1b08_4770_a26b_98cb458c13d9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_99c5fd0f_1b08_4770_a26b_98cb458c13d9"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_a4742bdf_6dbd_4854_8bd7_beb2675ef6cd"
          xlink:label="h_a4742bdf_6dbd_4854_8bd7_beb2675ef6cd"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_a4742bdf_6dbd_4854_8bd7_beb2675ef6cd"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_a62d8db0_c144_49bb_b158_c4933bf59f57"
          xlink:label="h_a62d8db0_c144_49bb_b158_c4933bf59f57"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_a62d8db0_c144_49bb_b158_c4933bf59f57"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_a8aff118_65e7_4e9a_86e6_a9842f17fa22"
          xlink:label="h_a8aff118_65e7_4e9a_86e6_a9842f17fa22"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_a8aff118_65e7_4e9a_86e6_a9842f17fa22"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_af6e5e70_1f88_4297_a438_9b3ffa2d08ef"
          xlink:label="h_af6e5e70_1f88_4297_a438_9b3ffa2d08ef"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_af6e5e70_1f88_4297_a438_9b3ffa2d08ef"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_c4dc31c9_2cba_40d6_a7a2_db718e108bb1"
          xlink:label="h_c4dc31c9_2cba_40d6_a7a2_db718e108bb1"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_c4dc31c9_2cba_40d6_a7a2_db718e108bb1"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_d9aaf270_5abc_4a8e_9386_67b7b4383300"
          xlink:label="h_d9aaf270_5abc_4a8e_9386_67b7b4383300"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_d9aaf270_5abc_4a8e_9386_67b7b4383300"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_d9e0dcb2_aa6e_48f7_a377_ea1d1c1a29e4"
          xlink:label="h_d9e0dcb2_aa6e_48f7_a377_ea1d1c1a29e4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_d9e0dcb2_aa6e_48f7_a377_ea1d1c1a29e4"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_ddaacb3c_935d_4ce7_9e91_aaed78101df4"
          xlink:label="h_ddaacb3c_935d_4ce7_9e91_aaed78101df4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_ddaacb3c_935d_4ce7_9e91_aaed78101df4"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_dffd6c45_6c57_455b_850a_bc06715cf7e4"
          xlink:label="h_dffd6c45_6c57_455b_850a_bc06715cf7e4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_dffd6c45_6c57_455b_850a_bc06715cf7e4"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_e40e5249_f0a8_4002_be35_0dafc8e32d61"
          xlink:label="h_e40e5249_f0a8_4002_be35_0dafc8e32d61"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_e40e5249_f0a8_4002_be35_0dafc8e32d61"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_ec0edbc5_ded3_483d_8bee_c379ab477017"
          xlink:label="h_ec0edbc5_ded3_483d_8bee_c379ab477017"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_ec0edbc5_ded3_483d_8bee_c379ab477017"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_eed63a32_8951_4514_94dd_0528433a1a1b"
          xlink:label="h_eed63a32_8951_4514_94dd_0528433a1a1b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_eed63a32_8951_4514_94dd_0528433a1a1b"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_f08847f2_90c5_4461_8dd0_d55ca0d6dc6a"
          xlink:label="h_f08847f2_90c5_4461_8dd0_d55ca0d6dc6a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_f08847f2_90c5_4461_8dd0_d55ca0d6dc6a"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_f31b19a8_0512_4926_bcb2_ffd92376e8da"
          xlink:label="h_f31b19a8_0512_4926_bcb2_ffd92376e8da"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_f31b19a8_0512_4926_bcb2_ffd92376e8da"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_fcc3fd7c_1d69_4e32_8b9c_9915f0aacc42"
          xlink:label="h_fcc3fd7c_1d69_4e32_8b9c_9915f0aacc42"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_fcc3fd7c_1d69_4e32_8b9c_9915f0aacc42"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_fe88baa6_b928_490d_a51e_11c9881b2fd4"
          xlink:label="h_fe88baa6_b928_490d_a51e_11c9881b2fd4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_fe88baa6_b928_490d_a51e_11c9881b2fd4"
          xlink:to="f_0007_000009"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
