<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0000720064="http://www.dreyfus.com/20250531"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:utr="http://www.xbrl.org/2009/utr"
  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-20250924.xsd" xlink:type="simple"/>
    <context id="Context_20250531_20250531">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000001378Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000001376Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000073387Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000130450Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_PrincipalRisks2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:PrincipalRisks2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_RiskLoseMoneyMember_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_RiskNotInsuredMember_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_Municipalsecuritiesrisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:Municipalsecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_State-specificrisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:State-specificrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_Interestraterisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:Interestraterisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_Creditrisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:Creditrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_Highyieldsecuritiesrisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:Highyieldsecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_Liquidityrisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:Liquidityrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_Valuationrisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:Valuationrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_Marketrisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:Marketrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_S000000016Member_Managementrisk2_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000720064:Managementrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20151231_20151231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-12-31</startDate>
            <endDate>2015-12-31</endDate>
        </period>
    </context>
    <context id="Context_20161231_20161231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-12-31</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Context_20171231_20171231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-12-31</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Context_20181231_20181231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-12-31</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Context_20191231_20191231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-12-31</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Context_20201231_20201231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-12-31</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Context_20211231_20211231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-12-31</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Context_20221231_20221231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-12-31</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Context_20231231_20231231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-12-31</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_AfterTaxesOnDistributionsMember_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_AfterTaxesOnDistributionsMember_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_AfterTaxesOnDistributionsMember_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_AfterTaxesOnDistributionsMember_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_AfterTaxesOnDistributionsAndSalesMember_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_AfterTaxesOnDistributionsAndSalesMember_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_AfterTaxesOnDistributionsAndSalesMember_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_AfterTaxesOnDistributionsAndSalesMember_C000000023Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000000023Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_C000001378Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000001378Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_C000001378Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000001378Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_C000001378Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000001378Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_C000001376Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000001376Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_C000001376Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000001376Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_C000001376Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000001376Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_C000073387Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000073387Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_C000073387Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000073387Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_C000073387Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000073387Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_C000130450Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000130450Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_C000130450Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000130450Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_C000130450Member_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000720064:C000130450Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250531_20250531_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000720064:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="Context_20240101_20241231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000720064:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20200101_20241231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000720064:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20150101_20241231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000016Member_S000000016Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720064</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000720064:S000000016Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000720064:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Years">
        <measure>utr:Y</measure>
    </unit>
    <dei:EntityInvCompanyType contextRef="Context_20250531_20250531" id="ixv-37341">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20250531_20250531" id="ixv-37342">BNY Mellon California AMT-Free Municipal Bond Fund, Inc.</dei:EntityRegistrantName>
    <dei:DocumentEffectiveDate contextRef="Context_20250531_20250531" id="ixv-37343">2025-09-30</dei:DocumentEffectiveDate>
    <oef:ProspectusDate contextRef="Context_20250531_20250531" id="ixv-37344">2025-09-30</oef:ProspectusDate>
    <dei:TradingSymbol
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37345">DCAAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37346">DCACX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37347">DCMIX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37348">DCAYX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37349">DRCAX</dei:TradingSymbol>
    <oef:RiskReturnHeading
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37350">Fund 
Summary</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37351"> Investment 
Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37352">The fund seeks as high a level of current income, 
exempt from federal and California state income taxes, as is consistent with the preservation of capital.</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37353">Fees and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-321">&lt;p style="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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37354">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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37355"
      unitRef="usd">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37356">Shareholder Fees&#160;(fees 
paid directly from your investment)</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37357"
      unitRef="pure">0.0450</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37358"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37359"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37360"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37361"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="_30_"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37363"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37364"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37365"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37366"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:OperatingExpensesCaption
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37367">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_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37368"
      unitRef="pure">0.0045</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37369"
      unitRef="pure">0.0045</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37370"
      unitRef="pure">0.0045</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37371"
      unitRef="pure">0.0045</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37372"
      unitRef="pure">0.0045</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37373"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37374"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37375"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37376"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37377"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37378"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37379"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37380"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37381"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37382"
      unitRef="pure">0.0005</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="_50_"
      unitRef="pure">0.0016</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="_51_"
      unitRef="pure">0.0020</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="_52_"
      unitRef="pure">0.0018</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="_53_"
      unitRef="pure">0.0013</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="_54_"
      unitRef="pure">0.0017</oef:Component3OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37388"
      unitRef="pure">0.0041</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37389"
      unitRef="pure">0.0045</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37390"
      unitRef="pure">0.0018</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37391"
      unitRef="pure">0.0013</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37392"
      unitRef="pure">0.0022</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37393"
      unitRef="pure">0.0086</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37394"
      unitRef="pure">0.0165</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37395"
      unitRef="pure">0.0063</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37396"
      unitRef="pure">0.0058</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37397"
      unitRef="pure">0.0067</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37398">Example</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-515">&lt;p style="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_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37399"
      unitRef="usd">534</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37400"
      unitRef="usd">534</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37401"
      unitRef="usd">712</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37402"
      unitRef="usd">712</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37403"
      unitRef="usd">905</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37404"
      unitRef="usd">905</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37405"
      unitRef="usd">1463</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37406"
      unitRef="usd">1463</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear01
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37407"
      unitRef="usd">268</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37408"
      unitRef="usd">520</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37409"
      unitRef="usd">897</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37410"
      unitRef="usd">1955</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37411"
      unitRef="usd">168</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37412"
      unitRef="usd">520</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37413"
      unitRef="usd">897</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37414"
      unitRef="usd">1955</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear01
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37415"
      unitRef="usd">64</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37416"
      unitRef="usd">64</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37417"
      unitRef="usd">202</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37418"
      unitRef="usd">202</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37419"
      unitRef="usd">351</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37420"
      unitRef="usd">351</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37421"
      unitRef="usd">786</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37422"
      unitRef="usd">786</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear01
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37423"
      unitRef="usd">59</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37424"
      unitRef="usd">59</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37425"
      unitRef="usd">186</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37426"
      unitRef="usd">186</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37427"
      unitRef="usd">324</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37428"
      unitRef="usd">324</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37429"
      unitRef="usd">726</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37430"
      unitRef="usd">726</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear01
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37431"
      unitRef="usd">68</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37432"
      unitRef="usd">68</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37433"
      unitRef="usd">214</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37434"
      unitRef="usd">214</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37435"
      unitRef="usd">373</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37436"
      unitRef="usd">373</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37437"
      unitRef="usd">835</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37438"
      unitRef="usd">835</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37439">Portfolio 
Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-604">&lt;p style="-sec-ix-redline:true;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 12.39% 
of the average value of its portfolio.&lt;/p&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37440"
      unitRef="pure">0.1239</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37441">Principal Investment Strategy</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-609">&lt;p style="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 
and California state personal income taxes and the federal alternative minimum tax.  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="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 
80% 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 20% 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.  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.&lt;/p&gt;&lt;p style="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 
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="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 continuously 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="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 
and California state income taxes and the federal alternative minimum tax, income from some of the fund's 
holdings may be subject to these taxes.&lt;/p&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_PrincipalRisks2_S000000016Summary1Member"
      id="ixv-615">&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="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_20250531_20250531_S000000016Member_RiskNotInsuredMember_S000000016Summary1Member"
      id="ixv-37442">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_20250531_20250531_S000000016Member_RiskLoseMoneyMember_S000000016Summary1Member"
      id="ixv-37443">  The fund's share price fluctuates, sometimes dramatically, which means you could 
lose money.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_Municipalsecuritiesrisk2_S000000016Summary1Member"
      id="ixv-620">&lt;p style="-sec-ix-redline:true;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, or public health developments, 
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_20250531_20250531_S000000016Member_State-specificrisk2_S000000016Summary1Member"
      id="ixv-626">&lt;p style="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;State-specific 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 
fund is subject to the risk that California's economy, and the revenues underlying its municipal obligations, 
may decline.  Investing primarily in the municipal obligations of a single state makes the fund more 
sensitive to risks specific to that state and may entail more risk than investing in the municipal obligations 
of multiple states as a result of potentially less diversification.  &lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_Interestraterisk2_S000000016Summary1Member"
      id="ixv-635">&lt;p style="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 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;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_Creditrisk2_S000000016Summary1Member"
      id="ixv-641">&lt;p style="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.  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_20250531_20250531_S000000016Member_Highyieldsecuritiesrisk2_S000000016Summary1Member"
      id="ixv-647">&lt;p style="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_20250531_20250531_S000000016Member_Liquidityrisk2_S000000016Summary1Member"
      id="ixv-653">&lt;p style="-sec-ix-redline:true;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.  The secondary market for certain municipal bonds tends to be less well 
developed or liquid than many other securities markets, which may adversely affect the fund's ability 
to buy or sell such municipal bonds at attractive prices.  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 or sell at an acceptable price, 
especially during times of market volatility or decline.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_Valuationrisk2_S000000016Summary1Member"
      id="ixv-660">&lt;p style="-sec-ix-redline:true;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.  &lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_Marketrisk2_S000000016Summary1Member"
      id="ixv-666">&lt;p style="-sec-ix-redline:true;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_20250531_20250531_S000000016Member_Managementrisk2_S000000016Summary1Member"
      id="ixv-672">&lt;p style="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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37444">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-681">&lt;p style="-sec-ix-redline:true;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 Z 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 &lt;/p&gt;

&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;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:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37445">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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37446">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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37450">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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37451">www.bny.com/investments</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37452">Year-by-Year Total Returns&#x2005;as of 12/31 each year 
(%)</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-706">&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.43&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.72)&lt;/span&gt;&lt;/p&gt; &lt;p style="-sec-ix-redline:true;font-size:9.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-4.3pt; font-weight:normal; margin-left:8.6pt; text-decoration:none; font-style:italic;"&gt;The 
year-to-date total return of the fund's Class Z shares as of June 30, 2025 was -1.40%.&lt;/p&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37453">Best Quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37454">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37455"
      unitRef="pure">0.0743</oef:BarChartHighestQuarterlyReturn>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37456">Worst Quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37457">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37458"
      unitRef="pure">-0.0672</oef:BarChartLowestQuarterlyReturn>
    <oef:YearToDateReturnLabel
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37459">The 
year-to-date total return of the fund's Class Z shares as of</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37460">2025-06-30</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37461"
      unitRef="pure">-0.0140</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-722">&lt;p style="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 Z 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;</oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37462">After-tax performance is shown only for Class Z shares.  After-tax performance 
of the fund's other share classes will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37463">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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37464">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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37465">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_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37466">Average 
Annual Total Returns (as of 12/31/24)</oef:AverageAnnualReturnCaption>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20250531_20250531_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37467">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37468"
      unitRef="pure">0.0191</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37469"
      unitRef="pure">0.0054</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37470"
      unitRef="pure">0.0186</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20250531_20250531_AfterTaxesOnDistributionsMember_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37471">returns after taxes 
on distributions</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_AfterTaxesOnDistributionsMember_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37472"
      unitRef="pure">0.0191</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_AfterTaxesOnDistributionsMember_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37473"
      unitRef="pure">0.0052</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_AfterTaxesOnDistributionsMember_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37474"
      unitRef="pure">0.0181</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20250531_20250531_AfterTaxesOnDistributionsAndSalesMember_C000000023Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37475">returns after taxes on distributions and 
sale of fund shares</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_AfterTaxesOnDistributionsAndSalesMember_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37476"
      unitRef="pure">0.0224</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_AfterTaxesOnDistributionsAndSalesMember_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37477"
      unitRef="pure">0.0102</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_AfterTaxesOnDistributionsAndSalesMember_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37478"
      unitRef="pure">0.0210</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37479">returns 
before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37480"
      unitRef="pure">-0.0286</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37481"
      unitRef="pure">-0.0059</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_C000001378Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37482"
      unitRef="pure">0.0117</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20250531_20250531_C000001376Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37483">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37484"
      unitRef="pure">-0.0002</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37485"
      unitRef="pure">-0.0043</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_C000001376Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37486"
      unitRef="pure">0.0087</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20250531_20250531_C000073387Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37487">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37488"
      unitRef="pure">0.0194</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37489"
      unitRef="pure">0.0057</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_C000073387Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37490"
      unitRef="pure">0.0189</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20250531_20250531_C000130450Member_S000000016Member_S000000016Summary1Member"
      id="ixv-37491">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37492"
      unitRef="pure">0.0200</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37493"
      unitRef="pure">0.0050</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_C000130450Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37494"
      unitRef="pure">0.0186</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20250531_20250531_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000016Member_S000000016Summary1Member"
      id="ixv-37495">Bloomberg U.S. Municipal 
Bond Index</oef:AverageAnnualReturnLabel>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37496">reflects no deductions for fees, expenses or taxes</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20240101_20241231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37497"
      unitRef="pure">0.0105</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20200101_20241231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37498"
      unitRef="pure">0.0099</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20150101_20241231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-37499"
      unitRef="pure">0.0225</oef:AvgAnnlRtrPct>
    <dei:DocumentType contextRef="Context_20250531_20250531" id="ixv-37502">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20250531_20250531" id="ixv-37503">2025-05-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20250531_20250531" id="ixv-37504">0000720064</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20250531_20250531" id="ixv-37505">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20250531_20250531" id="ixv-37506">2025-09-24</dei:DocumentCreationDate>
    <oef:ShareholderFeesTableTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37507">~ http://xbrl.sec.gov/rr/role/ShareholderFeesData row dei_DocumentInformationDocumentAxis compact cik0000720064_S000000016Summary1Member row dei_LegalEntityAxis compact cik0000720064_S000000016Member ~</oef:ShareholderFeesTableTextBlock>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37508">~ http://xbrl.sec.gov/rr/role/OperatingExpensesData row dei_DocumentInformationDocumentAxis compact cik0000720064_S000000016Summary1Member row dei_LegalEntityAxis compact cik0000720064_S000000016Member ~</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37509">~ http://xbrl.sec.gov/rr/role/ExpenseExample row dei_DocumentInformationDocumentAxis compact cik0000720064_S000000016Summary1Member row dei_LegalEntityAxis compact cik0000720064_S000000016Member ~</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37510">~ http://xbrl.sec.gov/rr/role/ExpenseExampleNoRedemption row dei_DocumentInformationDocumentAxis compact cik0000720064_S000000016Summary1Member row dei_LegalEntityAxis compact cik0000720064_S000000016Member ~</oef:ExpenseExampleNoRedemptionTableTextBlock>
    <oef:PerformanceTableTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-37511">~ http://xbrl.sec.gov/rr/role/PerformanceTableData column period compact * row dei_DocumentInformationDocumentAxis compact cik0000720064_S000000016Summary1Member row dei_LegalEntityAxis compact cik0000720064_S000000016Member row oef_ClassAxis compact * row oef_PerformanceMeasureAxis compact * ~</oef:PerformanceTableTextBlock>
    <oef:AnnlRtrPct
      contextRef="Context_20151231_20151231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38031"
      unitRef="pure">0.0381</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20161231_20161231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38032"
      unitRef="pure">-0.0073</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20171231_20171231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38033"
      unitRef="pure">0.0585</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20181231_20181231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38034"
      unitRef="pure">0.0017</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20191231_20191231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38035"
      unitRef="pure">0.0706</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20201231_20201231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38036"
      unitRef="pure">0.0409</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20211231_20211231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38037"
      unitRef="pure">0.0195</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20221231_20221231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38038"
      unitRef="pure">-0.1042</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20231231_20231231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38039"
      unitRef="pure">0.0606</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20241231_20241231_C000000023Member_S000000016Member_S000000016Summary1Member"
      decimals="INF"
      id="ixv-38040"
      unitRef="pure">0.0191</oef:AnnlRtrPct>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="Context_20250531_20250531_C000001378Member_S000000016Member_S000000016Summary1Member"
      id="ixv-38041">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>
    <cik0000720064:CustomRisksTableTextBlock
      contextRef="Context_20250531_20250531_S000000016Member_S000000016Summary1Member"
      id="ixv-38044">~ http://www.dreyfus.com/20250531/role/RRRiskTable3 ~</cik0000720064: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="#_50_" xlink:label="_50_" xlink:type="locator"/>
        <link:loc xlink:href="#_54_" xlink:label="_54_" xlink:type="locator"/>
        <link:loc xlink:href="#_51_" xlink:label="_51_" xlink:type="locator"/>
        <link:loc xlink:href="#_52_" xlink:label="_52_" xlink:type="locator"/>
        <link:loc xlink:href="#_53_" xlink:label="_53_" 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 .06% in connection with inverse floater securities.</xhtml:span></link:footnote>
        <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="_54_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <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="_52_"
          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:footnoteLink>
</xbrl>
