<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0000797923="http://www.dreyfus.com/20260430"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:fnd="http://xbrl.sec.gov/fnd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="c485bpos-20260827.xsd" xlink:type="simple"/>
    <context id="Context_20260430_20260430">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000133Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173300Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173299Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000001400Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_PrincipalRisks2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:PrincipalRisks2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_RiskLoseMoneyMember_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_RiskNotInsuredMember_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Municipalsecuritiesrisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Municipalsecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Interestraterisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Interestraterisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Creditrisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Creditrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Highyieldsecuritiesrisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Highyieldsecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Liquidityrisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Liquidityrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Valuationrisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Valuationrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Marketrisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Marketrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Prepaymentrisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Prepaymentrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_S000000090Member_Managementrisk2_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000797923:Managementrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20161231_20161231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-12-31</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Context_20171231_20171231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-12-31</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Context_20181231_20181231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-12-31</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Context_20191231_20191231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-12-31</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Context_20201231_20201231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-12-31</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Context_20211231_20211231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-12-31</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Context_20221231_20221231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-12-31</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Context_20231231_20231231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-12-31</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20251231_20251231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_AfterTaxesOnDistributionsMember_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_AfterTaxesOnDistributionsMember_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_AfterTaxesOnDistributionsMember_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_AfterTaxesOnDistributionsMember_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_AfterTaxesOnDistributionsAndSalesMember_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000131Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000131Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_C000000133Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000133Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_C000000133Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000133Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_C000000133Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000000133Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160831_20251231_C000173300Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173300Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_C000173300Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173300Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_C000173300Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173300Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_C000173300Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173300Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160831_20251231_C000173299Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173299Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-08-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_C000173299Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173299Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_C000173299Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173299Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_C000173299Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000173299Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_C000001400Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000001400Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_C000001400Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000001400Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_C000001400Member_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000797923:C000001400Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20260430_20260430_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000797923:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-30</startDate>
            <endDate>2026-04-30</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000797923:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000797923:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000090Member_S000000090Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797923</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000797923:S000000090Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000797923:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityInvCompanyType contextRef="Context_20260430_20260430" id="ixv-46648">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20260430_20260430" id="ixv-46649">BNY Mellon Opportunistic Municipal Securities Fund</dei:EntityRegistrantName>
    <dei:DocumentEffectiveDate contextRef="Context_20260430_20260430" id="ixv-46650">2026-08-31</dei:DocumentEffectiveDate>
    <oef:ProspectusDate contextRef="Context_20260430_20260430" id="ixv-46651">2026-08-31</oef:ProspectusDate>
    <dei:TradingSymbol
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46652">PTEBX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46653">DMBCX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46654">DMBVX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46655">DMBYX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46656">DMBZX</dei:TradingSymbol>
    <oef:RiskReturnHeading
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46657">Fund 
Summary</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46658"> Investment 
Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46659">The fund seeks to maximize current income exempt 
from federal income tax to the extent consistent with the preservation of capital.</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46660">Fees 
and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-309">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;This table describes the fees and expenses 
that you may pay if you buy, hold and sell shares of the fund.  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;You may 
pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not 
reflected in the table and examples below.&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  You may qualify for sales charge discounts 
if you and your family invest, or agree to invest in the future, at least $50,000 in the fund or shares 
of other funds in the BNY Mellon Family of Funds that are subject to a sales charge.  More information 
about sales charges, including these and other discounts and waivers, is available from your financial 
professional and in the Shareholder Guide section beginning on page 12 of the prospectus, in the Appendix 
on page A-1 of the prospectus and in the How to Buy Shares section and the Additional Information About 
How to Buy Shares section beginning on page II-1 and page III-1, respectively, of the fund's Statement 
of Additional Information.&lt;/span&gt;&lt;/p&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46661">You may qualify for sales charge discounts 
if you and your family invest, or agree to invest in the future, at least $50,000 in the fund or shares 
of other funds in the BNY Mellon Family of Funds that are subject to a sales charge.</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46662"
      unitRef="usd">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46663">Shareholder Fees (fees 
paid directly from your investment)</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46664"
      unitRef="pure">0.0450</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46665"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46666"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46667"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46668"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="_30_"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46670"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46671"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46672"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46673"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:OperatingExpensesCaption
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46674">Annual Fund Operating Expenses (expenses 
that you pay each year as a percentage of the value of your investment)</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46675"
      unitRef="pure">0.0035</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46676"
      unitRef="pure">0.0035</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46677"
      unitRef="pure">0.0035</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46678"
      unitRef="pure">0.0035</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46679"
      unitRef="pure">0.0035</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46680"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46681"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46682"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46683"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46684"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46685"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46686"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46687"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46688"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46689"
      unitRef="pure">0.0020</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="_50_"
      unitRef="pure">0.0019</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="_51_"
      unitRef="pure">0.0023</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="_52_"
      unitRef="pure">0.0019</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="_53_"
      unitRef="pure">0.0015</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="_54_"
      unitRef="pure">0.0020</oef:Component3OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46695"
      unitRef="pure">0.0044</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46696"
      unitRef="pure">0.0048</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46697"
      unitRef="pure">0.0019</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46698"
      unitRef="pure">0.0015</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46699"
      unitRef="pure">0.0040</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46700"
      unitRef="pure">0.0079</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46701"
      unitRef="pure">0.0158</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46702"
      unitRef="pure">0.0054</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46703"
      unitRef="pure">0.0050</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46704"
      unitRef="pure">0.0075</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46705">Example</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-503">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The Example is intended to help you compare the cost of investing in the fund 
with the cost of investing in other mutual funds.  The Example assumes that you invest $10,000 in the 
fund for the time periods indicated.  The Example also assumes that your investment has a 5% return each 
year and that the fund's operating expenses remain the same.  Although your actual costs may be higher 
or lower, based on these assumptions your costs would be:&lt;/p&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46706"
      unitRef="usd">527</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46707"
      unitRef="usd">527</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46708"
      unitRef="usd">691</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46709"
      unitRef="usd">691</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46710"
      unitRef="usd">869</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46711"
      unitRef="usd">869</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46712"
      unitRef="usd">1384</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46713"
      unitRef="usd">1384</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear01
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46714"
      unitRef="usd">261</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46715"
      unitRef="usd">499</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46716"
      unitRef="usd">860</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46717"
      unitRef="usd">1878</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46718"
      unitRef="usd">161</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46719"
      unitRef="usd">499</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46720"
      unitRef="usd">860</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46721"
      unitRef="usd">1878</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear01
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46722"
      unitRef="usd">55</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46723"
      unitRef="usd">55</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46724"
      unitRef="usd">173</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46725"
      unitRef="usd">173</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46726"
      unitRef="usd">302</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46727"
      unitRef="usd">302</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46728"
      unitRef="usd">677</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46729"
      unitRef="usd">677</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear01
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46730"
      unitRef="usd">51</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46731"
      unitRef="usd">51</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46732"
      unitRef="usd">160</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46733"
      unitRef="usd">160</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46734"
      unitRef="usd">280</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46735"
      unitRef="usd">280</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46736"
      unitRef="usd">628</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46737"
      unitRef="usd">628</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear01
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46738"
      unitRef="usd">77</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46739"
      unitRef="usd">77</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46740"
      unitRef="usd">240</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46741"
      unitRef="usd">240</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46742"
      unitRef="usd">417</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46743"
      unitRef="usd">417</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46744"
      unitRef="usd">930</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46745"
      unitRef="usd">930</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46746">Portfolio 
Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-592">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions, 
when it buys and sells securities (or "turns over" its portfolio).  A higher portfolio turnover may indicate 
higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. 
 These costs, which are not reflected in annual fund operating expenses or in the Example, affect the 
fund's performance.  During the most recent fiscal year, the fund's portfolio turnover rate was 37.85% 
of the average value of its portfolio.&lt;/p&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46747"
      unitRef="pure">0.3785</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46748">Principal Investment Strategy</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-597">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;To pursue its goal, the fund normally invests at least 80% of its net assets, 
plus any borrowings for investment purposes, in municipal bonds that provide income exempt from federal 
personal income tax.  Typically, the fund invests substantially all of its assets in such municipal bonds. 
 Municipal bonds are debt securities or other obligations issued by states, territories and possessions 
of the United States and the District of Columbia and their political subdivisions, agencies and instrumentalities, 
or multistate agencies and authorities.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund invests at least 
70% of its net assets in municipal bonds rated, at the time of purchase, investment grade (i.e., Baa/BBB 
or higher) or the unrated equivalent as determined by Insight North America LLC, the fund's sub-adviser. 
 For additional yield, the fund may invest up to 30% of its net assets in municipal bonds rated, at the 
time of purchase, below investment grade ("high yield" or "junk" bonds) or the unrated equivalent as 
determined by the fund's sub-adviser.  The dollar-weighted average maturity of the fund's portfolio normally 
exceeds ten years, but the fund may invest without regard to maturity or duration.  A bond's maturity 
is the length of time until the principal must be fully repaid with interest.  Dollar-weighted average 
maturity is an average of the stated maturities of the bonds held by the fund, based on their dollar-weighted 
proportions in the fund.  Duration is an indication of an investment's "interest rate risk," or how sensitive 
a bond or the fund's portfolio may be to changes in interest rates.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The 
fund's sub-adviser focuses on identifying undervalued sectors and securities.  To select municipal bonds 
for the fund, the sub-adviser uses fundamental credit analysis to estimate the relative value and attractiveness 
of various sectors and securities and actively and opportunistically trades among various sectors and 
securities based on their apparent relative values.  The fund seeks to invest in several different sectors, 
and does not seek to overweight any particular sector but may do so depending on each sector's relative 
value at a given time.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;A rigorous sell discipline is employed to evaluate 
all fund holdings.  Current holdings may become sell candidates if creditworthiness is deteriorating, 
if bonds with better risk and return characteristics become available, or if the holding no longer meets 
the sub-adviser's strategic or portfolio construction objectives.  &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Although 
the fund seeks to provide income exempt from federal income tax, income from some of the fund's holdings 
may be subject to the federal alternative minimum tax.&lt;/p&gt;</oef:StrategyNarrativeTextBlock>
    <fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46749">To pursue its goal, the fund normally invests at least 80% of its net assets, 
plus any borrowings for investment purposes, in municipal bonds that provide income exempt from federal 
personal income tax.</fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock>
    <fnd:NmRule35d1TermDfnSmryTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46750">  Typically, the fund invests substantially all of its assets in such municipal bonds. 
 Municipal bonds are debt securities or other obligations issued by states, territories and possessions 
of the United States and the District of Columbia and their political subdivisions, agencies and instrumentalities, 
or multistate agencies and authorities.</fnd:NmRule35d1TermDfnSmryTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_PrincipalRisks2_S000000090Summary1Member"
      id="ixv-603">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; padding:0pt 0pt 1pt 0pt;"&gt;&lt;div style="font-size:12.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold;"&gt;&lt;span style="font-size:12.0pt; font-family:Arial; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;An investment in the fund is not a bank deposit.  It is not insured or guaranteed 
by the Federal Deposit Insurance Corporation (FDIC) or any other government agency.  It is not a complete 
investment program.  The fund's share price fluctuates, sometimes dramatically, which means you could 
lose money.&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_RiskNotInsuredMember_S000000090Summary1Member"
      id="ixv-46751">An investment in the fund is not a bank deposit.  It is not insured or guaranteed 
by the Federal Deposit Insurance Corporation (FDIC) or any other government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_RiskLoseMoneyMember_S000000090Summary1Member"
      id="ixv-46752">  The fund's share price fluctuates, sometimes dramatically, which means you could 
lose money.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Municipalsecuritiesrisk2_S000000090Summary1Member"
      id="ixv-608">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Municipal securities risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  Municipal 
securities are subject to interest rate, credit, liquidity, valuation, market and political risks.  The 
amount of public information available about municipal securities is generally less than that for corporate 
equities or bonds.  Special factors, such as legislative and regulatory changes, executive orders, voter 
initiatives, and state and local economic and business developments, may adversely affect the value of 
the fund's investments in municipal securities.  Other factors include the general conditions of the 
municipal securities market, the size of the particular offering, the maturity of the obligation and 
the rating of the issue.  Changes in economic, business or political conditions relating to a particular 
municipal project, municipality, or state, territory or possession of the United States in which the 
fund invests may have an impact on the fund's share price.  Any credit impairment could adversely impact 
the value of municipal bonds, which could negatively impact the performance of the fund.  In addition, 
income from municipal securities held by the fund could be declared taxable because of, among other things, 
unfavorable changes in tax laws, adverse interpretations by the Internal Revenue Service or state tax 
authorities, or noncompliant conduct of an issuer or other obligated party.  Loss of tax-exempt status 
for municipal securities held by the fund may cause interest received and distributed to shareholders 
by the fund to be taxable and may result in a significant decline in the values of such municipal securities.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Interestraterisk2_S000000090Summary1Member"
      id="ixv-614">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Interest 
rate risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Prices of bonds and other fixed rate fixed-income securities 
tend to move inversely with changes in interest rates.  Typically, a rise in rates will adversely affect 
fixed-income securities and, accordingly, will cause the value of the fund's investments in these securities 
to decline.  A wide variety of market factors can cause interest rates &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; margin-left:8.65pt; text-decoration:none;"&gt;to rise, including central bank monetary policy, rising inflation 
and changes in general economic conditions.  It is difficult to predict the pace at which central banks 
or monetary authorities may increase (or decrease) interest rates or the timing, frequency, or magnitude 
of such changes.  During periods of very low interest rates, which occur from time to time due to market 
forces or actions of governments and/or their central banks, including the Board of Governors of the 
Federal Reserve System in the U.S., the fund may be subject to a greater risk of principal decline from 
rising interest rates.  When interest rates fall, the fund's investments in new securities may be at 
lower yields and may reduce the fund's income.  Changing interest rates may have unpredictable effects 
on markets, may result in heightened market volatility and may detract from fund performance.  The magnitude 
of these fluctuations in the market price of fixed-income securities is generally greater for securities 
with longer effective maturities and durations because such instruments do not mature, reset interest 
rates or become callable for longer periods of time.  Unlike investment grade bonds, however, the prices 
of high yield ("junk") bonds may fluctuate unpredictably and not necessarily inversely with changes in 
interest rates.  &lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Creditrisk2_S000000090Summary1Member"
      id="ixv-625">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Credit risk&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;:  Failure 
of an issuer of a security to make timely interest or principal payments when due, or a decline or perception 
of a decline in the credit quality of the security, can cause the security's price to fall, lowering 
the value of the fund's investment in such security.  The lower a security's credit rating, the greater 
the chance that the issuer of the security will default or fail to meet its payment obligations.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Highyieldsecuritiesrisk2_S000000090Summary1Member"
      id="ixv-631">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;High 
yield securities risk&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;:  High yield ("junk") securities involve greater credit risk, 
including the risk of default, than investment grade securities, and are considered predominantly speculative 
with respect to the issuer's ability to make principal and interest payments.  These securities are especially 
sensitive to adverse changes in general economic conditions, to changes in the financial condition of 
their issuers and to price fluctuation in response to changes in interest rates.  During periods of economic 
downturn or rising interest rates, issuers of below investment grade securities may experience financial 
stress that could adversely affect their ability to make payments of principal and interest and increase 
the possibility of default.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Liquidityrisk2_S000000090Summary1Member"
      id="ixv-637">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Liquidity risk&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;When 
there is little or no active trading market for specific types of securities, it can become more difficult 
to sell the securities in a timely manner at or near their perceived value.  In such a market, the value 
of such securities and the fund's share price may fall dramatically.  Investments that are illiquid or 
that trade in lower volumes may be more difficult to value.  The market for below investment grade securities 
may be less liquid and therefore these securities may be harder to value, buy or sell at an acceptable 
price, especially during times of market volatility or decline.  Liquidity risk also may refer to the 
risk that the fund will not be able to pay redemption proceeds within the allowable time period stated 
in this prospectus because of unusual market conditions, including those resulting in a significant amount 
of the fund's assets becoming illiquid, an unusually high volume of redemption requests, or other reasons.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Valuationrisk2_S000000090Summary1Member"
      id="ixv-644">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Valuation 
risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  The price that the fund could receive upon the sale (or other disposition) of 
an investment may differ from the fund's valuation of the investment, particularly for investments that 
trade in lower volumes, investments that are valued using a fair valuation methodology or a price provided 
by an independent pricing service, or during market turmoil or volatility.  As a result, the price received 
upon the sale of an investment may be less than the value ascribed by the fund, and the fund could realize 
a greater than expected loss or lesser than expected gain upon the sale of the investment.  The fund's 
ability to value its investments also may be impacted by technological issues and/or errors by pricing 
services or other third-party service providers.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Marketrisk2_S000000090Summary1Member"
      id="ixv-650">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Market risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The value 
of the securities in which the fund invests may be affected by political, regulatory, economic and social 
developments, and developments that impact specific economic sectors, industries or segments of the market.&#160; 
In addition, turbulence in financial markets and reduced liquidity in equity, credit and/or fixed-income 
markets may negatively affect many issuers, which could adversely affect the fund.&#160; Global economies 
and financial markets are becoming increasingly interconnected, and conditions and events in one country, 
region or financial market may adversely impact issuers in a different country, region or financial market.&#160; 
These risks may be magnified if certain events or developments adversely interrupt the global supply 
chain; in these and other circumstances, such risks might affect companies world-wide.&#160; Local, regional 
or global events such as war, military conflicts, acts of terrorism, natural disasters, the spread of 
infectious illness or other public health issues, recessions, elevated levels of government debt, changes 
in trade regulation or economic sanctions, internal unrest and discord, or other events could have a 
significant impact on the fund and its investments.&#160; &lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Prepaymentrisk2_S000000090Summary1Member"
      id="ixv-656">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Prepayment risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Some 
securities give the issuer the option to prepay or call the securities before their maturity date, which 
may reduce the market value of the security and the anticipated yield-to-maturity.  Issuers often exercise 
this right when interest rates fall.  If an issuer "calls" its securities during a time of declining 
interest rates, the fund might have to reinvest the proceeds in an investment offering a lower yield, 
and therefore might not benefit from any increase in value as a result of declining interest rates.  
During periods of market illiquidity or rising interest rates, prices of "callable" issues are subject 
to increased price fluctuation.&lt;/span&gt;&lt;/p&gt;
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_Managementrisk2_S000000090Summary1Member"
      id="ixv-665">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Management 
risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The investment process used by the fund's sub-adviser could fail to achieve the 
fund's investment goal and cause your fund investment to lose value.  &lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46753">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-674">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The following bar chart and table provide some indication of the risks of investing 
in the fund.  The bar chart shows changes in the performance of the fund's Class A shares from year to 
year.  Sales charges, if any, are not reflected in the bar chart and, if those charges were included, 
returns would have been less than those shown.  The table compares the average annual total returns of 
the fund's shares to those of the Bloomberg U.S. Municipal Bond Index, a broad measure of market performance. 
 The fund's past performance (before and after taxes) is not necessarily an indication of how the fund 
will perform in the future.  Performance for each share class will vary due to differences in expenses. 
More recent performance information may be available at www.bny.com/investments. &lt;/p&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46754">The following bar chart and table provide some indication of the risks of investing 
in the fund.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46755">Sales charges, if any, are not reflected in the bar chart and, if those charges were included, 
returns would have been less than those shown.</oef:BarChartDoesNotReflectSalesLoads>
    <oef:PerformanceAdditionalMarketIndex
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46756">The table compares the average annual total returns of 
the fund's shares to those of the Bloomberg U.S. Municipal Bond Index, a broad measure of market performance.</oef:PerformanceAdditionalMarketIndex>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46757">The fund's past performance (before and after taxes) is not necessarily an indication of how the fund 
will perform in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46758">www.bny.com/investments</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46759">Year-by-Year Total Returns&#x2005;as 
of 12/31 each year (%)</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-694">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:normal; text-decoration:none;"&gt;During the periods shown in the chart:&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Best&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt; Quarter&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;2023, 
Q4: 7.37&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Worst Quarter&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;2022, Q1: (6.12)&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The year-to-date total return 
of the fund's Class A shares as of June 30, 2026 was 2.78%.&lt;/p&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46760">Best Quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46761">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46762"
      unitRef="pure">0.0737</oef:BarChartHighestQuarterlyReturn>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46763">Worst Quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46764">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46765"
      unitRef="pure">-0.0612</oef:BarChartLowestQuarterlyReturn>
    <oef:YearToDateReturnLabel
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46766">The year-to-date total return 
of the fund's Class A shares as of</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46767">2026-06-30</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46768"
      unitRef="pure">0.0278</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-710">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;After-tax 
performance is shown only for Class A shares.  After-tax performance of the fund's other share classes 
will vary.  After-tax returns are calculated using the historical highest individual federal marginal 
income tax rates, and do not reflect the impact of state and local taxes.  Actual after-tax returns depend 
on the investor's tax situation and may differ from those shown, and the after-tax returns shown are 
not relevant to investors who hold their shares through U.S. tax-deferred arrangements such as 401(k) 
plans or individual retirement accounts.  Returns after taxes on distributions and sale of fund shares 
may be higher than returns before taxes or returns after taxes on distributions due to an assumed tax 
benefit from losses on a sale of the fund's shares at the end of the period.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;For 
the fund's Class I and Class Y shares, periods prior to the inception date reflect the performance of 
the fund's Class A shares, without reflecting any applicable sales charges for Class A shares.  Such 
performance figures have not been adjusted to reflect applicable class fees and expenses for Class I 
and Class Y shares.  Each share class is invested in the same portfolio of securities, and the annual 
returns would have differed only to the extent that the classes have different expenses. &lt;/p&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46769">After-tax 
performance is shown only for Class A shares.  After-tax performance of the fund's other share classes 
will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46770">After-tax returns are calculated using the historical highest individual federal marginal 
income tax rates, and do not reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46771">Actual after-tax returns depend 
on the investor's tax situation and may differ from those shown, and the after-tax returns shown are 
not relevant to investors who hold their shares through U.S. tax-deferred arrangements such as 401(k) 
plans or individual retirement accounts.</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableExplanationAfterTaxHigher
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46772">Returns after taxes on distributions and sale of fund shares 
may be higher than returns before taxes or returns after taxes on distributions due to an assumed tax 
benefit from losses on a sale of the fund's shares at the end of the period.</oef:PerformanceTableExplanationAfterTaxHigher>
    <oef:AverageAnnualReturnCaption
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46773">Average 
Annual Total Returns (as of 12/31/25)</oef:AverageAnnualReturnCaption>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46774">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46775"
      unitRef="pure">-0.0174</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46776"
      unitRef="pure">-0.0032</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46777"
      unitRef="pure">0.0166</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260430_20260430_AfterTaxesOnDistributionsMember_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46778">returns after taxes 
on distributions</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_AfterTaxesOnDistributionsMember_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46779"
      unitRef="pure">-0.0174</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_AfterTaxesOnDistributionsMember_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46780"
      unitRef="pure">-0.0035</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_AfterTaxesOnDistributionsMember_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46781"
      unitRef="pure">0.0164</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260430_20260430_AfterTaxesOnDistributionsAndSalesMember_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46782">returns after taxes on distributions and 
sale of fund shares</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46783"
      unitRef="pure">0.0030</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46784"
      unitRef="pure">0.0038</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46785"
      unitRef="pure">0.0191</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260430_20260430_C000000133Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46786">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46787"
      unitRef="pure">0.0108</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46788"
      unitRef="pure">-0.0020</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_C000000133Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46789"
      unitRef="pure">0.0134</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="Context_20160831_20251231_C000173300Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46790">2016-08-31</oef:PerfInceptionDate>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260430_20260430_C000173300Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46791">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46792"
      unitRef="pure">0.0313</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46793"
      unitRef="pure">0.0085</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_C000173300Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46794"
      unitRef="pure">0.0237</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="Context_20160831_20251231_C000173299Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46795">2016-08-31</oef:PerfInceptionDate>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260430_20260430_C000173299Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46796">returns 
before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46797"
      unitRef="pure">0.0319</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46798"
      unitRef="pure">0.0088</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_C000173299Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46799"
      unitRef="pure">0.0234</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260430_20260430_C000001400Member_S000000090Member_S000000090Summary1Member"
      id="ixv-46800">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46801"
      unitRef="pure">0.0293</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46802"
      unitRef="pure">0.0063</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_C000001400Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46803"
      unitRef="pure">0.0219</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260430_20260430_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000090Member_S000000090Summary1Member"
      id="ixv-46804">Bloomberg 
U.S. Municipal Bond Index</oef:AverageAnnualReturnLabel>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46805">reflects no deductions for fees, expenses or taxes</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46806"
      unitRef="pure">0.0425</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46807"
      unitRef="pure">0.0080</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-46808"
      unitRef="pure">0.0234</oef:AvgAnnlRtrPct>
    <dei:DocumentType contextRef="Context_20260430_20260430" id="ixv-46811">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20260430_20260430" id="ixv-46812">2026-04-30</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20260430_20260430" id="ixv-46813">0000797923</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20260430_20260430" id="ixv-46814">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20260430_20260430" id="ixv-46815">2026-08-27</dei:DocumentCreationDate>
    <oef:ShareholderFeesTableTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46816">~ http://xbrl.sec.gov/rr/role/ShareholderFeesData row dei_DocumentInformationDocumentAxis compact cik0000797923_S000000090Summary1Member row dei_LegalEntityAxis compact cik0000797923_S000000090Member ~</oef:ShareholderFeesTableTextBlock>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46817">~ http://xbrl.sec.gov/rr/role/OperatingExpensesData row dei_DocumentInformationDocumentAxis compact cik0000797923_S000000090Summary1Member row dei_LegalEntityAxis compact cik0000797923_S000000090Member ~</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46818">~ http://xbrl.sec.gov/rr/role/ExpenseExample row dei_DocumentInformationDocumentAxis compact cik0000797923_S000000090Summary1Member row dei_LegalEntityAxis compact cik0000797923_S000000090Member ~</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46819">~ http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption row dei_DocumentInformationDocumentAxis compact cik0000797923_S000000090Summary1Member row dei_LegalEntityAxis compact cik0000797923_S000000090Member ~</oef:ExpenseExampleNoRedemptionTableTextBlock>
    <oef:PerformanceTableTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-46820">~ http://xbrl.sec.gov/rr/role/PerformanceTableData column period compact * row dei_DocumentInformationDocumentAxis compact cik0000797923_S000000090Summary1Member row dei_LegalEntityAxis compact cik0000797923_S000000090Member row oef_ClassAxis compact * row oef_PerformanceMeasureAxis compact * ~</oef:PerformanceTableTextBlock>
    <oef:AnnlRtrPct
      contextRef="Context_20161231_20161231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47358"
      unitRef="pure">-0.0059</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20171231_20171231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47359"
      unitRef="pure">0.0574</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20181231_20181231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47360"
      unitRef="pure">0.0053</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20191231_20191231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47361"
      unitRef="pure">0.0802</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20201231_20201231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47362"
      unitRef="pure">0.0501</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20211231_20211231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47363"
      unitRef="pure">0.0189</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20221231_20221231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47364"
      unitRef="pure">-0.0987</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20231231_20231231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47365"
      unitRef="pure">0.0669</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20241231_20241231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47366"
      unitRef="pure">0.0224</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20251231_20251231_C000000131Member_S000000090Member_S000000090Summary1Member"
      decimals="INF"
      id="ixv-47367"
      unitRef="pure">0.0287999987602234</oef:AnnlRtrPct>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="Context_20260430_20260430_C000000131Member_S000000090Member_S000000090Summary1Member"
      id="ixv-47368">Class 
A shares bought without an initial sales charge as part of an investment of $250,000 or more may be charged 
a deferred sales charge of 1.00% if redeemed within one year.</oef:ExpensesDeferredChargesTextBlock>
    <cik0000797923:CustomRisksTableTextBlock
      contextRef="Context_20260430_20260430_S000000090Member_S000000090Summary1Member"
      id="ixv-47371">~ http://www.dreyfus.com/20260430/role/RRRiskTable3 ~</cik0000797923:CustomRisksTableTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc xlink:href="#_30_" xlink:label="_30_" xlink:type="locator"/>
        <link:footnote id="fn1_" xlink:label="fn1_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:9.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;">  Class 
A shares bought without an initial sales charge as part of an investment of $250,000 or more may be charged 
a deferred sales charge of 1.00% if redeemed within one year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_30_"
          xlink:to="fn1_"
          xlink:type="arc"/>
        <link:loc xlink:href="#_51_" xlink:label="_51_" xlink:type="locator"/>
        <link:loc xlink:href="#_54_" xlink:label="_54_" xlink:type="locator"/>
        <link:loc xlink:href="#_53_" xlink:label="_53_" xlink:type="locator"/>
        <link:loc xlink:href="#_50_" xlink:label="_50_" xlink:type="locator"/>
        <link:loc xlink:href="#_52_" xlink:label="_52_" xlink:type="locator"/>
        <link:footnote id="fn2_" xlink:label="fn2_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:9.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;">Includes interest expense 
in the amount of .05% in connection with inverse floater securities. </xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_51_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_54_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_53_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_50_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_52_"
          xlink:to="fn2_"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
