<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:gsam="http://www.gsamfunds.com/20251231"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2024q3"
  xmlns:us-gaap="http://fasb.org/us-gaap/2024"
  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="gsam-20251231.xsd" xlink:type="simple"/>
    <context id="D_31Dec2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057076">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057077">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057077Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000066744">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066744Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000066743">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000161524">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161524Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_AbsenceofRegulationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:AbsenceofRegulationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_CommoditySectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CommoditySectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_CounterpartyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CounterpartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_DerivativesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_ExpensesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ExpensesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_ForeignandEmergingCountriesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignandEmergingCountriesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_InvestingintheUnderlyingFundsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestingintheUnderlyingFundsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_LeverageRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LeverageRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_MasterLimitedPartnershipRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MasterLimitedPartnershipRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_MidCapandSmallCapRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MidCapandSmallCapRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_NonHedgingForeignCurrencyTradingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NonHedgingForeignCurrencyTradingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_OtherInvestmentCompaniesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:OtherInvestmentCompaniesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_ShortPositionRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ShortPositionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_SubsidiaryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SubsidiaryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_SwapsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SwapsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057076Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057077">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057077Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057077_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057077Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057077_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057077Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057077_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057077Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057078">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057078_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057078_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000057078_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000066744">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066744Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000066744_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066744Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000066744_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066744Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000066744_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066744Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000066743">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000066743_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000066743_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000066743_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000066743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000161524">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161524Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000161524_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161524Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000161524_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161524Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000161524_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161524Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:ICEBofAML3MonthUSTreasuryBillIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:ICEBofAML3MonthUSTreasuryBillIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:ICEBofAML3MonthUSTreasuryBillIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIWorldIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIWorldIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIWorldIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043358">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043359">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043359Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000058993">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058993Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000058992">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058992Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000161523">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161523Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_AbsenceofRegulationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:AbsenceofRegulationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_CommoditySectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CommoditySectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_CounterpartyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CounterpartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_DerivativesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_LeverageRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LeverageRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_ShortPositionRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ShortPositionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_SubsidiaryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SubsidiaryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_SwapsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SwapsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043358Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043359">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043359Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043359_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043359Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043359_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043359Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043359_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043359Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043360">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043360_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043360_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000043360_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000058993">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058993Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000058993_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058993Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000058993_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058993Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000058993_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058993Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000058992">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058992Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000058992_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058992Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000058992_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058992Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000058992_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058992Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000161523">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161523Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000161523_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161523Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000161523_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161523Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000161523_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161523Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_BCOMGrossUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BCOMGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_BCOMGrossUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BCOMGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_BCOMGrossUSDUnhedgedMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BCOMGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_SP500IndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_SP500IndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_SP500IndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107193">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107194">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107194Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107195">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107195Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107196">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000200310">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_AbsenceofRegulationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:AbsenceofRegulationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_CallPrepaymentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CallPrepaymentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_CommoditySectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CommoditySectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_CounterpartyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CounterpartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_DerivativesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_ExpensesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ExpensesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_ForeignandEmergingCountriesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignandEmergingCountriesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_LeverageRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LeverageRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_NonHedgingForeignCurrencyTradingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NonHedgingForeignCurrencyTradingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_OtherInvestmentCompaniesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:OtherInvestmentCompaniesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_ShortPositionRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ShortPositionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_SubsidiaryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SubsidiaryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_SwapsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SwapsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107193Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107194">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107194Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107194_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107194Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107194_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107194Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107194_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107194Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107195">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107195Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107195_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107195Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107195_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107195Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107195_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107195Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107197">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107197_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107197_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107197_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107196">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107196_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107196_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000107196_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107196Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000200310">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000200310_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000200310_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_C000200310_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200310Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateIndexGrossUSDHedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateIndexGrossUSDHedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateIndexGrossUSDHedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_C000201773">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_AbsenceofRegulationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:AbsenceofRegulationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_CommoditySectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CommoditySectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_CounterpartyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CounterpartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_DerivativesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_ExpensesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ExpensesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_ForeignandEmergingCountriesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignandEmergingCountriesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_InvestingintheUnderlyingFundsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestingintheUnderlyingFundsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_LeverageRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LeverageRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_MasterLimitedPartnershipRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MasterLimitedPartnershipRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_MidCapandSmallCapRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MidCapandSmallCapRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_NonHedgingForeignCurrencyTradingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NonHedgingForeignCurrencyTradingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_OtherInvestmentCompaniesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:OtherInvestmentCompaniesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_ShortPositionRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ShortPositionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_SubsidiaryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SubsidiaryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_SwapsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SwapsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:ICEBofAML3MonthUSTreasuryBillIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:ICEBofAML3MonthUSTreasuryBillIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:ICEBofAML3MonthUSTreasuryBillIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIWorldIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIWorldIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIWorldIndexNetUSDUnhedgedMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIWorldIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_C000201770">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_AbsenceofRegulationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:AbsenceofRegulationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_CommoditySectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CommoditySectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_CounterpartyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CounterpartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_DerivativesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_LeverageRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LeverageRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_ShortPositionRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ShortPositionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_SubsidiaryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SubsidiaryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_SwapsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SwapsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201770_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201770_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201770_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201770">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BCOMGrossUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BCOMGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BCOMGrossUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BCOMGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BCOMGrossUSDUnhedgedMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BCOMGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_SP500IndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_SP500IndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_SP500IndexMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_C000201775">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_AbsenceofRegulationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:AbsenceofRegulationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_CallPrepaymentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CallPrepaymentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_CommoditySectorRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CommoditySectorRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_CounterpartyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CounterpartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_CreditDefaultRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:CreditDefaultRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_DerivativesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_ExpensesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ExpensesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_ForeignandEmergingCountriesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignandEmergingCountriesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_LeverageRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LeverageRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_LiquidityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_NonHedgingForeignCurrencyTradingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:NonHedgingForeignCurrencyTradingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_OtherInvestmentCompaniesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:OtherInvestmentCompaniesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_ShortPositionRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ShortPositionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_SubsidiaryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SubsidiaryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_SwapsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:SwapsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_TaxRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_USGovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:USGovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateIndexGrossUSDHedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateIndexGrossUSDHedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateIndexGrossUSDHedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025609">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025611">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025611Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025608">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025608Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000058978">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058978Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000058977">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058977Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000161521">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161521Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_DividendPayingInvestmentsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DividendPayingInvestmentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_GeographicRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:GeographicRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_IndustryConcentrationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:IndustryConcentrationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_RealEstateIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:RealEstateIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_RealEstateInvestmentTrustsREITsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:RealEstateInvestmentTrustsREITsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025609Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025611">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025611Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025611_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025611Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025611_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025611Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025611_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025611Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025607">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025607_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025607_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025607_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025608">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025608Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025608_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025608Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025608_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025608Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000025608_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025608Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000058978">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058978Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000058978_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058978Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000058978_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058978Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000058978_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058978Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000058977">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058977Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000058977_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058977Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000058977_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058977Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000058977_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000058977Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000161521">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161521Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000161521_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161521Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000161521_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161521Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_C000161521_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000161521Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_SP500IndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_SP500IndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_SP500IndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159640">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159641">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159641Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159643">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159643Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159645">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159645Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_DividendPayingInvestmentsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DividendPayingInvestmentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_ForeignandEmergingCountriesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignandEmergingCountriesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_IndustryConcentrationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:IndustryConcentrationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_InfrastructureCompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InfrastructureCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_MasterLimitedPartnershipRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MasterLimitedPartnershipRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_MidCapRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MidCapRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_RealEstateInvestmentTrustsREITsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:RealEstateInvestmentTrustsREITsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsMember_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsAndSalesMember_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159640Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159641">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159641Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159641_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159641Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159641_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159641Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159641_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159641Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159642">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159642_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159642_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159642_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159643">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159643Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159643_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159643Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159643_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159643Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159643_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159643Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159645">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159645Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159645_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159645Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159645_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159645Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000159645_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159645Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_MSCIACWIIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIACWIIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_MSCIACWIIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIACWIIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_MSCIACWIIndexNetUSDUnhedgedMember_27Jun2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIACWIIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-27</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_C000201768">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_DividendPayingInvestmentsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DividendPayingInvestmentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_GeographicRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:GeographicRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_IndustryConcentrationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:IndustryConcentrationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_RealEstateIndustryRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:RealEstateIndustryRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_RealEstateInvestmentTrustsREITsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:RealEstateInvestmentTrustsREITsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_C000201776">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_DividendPayingInvestmentsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DividendPayingInvestmentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_ForeignandEmergingCountriesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignandEmergingCountriesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_IndustryConcentrationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:IndustryConcentrationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_InfrastructureCompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InfrastructureCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_MasterLimitedPartnershipRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MasterLimitedPartnershipRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_MidCapRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MidCapRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_RealEstateInvestmentTrustsREITsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:RealEstateInvestmentTrustsREITsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201776">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201776_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201776_01Jan2020_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201776_17Apr2018_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsMember_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</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="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsMember_01Jan2020_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</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="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsAndSalesMember_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</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="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsAndSalesMember_01Jan2020_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</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="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_01Jan2020_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_17Apr2018_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIACWIIndexNetUSDUnhedgedMember_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIACWIIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIACWIIndexNetUSDUnhedgedMember_01Jan2020_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIACWIIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIACWIIndexNetUSDUnhedgedMember_17Apr2018_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIACWIIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050447">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050448">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000091966">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091966Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000200309">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_DividendPayingInvestmentsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DividendPayingInvestmentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_EuropeanInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:EuropeanInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_JapanRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:JapanRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_OptionWritingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:OptionWritingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_TaxManagedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxManagedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050448">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050448_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050448_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050448_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050446">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050446_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050446_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050446_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091966">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091966Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091966_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091966Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091966_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091966Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091966_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091966Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200309">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200309_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200309_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200309_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200309Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIEAFEIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIEAFEIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIEAFEIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050444">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050445">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000091965">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091965Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000200308">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200308Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_EuropeanInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:EuropeanInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_JapanRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:JapanRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_TaxManagedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxManagedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050444Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050445">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050445_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050445_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050445_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050443">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050443_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050443_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000050443_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091965">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091965Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091965_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091965Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091965_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091965Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091965_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091965Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200308">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200308Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200308_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200308Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200308_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200308Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200308_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200308Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025605">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025605Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025601">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025601Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025602">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025602Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000091964">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000200307">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_TaxManagedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxManagedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025605">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025605Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025605_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025605Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025605_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025605Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025605_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025605Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025601">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025601Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025601_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025601Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025601_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025601Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025601_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025601Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025602">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025602Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025602_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025602Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025602_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025602Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000025602_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025602Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000091964">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000091964_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000091964_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000091964_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000200307">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000200307_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000200307_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_C000200307_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200307Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_Russell3000IndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:Russell3000IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_Russell3000IndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:Russell3000IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_Russell3000IndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:Russell3000IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025508">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025509">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025509Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000091963">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000200306">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_DividendPayingInvestmentsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DividendPayingInvestmentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_OptionWritingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:OptionWritingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_TaxManagedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxManagedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025508Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025509">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025509Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025509_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025509Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025509_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025509Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025509_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025509Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025507">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025507_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025507_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000025507_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091963">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091963_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091963_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000091963_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000091963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200306">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200306_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200306_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_C000200306_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000200306Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_SP500IndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_SP500IndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_SP500IndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_BloombergUSAggregateBondIndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergUSAggregateBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_BloombergUSAggregateBondIndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergUSAggregateBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_BloombergUSAggregateBondIndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergUSAggregateBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_C000201772">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_DividendPayingInvestmentsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DividendPayingInvestmentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_EuropeanInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:EuropeanInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_JapanRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:JapanRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_OptionWritingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:OptionWritingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_TaxManagedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxManagedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIEAFEIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIEAFEIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:MSCIEAFEIndexNetUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_C000201771">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_EuropeanInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:EuropeanInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_ForeignRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_JapanRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:JapanRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_TaxManagedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxManagedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_C000201767">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_PortfolioTurnoverRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:PortfolioTurnoverRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_TaxManagedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxManagedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_Russell3000IndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:Russell3000IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_Russell3000IndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:Russell3000IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_Russell3000IndexMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:Russell3000IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_C000201766">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_DividendPayingInvestmentsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:DividendPayingInvestmentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_InvestmentStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:InvestmentStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_LargeShareholderTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:LargeShareholderTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_MarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:MarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_OptionWritingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:OptionWritingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_StockRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:StockRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_TaxManagedInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gsam:TaxManagedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergUSAggregateBondIndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergUSAggregateBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergUSAggregateBondIndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergUSAggregateBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_BloombergUSAggregateBondIndexMember_17Apr2018_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">gsam:BloombergUSAggregateBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-04-17</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_C000201772_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_C000201772_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_C000201772_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_C000201772_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_C000201772_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_C000201772_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018299_C000201772_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018299Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201772Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000050443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_C000201771_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_C000201771_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_C000201771_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_C000201771_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_C000201771_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_C000201771_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000018298_C000201771_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000018298Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_C000201768_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_C000201768_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_C000201768_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_C000201768_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_C000201768_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_C000201768_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009341_C000201768_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009341Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstServInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025603Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_C000201767_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_C000201767_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_C000201767_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_C000201767_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_C000201767_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_C000201767_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009340_C000201767_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009340Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000025507Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_C000201766_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_C000201766_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_C000201766_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_C000201766_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_C000201766_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_C000201766_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000009324_C000201766_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000009324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000043360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_C000201770_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_C000201770_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_C000201770_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_C000201770_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_C000201770_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_C000201770_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000015787_C000201770_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000015787Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000159642Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_C000201776_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_C000201776_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_C000201776_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_C000201776_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_C000201776_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_C000201776_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000050577_C000201776_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000050577Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201776Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000057078Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_C000201773_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_C000201773_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_C000201773_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_C000201773_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_C000201773_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_C000201773_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000020314_C000201773_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000020314Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201773Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassACInstInvRR6SharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000107197Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_C000201775_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_C000201775_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_C000201775_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_C000201775_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_C000201775_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_C000201775_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="ClassPSharesMember_S000034856_C000201775_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000822977</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">gsam:ClassPSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsam:S000034856Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">gsam:C000201775Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:DocumentPeriodEndDate contextRef="D_31Dec2025_31Dec2025" id="apid_1">2025-12-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="D_31Dec2025_31Dec2025" id="apid_2">0000822977</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_31Dec2025_31Dec2025" id="apid_3">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="D_31Dec2025_31Dec2025" id="apid_4">485BPOS</dei:DocumentType>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2016_31Dec2016"
      decimals="4"
      id="d1677135-4a31-4f6c-8463-f642c2855c03"
      unitRef="pure">0.0092</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2017_31Dec2017"
      decimals="4"
      id="c950a844-918c-4beb-b862-16742bca2425"
      unitRef="pure">0.2385</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2018_31Dec2018"
      decimals="4"
      id="d3913369-2906-4b75-a817-476a9a15b503"
      unitRef="pure">-0.1296</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2019_31Dec2019"
      decimals="4"
      id="ce6a3825-3937-4ba5-9acf-d17482e588f8"
      unitRef="pure">0.1482</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2020_31Dec2020"
      decimals="4"
      id="x_6d84b29e-e4db-4791-936a-1901997dac7f"
      unitRef="pure">0.0118</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2021_31Dec2021"
      decimals="4"
      id="a6eddcdc-b4f7-479f-b3d2-9a8c4312c136"
      unitRef="pure">0.0938</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2022_31Dec2022"
      decimals="4"
      id="x_596303ac-a12e-4034-af82-f404057d420f"
      unitRef="pure">-0.0999</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2023_31Dec2023"
      decimals="4"
      id="ae2f9b7e-e40b-4be0-a4e1-0cdec6d4ff78"
      unitRef="pure">0.1615</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2024_31Dec2024"
      decimals="4"
      id="x_71b88607-88fc-4933-90d1-669400d4ff8a"
      unitRef="pure">-0.0215</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446_01Jan2025_31Dec2025"
      decimals="4"
      id="e03a0ea6-c019-4d44-9e06-1a3d764337cd"
      unitRef="pure">0.2964</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018299_C000201772_01Jan2019_31Dec2019"
      decimals="4"
      id="b848adc1-7a0f-4b9e-a20f-b8ced552e044"
      unitRef="pure">0.1483</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018299_C000201772_01Jan2020_31Dec2020"
      decimals="4"
      id="f6177722-7872-48e1-8e51-8255a5ff5818"
      unitRef="pure">0.0133</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018299_C000201772_01Jan2021_31Dec2021"
      decimals="4"
      id="d7be0f80-2018-4d97-9f8f-13e994b7b8c1"
      unitRef="pure">0.0937</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018299_C000201772_01Jan2022_31Dec2022"
      decimals="4"
      id="x_02ccc9f7-4ff4-46ed-a3b4-24a07cd5e589"
      unitRef="pure">-0.0997</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018299_C000201772_01Jan2023_31Dec2023"
      decimals="4"
      id="ed3e4ab2-39db-431a-9495-b2bd5947e0ea"
      unitRef="pure">0.1614</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018299_C000201772_01Jan2024_31Dec2024"
      decimals="4"
      id="x_84f46ba2-5762-4da6-bfe8-59d9276a6588"
      unitRef="pure">-0.0213</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018299_C000201772_01Jan2025_31Dec2025"
      decimals="4"
      id="c00add7b-49a3-4b7c-93de-d29a9216c417"
      unitRef="pure">0.2961</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2016_31Dec2016"
      decimals="4"
      id="x_1dafe396-b71e-48d0-b7e7-730de925c4ef"
      unitRef="pure">0.0126</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2017_31Dec2017"
      decimals="4"
      id="dc5260ae-3e41-470e-8a71-5c5566a96703"
      unitRef="pure">0.2942</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2018_31Dec2018"
      decimals="4"
      id="daf977a2-10a0-48b2-8148-7a06c48809be"
      unitRef="pure">-0.1649</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2019_31Dec2019"
      decimals="4"
      id="de0753d2-3ac6-4763-952d-8ec910be7613"
      unitRef="pure">0.1901</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2020_31Dec2020"
      decimals="4"
      id="aedf9c9b-68cd-4617-8d9d-468893257941"
      unitRef="pure">0.1011</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2021_31Dec2021"
      decimals="4"
      id="x_16823a9b-fb01-4a8b-9c8b-d97b52d7f701"
      unitRef="pure">0.1242</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2022_31Dec2022"
      decimals="4"
      id="cacb6e54-46d1-48f3-9682-f20a3cf4a3a0"
      unitRef="pure">-0.1502</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2023_31Dec2023"
      decimals="4"
      id="x_11ddc96b-6bee-4aaf-8615-2b272350e409"
      unitRef="pure">0.2023</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2024_31Dec2024"
      decimals="4"
      id="x_9090bff7-dc56-4117-8cf3-645f12f397f4"
      unitRef="pure">0.0630</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443_01Jan2025_31Dec2025"
      decimals="4"
      id="x_53852983-724f-4278-83c4-ba7382b73e2b"
      unitRef="pure">0.3948</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018298_C000201771_01Jan2019_31Dec2019"
      decimals="4"
      id="x_0c9a37af-be6f-4c76-a691-5a550909270b"
      unitRef="pure">0.1902</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018298_C000201771_01Jan2020_31Dec2020"
      decimals="4"
      id="a3dbe34b-da80-46fd-8dc9-42117afe9e9c"
      unitRef="pure">0.1009</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018298_C000201771_01Jan2021_31Dec2021"
      decimals="4"
      id="x_24f21bc8-61cb-43ec-9a92-469c4b4bea90"
      unitRef="pure">0.1242</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018298_C000201771_01Jan2022_31Dec2022"
      decimals="4"
      id="c912d81f-9c0b-4aaf-aeb1-ab4455962368"
      unitRef="pure">-0.1503</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018298_C000201771_01Jan2023_31Dec2023"
      decimals="4"
      id="x_644fcb1f-27e2-4bed-8c65-f328704deae3"
      unitRef="pure">0.2028</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018298_C000201771_01Jan2024_31Dec2024"
      decimals="4"
      id="d625b776-6d18-4c9b-8e68-a1435431e3f9"
      unitRef="pure">0.0635</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000018298_C000201771_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5dbeccb8-b8d4-4f59-b2f0-a7df198d87e9"
      unitRef="pure">0.3942</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2016_31Dec2016"
      decimals="4"
      id="b98abaff-b9d1-40be-be2c-be27075e33ed"
      unitRef="pure">0.0581</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2017_31Dec2017"
      decimals="4"
      id="c2990103-32f4-49f2-8a95-ae778f5d69a5"
      unitRef="pure">0.0258</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2018_31Dec2018"
      decimals="4"
      id="c773a7b6-36d8-4e45-8390-aefdb6d6f26f"
      unitRef="pure">-0.0504</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2019_31Dec2019"
      decimals="4"
      id="x_234dba61-6670-45a8-8489-19ce8f76ad1a"
      unitRef="pure">0.2601</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2020_31Dec2020"
      decimals="4"
      id="x_978a73b7-1ec1-4145-a654-141582632a54"
      unitRef="pure">-0.0748</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2021_31Dec2021"
      decimals="4"
      id="x_42f358ef-28d7-4d99-a192-fd5887982447"
      unitRef="pure">0.4474</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2022_31Dec2022"
      decimals="4"
      id="f9c2c321-91d8-4a4c-8f2c-be1459e7d5bd"
      unitRef="pure">-0.2777</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2023_31Dec2023"
      decimals="4"
      id="f2d8af7b-9002-4392-bb34-a972feb50ea9"
      unitRef="pure">0.1692</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2024_31Dec2024"
      decimals="4"
      id="x_16d0b57c-91e9-420e-a79f-915d632f6ecc"
      unitRef="pure">0.0636</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607_01Jan2025_31Dec2025"
      decimals="4"
      id="x_41eee6da-046a-401c-9094-f9cc524dbf5a"
      unitRef="pure">-0.0021</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009341_C000201768_01Jan2019_31Dec2019"
      decimals="4"
      id="e4331db4-3d6c-4004-9f62-a2933676b810"
      unitRef="pure">0.2604</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009341_C000201768_01Jan2020_31Dec2020"
      decimals="4"
      id="e44c5a5a-4a34-4035-968e-c9d0407ad9dd"
      unitRef="pure">-0.0748</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009341_C000201768_01Jan2021_31Dec2021"
      decimals="4"
      id="fd8b0d08-e34c-4c24-8f86-baf9c70ec200"
      unitRef="pure">0.4479</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009341_C000201768_01Jan2022_31Dec2022"
      decimals="4"
      id="x_868b6da8-70b6-47c0-8984-2bbe31067bc0"
      unitRef="pure">-0.2778</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009341_C000201768_01Jan2023_31Dec2023"
      decimals="4"
      id="x_7aff6067-3862-48cb-891e-cd9d3e6ba8c1"
      unitRef="pure">0.1694</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009341_C000201768_01Jan2024_31Dec2024"
      decimals="4"
      id="b4b77920-0f53-42e6-bfdf-2310c8d4be65"
      unitRef="pure">0.0645</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009341_C000201768_01Jan2025_31Dec2025"
      decimals="4"
      id="x_88d50954-8b4b-4795-a0b5-9621ddfff233"
      unitRef="pure">-0.0017</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2016_31Dec2016"
      decimals="4"
      id="x_2d765bb2-3977-47a5-81a4-5e7cb5f04e01"
      unitRef="pure">0.0909</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2017_31Dec2017"
      decimals="4"
      id="x_0ee7f605-d1dc-41bf-a145-5931193812af"
      unitRef="pure">0.1988</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2018_31Dec2018"
      decimals="4"
      id="x_1cf85d7f-375a-4df1-b3e5-64994e1c9f4c"
      unitRef="pure">-0.0815</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2019_31Dec2019"
      decimals="4"
      id="x_91896286-6468-448f-ba86-db6828b29e2d"
      unitRef="pure">0.2548</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2020_31Dec2020"
      decimals="4"
      id="x_44796476-1b01-4d13-aede-35e86faa98ab"
      unitRef="pure">0.1706</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2021_31Dec2021"
      decimals="4"
      id="f1f28b69-ed37-4216-9583-b9dcd0a051e1"
      unitRef="pure">0.2880</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2022_31Dec2022"
      decimals="4"
      id="x_2f79a416-622c-4955-8570-e7dfb828491e"
      unitRef="pure">-0.2051</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2023_31Dec2023"
      decimals="4"
      id="e85f9c06-08d2-4586-8ee8-684e53f666e6"
      unitRef="pure">0.2341</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2024_31Dec2024"
      decimals="4"
      id="e6bcfa2e-8cb9-49eb-8fbd-7a2202b74f65"
      unitRef="pure">0.2551</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5880a00a-c3ef-46ed-a043-81a4e0d8d5cc"
      unitRef="pure">0.1499</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009340_C000201767_01Jan2019_31Dec2019"
      decimals="4"
      id="a87a9522-e946-4998-9e54-93d0304e270c"
      unitRef="pure">0.2594</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009340_C000201767_01Jan2020_31Dec2020"
      decimals="4"
      id="x_33e599bb-2d7a-4241-8aee-5fbdd3d05545"
      unitRef="pure">0.1748</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009340_C000201767_01Jan2021_31Dec2021"
      decimals="4"
      id="x_5e0b6ed0-bd9b-4b4b-9c2f-cb5fd4cc391a"
      unitRef="pure">0.2923</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009340_C000201767_01Jan2022_31Dec2022"
      decimals="4"
      id="x_59e71d5e-a13c-4946-a45b-8ed35b27d231"
      unitRef="pure">-0.2025</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009340_C000201767_01Jan2023_31Dec2023"
      decimals="4"
      id="x_6af1b5a8-db67-448b-9c04-aea069a1d025"
      unitRef="pure">0.2384</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009340_C000201767_01Jan2024_31Dec2024"
      decimals="4"
      id="x_73c32555-f897-4d90-80af-35440011de7e"
      unitRef="pure">0.2589</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009340_C000201767_01Jan2025_31Dec2025"
      decimals="4"
      id="fd65becb-57cd-4a1f-aa03-da3a89b61c60"
      unitRef="pure">0.1539</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2016_31Dec2016"
      decimals="4"
      id="x_1600eae3-bf3c-495e-a1e9-5497f9faed79"
      unitRef="pure">0.1317</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2017_31Dec2017"
      decimals="4"
      id="x_23e51986-dbd0-4837-8a67-a85d3331f8b4"
      unitRef="pure">0.1531</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2018_31Dec2018"
      decimals="4"
      id="x_98b288f7-2251-4f57-9eb0-6cf4e2942f1b"
      unitRef="pure">-0.0628</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2019_31Dec2019"
      decimals="4"
      id="c7c79750-e51b-489d-aef3-3e7f17e50fbe"
      unitRef="pure">0.2506</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2020_31Dec2020"
      decimals="4"
      id="f36238ef-d340-4352-97a6-240fb65b6c6a"
      unitRef="pure">0.1412</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2021_31Dec2021"
      decimals="4"
      id="ee1e2493-6d5d-4430-95bc-e8f0ddedf059"
      unitRef="pure">0.2282</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2022_31Dec2022"
      decimals="4"
      id="bd4e2b8f-0a5c-4ada-80f8-f881e0f75cef"
      unitRef="pure">-0.1453</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2023_31Dec2023"
      decimals="4"
      id="x_1bfb6459-847c-4062-bc4a-a7afc0f7fb1b"
      unitRef="pure">0.2134</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2024_31Dec2024"
      decimals="4"
      id="x_7b8590ea-4205-486a-a8ce-cbe55212515b"
      unitRef="pure">0.2221</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507_01Jan2025_31Dec2025"
      decimals="4"
      id="x_72880dc2-1869-4974-a2c7-2238cef2082c"
      unitRef="pure">0.1398</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009324_C000201766_01Jan2019_31Dec2019"
      decimals="4"
      id="x_67bed955-4808-43d5-84db-2668d12624fb"
      unitRef="pure">0.2507</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009324_C000201766_01Jan2020_31Dec2020"
      decimals="4"
      id="e9ca6976-eb8c-4020-bf23-1739cf74cdad"
      unitRef="pure">0.1405</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009324_C000201766_01Jan2021_31Dec2021"
      decimals="4"
      id="x_0a343793-dbf6-47a4-9d4b-e7b9f6e7817f"
      unitRef="pure">0.2293</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009324_C000201766_01Jan2022_31Dec2022"
      decimals="4"
      id="x_46b9d99c-12d7-42a9-9b7d-5777cd263d1f"
      unitRef="pure">-0.1459</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009324_C000201766_01Jan2023_31Dec2023"
      decimals="4"
      id="ea5f7b07-346e-449f-9314-59dfa449c1bc"
      unitRef="pure">0.2144</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009324_C000201766_01Jan2024_31Dec2024"
      decimals="4"
      id="x_327835e8-196f-4321-b15d-f3c2cbbcc1d3"
      unitRef="pure">0.2215</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000009324_C000201766_01Jan2025_31Dec2025"
      decimals="4"
      id="f5247edb-3fdb-4165-baf4-cda3716ef779"
      unitRef="pure">0.1400</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2016_31Dec2016"
      decimals="4"
      id="x_0919ca75-01c5-4a80-9c4f-5450c5e0da55"
      unitRef="pure">0.1232</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2017_31Dec2017"
      decimals="4"
      id="x_15b49348-a92c-4dd3-b355-b90b8616b5a4"
      unitRef="pure">0.0428</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2018_31Dec2018"
      decimals="4"
      id="a23e0e1b-845b-45fb-a9e7-76be2f0c7e90"
      unitRef="pure">-0.1489</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2019_31Dec2019"
      decimals="4"
      id="x_122105cf-b001-48cc-a2b7-e9840f90d5de"
      unitRef="pure">0.1677</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2020_31Dec2020"
      decimals="4"
      id="x_6fa5a827-8a0c-4fcd-b80f-a0d336fe56a4"
      unitRef="pure">-0.2296</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2021_31Dec2021"
      decimals="4"
      id="x_390526e4-98c1-4e29-a8c3-6a0c765dd364"
      unitRef="pure">0.3352</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2022_31Dec2022"
      decimals="4"
      id="a8d52ad7-b59f-4c7c-ad1c-4369807c2df1"
      unitRef="pure">0.1575</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2023_31Dec2023"
      decimals="4"
      id="x_0a459572-248a-434b-9bcd-4c51a27cb19f"
      unitRef="pure">-0.0965</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2024_31Dec2024"
      decimals="4"
      id="f6d1818b-a38d-4acc-949e-8c74275c91e4"
      unitRef="pure">0.0586</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360_01Jan2025_31Dec2025"
      decimals="4"
      id="c6f77147-e218-4b5d-be6e-10e5a7d065bd"
      unitRef="pure">0.1526</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000015787_C000201770_01Jan2019_31Dec2019"
      decimals="4"
      id="x_1f305e57-3226-4132-b410-8fc88b9d5b45"
      unitRef="pure">0.1673</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000015787_C000201770_01Jan2020_31Dec2020"
      decimals="4"
      id="ef491bdc-bbe2-4ed9-9094-ac4ba02b6b27"
      unitRef="pure">-0.2284</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000015787_C000201770_01Jan2021_31Dec2021"
      decimals="4"
      id="x_76d6bdc3-9c73-404f-a721-be94d6ca5988"
      unitRef="pure">0.3346</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000015787_C000201770_01Jan2022_31Dec2022"
      decimals="4"
      id="b6e86eff-678b-4f71-aa69-71af72f7583d"
      unitRef="pure">0.1584</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000015787_C000201770_01Jan2023_31Dec2023"
      decimals="4"
      id="c8b8c8b2-7ee5-427e-b2e2-93c8010e5578"
      unitRef="pure">-0.0972</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000015787_C000201770_01Jan2024_31Dec2024"
      decimals="4"
      id="x_2fd9a45a-1c5b-40a2-abb4-ef81c123fd01"
      unitRef="pure">0.0586</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000015787_C000201770_01Jan2025_31Dec2025"
      decimals="4"
      id="b0a738ec-c7a6-4e54-87d1-0eb28ad3df28"
      unitRef="pure">0.1523</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2017_31Dec2017"
      decimals="4"
      id="x_80dd3566-7b57-44fa-ad58-736f0e3eaae9"
      unitRef="pure">0.1272</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2018_31Dec2018"
      decimals="4"
      id="d7e9e68f-3f35-459c-94e5-b5e2998d572f"
      unitRef="pure">-0.0889</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2019_31Dec2019"
      decimals="4"
      id="cd892ad2-bf80-4b28-a4cc-29a1f9558920"
      unitRef="pure">0.3166</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2020_31Dec2020"
      decimals="4"
      id="da85272d-34fb-4daf-b9ee-92247afdd9c9"
      unitRef="pure">-0.0363</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2021_31Dec2021"
      decimals="4"
      id="x_9340070b-4068-400d-9933-11ee3e0eeb42"
      unitRef="pure">0.1650</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2022_31Dec2022"
      decimals="4"
      id="x_9a85e7cd-d325-4416-bbeb-2fa9a4d350f4"
      unitRef="pure">-0.0724</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2023_31Dec2023"
      decimals="4"
      id="x_431cfd7b-a374-4348-83c1-ddf71f154cb6"
      unitRef="pure">0.0513</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2024_31Dec2024"
      decimals="4"
      id="x_08387c0c-a7c9-4801-af1e-aae7a26e4b42"
      unitRef="pure">0.1129</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642_01Jan2025_31Dec2025"
      decimals="4"
      id="x_62e4efc7-4fbb-445b-be60-89bb9ca5456a"
      unitRef="pure">0.1536</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000050577_C000201776_01Jan2019_31Dec2019"
      decimals="4"
      id="x_629cd028-b858-4466-aac1-e62006c77c03"
      unitRef="pure">0.3177</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000050577_C000201776_01Jan2020_31Dec2020"
      decimals="4"
      id="c1cd9697-87df-482e-b70e-ca0a73361c6b"
      unitRef="pure">-0.0372</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000050577_C000201776_01Jan2021_31Dec2021"
      decimals="4"
      id="x_4925d3fd-cb9b-40ec-812c-908980a60e19"
      unitRef="pure">0.1666</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000050577_C000201776_01Jan2022_31Dec2022"
      decimals="4"
      id="c6d1c130-f1c0-4ecb-be8a-9b17cb7fab94"
      unitRef="pure">-0.0732</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000050577_C000201776_01Jan2023_31Dec2023"
      decimals="4"
      id="x_160c2b4c-adec-4e38-a769-141091e1a000"
      unitRef="pure">0.0517</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000050577_C000201776_01Jan2024_31Dec2024"
      decimals="4"
      id="x_86bc9e65-a206-46da-bf85-33351413d4c5"
      unitRef="pure">0.1125</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000050577_C000201776_01Jan2025_31Dec2025"
      decimals="4"
      id="d5af0a33-2e03-497a-a83b-f8e63d335a41"
      unitRef="pure">0.1553</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2016_31Dec2016"
      decimals="4"
      id="efd0a64c-b0da-4e53-afcd-3b59f735e8a9"
      unitRef="pure">0.0482</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2017_31Dec2017"
      decimals="4"
      id="x_99fee9f6-d881-4bf5-9acb-04e0dbbbe6ed"
      unitRef="pure">0.0746</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2018_31Dec2018"
      decimals="4"
      id="x_6e702e41-e935-4cd6-b23b-515ff2c8edcc"
      unitRef="pure">-0.0247</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2019_31Dec2019"
      decimals="4"
      id="c4d3e677-76c8-496e-961f-e99fc77aaa63"
      unitRef="pure">0.1091</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2020_31Dec2020"
      decimals="4"
      id="x_284fb671-d092-41ea-b6ec-f2a28fdd974e"
      unitRef="pure">0.0360</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2021_31Dec2021"
      decimals="4"
      id="x_2d4b77f5-438f-4690-ba9a-a0544296188d"
      unitRef="pure">0.0648</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2022_31Dec2022"
      decimals="4"
      id="x_807b3a0d-2154-4099-8b90-fb7e0ab6e46b"
      unitRef="pure">-0.0627</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2023_31Dec2023"
      decimals="4"
      id="x_7c90d67a-dda7-4b9b-8f38-4dd5db116795"
      unitRef="pure">0.1083</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2024_31Dec2024"
      decimals="4"
      id="x_0a8a47dd-accc-447e-8fa0-5c5a4afe15ba"
      unitRef="pure">0.0702</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078_01Jan2025_31Dec2025"
      decimals="4"
      id="x_823b2a64-57ea-4be5-abf3-ff59801fb7c0"
      unitRef="pure">0.0971</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000020314_C000201773_01Jan2019_31Dec2019"
      decimals="4"
      id="x_512dd36c-7f77-4a15-9ad6-5715941e99fc"
      unitRef="pure">0.1093</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000020314_C000201773_01Jan2020_31Dec2020"
      decimals="4"
      id="x_013b453a-43e4-41fc-a480-dee79b1a70c4"
      unitRef="pure">0.0361</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000020314_C000201773_01Jan2021_31Dec2021"
      decimals="4"
      id="e707beb0-7cfd-4fcd-8c0d-6f311661ca69"
      unitRef="pure">0.0648</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000020314_C000201773_01Jan2022_31Dec2022"
      decimals="4"
      id="x_285e0bb5-4b6a-4bf3-b6ce-359b419614bd"
      unitRef="pure">-0.0616</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000020314_C000201773_01Jan2023_31Dec2023"
      decimals="4"
      id="x_47aa0033-635a-456a-bbca-713b896cef4c"
      unitRef="pure">0.1072</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000020314_C000201773_01Jan2024_31Dec2024"
      decimals="4"
      id="x_82a0fed3-13a7-4e51-a587-d91144fe708c"
      unitRef="pure">0.0715</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000020314_C000201773_01Jan2025_31Dec2025"
      decimals="4"
      id="x_50f2b77e-445d-484d-b88e-ef9727169df6"
      unitRef="pure">0.0971</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2016_31Dec2016"
      decimals="4"
      id="x_94174441-313b-4c64-add1-3e10167b749a"
      unitRef="pure">-0.0068</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2017_31Dec2017"
      decimals="4"
      id="fe755e1d-0e02-4532-ae44-5b37aa9da958"
      unitRef="pure">0.0255</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2018_31Dec2018"
      decimals="4"
      id="a31b7227-d6c7-4875-ae54-efee22628083"
      unitRef="pure">-0.0224</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2019_31Dec2019"
      decimals="4"
      id="cd4a5a0f-dcc8-4b3e-9278-4301e7b48d89"
      unitRef="pure">0.0260</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2020_31Dec2020"
      decimals="4"
      id="x_30c66cdf-7bb7-4cdd-84a2-de69df8c6cef"
      unitRef="pure">0.0692</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2021_31Dec2021"
      decimals="4"
      id="x_3471f5c7-38c3-439b-9310-af20dd1d68d2"
      unitRef="pure">0.0483</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2022_31Dec2022"
      decimals="4"
      id="x_647a235c-e6a9-4bf0-8e08-d514b97951d4"
      unitRef="pure">0.2043</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2023_31Dec2023"
      decimals="4"
      id="x_5d1759eb-d087-40c3-8217-9fa85b464fb9"
      unitRef="pure">-0.0387</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2024_31Dec2024"
      decimals="4"
      id="x_419c8801-6e96-4a64-9a1b-6117bf3b1c84"
      unitRef="pure">-0.0515</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197_01Jan2025_31Dec2025"
      decimals="4"
      id="x_34c2aec5-0e08-4f18-ac73-5ac5e6c68b12"
      unitRef="pure">0.0054</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000034856_C000201775_01Jan2019_31Dec2019"
      decimals="4"
      id="x_1384d7f5-435f-44b1-ab07-b232525b98ec"
      unitRef="pure">0.0271</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000034856_C000201775_01Jan2020_31Dec2020"
      decimals="4"
      id="ebb573a2-ff6d-42e8-b167-ba8d11c43fd2"
      unitRef="pure">0.0695</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000034856_C000201775_01Jan2021_31Dec2021"
      decimals="4"
      id="db6d3413-05a1-473a-a61f-0c9b27b08a3d"
      unitRef="pure">0.0498</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000034856_C000201775_01Jan2022_31Dec2022"
      decimals="4"
      id="x_235adb54-2198-41fb-b1eb-c00139cf12bc"
      unitRef="pure">0.2062</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000034856_C000201775_01Jan2023_31Dec2023"
      decimals="4"
      id="a88f65b4-0251-45c3-ab0c-c19a7a394fd9"
      unitRef="pure">-0.0378</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000034856_C000201775_01Jan2024_31Dec2024"
      decimals="4"
      id="x_451e119c-baf2-47ad-b2c8-19adf86e059a"
      unitRef="pure">-0.0498</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="ClassPSharesMember_S000034856_C000201775_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1f3356e2-8b7d-444b-87a5-04679dda77b1"
      unitRef="pure">0.0064</oef:AnnlRtrPct>
    <dei:EntityInvCompanyType
      contextRef="D_31Dec2025_31Dec2025"
      id="apid_2fe02d38-e232-4c7a-b8bf-3e6d7818cb0f">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName
      contextRef="D_31Dec2025_31Dec2025"
      id="apid_69ef6e8c-a28d-4857-9d92-3aa24c20069f">GOLDMAN SACHS TRUST</dei:EntityRegistrantName>
    <oef:ProspectusDate
      contextRef="D_31Dec2025_31Dec2025"
      id="apid_3c38fd8f-8998-43d0-8700-aaeaeaf674a9">2026-04-30</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="c14b1b71-69e5-4900-826f-7f0ae84c75bc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Absolute Return Tracker Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="b8e4794e-82f8-4751-b2eb-f88e62a2bf89">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="c17f6e1f-a1d9-40cc-9113-b12bdb65178d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Absolute Return Tracker Fund (the &#x201c;Fund&#x201d;) seeks to deliver long-term total return consistent with investment results that approximate the return and risk patterns of a diversified universe of hedge funds.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="faff5033-0b2a-432f-91a0-f35f3325fc49">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_5fc69653-3219-4618-a4a9-e682c0ac16b7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 54 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 105 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_126d75d8-a258-4d40-aad2-67274a548214">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 54 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 105 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      decimals="INF"
      id="x_09f93b83-3d8c-4bbd-abce-b2b511aa38c9"
      unitRef="USD">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_218edc23-d597-43d0-8156-1c067da6ff6a">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="x_2217eb00-6b1e-40e0-bb26-2c364756b8c4"
      unitRef="pure">0.0550</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_08b7be7f-d655-42cc-be4a-10bcff599e79"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="e413c916-10eb-4d33-bd3e-ca1ba33a32c8"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="f8a3fb1b-cc2e-4f21-a799-4c62e3ce9f91"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="dd527f81-9514-4228-923e-d3c1c9d19d21"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="f9aaf6cb-5bc5-470f-b61f-f6ac99d81329"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="ffc769b1-d3b9-4239-a162-9ce54c2f8c6f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_958cffc8-56b3-4329-a465-06007920f232"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_80b3fc34-20f3-475e-9740-f0e021539d8d"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="x_1d186c91-7e3f-4396-b754-7498d2011267"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_59f7ad72-3c4c-4824-8136-49b863eec57d"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="x_54220d40-df7e-4614-bd8c-1a86149cc33c"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="c5e77d7f-b352-4c99-9201-cf461d80012e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="x_5ed82314-f5f8-4587-90bf-cd3c891e9aa0"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_53282964-2d2d-4ffa-a4ce-d44e8ff4d072"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_7c5e0692-0d4f-4418-8894-551843ef5aaa"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="x_8870254c-3d8a-4523-84bc-7a25ce25c450"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_6a736259-5ab2-4f2e-a6e3-f88fc60203cf"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="a98aa3c0-4467-4494-b191-5fc0b5005768"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="cc9f61c3-e9b6-462e-a359-bbab73e76bde"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="bb749498-7e38-46c6-9055-79706d66015b"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_786a5308-0311-413f-aa0c-dcdda2c9df72"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="c297a0bc-2531-49b9-8b71-4fdf0e33ad78"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_0b81f905-cb53-4f74-9b32-279a427c1a42"
      unitRef="pure">0.0050</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="x_5dbbdda2-1f7c-45a5-89b4-ccfdbfb0fb7f"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="x_13e84295-9441-44d2-98c9-1c1814ec99b7"
      unitRef="pure">0.0019</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="e15c04b3-d3cc-4df4-a2f7-8ab966a220e4"
      unitRef="pure">0.0044</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="c6eba9db-542f-466e-a84a-f0fdbf9cadc8"
      unitRef="pure">0.0008</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="x_7e5a53bb-c488-4225-bbf4-4a53b0e5da50"
      unitRef="pure">0.0019</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_62d55885-ff5c-45d7-8ce8-9d7681b59e59"
      unitRef="pure">0.0019</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="x_35d4db08-134b-47ec-ada9-6b8e4aa768a3"
      unitRef="pure">0.0007</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="x_7fa5220c-13fd-47a7-858b-8102d29261f1"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_0e8aa28f-ef1a-42dc-9828-b81ffaa559f0"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_2447ceb0-c89e-448c-b62e-205dae4b7a2f"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="x_1cd317c8-f858-4b64-8f09-f4409b2e6075"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_518313e2-9232-4b2b-997c-4037b9a8bc4d"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="a60c42e9-870f-4a59-993b-c3aeaea4088f"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="x_5f7fb016-f477-4926-bed3-acc7b352304f"
      unitRef="pure">0.0019</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_463b9f0e-1303-4ab8-ac63-b831c67f93be"
      unitRef="pure">0.0019</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_6f006ce0-6ef5-40fa-b939-21de1bd8f2b9"
      unitRef="pure">0.0008</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="a866abd7-eaf9-4b05-a8a0-136ea77edbd6"
      unitRef="pure">0.0019</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_409d3da8-9ec8-4d82-9b0f-ca53a950786d"
      unitRef="pure">0.0019</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="x_46e0ddb7-2e62-4660-a26a-9a8f92946381"
      unitRef="pure">0.0007</oef:Component3OtherExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="x_0408b33e-b9d8-4861-b81a-5a5e2ed0771d"
      unitRef="pure">0.0009</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_093209be-c21d-45e6-bdd1-f7ebb096c742"
      unitRef="pure">0.0009</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="b9ada37a-517e-4fba-a538-66d5c6d06c74"
      unitRef="pure">0.0009</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="ccfeac65-b9ba-4c58-a99c-9e35f7ef6c81"
      unitRef="pure">0.0009</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_4362829e-00c1-4e30-a64b-790b54e046ee"
      unitRef="pure">0.0009</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="da92867f-2b78-4c44-a0aa-a3ee413a032e"
      unitRef="pure">0.0009</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="x_9a0c4be5-4aa9-4cb8-87fa-560ffd8c0f05"
      unitRef="pure">0.0116</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_6b10dc8b-8921-4bb5-898d-80e79d73c75b"
      unitRef="pure">0.0191</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_92b284ae-b999-412a-8511-f043a11315f9"
      unitRef="pure">0.0080</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="dcce492f-812a-4262-9ed3-728c029020ae"
      unitRef="pure">0.0091</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_241562c7-2b22-4d8c-b245-c680d6b77e81"
      unitRef="pure">0.0141</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="x_34b0f4ce-7bb5-4ab6-bec7-395c162b5fd9"
      unitRef="pure">0.0079</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="ab2f7ecc-8337-48f5-8eb7-bd2953154526"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_33d123d6-164b-43fb-9168-7325dd9906a5"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="d3a8706c-8150-44b9-a57f-c6671cd92074"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="x_80cb14e9-cf16-4157-a266-75f6d6e04a01"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_44800fc6-1787-4ac3-8c6d-7ecb9684d6c6"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="x_8bcee0a9-8f22-4f5d-aba9-209a5286aa16"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="4"
      id="f988ced6-5b18-498a-8396-bb3842a3408a"
      unitRef="pure">0.0110</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="4"
      id="x_1680ec58-6102-4ef8-803b-cfee90c43d58"
      unitRef="pure">0.0185</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_3b7f1c89-8e61-4c1a-9684-3aba2eaf265f"
      unitRef="pure">0.0074</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="4"
      id="x_9eac16ee-8319-4a21-83c9-3dd4f3e7993c"
      unitRef="pure">0.0085</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="4"
      id="x_5df2e4ea-164b-4e00-a366-61a03ac3bc65"
      unitRef="pure">0.0135</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="4"
      id="x_7371fb45-8478-467a-a4be-59124a1fb0f0"
      unitRef="pure">0.0073</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="a4d79b42-a7a1-4099-b544-b0235da4d26e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="ede01e8d-81ed-4511-a2f2-74c7ffa95888">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;&lt;/span&gt;</oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_3bc10bbf-0c49-4835-9407-d0037da35b23">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_9c12ee97-84b8-4739-ba8e-0e0a2f2281ad">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="fd1ce06a-57b1-445b-bd86-aa3b6274020e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Investor, Class R and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Investor, Class R and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same (except that the Example incorporates the fee waiver and expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="INF"
      id="d63914a2-9aa9-40b9-897a-249c72a6e6b3"
      unitRef="USD">656</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="INF"
      id="x_05212853-6f94-4551-84d9-4af895074e38"
      unitRef="USD">893</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="INF"
      id="af3f4126-181f-4109-9832-0e338dce0275"
      unitRef="USD">1148</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057076"
      decimals="INF"
      id="x_73ae3e5e-c836-4cd8-b82e-f4dd4f3454f6"
      unitRef="USD">1876</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="INF"
      id="ed15eeee-3302-4727-a469-14b04e3d5fe4"
      unitRef="USD">288</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="INF"
      id="x_4f36b336-ce96-4b0d-9e55-71eeb04f34de"
      unitRef="USD">594</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="INF"
      id="x_1d4ed760-9f56-4dc3-9b27-b78b4209e537"
      unitRef="USD">1026</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="INF"
      id="b4d74165-a487-4b98-94db-eb44f9033f8a"
      unitRef="USD">2228</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="INF"
      id="x_7fca5285-0400-4d42-984e-92841562150e"
      unitRef="USD">76</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="INF"
      id="b6ea3b90-8a2e-47ad-ae50-9353b55d32b5"
      unitRef="USD">249</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="INF"
      id="b50544dc-7e76-4dbf-a159-6b99f00eb0f5"
      unitRef="USD">438</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="INF"
      id="a0bc0923-e137-44d1-befb-50b6658087c6"
      unitRef="USD">984</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="INF"
      id="x_5c8bdc6d-e70d-4cd5-b43e-7449be3b4ecf"
      unitRef="USD">87</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="INF"
      id="x_0ae5e717-c086-4d07-a05c-ea01ac85d8c2"
      unitRef="USD">284</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="INF"
      id="ef9fc3d4-0d21-47ba-b214-aae60b77ff27"
      unitRef="USD">498</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066744"
      decimals="INF"
      id="d443a252-278d-49ab-a8d9-dbb68857bb00"
      unitRef="USD">1114</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="INF"
      id="x_488327e1-2a1b-48c4-bc36-bdc52308f318"
      unitRef="USD">137</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="INF"
      id="c6e2d59d-14c7-4fd9-9d1b-686d17e5fa75"
      unitRef="USD">440</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="INF"
      id="a82cbb3a-3c19-4078-8b81-fc929877d81b"
      unitRef="USD">765</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000066743"
      decimals="INF"
      id="x_25b65318-529d-4a6e-b5a6-101b690beaef"
      unitRef="USD">1686</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="INF"
      id="e4758781-7dfd-405e-97d0-3bb9a00f1ce8"
      unitRef="USD">75</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="INF"
      id="e404d329-7395-43ac-b2d3-24f13208e869"
      unitRef="USD">246</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="INF"
      id="x_3260edd8-9097-4bf0-8e66-b8270a444e95"
      unitRef="USD">433</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000161524"
      decimals="INF"
      id="d6aeddfa-3663-4184-86fa-45a43f30ad05"
      unitRef="USD">972</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      id="x_34989b26-4132-4669-b9b9-7764b7073554">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="INF"
      id="x_95b821a1-d244-4c4d-a948-11539a463928"
      unitRef="USD">188</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="INF"
      id="x_7d90c0de-fb09-46b9-9d2c-7af4140f7696"
      unitRef="USD">594</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="INF"
      id="x_09064578-0be9-4cf9-b403-b3a97c1c4264"
      unitRef="USD">1026</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057077"
      decimals="INF"
      id="x_7607eed1-54bd-4228-be19-b8908b431dd1"
      unitRef="USD">2228</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_19f87bc5-bc92-4264-966b-c4db8c25afc0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_01585cf6-2f70-4d3a-9652-dff16146596b">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;134&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      decimals="4"
      id="x_095d1ee2-383e-4d3c-9ac5-ac879280ad8f"
      unitRef="pure">1.34</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_4c1bc132-187a-45c8-ac3e-3472c7a91c1d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_2d07a14d-ff5b-42f0-bf86-3d5d5d728766">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s Investment Adviser believes that hedge funds derive a large portion of their returns from exposure to sources of market risk (&#x201c;Market Exposures&#x201d;) and &#x201c;Trading Strategies&#x201d; involving long and/or short positions in Market Exposures and/or individual securities or baskets of securities. In seeking to meet its investment objective, the Fund uses a dynamic investment process to seek to identify the appropriate weights to Market Exposures and Trading Strategies that approximate the return and risk patterns of specific hedge fund sub-strategies. The hedge fund sub-strategies whose returns the Fund seeks to approximate include, but are not limited to, Equity Long Short, Event Driven, Relative Value and Macro sub-strategies (each a &#x201c;Hedge Fund Sub-Strategy&#x201d;). To establish the Market Exposures and Trading Strategies that drive the returns of the Hedge Fund Sub-Strategies, the Investment Adviser uses industry analysis of hedge funds, including hedge fund return databases, prime brokerage reports, industry participants and regulatory filings and other public sources. The Investment Adviser then applies a quantitative methodology, in combination with a qualitative overlay, to assess the appropriate weight to each Market Exposure and Trading Strategy. The Fund may seek to establish long and/or short positions in a multitude of Market Exposures, including but not limited to: &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;U.S. and non-U.S. (including emerging market) equity indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;U.S. and non-U.S. (including emerging market) fixed income indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Credit indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Interest rates; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Commodity indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Master limited partnership (&#x201c;MLP&#x201d;) indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Foreign currency exchange rates; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Baskets of top positions held by hedge funds; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Single stocks and single commodities; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Volatility; and &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Market momentum/trends. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests in instruments that the Investment Adviser believes will assist the Fund in gaining exposure to the Market Exposures. The instruments in which the Fund may invest include, but are not limited to: &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Equity securities (including securities that may convert into equity securities); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;U.S. corporate bonds and other fixed income securities (including non-investment grade fixed income securities (commonly known as &#x201c;junk bonds&#x201d;)); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Futures (including equity index futures, interest rate futures, bond futures and volatility futures); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Swaps (including total or excess return swaps and credit default swaps on indices); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Options (including listed equity index put and call options, listed government bond future put and call options, options on volatility, and swaptions); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Structured notes (including commodity-linked notes); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Exchange-traded funds (&#x201c;ETFs&#x201d;); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Forward contracts (including currency forward contracts on developed and emerging markets currencies); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Wholly-owned subsidiary (to gain exposure to the commodities markets); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Asset and mortgage-backed securities and real estate investment trusts (&#x201c;REITs&#x201d;); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;U.S. government securities, including agency debentures, and other high quality debt securities; and &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Cash equivalents. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Investment in the Subsidiary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund seeks to gain exposure to the commodities markets by investing in a wholly-owned subsidiary of the Fund organized as a limited liability company under the laws of the Cayman Islands, Cayman Commodity &#x2013; ART, LLC (the &#x201c;ART Subsidiary&#x201d;). The ART Subsidiary is advised by the Investment Adviser and seeks to gain commodities exposure. The Fund may invest up to 25% of its total assets in the ART Subsidiary. The ART Subsidiary primarily obtains its commodity exposure by investing in commodity-linked derivative instruments (which may include total or excess return swaps on commodity indexes, sub-indexes and single commodities, as well as commodity (U.S. or foreign) futures, commodity options and commodity-linked notes). Commodity-linked swaps are derivative instruments whereby the cash flows agreed upon between counterparties are dependent upon the price of the underlying commodity or commodity index over the life of the swap. Commodity futures contracts are standardized, exchange-traded contracts that provide for the sale or purchase of, or economic exposure to the price of, a commodity or a specified basket of commodities at a future time. An option on commodities gives the purchaser the right (and the writer of the option the obligation) to assume a position in a commodity or a specified basket of commodities at a specified exercise price within a specified period of time. The value of these commodity-linked derivatives will rise and fall in response to changes in the underlying commodity or commodity index. Commodity-linked derivatives expose the ART Subsidiary and the Fund economically to movements in commodity prices. Such instruments may be leveraged so that small changes in the underlying commodity prices would result in disproportionate changes in the value of the instrument. Neither the Fund nor the ART Subsidiary invests directly in physical commodities. The ART Subsidiary may also invest in other instruments, including fixed income securities, either as investments or to serve as margin or collateral for its swap positions, as well as volatility index derivatives and foreign currency transactions (including forward contracts). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may from time to time hold foreign currencies. Additionally, as a result of the Fund&#x2019;s use of derivatives, the Fund may also hold as collateral significant amounts of U.S. Treasury or short-term investments, including money market funds, repurchase agreements, cash and time deposits. In managing the collateral portion of the Fund&#x2019;s investment strategy, the Investment Adviser generally seeks capital preservation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The weighting of a Market Exposure or Trading Strategy within the Fund may be positive or negative. A negative weighting will result from establishing a short position with respect to a Market Exposure or Trading Strategy. As a result of the Fund&#x2019;s negative weightings in various Market Exposures or Trading Strategies from time to time, the Fund&#x2019;s net asset value (&#x201c;NAV&#x201d;) per share may decline during certain periods, even if the value of any or all of the Market Exposures or Trading Strategies increases during that time. Additionally, the sum of the Fund&#x2019;s target weightings to each Market Exposure or Trading Strategy may not equal 100%. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary investment model, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to the quantitative methodology used by the Fund, and the Fund may use other proprietary methodologies based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund does not invest in hedge funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the ICE BofAML Three-Month U.S. Treasury Bill Index.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_RiskLoseMoneyMember"
      id="x_0ba8d115-4ada-40d7-9cdb-80eb5cb63b04">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_RiskNotInsuredDepositoryInstitutionMember"
      id="x_2d6d68b1-d619-46b9-8673-ae067e66f7f4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_AbsenceofRegulationRiskMember"
      id="x_28a496ac-f8f9-499f-ba6d-a11831fcaf49">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Absence of Regulation Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund engages in over-the-counter (&#x201c;OTC&#x201d;) transactions, which trade in a dealer network, rather than on an exchange. In general, there is less governmental regulation and supervision of transactions in the OTC markets than of transactions entered into on organized exchanges.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_CommoditySectorRiskMember"
      id="x_173b2bcd-5ee5-443a-9100-e936e14a7aa2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Commodity Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Exposure to the commodities markets may subject the Fund to greater volatility than investments in more traditional securities. The value of commodity-linked investments may be affected by changes in overall market movements, commodity index volatility, changes in interest rates, or factors affecting a particular industry or commodity, such as drought, floods, weather, livestock disease, embargoes, tariffs and international economic, business,&#160;political and regulatory developments. The prices of energy, industrial metals, precious metals, agriculture and livestock sector commodities may fluctuate widely due to factors such as changes in value, supply and demand and governmental regulatory policies. The commodity-linked investments in which the ART Subsidiary enters into may involve counterparties in the financial services sector, and events affecting the financial services sector may cause the &#160;ART Subsidiary's, and therefore the Fund&#x2019;s, share value to fluctuate.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_CounterpartyRiskMember"
      id="b2956b2f-d8b3-4b37-9e6c-a654d1ee9326">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Counterparty Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Many of the protections afforded to cleared transactions, such as the security afforded by transacting through a clearing house, might not be available in connection with OTC transactions. Therefore, in those instances in which the Fund enters into uncleared OTC transactions, the Fund will be subject to the risk that its direct counterparty will not perform its obligations under the transactions and that the Fund will sustain losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_CreditDefaultRiskMember"
      id="x_514024fe-cc77-4a77-bbfb-50c04c7094e9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of fixed income securities or instruments held by the Fund (which may have low credit ratings) may default on its obligation to pay interest and repay principal or default on any other obligation. The credit quality of the Fund&#x2019;s portfolio securities or instruments may meet the Fund&#x2019;s credit quality requirements at the time of purchase but then deteriorate thereafter, and such a deterioration can occur rapidly. In certain instances, the downgrading or default of a single holding or guarantor of the Fund&#x2019;s holding may impair the Fund&#x2019;s liquidity and have the potential to cause significant deterioration in net asset value (&#x201c;NAV&#x201d;). These risks are heightened in market environments where interest rates are rising as well as in connection with the Fund&#x2019;s investments in non-investment grade fixed income securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_DerivativesRiskMember"
      id="x_383e8e0e-c276-4461-b7f6-fa9045d59814">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Derivatives Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s use of options, futures, forwards, swaps, options on swaps, structured securities and other derivative instruments may result in losses. These instruments, which may pose risks in addition to and greater than those associated with investing directly in securities, currencies or other instruments, may be illiquid or less liquid, volatile, difficult to price and leveraged so that small changes in the value of underlying instruments may produce disproportionate losses to the Fund. Certain derivatives are also subject to counterparty risk, which is the risk that the other party in the transaction will not fulfill its contractual obligations. The use of derivatives is a highly specialized activity that involves investment techniques and risks different from those associated with investments in more traditional securities and instruments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_ExpensesRiskMember"
      id="bd31ab9a-ca06-4466-afa2-d5096669dd78">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Expenses Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;By investing in pooled investment vehicles (including investment companies and exchange-traded funds (&#x201c;ETFs&#x201d;)), partnerships, and real estate investment trusts (&#x201c;REITs&#x201d;) (&#x201c;Underlying Funds&#x201d;) indirectly through the Fund, the investor will incur not only a proportionate share of the expenses of those Underlying Funds held by the Fund (including operating costs and investment management fees), but also the expenses of the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_ForeignandEmergingCountriesRiskMember"
      id="x_38f1ffa2-174b-4110-a0be-c21f4fd32196">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign and Emerging Countries Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls (including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency exchange rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time. These risks are more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in, or otherwise economically tied to, emerging countries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_InterestRateRiskMember"
      id="x_82699b46-0905-446b-a24f-1e33ebd56970">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, fixed income securities or instruments held by the Fund will generally decline in value. Long-term fixed income securities or instruments will normally have more price volatility because of this risk than short-term fixed income securities or instruments. Changing interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. In addition, changes in monetary policy may exacerbate the risks associated with changing interest rates. Funds with longer average portfolio durations will generally be more sensitive to changes in interest rates than funds with a shorter average portfolio duration. Fluctuations in interest rates may also affect the liquidity of fixed income securities and instruments held by the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_InvestingintheUnderlyingFundsMember"
      id="x_2711c352-1b50-44aa-b58b-e39409bfa6ef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investing in the Underlying Funds.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The investments of the Fund may be concentrated in one or more Underlying Funds (including ETFs and other registered investment companies) subject to limitations and/or conditions prescribed by the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;), or rules, regulations or exemptive relief thereunder. The Fund&#x2019;s investment &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;performance is directly related to the investment performance of the Underlying Funds it holds. The Fund is subject to the risk factors associated with the investments of the Underlying Funds in direct proportion to the amount of assets allocated to each. If the Fund has a relative concentration of its portfolio in a single Underlying Fund, it may be more susceptible to adverse developments affecting that Underlying Fund and may be more susceptible to losses because of these developments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_InvestmentStyleRiskMember"
      id="x_817bd4ab-7640-42a4-afed-7830db874774">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (e.g., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund employs a &#x201c;quantitative&#x201d; style, and may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_LargeShareholderTransactionsRiskMember"
      id="e9f8c366-1065-4d6c-b51c-f91893327c4a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; NAV and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_LeverageRiskMember"
      id="x_1fabf1cb-da8a-476c-9c59-33c1a7f65829">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Leverage Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Borrowing and the use of derivatives may result in leverage and may make the Fund more volatile. The use of leverage may cause the Fund to liquidate portfolio positions to satisfy its obligations when it may not be advantageous to do so. The use of leverage by the Fund can substantially increase the adverse impact to which the Fund&#x2019;s investment portfolio may be subject.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_LiquidityRiskMember"
      id="x_8557a391-4c4b-4691-9939-d0a23554e75f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests or other reasons. To meet redemption requests, the Fund may be forced to sell &#160;investments at an unfavorable time and/or under unfavorable conditions. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities&#160;or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions&#160;from fixed income funds may be higher than normal, potentially causing increased supply in the market due to selling activity. These risks may be more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in emerging market countries.&#160;Redemptions by large shareholders may have a negative impact on the Fund&#x2019;s liquidity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_ManagementRiskMember"
      id="x_5bb616cd-6bfe-4eb2-891c-a7a0e77df5fe">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_MarketRiskMember"
      id="x_54d87a29-7bda-4975-87b3-806d0a0797cf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_MasterLimitedPartnershipRiskMember"
      id="cf521322-f0ae-4ffc-909b-088c6b92f443">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Master Limited Partnership Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Investments in securities of an MLP involve risks that differ from investments in common stock, including risks related to limited control and limited rights to vote on matters affecting the MLP. Certain MLP securities may trade in lower volumes due to their smaller capitalizations, and may be subject to more abrupt or erratic price movements and lower market liquidity. MLPs are generally considered interest-rate sensitive investments. During periods of interest rate volatility, these investments may not provide attractive returns. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Investments in securities of an MLP also include tax-related risks. For example, to the extent a distribution received by the Fund from an MLP is treated as a return of capital, the Fund&#x2019;s adjusted tax basis in the interests of the MLP may be reduced, which will result in an increase in an amount of income or gain (or decrease in the amount of loss) that will be recognized by the Fund for tax purposes upon the sale of any such interests or upon subsequent distributions in respect of such interests.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_MidCapandSmallCapRiskMember"
      id="x_48fc4a84-3e76-44cf-b9e7-5f227a97326d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Mid-Cap and Small-Cap Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Investments in mid-capitalization and small-capitalization companies involve greater risks than those associated with larger, more established companies. These securities may be subject to more abrupt or erratic price movements and may lack sufficient market liquidity, and these issuers often face greater business risks.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_NonHedgingForeignCurrencyTradingRiskMember"
      id="ca997278-87ff-4ac9-8724-7a1dae89b7a4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Non-Hedging Foreign Currency Trading Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may engage in forward foreign currency transactions for hedging and non-hedging purposes. The Investment Adviser may purchase or sell foreign currencies through the use of forward contracts based on the Investment Adviser's judgment regarding the direction of the market for a particular foreign currency or currencies. In pursuing this strategy, the Investment Adviser seeks to profit from anticipated movements in currency rates by establishing &#x201c;long&#x201d; and/or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;&#x201c;short&#x201d; positions in forward contracts on various foreign currencies. Foreign exchange rates can be extremely volatile and a variance in the degree of volatility of the market or in the direction of the market from the Investment Adviser's expectations may produce significant losses to the Fund. Some of these transactions may also be subject to interest rate risk.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_OtherInvestmentCompaniesRiskMember"
      id="x_76794022-8e69-4ce0-b5ab-62fe50abc670">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Other Investment Companies Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; By investing in other investment companies (including ETFs) indirectly through the Fund, investors will incur a proportionate share of the expenses of the other investment companies held by the Fund (including operating costs and investment management fees) in addition to the fees regularly borne by the Fund. In addition, the Fund will be affected by the investment policies, practices and performance of such investment companies in direct proportion to the amount of assets the Fund invests therein.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_PortfolioTurnoverRateRiskMember"
      id="x_856db875-7416-41ec-ae00-281697cc6a72">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders, and is also likely to result in short-term capital gains taxable to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_ShortPositionRiskMember"
      id="b11977c1-ad7f-460a-ab25-7d3bd8d433c8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Short Position Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may enter into a short position through a futures contract, an option or swap agreement or through short sales of any instrument that the Fund may purchase for investment. Taking short positions involves leverage of the Fund&#x2019;s assets and presents various risks. If the value of the underlying instrument or market in which the Fund has taken a short position increases, then the Fund will incur a loss equal to the increase in value from the time that the short position was entered into plus any related interest payments or other fees. Taking short positions involves the risk that losses may be disproportionate, may exceed the amount invested and may be unlimited.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_StockRiskMember"
      id="x_370616e9-291f-413a-9206-789a548cee7a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_SubsidiaryRiskMember"
      id="daaa1ea3-e43c-4372-9723-9c93a1754636">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Subsidiary Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The ART Subsidiary is not registered under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;) and is not subject to all the investor protections of the Investment Company Act. Changes in the laws of the United States and/or the Cayman Islands could result in the inability of the Fund and/or the ART Subsidiary to operate as described in the Prospectus and the SAI and could adversely affect the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_SwapsRiskMember"
      id="x_7e794557-b1bf-439e-bd24-43e3fe40ca84">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Swaps Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; In a standard &#x201c;swap&#x201d; transaction, two parties agree to exchange the returns, differentials in rates of return or some other amount earned or realized on the &#x201c;notional amount&#x201d; of predetermined investments or instruments, which may be adjusted for an interest factor. Swaps can involve greater risks than direct investment in securities, because swaps may be leveraged and subject to counterparty risk (e.g., the risk of a counterparty&#x2019;s defaulting on the obligation or bankruptcy), credit risk and pricing risk (i.e., swaps may be difficult to value). Swaps may also be considered illiquid. It may not be possible for the Fund or the ART Subsidiary to liquidate a swap position at an advantageous time or price, which may result in significant losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_TaxRiskMember"
      id="x_0b6f38c7-059b-4b37-a937-5b22bc968ed9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Based on a private letter ruling from the Internal Revenue Service (&#x201c;IRS&#x201d;), the Fund seeks to gain exposure to the commodity markets through investments in the ART Subsidiary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The tax treatment of the Fund&#x2019;s investments in the ART Subsidiary could affect whether income derived from such investments is &#x201c;qualifying income&#x201d; under Subchapter M of the Internal Revenue Code of 1986, as amended (the &#x201c;Code&#x201d;), or otherwise affect the character, timing and/or amount of the Fund&#x2019;s taxable income or any gains and distributions made by the Fund. If the IRS were to successfully assert that a Fund&#x2019;s income from such investments was not &#x201c;qualifying income,&#x201d; the Fund may fail to qualify as a regulated investment company under Subchapter M of the Code if over 10% of its gross income was derived from these investments. If the Fund failed to qualify as a regulated investment company, it would be subject to federal and state income tax on all of its taxable income at regular corporate tax rates with no deduction for any distributions paid to shareholders, which would significantly adversely affect the returns to, and could cause substantial losses for, Fund shareholders. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Shareholders should review &#x201c;Other Information&#x201d; under &#x201c;Taxation&#x201d; on page 66 of the Prospectus for more information.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314_USGovernmentSecuritiesRiskMember"
      id="e7eab2c7-fb42-477b-8f20-6a6f3509fc8a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law. U.S. government securities&#160;issued by those agencies, instrumentalities and sponsored enterprises, including those issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="cd09a29d-ffae-4e09-844f-0c119978012c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_6f1eb6bd-881e-4ac4-a76e-ecf679c67c55">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (MSCI World Index (Net, USD, Unhedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the &#x201c;Performance Benchmark&#x201d;). The Investment Adviser measures the Fund&#x2019;s performance against the Performance Benchmark. The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 28 of the Prospectus. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="de94dd67-cabd-4f6a-b99d-6aa0cc9a3eb4">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (MSCI World Index (Net, USD, Unhedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the &#x201c;Performance Benchmark&#x201d;). The Investment Adviser measures the Fund&#x2019;s performance against the Performance Benchmark. The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 28 of the Prospectus. &lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_66d5e475-1b44-4f96-a047-a2a82c2acfc8">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="c6ddd9b1-0d07-4231-99d4-6df43860634e">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_884609d4-3fe7-4a3b-89fb-6afdbbc76f29">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR &lt;/span&gt;&lt;span style="font-family:Arial;font-size:9pt;"&gt;(INSTITUTIONAL)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_8b0bd820-a66c-48e8-860e-5aacc5158fac">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;6.57%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-9.75%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      id="c946feab-10d2-49a8-aafc-bdfeabcb9dc3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_65276b72-63e0-4971-9474-d363da60ee95"
      unitRef="pure">0.0657</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      id="x_2c63205b-0681-45a6-a714-2a83eaa50886">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      id="x_6e307f6c-5f1f-4c83-bb47-58d3f8daf6b8">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      decimals="4"
      id="x_3dc41e66-84d8-4b57-b249-f7ff21d17384"
      unitRef="pure">-0.0975</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstInvRR6SharesMember_S000020314_C000057078"
      id="f0a7750c-79a5-4573-9b79-61ebac58adab">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_6b44998b-7aae-4604-8895-a836421059da">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000057076"
      id="x_2c9fd974-38db-4f0b-9c45-5b4b19687860">2008-05-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_01Jan2025_31Dec2025"
      decimals="4"
      id="x_07adabb5-5694-4a7c-9af5-6247d034ec1c"
      unitRef="pure">0.0339</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_01Jan2021_31Dec2025"
      decimals="4"
      id="x_64bf46d4-eff0-4ce6-aa41-63f0ad958580"
      unitRef="pure">0.0382</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_01Jan2016_31Dec2025"
      decimals="4"
      id="x_9ba8fe81-1377-49a9-85ca-fc29d457f175"
      unitRef="pure">0.0409</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="c50d3107-8b1d-4cf1-96f7-727de2f36682"
      unitRef="pure">0.0271</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_90a14a34-a0da-47a7-99fc-ec1efd40ada8"
      unitRef="pure">0.0238</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_93ebd66f-999d-451b-8549-2584015f6540"
      unitRef="pure">0.0300</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_910c8081-6f15-4f58-85d4-64206e6d3429"
      unitRef="pure">0.0210</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_73888d87-360b-4ca1-be90-6997da79a335"
      unitRef="pure">0.0233</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057076_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025"
      decimals="4"
      id="d983aee1-96fe-40d7-95a6-7890188dc095"
      unitRef="pure">0.0274</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000057077"
      id="b32eabca-f482-43ca-81d1-d0bbfd4ff0e0">2008-05-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057077_01Jan2025_31Dec2025"
      decimals="4"
      id="b9022555-0b6f-4c20-9f35-dff9b359e3e6"
      unitRef="pure">0.0742</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057077_01Jan2021_31Dec2025"
      decimals="4"
      id="x_0d6a1317-57f2-49aa-b4b5-558f7a633f41"
      unitRef="pure">0.0420</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057077_01Jan2016_31Dec2025"
      decimals="4"
      id="e7fea38d-d4df-49e0-914e-9f1b695f4cbf"
      unitRef="pure">0.0388</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000057078"
      id="b258dc79-6803-4918-bf81-73243d6bd89f">2008-05-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057078_01Jan2025_31Dec2025"
      decimals="4"
      id="x_9c14c6a5-7ba9-4977-b765-277daef5d2a6"
      unitRef="pure">0.0971</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057078_01Jan2021_31Dec2025"
      decimals="4"
      id="d3341eef-de07-450a-a17b-6d2b7aa9e110"
      unitRef="pure">0.0537</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000057078_01Jan2016_31Dec2025"
      decimals="4"
      id="b2fa1265-33f1-40a9-b829-873581393bf7"
      unitRef="pure">0.0507</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000066744"
      id="f02a4689-75e7-408f-9d68-b90b4a7d570f">2008-05-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000066744_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3b1a3c2f-6732-4786-96fb-2f8f3e542625"
      unitRef="pure">0.0955</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000066744_01Jan2021_31Dec2025"
      decimals="4"
      id="x_58eb7633-564c-42aa-a8e1-b0612e776857"
      unitRef="pure">0.0524</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000066744_01Jan2016_31Dec2025"
      decimals="4"
      id="x_51e7808b-25c1-48f4-823e-ae984b90bfd0"
      unitRef="pure">0.0494</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000066743"
      id="bff5f1d2-a524-4006-80de-90e79c4545ed">2008-05-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000066743_01Jan2025_31Dec2025"
      decimals="4"
      id="d8f55fc0-b23d-4c18-ae88-7f9997d8f049"
      unitRef="pure">0.0913</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000066743_01Jan2021_31Dec2025"
      decimals="4"
      id="x_62a6f778-1d5d-46cf-b7bd-d80f1b37dd2b"
      unitRef="pure">0.0473</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000066743_01Jan2016_31Dec2025"
      decimals="4"
      id="c35cba3b-5d5b-4a3b-9343-e6ed4202c8c5"
      unitRef="pure">0.0441</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000161524"
      id="a5ccf82b-e6b3-4777-b951-a91f40b9180c">2015-07-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000161524_01Jan2025_31Dec2025"
      decimals="4"
      id="fc1b6d79-cb29-4a1f-826d-1baf1c2622f9"
      unitRef="pure">0.0974</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000161524_01Jan2021_31Dec2025"
      decimals="4"
      id="x_52b1943a-dbcc-4022-ba19-7a8c939bb538"
      unitRef="pure">0.0537</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000161524_01Jan2016_31Dec2025"
      decimals="4"
      id="a56c68db-abed-4287-83f0-c16b0601b22b"
      unitRef="pure">0.0506</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1227887f-e8d2-483f-8d3d-6949f0465527"
      unitRef="pure">0.0418</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="a722394b-6780-4427-851e-0f4be25e0426"
      unitRef="pure">0.0317</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_8633795e-e13a-41e3-b76b-f418858e4419"
      unitRef="pure">0.0218</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="c323ce6d-cafa-4ed2-b9a6-4f933e2c5e9b"
      unitRef="pure">0.2109</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_1ff6928f-2a31-4809-9f7a-257b4690586f"
      unitRef="pure">0.1214</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_9f48315b-78b2-4023-a656-d145b59561e4"
      unitRef="pure">0.1216</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_983237f6-115d-432c-b031-8483c877adc7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;After-tax returns are calculated using &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_49021ab2-cd01-4b03-8913-b15e4d565a09">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="df9243de-5a39-4c9e-ba02-7967e2af641e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary. &lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="x_6f5c9c20-349d-44c3-acc8-5691bcbcb395">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;After-tax returns are calculated using &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstInvRR6SharesMember_S000020314"
      id="e2b24473-de45-4746-b663-912c42dcf0e6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="c896842a-9a0e-483f-9c09-a7a204c55175">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Commodity Strategy Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="a033de7d-749a-46ae-8aae-85642517bed0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_23f33c92-9ffe-4430-af9b-2ce7f7d94273">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Commodity Strategy Fund (the &#x201c;Fund&#x201d;) seeks long-term total return.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="ee7163de-c495-422c-9a33-fb5635fa08f8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="ae371e84-792e-4f4a-aaa1-781d7a4f3a98">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;100,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 54 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 105 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="c8a22a39-fca7-4eed-b534-48fa7c225567">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;100,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 54 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 105 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      decimals="INF"
      id="x_0157dcae-f9a0-4115-b0d4-f568e6c6b5c6"
      unitRef="USD">100000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="bd836517-a14c-4e4f-a64b-4112cb3bc479">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_4b6263d8-890e-4500-bf74-d620663c4033"
      unitRef="pure">0.0450</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="x_3257d813-7f11-4ba8-86ac-4bb0340f8ec5"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="x_2c7a9e2d-ef5b-4b9a-8a8b-4e73890f8dfa"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="bbd00d27-0cbf-45e1-9543-75bf3b9f3f1c"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="f23517c3-64a1-457c-9400-e12ede4153be"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="x_5cd0498a-5908-4db8-b0ef-f74c3bd0ecaa"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_25597059-22a9-4e04-85e5-1d0bf3630fd7"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="e018dec2-3ef7-4526-9524-a57185132974"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="dade8674-9fb5-4cbd-832c-24147c9b057d"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="x_454540ba-6c7f-41d1-aa6a-fa2f145c69ed"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_63799f41-f806-4927-8b4c-f81ebb49abec"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="d135d95e-9856-413e-8343-0920cb4ebe6f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="f3104311-548a-49f6-95a1-eaabede258fb">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_341fbe6f-3206-4ed3-94e0-9c2ed7373d07"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="x_670a785a-14dc-45c7-8ebc-861c8528f064"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="x_356c4c04-7d59-4ac6-8663-20259d240d9b"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="fe4088be-abd3-4911-9c50-fd925866645c"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_20c938ea-be78-40cf-a831-4d102adc896a"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="x_61446a73-6ae3-4939-9bb7-b8e0283d1c98"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_1b716f1d-375e-43bf-bc6c-2bfeb501ea31"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="x_314110e8-4e3f-43a5-8233-9d07d19c2dd7"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="x_982906f3-0ea6-4714-b6ee-2b6e09f0c725"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="x_7c770347-2111-41ab-92ae-d76ce71dc174"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_85be7895-cdb6-4594-9f50-f62a6a5935ac"
      unitRef="pure">0.0050</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="b6d70b6c-d5ec-431d-8a19-fd40e96635df"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_44e616fc-2c71-4967-9ead-3a982ceb7a22"
      unitRef="pure">0.0034</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="x_09dca388-b244-47fd-9a85-ddd5afebda11"
      unitRef="pure">0.0059</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="x_9a4fa30e-30f4-4476-bebe-d86bf976541f"
      unitRef="pure">0.0026</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="x_0a0ba1bc-01e3-4427-a45b-dfed8e2294e8"
      unitRef="pure">0.0034</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_9c38d7b6-df15-4aca-9f98-0da06c2c7007"
      unitRef="pure">0.0034</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="c55fba61-4ed8-4edb-acd0-a40e974bbd1c"
      unitRef="pure">0.0025</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="f7b0335e-83de-4fa9-9403-6dcc958d6b42"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="aeb0daaa-a3cd-4b23-8c4d-a8d25cacd2f8"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="d28ce1a6-c1b9-4f03-98f1-97b8f328892f"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="f6d15658-9515-4c83-bb91-8585c8a145b8"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_810413f5-ee71-4454-bc0b-b4eadf0bfba2"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="x_7dabf794-d83d-4fd9-a951-c835e594d2d6"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="adacb9c7-2386-4bf6-83e9-8d978e02a744"
      unitRef="pure">0.0034</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="b5bb2ccc-c1ea-4980-8c98-cab2e48d0220"
      unitRef="pure">0.0034</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="a650d8fb-d2da-4c89-83a8-ded955049d71"
      unitRef="pure">0.0026</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="x_8bf1144c-8053-41de-9df6-f1b61e879cc5"
      unitRef="pure">0.0034</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="f8ec6112-d7e5-4055-b512-41f3ef7cfef8"
      unitRef="pure">0.0034</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="a358bbc1-0983-4eb9-9a20-1102d7d3468f"
      unitRef="pure">0.0025</oef:Component3OtherExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_7473059d-b4c5-4251-bc06-22ff3343360c"
      unitRef="pure">0.0015</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="x_7a8b6525-7d32-4261-b749-4fe4c8829cdc"
      unitRef="pure">0.0015</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="x_960d15f0-eb1b-4fcb-b452-d06284ff5585"
      unitRef="pure">0.0015</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="c1b12dcb-e0aa-4f10-86fe-25aab61e84cc"
      unitRef="pure">0.0015</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_88f42db2-af87-4bdd-bcc3-e576727d3e96"
      unitRef="pure">0.0015</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="x_2b3b286b-a1db-4e4f-a377-f3c4ec35fec0"
      unitRef="pure">0.0015</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_67fa52ef-6059-4808-9c37-c92e20273317"
      unitRef="pure">0.0124</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="x_744947e1-f3de-4a63-a7aa-99a92e173b75"
      unitRef="pure">0.0199</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="x_5fbdc8df-d43c-431b-adac-f71c710433bc"
      unitRef="pure">0.0091</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="x_6a521c0b-12ae-44d6-b43b-6fd4bcc475e3"
      unitRef="pure">0.0099</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_12a83478-a7c6-4684-8db3-0ced41fbaaa3"
      unitRef="pure">0.0149</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="x_629a8d82-db68-4983-bc36-bd1b143a0225"
      unitRef="pure">0.0090</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_45b45055-76b8-437a-a755-5cbdee0b8f83"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="x_67f49665-dd44-4d66-9d79-8b0fc566450c"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="a6c91eb7-f63d-47ae-83eb-d9ca485bfda9"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="x_616c9528-a338-4420-8a46-86f727b75924"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_4a35a129-3664-4caf-8177-96cef870c595"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="ccaa99c4-12aa-4576-9ca4-6141ecb65428"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="4"
      id="x_25cc3d51-2a4b-4446-b67a-663091cc9d87"
      unitRef="pure">0.0095</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="4"
      id="x_52cf6cae-8b4c-4dad-a602-99399f8115fe"
      unitRef="pure">0.0170</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="f24fbb15-5935-4108-872a-af3acb253504"
      unitRef="pure">0.0062</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="4"
      id="x_14467ef8-ee24-4e2b-8249-f84ebb91b76c"
      unitRef="pure">0.0070</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="4"
      id="x_5ed3a86f-cbbc-40a1-be55-7e0cc5de1e70"
      unitRef="pure">0.0120</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="4"
      id="ffde6a82-6193-4807-b10e-9979bd78669a"
      unitRef="pure">0.0061</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="ae9b526a-3d01-4a46-acaa-407b918923c4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1.00% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="b9bf918b-c995-44db-a5bf-6d304cbec09c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;&lt;/span&gt;</oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="e1134120-afe7-44e6-9c2e-7d61c37e55e2">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="a65b0dce-5537-4de1-b353-45f8ac79dd64">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_25a26efe-99eb-4c90-86dd-2d833267e36c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Investor, Class R and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Investor, Class R and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same (except that the Example incorporates the fee waiver and expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="INF"
      id="cf349224-19a1-4910-9985-18655a05b8e5"
      unitRef="USD">543</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="INF"
      id="x_370b5147-f38f-46b6-901d-fb900216b8f2"
      unitRef="USD">798</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="INF"
      id="x_05bfbd99-8185-4d7e-a8dc-bdfbd000acfd"
      unitRef="USD">1074</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043358"
      decimals="INF"
      id="x_5bea5fe1-2577-46d8-a37b-d80dcdb12a2d"
      unitRef="USD">1858</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="INF"
      id="x_1ab18239-fb12-4217-a485-46c9c4942f68"
      unitRef="USD">273</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="INF"
      id="x_8ec185f0-e62c-4c87-815e-c2f97943b1ee"
      unitRef="USD">596</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="INF"
      id="x_96fc571d-7ba3-4fde-9fa3-586a05effbd0"
      unitRef="USD">1046</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="INF"
      id="x_366c8e61-7e6a-41d6-bb2b-8c08cf26c2e2"
      unitRef="USD">2293</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="INF"
      id="x_0a205bb0-472e-4237-af7b-cb7187c9a9f9"
      unitRef="USD">63</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="INF"
      id="x_0779d39a-14a7-422f-bff5-f1da489f4f18"
      unitRef="USD">261</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="INF"
      id="fdc33637-f894-45d6-b7a6-95a99429a756"
      unitRef="USD">476</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="INF"
      id="x_66378456-a8b7-437a-8732-cbefab13c97f"
      unitRef="USD">1093</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="INF"
      id="x_38d6365a-2568-417e-b7ca-c97d49c5181d"
      unitRef="USD">72</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="INF"
      id="x_3ce00cff-d916-470e-99bd-b9fc43f253e3"
      unitRef="USD">286</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="INF"
      id="f069c7ca-ff69-4603-9fe6-43ea1df6c5ed"
      unitRef="USD">519</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058993"
      decimals="INF"
      id="x_2d11e9d6-52a8-4959-b415-05f5471b0c01"
      unitRef="USD">1187</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="INF"
      id="a7cdce31-6c4b-4de7-956d-45af592f63a7"
      unitRef="USD">122</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="INF"
      id="x_58be2c87-1c1a-4cce-b512-02f0b7b617d9"
      unitRef="USD">443</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="INF"
      id="dfaff988-9589-46ac-9254-c04e44302f7d"
      unitRef="USD">786</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000058992"
      decimals="INF"
      id="x_76c0a0f8-abba-4472-9857-7b8e987c45e5"
      unitRef="USD">1755</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="INF"
      id="x_41087af0-a66b-42e0-b9c0-9ba13d46b14d"
      unitRef="USD">62</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="INF"
      id="x_99dc5846-37b9-4795-965d-21369a2c1092"
      unitRef="USD">258</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="INF"
      id="ad54a46e-cc6a-43ae-a19a-2193b6ea7790"
      unitRef="USD">470</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000161523"
      decimals="INF"
      id="x_409471e9-f37c-40e0-b583-7e5a3ff995cf"
      unitRef="USD">1081</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      id="ba77fc7e-90de-4a6d-811b-eed31d892655">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="INF"
      id="x_1512b4b9-6d92-4388-b2f0-9e98cfdeb5c7"
      unitRef="USD">173</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="INF"
      id="x_42c21c32-d731-4050-91c9-256c3430b7b9"
      unitRef="USD">596</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="INF"
      id="e5594373-6483-45c2-a03c-270ea8936140"
      unitRef="USD">1046</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043359"
      decimals="INF"
      id="x_2a3497bb-eb2e-4460-9312-27e8bee7fc2b"
      unitRef="USD">2293</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="ae359fb6-2efd-42bc-be5f-ff25c8f99dcb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_590e7266-4d71-449e-8815-b72112aaa9a5">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;, &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;0&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio. However, the Fund&#x2019;s portfolio turnover rate is calculated without regard to transactions involving certain short-term instruments or derivatives. If such transactions were included in the calculation, the Fund would have a higher portfolio turnover rate.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      decimals="4"
      id="x_2d4c529e-1d97-42b2-a068-d529383fed13"
      unitRef="pure">0</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="a2cc6b94-7914-4db2-8332-db14bde2f672">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_16e00c97-0282-4dbb-9f17-467006818e1b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund seeks to maintain substantial economic exposure to the performance of the commodities markets. The Fund primarily gains exposure to the commodities markets by investing in a wholly-owned subsidiary of the Fund organized as a company under the laws of the Cayman Islands, Cayman Commodity &#x2013; CSF, Ltd. (the &#x201c;CSF Subsidiary&#x201d;). The CSF Subsidiary is advised by the Investment Adviser, and has the same investment objective as the Fund. CoreCommodity Management, LLC (the &#x201c;Sub-Adviser&#x201d; or &#x201c;CoreCommodity&#x201d;) serves as sub-adviser to both the Fund and the CSF Subsidiary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund seeks to provide exposure to the commodities markets by investing, through the CSF Subsidiary, in commodity-linked investments including, without limitation, commodity swaps, commodity futures contracts, exchange-listed commodity forward contracts, options on commodity futures, and commodity-linked notes. In pursuing its objective, the Fund attempts to provide long and/or short exposure to the returns of real assets that trade in the commodity markets without direct investment in physical commodities. The Fund uses the Bloomberg Commodity Index Total Return (Gross, USD, Unhedged) (&#x201c;BCOM&#x201d;) as its performance benchmark, but the Fund is actively managed and will not attempt to replicate the index. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Investment in the Subsidiary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may invest up to 25% of its total assets in the CSF Subsidiary. The CSF Subsidiary primarily obtains its commodity exposure by investing in commodity-linked derivative instruments (which typically includes total return swaps). Commodity-linked swaps are derivative instruments whereby the cash flows agreed upon between counterparties are dependent upon the price of the underlying commodity or commodity index (or a component of the underlying commodity index) over the life of the swap. The value of the swap will rise and fall in response to changes in the underlying commodity or commodity index (or component of the underlying commodity index). Commodity-linked swaps expose the CSF Subsidiary and the Fund economically to movements in commodity prices. Such instruments may be leveraged so that small changes in the underlying commodity prices would result in disproportionate changes in the value of the instrument. Neither the Fund nor the CSF Subsidiary invests directly in physical commodities. The CSF Subsidiary will also invest in other instruments, including fixed income securities, either as investments or to serve as margin or collateral for its swap positions. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Sub-Adviser will take various factors into account when seeking commodity market exposure, such as, without limitation, the results of proprietary models developed by the Sub-Adviser, relative price differentials for various commodity futures for current delivery as compared to those for future delivery, and market conditions. Among other strategies, the Fund employs commodity roll-timing strategies. &#x201c;Rolling&#x201d; futures exposure is the process by which the holder of a particular futures contract or other instrument providing futures exposure (e.g. swaps) will sell such contract or instrument on or before the expiration date and simultaneously purchase a new contract or instrument with identical terms except for a later expiration date. This process allows a holder of the instrument to extend its current position through the original instrument&#x2019;s expiration without delivering the underlying asset. The Fund&#x2019;s rolling may differ from that of the BCOM to the extent necessary to enable the Fund to seek excess returns over the BCOM. The Fund&#x2019;s &#x201c;roll-timing&#x201d; strategies may include, for example, rolling the Fund&#x2019;s commodity exposure earlier or later versus the BCOM, or holding and rolling positions with longer or different expiration dates than the BCOM. The Fund also may underweight or overweight various commodities as compared to the BCOM, and may utilize commodities that are not components of the BCOM. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Fixed Income Investments.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; As a result of the Fund&#x2019;s use of derivatives, the Fund may hold as collateral significant amounts of U.S. Treasury or short-term investments, including money market funds. In managing the collateral portion of the Fund&#x2019;s investment strategy, the Sub-Adviser generally seeks capital preservation. The average duration will vary. The Sub-Adviser uses derivatives, including futures and swaps, to manage the duration of the Fund&#x2019;s investment portfolio. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Other.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may also invest in forwards, futures, and swaps, which are used for both hedging and non-hedging purposes. The Fund may invest up to 35% of its net assets in foreign securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the BCOM (Gross, USD, Unhedged).&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_RiskLoseMoneyMember"
      id="c22ab326-ee41-4254-8061-1f507fa6eeb8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_RiskNotInsuredDepositoryInstitutionMember"
      id="x_3945513c-00f0-4133-8d03-e609bf9582e5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_AbsenceofRegulationRiskMember"
      id="bb12112f-15b9-45b7-bc17-0f219b0acd2b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Absence of Regulation Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund engages in over-the-counter (&#x201c;OTC&#x201d;) transactions, which trade in a dealer network, rather than on an exchange. In general, there is less governmental regulation and supervision of transactions in the OTC markets than of transactions entered into on organized exchanges.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_CommoditySectorRiskMember"
      id="x_5805008f-be97-471f-a519-f9b1d94f64e8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Commodity Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Exposure to the commodities markets may subject the Fund to greater volatility than investments in more traditional securities. The value of commodity-linked investments may be affected by changes in overall market movements, commodity index volatility, changes in interest rates, or factors affecting a particular industry or commodity, such as drought, floods, weather, livestock disease, embargoes, tariffs and international economic, business,&#160;political and regulatory developments. The prices of energy, industrial metals, precious metals, agriculture and livestock sector commodities may fluctuate widely due to factors such as changes in value, supply and demand and governmental regulatory policies. The commodity-linked investments in which the CSF Subsidiary enters into may involve counterparties in the financial services sector, and events affecting the financial services sector may cause the CSF Subsidiary's, and therefore the Fund&#x2019;s, share value to fluctuate.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_CounterpartyRiskMember"
      id="x_2c90a112-ebe9-4ba4-93a4-62477f3e0f45">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Counterparty Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Many of the protections afforded to cleared transactions, such as the security afforded by transacting through a clearing house, might not be available in connection with OTC transactions. Therefore, in those instances in which the Fund enters into uncleared OTC transactions, the Fund will be subject to the risk that its direct counterparty will not perform its obligations under the transactions and that the Fund will sustain losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_CreditDefaultRiskMember"
      id="x_2200c2ce-2a75-4565-82b4-b2c5e15f0aff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. An issuer or guarantor of fixed income securities or instruments held by the Fund&#160;(which may have low credit ratings) may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities&#160;or instruments may deteriorate rapidly, which may impair the Fund's liquidity and cause significant deterioration in net asset value (&#x201c;NAV&#x201d;). These risks are heightened in market environments where interest rates are rising as well as in connection with the Fund's investments in non-investment grade fixed income securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_DerivativesRiskMember"
      id="x_9be0601c-4267-473b-9277-0fd6b1a1644e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Derivatives Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund's use of &#160;options, futures, forwards, swaps and other derivative instruments may result in losses, including due to adverse market movements. These instruments, which may pose risks in addition to and greater than those associated with investing directly in securities, currencies or other assets and instruments, may increase market exposure and be illiquid or less liquid, volatile, difficult to price and leveraged so that small changes in the value of the underlying assets or instruments may produce disproportionate losses to the Fund. Certain derivatives are also subject to counterparty risk, which is the risk that the other party in the transaction will not fulfill its contractual obligations. The use of derivatives is a highly specialized activity that involves investment techniques and risks different from those associated with investments in more traditional securities and instruments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_ForeignRiskMember"
      id="x_43be4402-04c3-4561-805e-a3833db14472">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls&#160;(including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_LargeShareholderTransactionsRiskMember"
      id="x_1acfc587-b73b-4ee5-bead-9a9af5375b1e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; NAV and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_LeverageRiskMember"
      id="x_25fec112-fa00-4965-8a92-de632f98e732">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Leverage Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Borrowing and the use of derivatives may result in leverage and may make the Fund more volatile. The use of leverage may cause the Fund to liquidate portfolio positions to satisfy its obligations when it may not be advantageous to do so. The use of leverage by the Fund can substantially increase the adverse impact to which the Fund&#x2019;s investment portfolio may be subject.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_LiquidityRiskMember"
      id="x_5d67f098-b329-4387-ab4d-865f8fbdf937">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. To meet redemption requests, the Fund may be forced to sell securities at an unfavorable time and/or under unfavorable conditions. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from fixed income funds may be higher than normal, potentially causing increased supply in the market due to selling activity. &#160;Redemptions by large shareholders may have a negative impact on the Fund&#x2019;s liquidity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_MarketRiskMember"
      id="a91c9fd1-7669-4bb7-88a8-15f8c66d355c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_PortfolioTurnoverRateRiskMember"
      id="a47da5e2-b424-44ef-bc5e-15cf0d87a1af">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders, and is also likely to result in short-term capital gains taxable to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_ShortPositionRiskMember"
      id="x_6b0710f8-03ad-48af-b5a8-6e38f7a3d58f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Short Position Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may enter into a short position through a futures contract, an option or swap agreement or through short sales of any instrument that the Fund may purchase for investment. Taking short positions involves leverage of the Fund&#x2019;s assets and presents various risks. If the value of the underlying instrument or market in which the Fund has taken a short position increases, then the Fund will incur a loss equal to the increase in value from the time that the short position was entered into plus any related interest payments or other fees. Taking short positions involves the risk that losses may be disproportionate, may exceed the amount invested and may be unlimited.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_SubsidiaryRiskMember"
      id="x_9508ee0a-1f5f-457c-ba5d-9dcaf4ee17ed">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Subsidiary Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The CSF Subsidiary is not registered under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;) and is not subject to all the investor protections of the Investment Company Act. Changes in the laws of the United States and/or the Cayman Islands could result in the inability of the Fund and/or the CSF Subsidiary to operate as described in the Prospectus and the SAI and could adversely affect the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_SwapsRiskMember"
      id="cba9074a-f106-4791-8159-ea09f962f541">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Swaps Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; In a standard &#x201c;swap&#x201d; transaction, two parties agree to exchange the returns, differentials in rates of return or some other amount earned or realized on the &#x201c;notional amount&#x201d; of predetermined investments or instruments, which may be adjusted for an interest factor. Swaps can involve greater risks than direct investment in securities, because swaps may be leveraged and subject to counterparty risk (e.g., the risk of a counterparty&#x2019;s defaulting on the obligation or bankruptcy), credit risk and pricing risk (i.e., swaps may be difficult to value). Swaps may also be considered illiquid. It may not be possible for the Fund or the CSF Subsidiary to liquidate a swap position at an advantageous time or price, which may result in significant losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_TaxRiskMember"
      id="d121481c-eaa4-41b8-a2ec-682871da2f39">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Based on a private letter ruling from the Internal Revenue Service (&#x201c;IRS&#x201d;), the Fund seeks to gain exposure to the commodity markets through investments in the CSF Subsidiary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The tax treatment of the Fund&#x2019;s investments in the CSF Subsidiary could affect whether income derived from such investments is &#x201c;qualifying income&#x201d; under Subchapter M of the Internal Revenue Code of 1986, as amended (the &#x201c;Code&#x201d;), or otherwise affect the character, timing and/or amount of the Fund&#x2019;s taxable income or any gains and distributions made by the Fund. If the IRS were to successfully assert that a Fund&#x2019;s income from such investments was not &#x201c;qualifying income,&#x201d; the Fund may fail to qualify as a regulated investment company under Subchapter M of the Code if over 10% of its gross income was derived from these investments. If the Fund failed to qualify as a regulated investment company, it would be subject to federal and state income tax on all of its taxable income at regular corporate tax rates with no deduction for any distributions paid to shareholders, which would significantly adversely affect the returns to, and could cause substantial losses for, Fund shareholders. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Shareholders should review &#x201c;Other Information&#x201d; under &#x201c;Taxation&#x201d; on page 66 of the Prospectus for more information.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787_USGovernmentSecuritiesRiskMember"
      id="x_4cb61ab7-c44c-4247-932f-1c85535f7179">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law. U.S. government securities&#160;issued by those agencies, instrumentalities and sponsored enterprises, including those issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_024afd5d-2dbb-4d48-946c-41d84c85d21d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="c0796fd3-d5f7-4878-84ab-0c66b1c56935">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (S&amp;amp;P 500&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:4.5pt;position:relative;top:-6.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Index) (the &#x201c;Regulatory Benchmark&#x201d;) and the Bloomberg Commodity Index Total Return (Gross, USD, Unhedged) (&#x201c;BCOM&#x201d;) (the &#x201c;Performance Benchmark&#x201d;). The Performance Benchmark is generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund&#x2019;s performance.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 28 of the Prospectus. Through January 22, 2021, the Fund had been managed by GSAM. Performance information set forth below prior to the close of business on January 22, 2021, does not reflect the transition of day-to-day portfolio management from GSAM to CoreCommodity. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="cfd3287c-941e-4024-8dd1-d8455db150a8">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (S&amp;amp;P 500&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:4.5pt;position:relative;top:-6.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Index) (the &#x201c;Regulatory Benchmark&#x201d;) and the Bloomberg Commodity Index Total Return (Gross, USD, Unhedged) (&#x201c;BCOM&#x201d;) (the &#x201c;Performance Benchmark&#x201d;). The Performance Benchmark is generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund&#x2019;s performance.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_9a8502bb-193e-43b0-8848-6405f93b2dda">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_9990d914-a373-4283-80e1-d0c685c2e5d1">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="df7ae6f2-2a2c-4b1d-a3c3-562d70be8cda">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR &lt;/span&gt;&lt;span style="font-family:Arial;font-size:9pt;"&gt;(INSTITUTIONAL)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_7a90bd88-0296-461e-b919-712df44386b8">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;26.99%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-41.54%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      id="x_4d47b709-aa5b-4754-8dda-c099d606f171">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="x_65ac3ee4-e398-4624-bc87-2fbcbbcd7026"
      unitRef="pure">0.2699</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      id="x_1b901ffd-7ccd-4ddd-991d-5584266d4e6e">2022-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      id="ea25d182-ae6c-4240-ae78-b91c64fb50e1">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      decimals="4"
      id="x_41a1d9b4-35aa-42e2-a33c-7714fb7167a5"
      unitRef="pure">-0.4154</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstInvRR6SharesMember_S000015787_C000043360"
      id="x_4284735a-0643-4e70-8af0-b973e6174d55">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="e811c713-01f4-4d18-8975-c4f9c99104bc">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000043358"
      id="afa2587c-33cf-486e-9648-a41e32522343">2007-03-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_01Jan2025_31Dec2025"
      decimals="4"
      id="x_18851cb0-7c37-4441-ab2b-3af2b19585ad"
      unitRef="pure">0.0968</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_01Jan2021_31Dec2025"
      decimals="4"
      id="x_5d0d3c6d-e40f-4044-b07c-1792508bad8e"
      unitRef="pure">0.0984</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_01Jan2016_31Dec2025"
      decimals="4"
      id="x_0b33e699-0d34-4293-81c3-8865dc6fcc54"
      unitRef="pure">0.0350</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1f3ea716-5655-409f-bc8a-e5f2bd3e8aa5"
      unitRef="pure">0.0350</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_0d6f5791-ba47-4a9a-9504-b1b99fc3d6c9"
      unitRef="pure">0.0580</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_0d3862c1-f930-46b1-874c-dc5eda399b3d"
      unitRef="pure">0.0125</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_548d9a0b-64ac-43da-b93e-1243d636d3f6"
      unitRef="pure">0.0577</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_83989a29-0740-4648-8df6-edcec22777b2"
      unitRef="pure">0.0592</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043358_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025"
      decimals="4"
      id="cda8024a-3021-4f2d-a15d-1d45c16e02a1"
      unitRef="pure">0.0169</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000043359"
      id="a763735f-3be3-4a09-bf7a-f72ababc313f">2007-03-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043359_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7d0694cb-20be-4647-a8f0-e384a7058cf6"
      unitRef="pure">0.1288</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043359_01Jan2021_31Dec2025"
      decimals="4"
      id="x_3027ba76-3e7f-48bc-bcf9-7d2399fe6402"
      unitRef="pure">0.1004</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043359_01Jan2016_31Dec2025"
      decimals="4"
      id="x_667555fb-a55d-4e79-8872-bba12e0a52de"
      unitRef="pure">0.0319</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000043360"
      id="x_4ed482f3-e5da-470a-80e8-793a365c8e15">2007-03-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043360_01Jan2025_31Dec2025"
      decimals="4"
      id="fb3a3b1e-bc33-4778-b28b-67cee04afa6a"
      unitRef="pure">0.1526</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043360_01Jan2021_31Dec2025"
      decimals="4"
      id="x_8884ca08-cf24-4fe0-96d1-7166d79d4b92"
      unitRef="pure">0.1124</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000043360_01Jan2016_31Dec2025"
      decimals="4"
      id="c57a0d78-ba03-481e-b293-695188f7d837"
      unitRef="pure">0.0432</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000058993"
      id="x_246a7256-ef9f-4d7b-a88f-8df14e9045d5">2007-11-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000058993_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2af7e40f-9b38-415f-81a6-aa423f8465ee"
      unitRef="pure">0.1512</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000058993_01Jan2021_31Dec2025"
      decimals="4"
      id="x_4979e9c6-e70f-4519-9a69-86fe995a0432"
      unitRef="pure">0.1113</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000058993_01Jan2016_31Dec2025"
      decimals="4"
      id="x_8a3b6985-c91a-47a3-9d6f-f3ab0c4cbee2"
      unitRef="pure">0.0423</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000058992"
      id="f60acb3d-99b1-4806-bdd0-68d0a8eb1d4b">2007-11-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000058992_01Jan2025_31Dec2025"
      decimals="4"
      id="x_33a7eac5-0976-4bf3-af77-94b0f8d04725"
      unitRef="pure">0.1457</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000058992_01Jan2021_31Dec2025"
      decimals="4"
      id="ba1aefd1-2384-40b4-b62e-e1edd4a488c8"
      unitRef="pure">0.1058</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000058992_01Jan2016_31Dec2025"
      decimals="4"
      id="x_334303ab-d078-4804-ab6e-e45ecc45e8f9"
      unitRef="pure">0.0370</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000161523"
      id="x_3ca7b809-b195-465f-a97c-2de6b9ae10d5">2015-07-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000161523_01Jan2025_31Dec2025"
      decimals="4"
      id="ef88b329-81aa-48b7-89c8-76bbb32c13bf"
      unitRef="pure">0.1535</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000161523_01Jan2021_31Dec2025"
      decimals="4"
      id="ec4f0266-aa2b-49ba-8ab0-9850bcf59849"
      unitRef="pure">0.1125</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000161523_01Jan2016_31Dec2025"
      decimals="4"
      id="x_3556029b-416b-471c-a8ca-f65b0ccd3570"
      unitRef="pure">0.0433</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_BCOMGrossUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="f1430328-3836-4816-be98-e4c5e9dff941"
      unitRef="pure">0.1577</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_BCOMGrossUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="e70c170f-0711-4795-8c14-77af49bb0bda"
      unitRef="pure">0.1063</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_BCOMGrossUSDUnhedgedMember_01Jan2016_31Dec2025"
      decimals="4"
      id="e2a34d42-fe56-41bc-9aa3-90664078ac5d"
      unitRef="pure">0.0572</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_SP500IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7580af77-4620-4266-84bf-623e04fc5b38"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_SP500IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_92a5ffd2-4354-4b10-8f63-6648ddc95858"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_SP500IndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_93cc363f-b61c-46de-bfe5-95092845b306"
      unitRef="pure">0.1481</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_9d3f384b-56ce-4e0e-ad6c-e33fbd229190">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;After-tax returns are calculated using &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="ba81f37d-6c40-4704-9b5f-482b9e5a7743">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_94e1b0f6-2830-4435-acaa-76e11f34645a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary. &lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="x_31fdf7ea-edfb-4402-b0c7-bbf87a4308d9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;After-tax returns are calculated using &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstInvRR6SharesMember_S000015787"
      id="b96c6656-fa0f-43ae-83b0-45258e532c12">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_678a2e53-df99-450d-b8b3-217181673bdb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Managed Futures Strategy Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_3ea65ad7-e7c0-48a2-9c3a-d8b5725a3181">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="d5bb3ec8-585a-4c7f-996a-75aedff3e3d7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Managed Futures Strategy Fund (the &#x201c;Fund&#x201d;) seeks to generate long-term absolute return.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="db439a63-d285-4d93-af9c-441ac0d53b60">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="af1c7f30-92f1-4559-b673-c1b7b1b61572">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 54 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 105 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_10589960-8c40-4c63-9e92-3fd02b971d32">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 54 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 105 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      decimals="INF"
      id="x_1d769ec8-c5f5-42cb-80bf-38e286f22c0d"
      unitRef="USD">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_6e3c16b7-b692-4383-b356-eb8aefda638d">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="x_3f3bcce6-7002-406f-b819-344eee64194e"
      unitRef="pure">0.0550</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="a6fd12ed-045e-43bd-853c-2e7c6deaf6a7"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="x_52254e78-e3df-4fd6-bc88-bb5a8b7252f8"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="cdcc2482-f6e2-4ded-aef8-c8ac99eb40aa"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_275ba1e2-dc4d-4752-a0fe-cbf9e63082d5"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="x_41fa4601-3779-4603-af0e-2b9a348691a3"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="eb16cb8e-fded-423e-86b4-e04f78d7e460"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_05f4da32-5490-4399-a9a0-7226ec3448f3"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="x_7e9cf17a-46e7-4648-985f-75b58e2c53a4"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_6ad7af35-ff6b-4bdc-92f8-143dd9a79904"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_5c1b0c50-497e-4265-ae2d-4b12db143ef4"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="dd393aa4-7079-4356-a5b7-35b2c64b213e"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_37e3438d-d0a6-4b5d-9dd8-056e38f58cc6">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="x_843265ca-4c8d-4314-a668-5158c18b2a36"
      unitRef="pure">0.0100</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_56445327-51ee-4674-b762-b5a6847d39f9"
      unitRef="pure">0.0100</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="x_79069a91-c78c-4dfb-827d-8ac3f44ff676"
      unitRef="pure">0.0100</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="b2f617e3-df35-4796-af02-80043e95d852"
      unitRef="pure">0.0100</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="a6b25d1e-df63-4d5c-be8c-76a5996a2730"
      unitRef="pure">0.0100</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="x_8e5f5ab9-362b-4d31-bfc0-4761aa15ff63"
      unitRef="pure">0.0100</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="c749056a-d0b3-4b08-a442-90419bfd008c"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_9d379563-22f9-4ac2-8623-231dc72459e4"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="x_652616f6-3824-457f-a66c-617a5237b6a7"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_753c9db6-dd02-4ae3-9171-a65aade05e08"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_31504906-0d75-4101-8c41-918746c8f0ed"
      unitRef="pure">0.0050</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="e435308b-ab9c-4f52-98da-923da4781944"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="x_14d1c98c-1fa6-4dbe-99ca-b1a63c4c35dc"
      unitRef="pure">0.0042</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_2d8f6d65-1b13-4ecf-9c46-33874cbc4ae7"
      unitRef="pure">0.0067</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="x_0a0c2d7c-c2d3-4605-87ca-d12a2cdc6005"
      unitRef="pure">0.0031</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_31d0053e-1158-4e35-9d11-b3d6b40dba91"
      unitRef="pure">0.0042</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_827a19f6-1ca4-4b5f-9f49-6fa8da52217f"
      unitRef="pure">0.0042</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="c822a84f-163d-4f0f-a260-7b5f07fb7e0c"
      unitRef="pure">0.0030</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="c09de20b-e008-4269-9edf-f542f40313c3"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_9ed4a38a-520e-460b-b3ff-2c9a6bd8844a"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="a459939c-18e4-443a-9c34-b7966e0a97b4"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_535b0fdc-f52f-4667-bdd9-def60f83631a"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="b50c5ed5-94ba-4212-ae93-4cd3d7f6e07d"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="x_01401e66-0ef8-422b-b098-dfde678122eb"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="cd69b373-a16b-4a25-bd16-02b740a761cb"
      unitRef="pure">0.0042</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_24111fac-3c0b-4a8a-b3c7-ba786953b4d2"
      unitRef="pure">0.0042</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="f6df084d-fd58-4b0d-8416-34f97da9a79f"
      unitRef="pure">0.0031</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_255ad760-aaa0-4e73-959e-96446e217043"
      unitRef="pure">0.0042</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_26d23613-561d-47b1-8f97-572c673a313f"
      unitRef="pure">0.0042</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="x_107f91bc-450c-466f-bd27-9d45ceb52dbd"
      unitRef="pure">0.0030</oef:Component3OtherExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="e173302d-2b47-48c8-8f5b-7177a3863ff6"
      unitRef="pure">0.0023</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_0495244e-39e4-4e8f-b528-1084bfb28d00"
      unitRef="pure">0.0023</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="x_63b987de-942a-4abf-9281-a3cee94b8fe5"
      unitRef="pure">0.0023</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="ec8bcadf-a3a5-44ec-ad50-809a57a611e0"
      unitRef="pure">0.0023</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_54d15b7e-7222-4c74-955f-8a10818654bd"
      unitRef="pure">0.0023</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="x_587053a6-e7d3-4d6b-bae7-f508bc88c1bf"
      unitRef="pure">0.0023</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="x_45dcb9a2-fb2f-4dd5-94a1-d9456b941524"
      unitRef="pure">0.0190</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_9767fe19-965b-4e6f-b8e9-1b485ac39265"
      unitRef="pure">0.0265</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="x_34fcaa38-462c-4699-988d-190c0efd8598"
      unitRef="pure">0.0154</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_0156cce6-d254-42d0-8bdb-2ede8eba26b6"
      unitRef="pure">0.0165</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_8ae7297f-570b-4ed3-96ee-8654c4fc8174"
      unitRef="pure">0.0215</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="x_949d005b-d49b-4102-8abd-8400bea5605e"
      unitRef="pure">0.0153</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="d180e168-0e3a-40b9-a8b5-06049bfa840a"
      unitRef="pure">-0.0074</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="x_4a461c4d-3910-4b4d-b650-d093b9601ff2"
      unitRef="pure">-0.0074</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="x_4c98e952-81eb-48ca-b6da-1c27f6933695"
      unitRef="pure">-0.0074</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_88f0014b-1412-486b-a32f-9f61bd373603"
      unitRef="pure">-0.0074</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_96736091-959f-45b0-b89f-364fae48b1c3"
      unitRef="pure">-0.0074</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="x_44c2e260-945d-473a-9709-873d567938f6"
      unitRef="pure">-0.0074</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="4"
      id="x_6751d592-913a-47c1-a1bf-06abff1ebeea"
      unitRef="pure">0.0116</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="4"
      id="cd7864a8-ae97-4902-812b-9e94d3500539"
      unitRef="pure">0.0191</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="4"
      id="b1197437-eada-4809-95e2-fa123275bb62"
      unitRef="pure">0.0080</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_0e6ab559-cb45-4405-ac3f-9eaf53af1292"
      unitRef="pure">0.0091</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="4"
      id="x_33c2263c-6c01-436c-8d2e-265006d9b94f"
      unitRef="pure">0.0141</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="4"
      id="x_7e20ff23-eb78-4a93-bbfe-c9a14abf1535"
      unitRef="pure">0.0079</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_415ea02b-3444-443f-a42c-8112133968f2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="f9f056c5-9100-42dc-bd04-9df81ae8487d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;&lt;/span&gt;</oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="b23e386a-c333-48e0-95e4-50be9a74edcb">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_21177d1c-7e74-4544-85a4-2e63a069e9ad">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_9bf69f63-6c36-4979-9fda-d64e962812e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Investor, Class R and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Investor, Class R and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same (except that the Example incorporates the fee waiver and expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="INF"
      id="x_19dab364-7fc3-4e49-8757-d2992cb73fb8"
      unitRef="USD">662</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="INF"
      id="abaaba17-c59a-4cc1-b115-2ce2697095e7"
      unitRef="USD">1046</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="INF"
      id="c9d4ceaa-84c7-4c2f-9270-6d52311e9bda"
      unitRef="USD">1455</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107193"
      decimals="INF"
      id="x_6cb3a9a1-807d-4f2f-8b7c-0de2edc3234f"
      unitRef="USD">2593</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="INF"
      id="x_49689d41-6f13-4b44-befd-4e0a80a2054f"
      unitRef="USD">294</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="INF"
      id="f5c9e517-70ed-4e7b-a946-855787c1bd64"
      unitRef="USD">753</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="INF"
      id="ffe1b54e-5511-4876-9187-96d729e18789"
      unitRef="USD">1339</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="INF"
      id="x_4d62ebfd-9fe5-4f72-8d04-93576bdabad8"
      unitRef="USD">2929</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="INF"
      id="cfa4cb74-8f24-440c-9b0f-745676a09138"
      unitRef="USD">82</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="INF"
      id="d9461a8b-b998-4ebc-b1fe-9bbecd17e036"
      unitRef="USD">414</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="INF"
      id="d0c9da67-7f79-4c12-babf-00bbbf525c17"
      unitRef="USD">769</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107195"
      decimals="INF"
      id="x_89cf9c76-5703-491f-bbc2-dbeb6d395dee"
      unitRef="USD">1772</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="INF"
      id="x_7d94465b-b3f3-48d4-a834-bd0db79b741b"
      unitRef="USD">93</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="INF"
      id="a3fb2ffb-2469-4288-a295-ce727c795c1e"
      unitRef="USD">448</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="INF"
      id="x_4f6456bd-880e-4960-8dff-921f481b7721"
      unitRef="USD">827</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="INF"
      id="x_4230c486-58f8-4447-997c-590f830a4172"
      unitRef="USD">1892</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="INF"
      id="x_6ae4f597-81a5-43d8-a6d1-cf912be27d6d"
      unitRef="USD">144</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="INF"
      id="x_76d76501-30fd-46a5-b258-1e205cad95f2"
      unitRef="USD">602</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="INF"
      id="x_233641bb-bc9f-4198-82c3-34a0bd94212f"
      unitRef="USD">1086</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107196"
      decimals="INF"
      id="x_009f4405-b9d8-4ed4-b81b-3fcc3cf7caf1"
      unitRef="USD">2424</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="INF"
      id="x_9c688706-4fb6-4776-b478-9173414dfdc3"
      unitRef="USD">81</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="INF"
      id="x_67324d30-484c-4c9f-8799-37cfd0068eb6"
      unitRef="USD">411</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="INF"
      id="x_532d1ac7-31b8-4bf5-8d45-588b1d12faa1"
      unitRef="USD">764</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000200310"
      decimals="INF"
      id="a0636e3a-0e1c-4fd6-964a-66de01ebbf5e"
      unitRef="USD">1760</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      id="x_8ff2279f-69b8-4537-bcce-cc0039decfb4">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="INF"
      id="b9c0a50c-65b5-4709-9ef7-d70722a32c33"
      unitRef="USD">194</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="INF"
      id="ed5f0e24-acc8-4521-8e0d-2435f94d98f9"
      unitRef="USD">753</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="INF"
      id="x_94d761d8-82cf-444e-9a67-082054492b06"
      unitRef="USD">1339</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107194"
      decimals="INF"
      id="e79fdfb7-a7b5-48b1-bb6a-83d86f686fc2"
      unitRef="USD">2929</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="f8cc2108-4e9d-4709-a884-fba11022c28e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_57a6022a-e2b5-421c-92b9-4d66d9d3094e">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;, &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;0&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio. However, the Fund&#x2019;s portfolio turnover rate is calculated without regard to transactions involving certain short-term instruments or derivatives. If such transactions were included in the calculation, the Fund would have a higher portfolio turnover rate.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      decimals="4"
      id="x_3e33b364-f01f-40e6-898c-14059020879d"
      unitRef="pure">0</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="a166f830-2950-4940-9580-592972cbc3ff">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_4e023916-0bee-4560-84a6-7981fa08b977">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund implements a trend-following strategy that takes long and/or short positions in a wide range of asset classes, including equities, fixed income, commodities and currencies, among others, to seek long-term absolute return. The Fund seeks to achieve its investment objective by investing primarily in a portfolio of equities, equity index futures, bonds, bond futures, equity swaps, interest rate swaps, currency forwards and non-deliverable forwards, options, exchange-traded funds (&#x201c;ETFs&#x201d;), and structured securities. As a result of the Fund&#x2019;s use of derivatives, the Fund may also hold significant amounts of U.S. Treasuries or short-term investments, including money market funds, repurchase agreements, cash and time deposits. The Fund&#x2019;s investments will be made without restriction as to issuer capitalization, country, currency, maturity, or credit rating. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser seeks to identify price trends in various asset classes over short-, medium-, and long-term horizons via a proprietary investment model, in combination with a qualitative overlay. The proprietary investment model uses past asset prices and other market information to seek to determine the direction and the magnitude of the price trend. The investment model tends to have positive view on assets with positive trends and negative view on assets with negative trends. For certain assets where market events produce predictable price patterns, the model adjusts such asset views accordingly. Based on the investment model views, the Fund will take a long or short position in the instrument or asset. Long positions benefit from an increase in price of the underlying instrument or asset, while short positions benefit from a decrease in price of the underlying instrument or asset. The size of the Fund&#x2019;s position in an instrument or asset will primarily be related to the strength of the overall trend identified by the investment model as well as its forecasted risk. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary investment model, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its investment model, or use other investment models that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may implement short positions and may do so by using swaps or futures, or through short sales of any instrument that the Fund may purchase for investment. For example, the Fund may enter into a futures contract pursuant to which it agrees to sell an asset (that it does not currently own) at a specified price at a specified point in the future. This gives the Fund a short position with respect to that asset. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may use leverage (e.g., by borrowing or through derivatives). As a result, the sum of the Fund&#x2019;s investment exposures may at times exceed the amount of assets invested in the Fund, although these exposures may vary over time. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may seek exposure to the commodities markets by investing in commodity index-linked structured notes. The Fund may also take long and/or short positions in commodities by investing in other investment companies, ETFs or other pooled investment vehicles. The Fund may also gain exposure to the commodities markets by investing in a wholly-owned subsidiary of the Fund organized as a limited liability company under the laws of the Cayman Islands (the &#x201c;MFS Subsidiary&#x201d;). The MFS Subsidiary is advised by the Investment Adviser and seeks to gain commodities exposure. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Investment in the Subsidiary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may invest up to 25% of its total assets in the MFS Subsidiary. The MFS Subsidiary primarily obtains its commodity exposure by investing in commodity-linked derivative instruments, which may include but are not limited to total return swaps, commodity (U.S. or foreign) futures and commodity-linked notes. Commodity-linked swaps are derivative &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;instruments whereby the cash flows agreed upon between counterparties are dependent upon the price of the underlying commodity or commodity index over the life of the swap. Commodity futures contracts are standardized, exchange-traded contracts that provide for the sale or purchase of, or economic exposure to the price of, a commodity or a specified basket of commodities at a future time. The value of these commodity-linked derivatives will rise and fall in response to changes in the underlying commodity or commodity index. Commodity-linked derivatives expose the MFS Subsidiary and the Fund economically to movements in commodity prices. Such instruments may be leveraged so that small changes in the underlying commodity prices would result in disproportionate changes in the value of the instrument. Neither the Fund nor the MFS Subsidiary invests directly in physical commodities. The MFS Subsidiary may also invest in other instruments, including fixed income securities, either as investments or to serve as margin or collateral for its swap positions, as well as volatility index derivatives and foreign currency transactions (including forward contracts). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the ICE BofAML Three-Month U.S. Treasury Bill Index.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_RiskLoseMoneyMember"
      id="x_6cacfba5-a7b4-45a0-910b-865e104024cb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_RiskNotInsuredDepositoryInstitutionMember"
      id="x_0fb9013c-5f7a-4fe6-a4f4-429e1d28fc87">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_AbsenceofRegulationRiskMember"
      id="x_95f9ed2b-197b-4985-9dd9-9b52235d9e37">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Absence of Regulation Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund engages in over-the-counter (&#x201c;OTC&#x201d;) transactions, which trade in a dealer network, rather than on an exchange. In general, there is less governmental regulation and supervision of transactions in the OTC markets than of transactions entered into on organized exchanges.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_CallPrepaymentRiskMember"
      id="x_3867fe4e-978f-4e16-aa1d-163e3e86bf76">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Call/Prepayment Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;An issuer could exercise its right to pay principal on an obligation held by the Fund (such as a mortgage-backed security) earlier than expected. This may happen when there is a decline in interest rates, when credit spreads change, or when an issuer&#x2019;s credit quality improves. Under these circumstances, the Fund may be unable to recoup all of its initial investment and will also suffer from having to reinvest in lower-yielding securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_CommoditySectorRiskMember"
      id="x_9ecbb293-c232-457c-b0c8-4e0e0a572205">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Commodity Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Exposure to the commodities markets may subject the Fund to greater volatility than investments in more traditional securities. The value of commodity-linked investments may be affected by changes in overall market movements, commodity index volatility, changes in interest rates, or factors affecting a particular industry or commodity, such as drought, floods, weather, livestock disease, embargoes, tariffs and international economic, business,&#160;political and regulatory developments. The prices of energy, industrial metals, precious metals, agriculture and livestock sector commodities may fluctuate widely due to factors such as changes in value, supply and demand and governmental regulatory policies. The commodity-linked investments in which the MFS Subsidiary enters into may involve counterparties in the financial services sector, and events affecting the financial services sector may cause the MFS Subsidiary's, and therefore the Fund&#x2019;s, share value to fluctuate.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_CounterpartyRiskMember"
      id="x_57a57d2b-8d60-4df0-86b4-1060c3092c3c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Counterparty Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Many of the protections afforded to cleared transactions, such as the security afforded by transacting through a clearing house, might not be available in connection with OTC transactions. Therefore, in those instances in which the Fund enters into uncleared OTC transactions, the Fund will be subject to the risk that its direct counterparty will not perform its obligations under the transactions and that the Fund will sustain losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_CreditDefaultRiskMember"
      id="x_22632740-be72-4c4c-b071-ada4be45bcea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. An issuer or guarantor of fixed income securities or instruments held by the Fund&#160;(which may have low credit ratings) may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund's liquidity and cause significant deterioration in net asset value (&#x201c;NAV&#x201d;). These risks are heightened in market environments where interest rates are rising as well as in connection with the Fund's investments in non-investment grade fixed income securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_DerivativesRiskMember"
      id="x_023f8f52-f379-4d54-b94a-2e286bede50f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Derivatives Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s use of options, futures, forwards, swaps, options on swaps, structured securities and other derivative instruments may result in losses. These instruments, which may pose risks in addition to and greater than those associated with investing directly in securities, currencies or other instruments, may be illiquid or less liquid, volatile, difficult to price and leveraged so that small changes in the value of underlying instruments may produce disproportionate losses to the Fund. Certain derivatives are also subject to counterparty risk, which is the risk that the other party in the transaction will not fulfill its contractual obligations. The use of derivatives is a highly specialized activity that involves investment techniques and risks different from those associated with investments in more traditional securities and instruments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_ExpensesRiskMember"
      id="ccac17d2-f233-44c1-82c0-794849174507">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Expenses Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; By investing in Underlying Funds indirectly through the Fund, the investor will incur a proportionate share of the expenses of those Underlying Funds held by the Fund (including operating costs and investment management fees), in addition to the expenses of the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_ForeignandEmergingCountriesRiskMember"
      id="x_70bac3c1-e721-476f-aee3-d1b1f4620a77">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign and Emerging Countries Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls (including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency exchange rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time. These risks are more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in, or otherwise economically tied to, emerging countries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_InterestRateRiskMember"
      id="a091264e-dc22-4e9d-acbb-bfe3600d6d73">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, fixed income securities or instruments held by the Fund will generally decline in value. Long-term fixed income securities or instruments will normally have more price volatility because of this risk than short-term fixed income securities or instruments. Changing interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. In addition, changes in monetary policy may exacerbate the risks associated with changing interest rates. Funds with longer average portfolio durations will generally be more sensitive to changes in interest rates than funds with a shorter average portfolio duration. Fluctuations in interest rates may also affect the liquidity of fixed income securities and instruments held by the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_InvestmentStyleRiskMember"
      id="fa2d3553-8b6e-42a3-b46e-2f4a89fe5924">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (e.g., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund employs a &#x201c;quantitative&#x201d; style, and may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_LargeShareholderTransactionsRiskMember"
      id="bdaa9922-b8be-4d16-9f1b-fd29273fe34b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; NAV and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_LeverageRiskMember"
      id="e01f1983-ed0f-4aa4-b69f-af1a894eb0ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Leverage Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Borrowing and the use of derivatives may result in leverage and may make the Fund more volatile. The use of leverage may cause the Fund to liquidate portfolio positions to satisfy its obligations when it may not be advantageous to do so. The use of leverage by the Fund can substantially increase the adverse impact to which the Fund&#x2019;s investment portfolio may be subject.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_LiquidityRiskMember"
      id="x_666d9cdd-4ac1-489e-8668-9ba07978d2fe">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests or other reasons. To meet redemption requests, the Fund may be forced to sell &#160;investments at an unfavorable time and/or under unfavorable conditions. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities&#160;or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions&#160;from fixed income funds may be higher than normal, potentially causing increased supply in the market due to selling activity. These risks may be more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in emerging market countries.&#160;Redemptions by large shareholders may have a negative impact on the Fund&#x2019;s liquidity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_ManagementRiskMember"
      id="x_7d0fe99f-ae94-4a4e-ae78-95b6cfdcdbd9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_MarketRiskMember"
      id="a88ba1a6-b7f7-4605-af13-9f5cc71cdd73">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_NonHedgingForeignCurrencyTradingRiskMember"
      id="x_8d81c5a6-6a1f-4cfa-90c2-df7ab1b92bc9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Non-Hedging Foreign Currency Trading Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may engage in forward foreign currency transactions for hedging and non-hedging purposes. The Investment Adviser may purchase or sell foreign currencies through the use of forward contracts based on the Investment Adviser&#x2019;s judgment regarding the direction of the market for a particular foreign currency or currencies. In pursuing this strategy, the Investment Adviser seeks to profit from anticipated movements in currency rates by establishing &#x201c;long&#x201d; and/or &#x201c;short&#x201d; positions in forward contracts on various foreign currencies. Foreign exchange rates can be extremely volatile and a variance in the degree of volatility of the market or in the direction of the market from the Investment Adviser&#x2019;s expectations may produce significant losses to the Fund. Some of these transactions may also be subject to interest rate risk.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_OtherInvestmentCompaniesRiskMember"
      id="c8af64bd-34c5-4a6c-b6a4-d1d034a7c4e4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Other Investment Companies Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; By investing in other investment companies (including ETFs) indirectly through the Fund, investors will incur a proportionate share of the expenses of the other investment companies held by the Fund (including operating costs and investment management fees) in addition to the fees regularly borne by the Fund. In addition, the Fund will be affected by the investment policies, practices and performance of such investment companies in direct proportion to the amount of assets the Fund invests therein.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_PortfolioTurnoverRateRiskMember"
      id="x_0b0eb6bb-65e5-4528-a328-1a1ecf14eb42">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders, and is also likely to result in short-term capital gains taxable to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_ShortPositionRiskMember"
      id="x_4340f0c3-13ce-4dda-b35d-6cb1fba4607f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Short Position Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may enter into a short position through a futures contract, an option or swap agreement or through short sales of any instrument that the Fund may purchase for investment. Taking short positions involves leverage of the Fund&#x2019;s assets and presents various risks. If the value of the underlying instrument or market in which the Fund has taken a short position increases, then the Fund will incur a loss equal to the increase in value from the time that the short position was entered into plus any related interest payments or other fees. Taking short positions involves the risk that losses may be disproportionate, may exceed the amount invested and may be unlimited.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_StockRiskMember"
      id="cc20d0c8-a43f-44c0-9c22-74e5334cce5a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_SubsidiaryRiskMember"
      id="a7e191b2-8d31-4ccd-83a1-0c4e78393e26">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Subsidiary Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The MFS Subsidiary is not registered under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;) and is not subject to all the investor protections of the Investment Company Act. Changes in the laws of the United States and/or the Cayman Islands could result in the inability of the Fund and/or the MFS Subsidiary to operate as described in the Prospectus and the SAI and could adversely affect the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_SwapsRiskMember"
      id="x_54dcc945-43d9-47f4-8c91-9969d6a544ad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Swaps Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; In a standard &#x201c;swap&#x201d; transaction, two parties agree to exchange the returns, differentials in rates of return or some other amount earned or realized on the &#x201c;notional amount&#x201d; of predetermined investments or instruments, which may be adjusted for an interest factor. Swaps can involve greater risks than direct investment in securities, because swaps may be leveraged and subject to counterparty risk (e.g., the risk of a counterparty&#x2019;s defaulting on the obligation or bankruptcy), credit risk and pricing risk (i.e., swaps may be difficult to value). Swaps may also be considered illiquid. It may not be possible for the Fund or the MFS Subsidiary to liquidate a swap position at an advantageous time or price, which may result in significant losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_TaxRiskMember"
      id="b56567e0-309e-4f89-96f9-5e9d2b4d3ffd">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;&#160;In reliance on an opinion of counsel, the Fund seeks to gain exposure to the commodity markets primarily through investments in the&#160;MFS Subsidiary.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The tax treatment of the Fund&#x2019;s investments in the MFS&#160;Subsidiary&#160;could affect whether income derived from such investments is &#x201c;qualifying income&#x201d; under Subchapter M of the Internal Revenue Code of 1986, as amended (the &#x201c;Code&#x201d;), or otherwise affect the character, timing and/or amount of the Fund&#x2019;s taxable income or any gains and distributions made by the Fund. If the IRS were to successfully assert that a Fund&#x2019;s income from such investments was not &#x201c;qualifying income,&#x201d; the Fund may fail to qualify as a regulated investment company under Subchapter M of the Code if&#160;over 10% of its gross income was derived from these investments. If the Fund failed to qualify as a regulated investment company, it would be subject to federal and state income tax on all of its taxable income at regular corporate tax rates with no deduction for any distributions paid to shareholders, which would significantly adversely affect the returns to, and could cause substantial losses for, Fund shareholders. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;Shareholders should review &#x201c;Other Information&#x201d; under &#x201c;Taxation&#x201d; on page 66 of the Prospectus for more information.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856_USGovernmentSecuritiesRiskMember"
      id="x_415c7f8f-511e-4219-b763-8fed0580dae3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law. U.S. government securities&#160;issued by those agencies, instrumentalities and sponsored enterprises, including those issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="ef537048-b42a-4a66-a9c1-ecf6bee12692">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_905da78b-4848-4e06-b8b7-1a9dfd4fc1e2">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Investor Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (Bloomberg Global Aggregate Index (Gross, USD, Hedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the &#x201c;Performance Benchmark&#x201d;). The Investment Adviser measures the Fund&#x2019;s performance against the Performance &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Benchmark.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 28 of the Prospectus. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_395f2465-10d1-43b1-9cb2-96e75f94d655">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Investor Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (Bloomberg Global Aggregate Index (Gross, USD, Hedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the &#x201c;Performance Benchmark&#x201d;). The Investment Adviser measures the Fund&#x2019;s performance against the Performance &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Benchmark.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_8c93f7d1-55fb-4ed8-9e77-7772541337cf">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_50ccff73-d51b-4f3d-96f8-19911dabb6d2">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="c5b77665-f3fc-48a1-b071-b5cad3f5c587">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR &lt;/span&gt;&lt;span style="font-family:Arial;font-size:9pt;"&gt;(INVESTOR*)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartReasonSelectedClassDifferentFromImmediatelyPrecedingPeriod
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_2472a210-c11d-429d-b929-bc2c49eda896">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Previously, the bar chart above showed the Fund&#x2019;s annual returns for Institutional Shares. Annual returns for Investor Shares are used now because Investor Shares have more assets than any other share class.&lt;/span&gt;</oef:BarChartReasonSelectedClassDifferentFromImmediatelyPrecedingPeriod>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_2f70e36c-a0c5-4b16-9259-6142558a2374">&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;14.20%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:1.47pt;"&gt;-7.35%&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2023&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      id="fd30762e-70cd-464b-aab0-137db6894352">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_79eae262-635c-464f-8836-eb881fa6300b"
      unitRef="pure">0.1420</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      id="fc8820e2-a7b6-4f33-9fe6-b295fbed21c9">2022-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      id="e6c12645-f5f5-4ac2-9002-87ed5469c9c8">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      decimals="4"
      id="x_292f6a7d-fcec-4c4a-8b24-7e7c437b78dc"
      unitRef="pure">-0.0735</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstInvRR6SharesMember_S000034856_C000107197"
      id="e7fa68aa-43d1-44ef-b39b-d1c439f3b160">2023-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="ac8a3597-b4a8-486a-91f4-f2d9067af9ed">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000107193"
      id="x_0f713939-2f8d-449b-907c-5123c79b7c83">2012-02-29</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_01Jan2025_31Dec2025"
      decimals="4"
      id="ec7e1a4b-8079-480b-a600-13985a140464"
      unitRef="pure">-0.0530</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_01Jan2021_31Dec2025"
      decimals="4"
      id="x_95e4dfae-f79c-45bd-a6b0-b4bf9d867ba2"
      unitRef="pure">0.0154</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_01Jan2016_31Dec2025"
      decimals="4"
      id="f2bf5dc8-db7b-40ca-be5d-f810b85aded6"
      unitRef="pure">0.0155</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="bf48e69b-1425-4a05-bd59-71730c181992"
      unitRef="pure">-0.0530</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="a324da83-b427-486a-a739-9afcedc2c918"
      unitRef="pure">-0.0048</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_26af330f-fdf6-47df-a9cf-a0b0901357e2"
      unitRef="pure">0.0022</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_8ce14162-6ea3-4af6-89f1-73272b1d4aac"
      unitRef="pure">-0.0314</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_871fcf50-8a3e-435b-94cd-a1c68394dc39"
      unitRef="pure">0.0039</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107193_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_10df7def-965b-4466-b680-7f73b7db9c91"
      unitRef="pure">0.0067</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000107194"
      id="x_829d8ba1-076d-4597-88b2-a25c63715d2d">2012-02-29</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107194_01Jan2025_31Dec2025"
      decimals="4"
      id="c5b85f33-f614-4f29-91ad-857c2dc3b3d3"
      unitRef="pure">-0.0149</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107194_01Jan2021_31Dec2025"
      decimals="4"
      id="x_821961cb-510f-40b3-8155-3f262f256724"
      unitRef="pure">0.0192</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107194_01Jan2016_31Dec2025"
      decimals="4"
      id="x_01d5a2f5-92c8-4590-80a1-f9301fdf9d3a"
      unitRef="pure">0.0135</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000107195"
      id="e950ad9b-17a1-40c3-87fb-54a2cd5f1c89">2012-02-29</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107195_01Jan2025_31Dec2025"
      decimals="4"
      id="x_282aabf0-030a-4baf-9d2d-56b38d9e8572"
      unitRef="pure">0.0064</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107195_01Jan2021_31Dec2025"
      decimals="4"
      id="x_115cc339-3cec-492a-b4e0-f79f2fdd93d2"
      unitRef="pure">0.0309</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107195_01Jan2016_31Dec2025"
      decimals="4"
      id="x_5f63c3d3-cec7-48be-b2ab-80d521b9724c"
      unitRef="pure">0.0250</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000107197"
      id="x_4ee13935-66f3-42aa-82a8-dd3be5f1dbae">2012-02-29</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107197_01Jan2025_31Dec2025"
      decimals="4"
      id="f8d22d17-9781-47ed-9398-28db3d8e7836"
      unitRef="pure">0.0054</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107197_01Jan2021_31Dec2025"
      decimals="4"
      id="x_877383c8-cca5-4d2e-8ab6-410654906cb2"
      unitRef="pure">0.0296</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107197_01Jan2016_31Dec2025"
      decimals="4"
      id="x_61ce8e70-bc88-4293-80ff-ed140339d9f4"
      unitRef="pure">0.0237</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000107196"
      id="x_75430af5-95bb-415a-bda8-6d1e740c6208">2012-02-29</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107196_01Jan2025_31Dec2025"
      decimals="4"
      id="e74b0896-4115-4a91-b81b-4c069407d80e"
      unitRef="pure">0.0000</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107196_01Jan2021_31Dec2025"
      decimals="4"
      id="x_10009473-13ae-4b5d-af6f-03f69a95a7d9"
      unitRef="pure">0.0246</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000107196_01Jan2016_31Dec2025"
      decimals="4"
      id="af4aaa8d-85c0-424f-823b-6ab4d65dd870"
      unitRef="pure">0.0187</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvRR6SharesMember_C000200310"
      id="x_9e2edce7-a27b-4b43-ab18-0ee801993c55">2018-04-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000200310_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2fd1f933-17e6-47f3-8026-b032ef4cc719"
      unitRef="pure">0.0064</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000200310_01Jan2021_31Dec2025"
      decimals="4"
      id="x_05f03cea-0d9c-4fae-b690-c2d44bf7224f"
      unitRef="pure">0.0308</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_C000200310_01Jan2016_31Dec2025"
      decimals="4"
      id="x_3decbf9f-4822-4b7e-aea3-41c6fc8e5681"
      unitRef="pure">0.0251</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_83e9bb97-f2bf-4311-ba49-797e35055a07"
      unitRef="pure">0.0418</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="e86d8b7e-ba05-4650-9b71-5172fa3dddc7"
      unitRef="pure">0.0317</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="a3e6a622-2b48-4fc9-83aa-4e5feea9a609"
      unitRef="pure">0.0218</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="f6eb5729-0e10-4ea5-97a7-62ab4bb12e80"
      unitRef="pure">0.0486</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_89994881-b6c5-4ff9-9fd0-6a5c8134902a"
      unitRef="pure">0.0034</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvRR6SharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_3e7e65f4-cbe0-41a2-bed9-ac18485594d7"
      unitRef="pure">0.0239</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_0ce823c7-78a9-4cfa-97f3-868499c2e1ec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;After-tax returns are calculated using &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="e120a11b-3d71-4031-9dbb-79b0ad184b67">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="b9eec93f-88e0-4dca-9684-00880414f96a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary. &lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_591b4fc0-986e-4c61-aa51-00d7af815c47">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;After-tax returns are calculated using &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstInvRR6SharesMember_S000034856"
      id="x_198e2671-515d-4991-9c8c-9a5e161df1d5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000020314"
      id="x_320de2fa-18d0-4dbc-9d00-266c0cbdafc3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Absolute Return Tracker Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000020314"
      id="x_014f50e5-c517-42b6-980c-25a7580b5500">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000020314"
      id="f34bb396-7504-49b6-8ded-301f1915c5e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Absolute Return Tracker Fund (the &#x201c;Fund&#x201d;) seeks to deliver long-term total return consistent with investment results that approximate the return and risk patterns of a diversified universe of hedge funds.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000020314"
      id="x_4a48e6dd-869e-4ccf-a065-9b3eceea6ab4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000020314"
      id="x_3bdd8647-db51-4c4c-82db-07df85387718">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000020314"
      id="d3fd65f1-b817-4db2-a693-5b0c132217c4">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="4"
      id="x_8798d23b-335a-4e4e-87b8-c829e747a10f"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="4"
      id="x_3b1b4450-d098-4c11-9f7b-5468ccd592a1"
      unitRef="pure">0.0007</oef:OtherExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="4"
      id="dec6623b-5e8e-4717-913f-f4cc409cbc48"
      unitRef="pure">0.0009</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="4"
      id="x_6444176d-f51b-4ad8-8738-d1c3037800cb"
      unitRef="pure">0.0079</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="4"
      id="afa63786-2fc4-407c-9c2a-2e4bceaa5b49"
      unitRef="pure">-0.0006</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="4"
      id="x_3b3d0618-eec8-4146-ab64-0c211acb4511"
      unitRef="pure">0.0073</oef:NetExpensesOverAssets>
    <oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees
      contextRef="ClassPSharesMember_S000020314"
      id="x_7bb50d55-9a3e-4aee-862f-67c3961e3cd0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;&lt;/span&gt;</oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassPSharesMember_S000020314"
      id="x_4f5acce3-c585-45ec-9edc-dcf9c9719111">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000020314"
      id="d43cb198-1992-47a6-87da-e88a4c81f9a1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000020314"
      id="x_2d6aacff-544b-40cf-8dcc-e5326f685e21">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same (except that the Example incorporates the fee waiver and expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="INF"
      id="x_4cd3cbd1-df37-4b88-be37-d002e04d1e77"
      unitRef="USD">75</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="INF"
      id="x_9c5c5a12-d9e5-4fa0-9035-a3102096918c"
      unitRef="USD">246</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="INF"
      id="a1f3b78c-9120-4a95-9c17-63529b6017c7"
      unitRef="USD">433</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="INF"
      id="x_78cd2509-23b0-4552-9030-86efdfd775d2"
      unitRef="USD">972</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000020314"
      id="x_3b4fe0a0-3be3-420c-acfa-4f6f9c8cd53e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000020314"
      id="x_98c21404-14fa-43bb-b78f-c3ecb5bb8d29">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;134&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000020314"
      decimals="4"
      id="x_927f2381-4482-4a57-b561-26ce7b553f84"
      unitRef="pure">1.34</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000020314"
      id="x_1c55d798-a50a-4766-adbc-636297ec6bd2">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000020314"
      id="x_269baab1-70bf-46ad-86e7-62fab933d43f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s Investment Adviser believes that hedge funds derive a large portion of their returns from exposure to sources of market risk (&#x201c;Market Exposures&#x201d;) and &#x201c;Trading Strategies&#x201d; involving long and/or short positions in Market Exposures and/or individual securities or baskets of securities. In seeking to meet its investment objective, the Fund uses a dynamic investment process to seek to identify the appropriate weights to Market Exposures and Trading Strategies that approximate the return and risk patterns of specific hedge fund sub-strategies. The hedge fund sub-strategies whose returns the Fund seeks to approximate include, but are not limited to, Equity Long Short, Event Driven, Relative Value and Macro sub-strategies (each a &#x201c;Hedge Fund Sub-Strategy&#x201d;). To establish the Market Exposures and Trading Strategies that drive the returns of the Hedge Fund Sub-Strategies, the Investment Adviser uses industry analysis of hedge funds, including hedge fund return databases, prime brokerage reports, industry participants and regulatory filings and other public sources. The Investment Adviser then applies a quantitative methodology, in combination with a qualitative overlay, to assess the appropriate weight to each Market Exposure and Trading Strategy. The Fund may seek to establish long and/or short positions in a multitude of Market Exposures, including but not limited to: &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;U.S. and non-U.S. (including emerging market) equity indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;U.S. and non-U.S. (including emerging market) fixed income indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Credit indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Interest rates; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Commodity indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Master limited partnership (&#x201c;MLP&#x201d;) indices; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Foreign currency exchange rates; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Baskets of top positions held by hedge funds; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Single stocks and single commodities; &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Volatility; and &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Market momentum/trends. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests in instruments that the Investment Adviser believes will assist the Fund in gaining exposure to the Market Exposures. The instruments in which the Fund may invest include, but are not limited to: &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Equity securities (including securities that may convert into equity securities); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;U.S. corporate bonds and other fixed income securities (including non-investment grade fixed income securities (commonly known as &#x201c;junk bonds&#x201d;)); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Futures (including equity index futures, interest rate futures, bond futures and volatility futures); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Swaps (including total or excess return swaps and credit default swaps on indices); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Options (including listed equity index put and call options, listed government bond future put and call options, options on volatility, and swaptions); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Structured notes (including commodity-linked notes); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Exchange-traded funds (&#x201c;ETFs&#x201d;); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Forward contracts (including currency forward contracts on developed and emerging markets currencies); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Wholly-owned subsidiary (to gain exposure to the commodities markets); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Asset and mortgage-backed securities and real estate investment trusts (&#x201c;REITs&#x201d;); &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;U.S. government securities, including agency debentures, and other high quality debt securities; and &lt;/span&gt;&lt;span style="color:#D15600;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Cash equivalents. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Investment in the Subsidiary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund seeks to gain exposure to the commodities markets by investing in a wholly-owned subsidiary of the Fund organized as a limited liability company under the laws of the Cayman Islands, Cayman Commodity &#x2013; ART, LLC (the &#x201c;ART Subsidiary&#x201d;). The ART Subsidiary is advised by the Investment Adviser and seeks to gain commodities exposure. The Fund may invest up to 25% of its total assets in the ART Subsidiary. The ART Subsidiary primarily obtains its commodity exposure by investing in commodity-linked derivative instruments (which may include total or excess return swaps on commodity indexes, sub-indexes and single commodities, as well as commodity (U.S. or foreign) futures, commodity options and commodity-linked notes). Commodity-linked swaps are derivative instruments whereby the cash flows agreed upon between counterparties are dependent upon the price of the underlying commodity or commodity index over the life of the swap. Commodity futures contracts are standardized, exchange-traded contracts that provide for the sale or purchase of, or economic exposure to the price of, a commodity or a specified basket of commodities at a future time. An option on commodities gives the purchaser the right (and the writer of the option the obligation) to assume a position in a commodity or a specified basket of commodities at a specified exercise price within a specified period of time. The value of these commodity-linked derivatives will rise and fall in response to changes in the underlying commodity or commodity index. Commodity-linked derivatives expose the ART Subsidiary and the Fund economically to movements in commodity prices. Such instruments may be leveraged so that small changes in the underlying commodity prices would result in disproportionate changes in the value of the instrument. Neither the Fund nor the ART Subsidiary invests directly in physical commodities. The ART Subsidiary may also invest in other instruments, including fixed income securities, either as investments or to serve as margin or collateral for its swap positions, as well as volatility index derivatives and foreign currency transactions (including forward contracts). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may from time to time hold foreign currencies. Additionally, as a result of the Fund&#x2019;s use of derivatives, the Fund may also hold as collateral significant amounts of U.S. Treasury or short-term investments, including money market funds, repurchase agreements, cash and time deposits. In managing the collateral portion of the Fund&#x2019;s investment strategy, the Investment Adviser generally seeks capital preservation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The weighting of a Market Exposure or Trading Strategy within the Fund may be positive or negative. A negative weighting will result from establishing a short position with respect to a Market Exposure or Trading Strategy. As a result of the Fund&#x2019;s negative weightings in various Market Exposures or Trading Strategies from time to time, the Fund&#x2019;s net asset value (&#x201c;NAV&#x201d;) per share may decline during certain periods, even if the value of any or all of the Market Exposures or Trading Strategies increases during that time. Additionally, the sum of the Fund&#x2019;s target weightings to each Market Exposure or Trading Strategy may not equal 100%. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary investment model, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to the quantitative methodology used by the Fund, and the Fund may use other proprietary methodologies based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund does not invest in hedge funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the ICE BofAML Three-Month U.S. Treasury Bill Index.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_RiskLoseMoneyMember"
      id="x_3ac948e8-0c8a-4829-83be-57240751119f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_RiskNotInsuredDepositoryInstitutionMember"
      id="x_9bb68aab-10da-424d-83c9-004cfba9a233">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_AbsenceofRegulationRiskMember"
      id="x_3038befc-14ae-4643-9146-d446d6757222">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Absence of Regulation Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund engages in over-the-counter (&#x201c;OTC&#x201d;) transactions, which trade in a dealer network, rather than on an exchange. In general, there is less governmental regulation and supervision of transactions in the OTC markets than of transactions entered into on organized exchanges.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_CommoditySectorRiskMember"
      id="x_76f7f4f6-7d33-4e02-9c14-a9c0f109b473">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Commodity Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Exposure to the commodities markets may subject the Fund to greater volatility than investments in more traditional securities. The value of commodity-linked investments may be affected by changes in overall market movements, commodity index volatility, changes in interest rates, or factors affecting a particular industry or commodity, such as drought, floods, weather, livestock disease, embargoes, tariffs and international economic, business,&#160;political and regulatory developments. The prices of energy, industrial metals, precious metals, agriculture and livestock sector commodities may fluctuate widely due to factors such as changes in value, supply and demand and governmental regulatory policies. The commodity-linked investments in which the ART Subsidiary enters into may involve counterparties in the financial services sector, and events affecting the financial services sector may cause the &#160;ART Subsidiary's, and therefore the Fund&#x2019;s, share value to fluctuate.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_CounterpartyRiskMember"
      id="a59a0d88-6b2d-48c4-82e6-13e9085b1e5a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Counterparty Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Many of the protections afforded to cleared transactions, such as the security afforded by transacting through a clearing house, might not be available in connection with OTC transactions. Therefore, in those instances in which the Fund enters into uncleared OTC transactions, the Fund will be subject to the risk that its direct counterparty will not perform its obligations under the transactions and that the Fund will sustain losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_CreditDefaultRiskMember"
      id="x_00cd5db0-7692-45fa-86d4-a323f6ae4882">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer or guarantor of fixed income securities or instruments held by the Fund (which may have low credit ratings) may default on its obligation to pay interest and repay principal or default on any other obligation. The credit quality of the Fund&#x2019;s portfolio securities or instruments may meet the Fund&#x2019;s credit quality requirements at the time of purchase but then deteriorate thereafter, and such a deterioration can occur rapidly. In certain instances, the downgrading or default of a single holding or guarantor of the Fund&#x2019;s holding may impair the Fund&#x2019;s liquidity and have the potential to cause significant deterioration in net asset value (&#x201c;NAV&#x201d;). These risks are heightened in market environments where interest rates are rising as well as in connection with the Fund&#x2019;s investments in non-investment grade fixed income securities. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_DerivativesRiskMember"
      id="x_5114ec35-84b3-4806-95ae-fedb3e42c987">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Derivatives Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s use of options, futures, forwards, swaps, options on swaps, structured securities and other derivative instruments may result in losses. These instruments, which may pose risks in addition to and greater than those associated with investing directly in securities, currencies or other instruments, may be illiquid or less liquid, volatile, difficult to price and leveraged so that small changes in the value of underlying instruments may produce disproportionate losses to the Fund. Certain derivatives are also subject to counterparty risk, which is the risk that the other party in the transaction will not fulfill its contractual obligations. The use of derivatives is a highly specialized activity that involves investment techniques and risks different from those associated with investments in more traditional securities and instruments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_ExpensesRiskMember"
      id="x_11c3af31-5b8c-41d4-b60a-e9bd815444ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Expenses Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;By investing in pooled investment vehicles (including investment companies and exchange-traded funds (&#x201c;ETFs&#x201d;)), partnerships, and real estate investment trusts (&#x201c;REITs&#x201d;) (&#x201c;Underlying Funds&#x201d;) indirectly through the Fund, the investor will incur not only a proportionate share of the expenses of those Underlying Funds held by the Fund (including operating costs and investment management fees), but also the expenses of the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_ForeignandEmergingCountriesRiskMember"
      id="a4fdfe04-f35f-4e66-bcc7-640113dac179">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign and Emerging Countries Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls (including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency exchange rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time. These risks are more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in, or otherwise economically tied to, emerging countries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_InterestRateRiskMember"
      id="x_8f765a2f-0446-4d18-b116-82ce0324eb96">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. When interest rates increase, fixed income securities or instruments held by the Fund will generally decline in value. Long-term fixed income securities or instruments will normally have more price volatility because of this risk than short-term fixed income securities or instruments. Changing interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. In addition, changes in monetary policy may exacerbate the risks associated with changing interest rates. Funds with longer average portfolio durations will generally be more sensitive to changes in interest rates than funds with a shorter average portfolio duration. Fluctuations in interest rates may also affect the liquidity of fixed income securities and instruments held by the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_InvestingintheUnderlyingFundsMember"
      id="x_0553ef45-f36e-4ee8-8867-6c97fc5300ea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investing in the Underlying Funds.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The investments of the Fund may be concentrated in one or more Underlying Funds (including ETFs and other registered investment companies) subject to limitations and/or conditions prescribed by the Investment Company Act of 1940, as amended (the &#x201c;Investment Company Act&#x201d;), or rules, regulations or exemptive relief thereunder. The Fund&#x2019;s investment performance is directly related to the investment performance of the Underlying Funds it holds. The Fund is subject to the risk factors associated with the investments of the Underlying Funds in direct proportion to the amount of assets allocated to each. If the Fund has a relative concentration of its portfolio in a single Underlying Fund, it may be more susceptible to adverse developments affecting that Underlying Fund and may be more susceptible to losses because of these developments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_InvestmentStyleRiskMember"
      id="x_29d7540d-a1a0-4c91-a4bd-3a7236c9c5cd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (e.g., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund employs a &#x201c;quantitative&#x201d; style, and may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_LargeShareholderTransactionsRiskMember"
      id="fe3520de-0123-4b22-bd42-d7f5d8fdea89">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; NAV and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_LeverageRiskMember"
      id="aad58f4b-3ab7-445e-9eff-f73284ed0d76">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Leverage Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Borrowing and the use of derivatives may result in leverage and may make the Fund more volatile. The use of leverage may cause the Fund to liquidate portfolio positions to satisfy its obligations when it may not be advantageous to do so. The use of leverage by the Fund can substantially increase the adverse impact to which the Fund&#x2019;s investment portfolio may be subject.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_LiquidityRiskMember"
      id="bd3e182c-be02-413d-992f-b456e5f766ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests or other reasons. To meet redemption requests, the Fund &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;may be forced to sell investments at an unfavorable time and/or under unfavorable conditions. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities&#160;or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions&#160;from fixed income funds may be higher than normal, potentially causing increased supply in the market due to selling activity. These risks may be more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in emerging market countries.&#160;Redemptions by large shareholders may have a negative impact on the Fund&#x2019;s liquidity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_ManagementRiskMember"
      id="acf21d9f-cffd-4ac7-9938-7c441d0db91e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_MarketRiskMember"
      id="c161061c-454c-40fc-a771-02bcd1a6e78e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_MasterLimitedPartnershipRiskMember"
      id="x_72f31526-8541-48f7-a4fd-2ecec840a87a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Master Limited Partnership Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Investments in securities of an MLP involve risks that differ from investments in common stock, including risks related to limited control and limited rights to vote on matters affecting the MLP. Certain MLP securities may trade in lower volumes due to their smaller capitalizations, and may be subject to more abrupt or erratic price movements and lower market liquidity. MLPs are generally considered interest-rate sensitive investments. During periods of interest rate volatility, these investments may not provide attractive returns. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Investments in securities of an MLP also include tax-related risks. For example, to the extent a distribution received by the Fund from an MLP is treated as a return of capital, the Fund&#x2019;s adjusted tax basis in the interests of the MLP may be reduced, which will result in an increase in an amount of income or gain (or decrease in the amount of loss) that will be recognized by the Fund for tax purposes upon the sale of any such interests or upon subsequent distributions in respect of such interests.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_MidCapandSmallCapRiskMember"
      id="x_31856bf8-2351-4a3b-8c4e-b8d1efd074ba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Mid-Cap and Small-Cap Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Investments in mid-capitalization and small-capitalization companies involve greater risks than those associated with larger, more established companies. These securities may be subject to more abrupt or erratic price movements and may lack sufficient market liquidity, and these issuers often face greater business risks.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_NonHedgingForeignCurrencyTradingRiskMember"
      id="x_7bada921-e738-47a1-95d6-420cb0a6e0f9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Non-Hedging Foreign Currency Trading Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may engage in forward foreign currency transactions for hedging and non-hedging purposes. The Investment Adviser may purchase or sell foreign currencies through the use of forward contracts based on the Investment Adviser's judgment regarding the direction of the market for a particular foreign currency or currencies. In pursuing this strategy, the Investment Adviser seeks to profit from anticipated movements in currency rates by establishing &#x201c;long&#x201d; and/or &#x201c;short&#x201d; positions in forward contracts on various foreign currencies. Foreign exchange rates can be extremely volatile and a variance in the degree of volatility of the market or in the direction of the market from the Investment Adviser's expectations may produce significant losses to the Fund. Some of these transactions may also be subject to interest rate risk.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_OtherInvestmentCompaniesRiskMember"
      id="x_9643f2a3-dae9-4533-8add-cb6d96bd8c51">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Other Investment Companies Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; By investing in other investment companies (including ETFs) indirectly through the Fund, investors will incur a proportionate share of the expenses of the other investment companies held by the Fund (including operating costs and investment management fees) in addition to the fees regularly borne by the Fund. In addition, the Fund will be affected by the investment policies, practices and performance of such investment companies in direct proportion to the amount of assets the Fund invests therein.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_PortfolioTurnoverRateRiskMember"
      id="eb07f558-7b68-44f8-b24d-362f8fa20e21">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders, and is also likely to result in short-term capital gains taxable to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_ShortPositionRiskMember"
      id="x_7a8bf46e-3ac0-42bc-8df0-ce0fd60a022e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Short Position Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may enter into a short position through a futures contract, an option or swap agreement or through short sales of any instrument that the Fund may purchase for investment. Taking short positions involves leverage of the Fund&#x2019;s assets and presents various risks. If the value of the underlying instrument or market in which the Fund has taken a short position increases, then the Fund will incur a loss equal to the increase in value from the time that the short position was entered into plus any related interest payments or other fees. Taking short positions involves the risk that losses may be disproportionate, may exceed the amount invested and may be unlimited.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_StockRiskMember"
      id="bb895a3e-de7c-49cc-bd70-9c42e085db3c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_SubsidiaryRiskMember"
      id="d3db84ac-37f1-4f0b-8cde-18fe827824d8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Subsidiary Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The ART Subsidiary is not registered under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;) and is not subject to all the investor protections of the Investment Company Act. Changes in the laws of the United States and/or the Cayman Islands could result in the inability of the Fund and/or the ART Subsidiary to operate as described in the Prospectus and the SAI and could adversely affect the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_SwapsRiskMember"
      id="x_2cfe2ffb-1a8d-41cc-917c-02c155f47079">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Swaps Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; In a standard &#x201c;swap&#x201d; transaction, two parties agree to exchange the returns, differentials in rates of return or some other amount earned or realized on the &#x201c;notional amount&#x201d; of predetermined investments or instruments, which may be adjusted for an interest factor. Swaps can involve greater risks than direct investment in securities, because swaps may be leveraged and subject to counterparty risk (e.g., the risk of a counterparty&#x2019;s defaulting on the obligation or bankruptcy), credit risk and pricing risk (i.e., swaps may be difficult to value). Swaps may also be considered illiquid. It may not be possible for the Fund or the ART Subsidiary to liquidate a swap position at an advantageous time or price, which may result in significant losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_TaxRiskMember"
      id="fd484ed4-c618-4781-99ea-ac3dedb31dac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Based on a private letter ruling from the Internal Revenue Service (&#x201c;IRS&#x201d;), the Fund seeks to gain exposure to the commodity markets through investments in the ART Subsidiary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The tax treatment of the Fund&#x2019;s investments in the ART Subsidiary could affect whether income derived from such investments is &#x201c;qualifying income&#x201d; under Subchapter M of the Internal Revenue Code of 1986, as amended (the &#x201c;Code&#x201d;), or otherwise affect the character, timing and/or amount of the Fund&#x2019;s taxable income or any gains and distributions made by the Fund. If the IRS were to successfully assert that a Fund&#x2019;s income from such investments was not &#x201c;qualifying income,&#x201d; the Fund may fail to qualify as a regulated investment company under Subchapter M of the Code if over 10% of its gross income was derived from these investments. If the Fund failed to qualify as a regulated investment company, it would be subject to federal and state income tax on all of its taxable income at regular corporate tax rates with no deduction for any distributions paid to shareholders, which would significantly adversely affect the returns to, and could cause substantial losses for, Fund shareholders. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Shareholders should review &#x201c;Other Information&#x201d; under &#x201c;Taxation&#x201d; on page 55 of the Prospectus for more information.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000020314_USGovernmentSecuritiesRiskMember"
      id="x_03b5fcf6-2b4a-40c4-bd8e-c17975041e93">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law. U.S. government securities&#160;issued by those agencies, instrumentalities and sponsored enterprises, including those issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000020314"
      id="x_9138b4f1-37b1-4c0c-b646-0a0faa12e4aa">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000020314"
      id="x_17089bc7-de0f-45a8-8485-cdb28b5e4847">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (MSCI World Index (Net, USD, Unhedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the &#x201c;Performance Benchmark&#x201d;). The Investment Adviser measures the Fund&#x2019;s performance against the Performance Benchmark.&#160;The Fund has included in the table&#160;below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 24 of the Prospectus.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost by calling the appropriate phone number on the back cover of &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000020314"
      id="c4f6bc0c-a97b-40f0-95bd-fabbbb6c4535">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (MSCI World Index (Net, USD, Unhedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the &#x201c;Performance Benchmark&#x201d;). The Investment Adviser measures the Fund&#x2019;s performance against the Performance Benchmark.&#160;The Fund has included in the table&#160;below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 24 of the Prospectus.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000020314"
      id="x_15cb47f2-103c-4b0f-ac47-7170ddaff674">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000020314"
      id="x_1e19c187-e6fd-4d94-874a-0e2d68bb9baa">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR &lt;/span&gt;&lt;span style="font-family:Arial;font-size:9pt;"&gt;(CLASS P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000020314"
      id="x_3714d7ed-e1b6-48df-88ea-0e3f1262ecc0">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;6.57%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2020&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-9.66%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000020314_C000201773"
      id="x_03b7767a-5e3e-491f-adbd-6f51839d74a2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="4"
      id="x_4394e587-d0fc-44ee-9caa-d0fedcd2be75"
      unitRef="pure">0.0657</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000020314_C000201773"
      id="x_555c53cb-9e74-4909-820e-30f701b1288a">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000020314_C000201773"
      id="x_5d0f5ca8-6aab-4c4f-b052-58d2e3c89d32">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000020314_C000201773"
      decimals="4"
      id="x_305118d5-6e06-406b-914c-6c5232db6d53"
      unitRef="pure">-0.0966</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000020314_C000201773"
      id="e7903a6b-7f00-47e1-abf4-8da979900b2b">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000020314"
      id="x_952dcad4-e63e-4446-bfb7-51b462d06f16">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201773"
      id="c6e97e38-a2d3-4e5c-8a60-9aed7c933e2c">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_01Jan2025_31Dec2025"
      decimals="4"
      id="af6821b8-da02-4d03-ac1f-e39575b4c6b3"
      unitRef="pure">0.0971</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_01Jan2021_31Dec2025"
      decimals="4"
      id="f0cffeed-8bb3-4eca-9edc-843743c2d741"
      unitRef="pure">0.0540</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_17Apr2018_31Dec2025"
      decimals="4"
      id="x_2de6d682-5e9d-4067-a97b-b434720dea04"
      unitRef="pure">0.0491</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_60c4e369-bdfd-4f86-b4a9-f374ae8f07e8"
      unitRef="pure">0.0890</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_8e2e18b3-0ed7-4c29-98f7-a94bd20e4831"
      unitRef="pure">0.0389</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_7ed655f1-9a94-492e-b724-159825ac1c43"
      unitRef="pure">0.0361</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_0e654442-a2c9-4111-bfe6-aabf24fc67d4"
      unitRef="pure">0.0587</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="e1a7f595-0fc3-4761-b0ca-b56d485ba2c3"
      unitRef="pure">0.0354</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201773_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_7e7dff69-c63d-47ee-9436-b2890100b6b9"
      unitRef="pure">0.0329</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="f0606370-c606-4cb2-9c00-5b42cce2bdcd"
      unitRef="pure">0.0418</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_0e47a9cc-f378-4063-9007-8a79548fa803"
      unitRef="pure">0.0317</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_9605060a-64e9-4ca6-93e6-2521959fe80a"
      unitRef="pure">0.0262</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_9cfe8b3a-084b-4845-8950-29d546ddc98b"
      unitRef="pure">0.2109</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIWorldIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_96d726d0-50a7-42c6-843f-2efc766fb987"
      unitRef="pure">0.1214</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIWorldIndexNetUSDUnhedgedMember_17Apr2018_31Dec2025"
      decimals="4"
      id="c9655fee-7c19-43cc-9603-7052c6ccc7f5"
      unitRef="pure">0.1182</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000020314"
      id="x_46d7dadb-df03-41c0-b8c6-d2957ee26ec7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000020314"
      id="x_9a61bcb3-8dcf-470f-ac18-181127fc9081">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000020314"
      id="x_9e08ba81-985a-463a-a388-cf1b9bcadafd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000020314"
      id="x_5de5abc5-d826-49cf-a5dc-789d61756a05">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000015787"
      id="x_1ea6a92f-6902-4079-abe8-40ec548d946a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Commodity Strategy Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000015787"
      id="x_88940093-2a6c-4f50-82f8-05685ffa59e1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000015787"
      id="x_4463dc33-5a74-4ae9-8a46-2d6eb54fbbae">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Commodity Strategy Fund (the &#x201c;Fund&#x201d;) seeks long-term total return.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000015787"
      id="ea75df5e-6d87-46f9-bdc4-7f3e6fd13d92">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000015787"
      id="x_3ffb79ac-2a65-4f97-9297-b0a828534db6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000015787"
      id="be763a36-7852-4e21-a5b8-b00366bbddfd">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="x_5372f839-022c-4b76-a15b-4bcc2656f6b5"
      unitRef="pure">0.0050</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="ccafb0fb-d64f-440f-800a-204faccf0c84"
      unitRef="pure">0.0025</oef:OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="x_526bffb2-8e69-4784-abf3-13087f6376b9"
      unitRef="pure">0.0025</oef:Component3OtherExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="x_61a1a97c-ae3b-4906-9a44-c49da769ab31"
      unitRef="pure">0.0015</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="x_447b614b-65b1-4c19-a965-0499abf7c5d9"
      unitRef="pure">0.0090</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="x_20610519-838f-442a-acb0-bf1733a91873"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="x_5a523baa-a858-448b-8825-8b8e7ee1fcf4"
      unitRef="pure">0.0061</oef:NetExpensesOverAssets>
    <oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees
      contextRef="ClassPSharesMember_S000015787"
      id="dc0e4386-5b4a-4038-8fee-bfa57643d74f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;&lt;/span&gt;</oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassPSharesMember_S000015787"
      id="c9a915b2-a125-4dd1-9350-0bbd3e6ff517">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000015787"
      id="x_8d2e881c-bcf0-4e41-b4ba-a7ef93e0dfe3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000015787"
      id="f3f9287d-b683-4d92-84e9-0eafc729365d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same (except that the Example incorporates the fee waiver and expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="INF"
      id="x_9e2281a3-2738-4b81-a5dc-0ba7c199d5ac"
      unitRef="USD">62</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="INF"
      id="x_37b66da4-f9c9-4d31-a21b-a855b5e1b43d"
      unitRef="USD">258</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="INF"
      id="c52990b5-ce91-406c-8263-5a4ce6dfa374"
      unitRef="USD">470</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="INF"
      id="e5d6f62f-db6b-4447-9d8f-8547162f4a75"
      unitRef="USD">1081</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000015787"
      id="d41ed806-42f9-4022-b32b-b15e0df2c033">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000015787"
      id="c2491878-e4f1-4602-9b5c-52872fb7ff3f">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;, &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;0&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio. However, the Fund&#x2019;s portfolio turnover rate is calculated without regard to transactions involving certain short-term instruments or derivatives. If such transactions were included in the calculation, the Fund would have a higher portfolio turnover rate.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000015787"
      decimals="4"
      id="x_21b349c7-8a2e-4cb8-9148-90679e603104"
      unitRef="pure">0</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000015787"
      id="a2522da0-94b7-44ec-a0cf-ed72e607e025">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000015787"
      id="x_6d8e07d6-60bf-478b-9a15-36b616e84bcf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund seeks to maintain substantial economic exposure to the performance of the commodities markets. The Fund primarily gains exposure to the commodities markets by investing in a wholly-owned subsidiary of the Fund organized as a company under the laws of the Cayman Islands, Cayman Commodity &#x2013; CSF, Ltd. (the &#x201c;CSF Subsidiary&#x201d;). The CSF Subsidiary is advised by the Investment Adviser, and has the same investment objective as the Fund. CoreCommodity Management, LLC (the &#x201c;Sub-Adviser&#x201d; or &#x201c;CoreCommodity&#x201d;) serves as sub-adviser to both the Fund and the CSF Subsidiary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund seeks to provide exposure to the commodities markets by investing, through the CSF Subsidiary, in commodity-linked investments including, without limitation, commodity swaps, commodity futures contracts, exchange-listed commodity forward contracts, options on commodity futures, and commodity-linked notes. In pursuing its objective, the Fund attempts to provide long and/or short exposure to the returns of real assets that trade in the commodity markets without direct investment in physical commodities. The Fund uses the Bloomberg Commodity Index Total Return (Gross, USD, Unhedged) (&#x201c;BCOM&#x201d;) as its performance benchmark, but the Fund is actively managed and will not attempt to replicate the index. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Investment in the Subsidiary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may invest up to 25% of its total assets in the CSF Subsidiary. The CSF Subsidiary primarily obtains its commodity exposure by investing in commodity-linked derivative instruments (which typically includes total return swaps). Commodity-linked swaps are derivative instruments whereby the cash flows agreed upon between counterparties are dependent upon the price of the underlying commodity or commodity index (or a component of the underlying commodity index) over the life of the swap. The value of the swap will rise and fall in response to changes in the underlying commodity or commodity index (or component of the underlying commodity index). Commodity-linked swaps expose the CSF Subsidiary and the Fund economically to movements in commodity prices. Such instruments may be leveraged so that small changes in the underlying commodity prices would result in disproportionate changes in the value of the instrument. Neither the Fund nor the CSF Subsidiary invests directly in physical commodities. The CSF Subsidiary will also invest in other instruments, including fixed income securities, either as investments or to serve as margin or collateral for its swap positions. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Sub-Adviser will take various factors into account when seeking commodity market exposure, such as, without limitation, the results of proprietary models developed by the Sub-Adviser, relative price differentials for various commodity futures for current delivery as compared to those for future delivery, and market conditions. Among other strategies, the Fund employs commodity roll-timing strategies. &#x201c;Rolling&#x201d; futures exposure is the process by which the holder of a particular futures contract or other instrument providing futures exposure (e.g. swaps) will sell such contract or instrument on or before the expiration date and simultaneously purchase a new contract or instrument with identical terms except for a later expiration date. This process allows a holder of the instrument to extend its current position through the original instrument&#x2019;s expiration without delivering the underlying asset. The Fund&#x2019;s rolling may differ from that of the BCOM to the extent necessary to enable the Fund to seek excess returns over the BCOM. The Fund&#x2019;s &#x201c;roll-timing&#x201d; strategies may include, for example, rolling the Fund&#x2019;s commodity exposure earlier or later versus the BCOM, or holding and rolling positions with longer or different expiration dates than the BCOM. The Fund also may underweight or overweight various commodities as compared to the BCOM, and may utilize commodities that are not components of the BCOM. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Fixed Income Investments.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; As a result of the Fund&#x2019;s use of derivatives, the Fund may hold as collateral significant amounts of U.S. Treasury or short-term investments, including money market funds. In managing the collateral portion of the Fund&#x2019;s investment strategy, the Sub-Adviser generally seeks capital preservation. The average duration will vary. The Sub-Adviser uses derivatives, including futures and swaps, to manage the duration of the Fund&#x2019;s investment portfolio. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Other.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may also invest in forwards, futures, and swaps, which are used for both hedging and non-hedging purposes. The Fund may invest up to 35% of its net assets in foreign securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the BCOM (Gross, USD, Unhedged).&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_RiskLoseMoneyMember"
      id="x_4577fbb3-fc79-4e4c-aecb-74f5af28be49">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_RiskNotInsuredDepositoryInstitutionMember"
      id="x_4cc8dcb4-34bd-4dd4-baee-5b7d1b991a90">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_AbsenceofRegulationRiskMember"
      id="c918ada9-f87e-4e7f-8315-cbcf56e8f7ab">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Absence of Regulation Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund engages in over-the-counter (&#x201c;OTC&#x201d;) transactions, which trade in a dealer network, rather than on an exchange. In general, there is less governmental regulation and supervision of transactions in the OTC markets than of transactions entered into on organized exchanges.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_CommoditySectorRiskMember"
      id="ff547426-18e7-45be-8eac-6564ced89e18">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Commodity Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Exposure to the commodities markets may subject the Fund to greater volatility than investments in more traditional securities. The value of commodity-linked investments may be affected by changes in overall market movements, commodity index volatility, changes in interest rates, or factors affecting a particular industry or commodity, such as drought, floods, &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;weather, livestock disease, embargoes, tariffs and international economic, business,&#160;political and regulatory developments. The prices of energy, industrial metals, precious metals, agriculture and livestock sector commodities may fluctuate widely due to factors such as changes in value, supply and demand and governmental regulatory policies. The commodity-linked investments in which the CSF Subsidiary enters into may involve counterparties in the financial services sector, and events affecting the financial services sector may cause the &#160;CSF Subsidiary's, and therefore the Fund&#x2019;s, share value to fluctuate.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_CounterpartyRiskMember"
      id="x_64935d3a-0ef1-4ed0-b637-a992df43dd80">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Counterparty Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Many of the protections afforded to cleared transactions, such as the security afforded by transacting through a clearing house, might not be available in connection with OTC transactions. Therefore, in those instances in which the Fund enters into uncleared OTC transactions, the Fund will be subject to the risk that its direct counterparty will not perform its obligations under the transactions and that the Fund will sustain losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_CreditDefaultRiskMember"
      id="x_3f4eb5cb-dcdc-484c-a4e2-1c6b1680a29b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. An issuer or guarantor of fixed income securities or instruments held by the Fund&#160;(which may have low credit ratings) may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities&#160;or instruments may deteriorate rapidly, which may impair the Fund's liquidity and cause significant deterioration in net asset value (&#x201c;NAV&#x201d;). These risks are heightened in market environments where interest rates are rising as well as in connection with the Fund's investments in non-investment grade fixed income securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_DerivativesRiskMember"
      id="x_6e5b3c44-06e8-4d7d-a851-0c8052224875">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Derivatives Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund's use of &#160;options, futures, forwards, swaps and other derivative instruments may result in losses, including due to adverse market movements. These instruments, which may pose risks in addition to and greater than those associated with investing directly in securities, currencies or other assets and instruments, may increase market exposure and be illiquid or less liquid, volatile, difficult to price and leveraged so that small changes in the value of the underlying assets or instruments may produce disproportionate losses to the Fund. Certain derivatives are also subject to counterparty risk, which is the risk that the other party in the transaction will not fulfill its contractual obligations. The use of derivatives is a highly specialized activity that involves investment techniques and risks different from those associated with investments in more traditional securities and instruments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_ForeignRiskMember"
      id="d60d2b43-bb59-4295-be69-50ddd0926748">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls&#160;(including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_LargeShareholderTransactionsRiskMember"
      id="x_785090dd-7898-44c6-8872-5c53cbd28f24">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; NAV and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_LeverageRiskMember"
      id="a81a0c4b-e0d3-42d6-a995-0ef1949c84ac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Leverage Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Borrowing and the use of derivatives may result in leverage and may make the Fund more volatile. The use of leverage may cause the Fund to liquidate portfolio positions to satisfy its obligations when it may not be advantageous to do so. The use of leverage by the Fund can substantially increase the adverse impact to which the Fund&#x2019;s investment portfolio may be subject.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_LiquidityRiskMember"
      id="x_2bb043c8-9cb0-4ca7-aad9-5c814de1bf34">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. To meet redemption requests, the Fund may be forced to sell securities at an unfavorable time and/or under unfavorable conditions. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from fixed income funds may be higher than normal, potentially causing increased supply in the market due to selling activity. &#160;Redemptions by large shareholders may have a negative impact on the Fund&#x2019;s liquidity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_MarketRiskMember"
      id="x_2782534c-6b56-42c4-af24-619a36ccc6bc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_PortfolioTurnoverRateRiskMember"
      id="b7491f20-c965-4d3b-beb7-2b9ad3323a6c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders, and is also likely to result in short-term capital gains taxable to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_ShortPositionRiskMember"
      id="ada36711-ca68-423f-bfc7-36b09d83f75b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Short Position Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may enter into a short position through a futures contract, an option or swap agreement or through short sales of any instrument that the Fund may purchase for investment. Taking short positions involves leverage of the Fund&#x2019;s assets and presents various risks. If the value of the underlying instrument or market in which the Fund has taken a short position increases, then the Fund will incur a loss equal to the increase in value from the time that the short position was entered into plus any related interest payments or other fees. Taking short positions involves the risk that losses may be disproportionate, may exceed the amount invested and may be unlimited.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_SubsidiaryRiskMember"
      id="x_722caee6-9a9d-4a62-82ca-e9db02abf875">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Subsidiary Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The CSF Subsidiary is not registered under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;) and is not subject to all the investor protections of the Investment Company Act. Changes in the laws of the United States and/or the Cayman Islands could result in the inability of the Fund and/or the CSF Subsidiary to operate as described in the Prospectus and the SAI and could adversely affect the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_SwapsRiskMember"
      id="a9201309-59c5-4234-8f2a-de1d4884bace">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Swaps Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; In a standard &#x201c;swap&#x201d; transaction, two parties agree to exchange the returns, differentials in rates of return or some other amount earned or realized on the &#x201c;notional amount&#x201d; of predetermined investments or instruments, which may be adjusted for an interest factor. Swaps can involve greater risks than direct investment in securities, because swaps may be leveraged and subject to counterparty risk (e.g., the risk of a counterparty&#x2019;s defaulting on the obligation or bankruptcy), credit risk and pricing risk (i.e., swaps may be difficult to value). Swaps may also be considered illiquid. It may not be possible for the Fund or the CSF Subsidiary to liquidate a swap position at an advantageous time or price, which may result in significant losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_TaxRiskMember"
      id="x_1944fc29-38cb-4a61-bcbe-400df35c83dd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Based on a private letter ruling from the Internal Revenue Service (&#x201c;IRS&#x201d;), the Fund seeks to gain exposure to the commodity markets through investments in the CSF Subsidiary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The tax treatment of the Fund&#x2019;s investments in the CSF Subsidiary could affect whether income derived from such investments is &#x201c;qualifying income&#x201d; under Subchapter M of the Internal Revenue Code of 1986, as amended (the &#x201c;Code&#x201d;), or otherwise affect the character, timing and/or amount of the Fund&#x2019;s taxable income or any gains and distributions made by the Fund. If the IRS were to successfully assert that a Fund&#x2019;s income from such investments was not &#x201c;qualifying income,&#x201d; the Fund may fail to qualify as a regulated investment company under Subchapter M of the Code if over 10% of its gross income was derived from these investments. If the Fund failed to qualify as a regulated investment company, it would be subject to federal and state income tax on all of its taxable income at regular corporate tax rates with no deduction for any distributions paid to shareholders, which would significantly adversely affect the returns to, and could cause substantial losses for, Fund shareholders. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Shareholders should review &#x201c;Other Information&#x201d; under &#x201c;Taxation&#x201d; on page 55 of the Prospectus for more information.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000015787_USGovernmentSecuritiesRiskMember"
      id="x_1902fac7-7a70-4aa1-a7d0-089c03353e31">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law. U.S. government securities&#160;issued by those agencies, instrumentalities and sponsored enterprises, including those issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000015787"
      id="b93e1d15-4702-4397-9e74-041f2c02f4a7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000015787"
      id="ac781d02-6835-4939-bf13-94ade61f603f">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (S&amp;amp;P 500&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:4.5pt;position:relative;top:-6.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Index) (the &#x201c;Regulatory Benchmark&#x201d;) and the Bloomberg Commodity Index Total Return (Gross, USD, Unhedged) (&#x201c;BCOM&#x201d;) (the &#x201c;Performance Benchmark&#x201d;). The Performance Benchmark is generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund's performance. The Fund has included in the table&#160;below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 24 of the Prospectus.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Through January 22, 2021, the Fund had been managed by GSAM. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Performance information set forth below prior to the close of business on January 22, 2021, does not reflect the transition of day-to-day portfolio management from GSAM to CoreCommodity.&#160; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost by &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000015787"
      id="x_3556184d-78af-44a1-b3d5-c870c761618c">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (S&amp;amp;P 500&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:4.5pt;position:relative;top:-6.25pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Index) (the &#x201c;Regulatory Benchmark&#x201d;) and the Bloomberg Commodity Index Total Return (Gross, USD, Unhedged) (&#x201c;BCOM&#x201d;) (the &#x201c;Performance Benchmark&#x201d;). The Performance Benchmark is generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund's performance. The Fund has included in the table&#160;below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 24 of the Prospectus.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000015787"
      id="x_81b12ba4-0e3f-447c-9042-9800f258c4dd">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000015787"
      id="x_67734d68-6bff-43ca-9537-9454797011cb">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR (CLASS P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000015787"
      id="x_5e4b846c-ab04-434c-bae0-fd90040cddca">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;26.93%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-41.50%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000015787_C000201770"
      id="aad663d8-672f-41a2-8fc1-31dfe2188d8d">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="x_0f69be9f-b1cb-4c98-8f61-a9f6a48dfab6"
      unitRef="pure">0.2693</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000015787_C000201770"
      id="x_672b0abc-bc9c-4906-9f3e-7db5a2f9484c">2022-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000015787_C000201770"
      id="f8fd311b-73fa-4c9b-87b9-e6a6f5e223aa">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000015787_C000201770"
      decimals="4"
      id="x_761f601b-b288-4c5d-909a-8fb33894a05a"
      unitRef="pure">-0.4150</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000015787_C000201770"
      id="x_02585b1a-cd49-48a6-a83b-ef77100cc8d7">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000015787"
      id="x_4d514753-ead6-4076-b06f-77bfcddaa788">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201770_01Jan2025_31Dec2025"
      decimals="4"
      id="ef5b4203-adf1-46cd-9b78-31992d06a914"
      unitRef="pure">0.1523</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201770_01Jan2021_31Dec2025"
      decimals="4"
      id="x_9c9bc28a-bb74-41f2-81a3-96d52a1161bf"
      unitRef="pure">0.1123</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201770_17Apr2018_31Dec2025"
      decimals="4"
      id="x_686e85da-89ac-4d8d-bbba-b183e4547fb5"
      unitRef="pure">0.0296</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201770"
      id="x_7b612d46-fcce-475f-9955-b8746ac9a330">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BCOMGrossUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="c7cde649-4a28-49ed-b82a-f30b430df260"
      unitRef="pure">0.1577</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BCOMGrossUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_6b16fe89-ae63-4e70-8843-9e7efb257bd3"
      unitRef="pure">0.1063</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BCOMGrossUSDUnhedgedMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_601b2783-40d8-4207-90e0-6a2a40e8dcae"
      unitRef="pure">0.0552</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7119ea90-aae5-4278-9272-badd7a2acbde"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="ba2bf2e0-c79f-4000-9fd6-f8a6f706286c"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_6114d7ad-d2e5-4278-99a0-dd7881bcd229"
      unitRef="pure">0.1464</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000015787"
      id="e58cdc28-78dd-4fb8-a803-369c17cc53bd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000015787"
      id="x_1a3dbbca-14dd-4950-80f8-9f25df555312">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000015787"
      id="e81104fd-d3ae-4a78-9ba5-3cb599db667a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000015787"
      id="ad0df20f-0b7c-4b53-8c08-277a51787dc7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000034856"
      id="x_50dc398f-f7e5-44b0-942a-767c2562d01f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Managed Futures Strategy Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000034856"
      id="x_5d37553d-bb6a-4401-b0ac-221bdadff09c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000034856"
      id="df0b265e-fdc7-4319-88d0-425ebca12893">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Managed Futures Strategy Fund (the &#x201c;Fund&#x201d;) seeks to generate long-term absolute return.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000034856"
      id="x_0025851c-f163-4ff8-ae01-2f584ed41a26">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000034856"
      id="da4e25d0-0624-48b8-9bdf-bad3a0cbe6f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000034856"
      id="c0f79ce2-b8e4-43da-88d2-3eeb297c611e">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="4"
      id="x_63a3ce37-f6ac-45a4-845c-2fe05e5c91df"
      unitRef="pure">0.0100</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="4"
      id="b0e0a04b-c5ea-45dc-a52b-68975dc99546"
      unitRef="pure">0.0030</oef:OtherExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="4"
      id="x_5a69a81f-29d2-432a-a70d-6cd5fcf1e852"
      unitRef="pure">0.0023</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="4"
      id="x_0b9cfa30-ca8c-4096-af9d-7f8f7c15a2a4"
      unitRef="pure">0.0153</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="4"
      id="x_1d988d26-e810-4ed0-94da-5e28040d6e13"
      unitRef="pure">-0.0074</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="4"
      id="x_53365d92-e104-4ec0-9b2c-afa2edc3c35e"
      unitRef="pure">0.0079</oef:NetExpensesOverAssets>
    <oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees
      contextRef="ClassPSharesMember_S000034856"
      id="x_244455dc-61e7-45f2-be47-649b731fbee7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;&lt;/span&gt;</oef:ExpensesNotCorrelatedToRatioDueToAcquiredFundFees>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassPSharesMember_S000034856"
      id="acc40140-dfd7-499f-a3fc-47950148c783">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000034856"
      id="x_5caffdaf-fda7-4abd-9032-d6b41cf9bb7a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000034856"
      id="x_8e6b751b-5f0f-4117-823b-61abd39c25f9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same (except that the Example incorporates the fee waiver and expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="INF"
      id="x_737ec639-55f8-44d4-925d-75a41cc6b83a"
      unitRef="USD">81</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="INF"
      id="x_1cf7a096-de41-474d-96b8-72d77a7c28b3"
      unitRef="USD">411</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="INF"
      id="x_26b8f665-ff06-407d-889c-bcf60ee8f95b"
      unitRef="USD">764</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="INF"
      id="x_29bbf26b-df64-4c5a-bb52-769c58991dec"
      unitRef="USD">1760</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000034856"
      id="x_60c21493-9632-48ff-abfc-0d6225bacf69">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000034856"
      id="a7a0de86-25e2-484a-9726-b46ead794e37">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;, &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;0&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio. However, the Fund&#x2019;s portfolio turnover rate is calculated without regard to transactions involving certain short-term instruments or derivatives. If such transactions were included in the calculation, the Fund would have a higher portfolio turnover rate.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000034856"
      decimals="4"
      id="a4cac9b7-6e8d-4417-b39b-cf88a820bcc3"
      unitRef="pure">0</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000034856"
      id="cea43e1a-de5b-424d-b662-4ff5d2091044">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000034856"
      id="c8bdb985-d688-4900-a4d0-da91bc170f58">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund implements a trend-following strategy that takes long and/or short positions in a wide range of asset classes, including equities, fixed income, commodities and currencies, among others, to seek long-term absolute return. The Fund seeks to achieve its investment objective by investing primarily in a portfolio of equities, equity index futures, bonds, bond futures, equity swaps, interest rate swaps, currency forwards and non-deliverable forwards, options, exchange-traded funds (&#x201c;ETFs&#x201d;), and structured securities. As a result of the Fund&#x2019;s use of derivatives, the Fund may also hold significant amounts of U.S. Treasuries or short-term investments, including money market funds, repurchase agreements, cash and time deposits. The Fund&#x2019;s investments will be made without restriction as to issuer capitalization, country, currency, maturity, or credit rating. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser seeks to identify price trends in various asset classes over short-, medium-, and long-term horizons via a proprietary investment model, in combination with a qualitative overlay. The proprietary investment model uses past asset prices and other market information to seek to determine the direction and the magnitude of the price trend. The investment model tends to have positive view on assets with positive trends and negative view on assets with negative trends. For certain assets where market events produce predictable price patterns, the model adjusts such asset views accordingly. Based on the investment model views, the Fund will take a long or short position in the instrument or asset. Long positions benefit from an increase in price of the underlying instrument or asset, while short positions benefit from a decrease in price of the underlying instrument or asset. The size of the Fund&#x2019;s position in an instrument or asset will primarily be related to the strength of the overall trend identified by the investment model as well as its forecasted risk. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary investment model, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its investment model, or use other investment models that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may implement short positions and may do so by using swaps or futures, or through short sales of any instrument that the Fund may purchase for investment. For example, the Fund may enter into a futures contract pursuant to which it agrees to sell an asset (that it does not currently own) at a specified price at a specified point in the future. This gives the Fund a short position with respect to that asset. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may use leverage (e.g., by borrowing or through derivatives). As a result, the sum of the Fund&#x2019;s investment exposures may at times exceed the amount of assets invested in the Fund, although these exposures may vary over time. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may seek exposure to the commodities markets by investing in commodity index-linked structured notes. The Fund may also take long and/or short positions in commodities by investing in other investment companies, ETFs or other pooled investment vehicles. The Fund may also gain exposure to the commodities markets by investing in a wholly-owned subsidiary of the Fund organized as a limited liability company under the laws of the Cayman Islands (the &#x201c;MFS Subsidiary&#x201d;). The MFS Subsidiary is advised by the Investment Adviser and seeks to gain commodities exposure. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;Investment in the Subsidiary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may invest up to 25% of its total assets in the MFS Subsidiary. The MFS Subsidiary primarily obtains its commodity exposure by investing in commodity-linked derivative instruments, which may include but are not limited to total return swaps, commodity (U.S. or foreign) futures and commodity-linked notes. Commodity-linked swaps are derivative instruments whereby the cash flows agreed upon between counterparties are dependent upon the price of the underlying commodity or commodity index over the life of the swap. Commodity futures contracts are standardized, exchange-traded contracts that provide for the sale or purchase of, or economic exposure to the price of, a commodity or a specified basket of commodities at a future time. The value of these commodity-linked derivatives will rise and fall in response to changes in the underlying commodity or commodity index. Commodity-linked derivatives expose the MFS Subsidiary and the Fund economically to movements in commodity prices. Such instruments may be leveraged so that small changes in the underlying commodity prices would result in disproportionate changes in the value of the instrument. Neither the Fund nor the MFS Subsidiary invests directly in physical commodities. The MFS Subsidiary may also invest in other instruments, including fixed income securities, either as investments or to serve as margin or collateral for its swap positions, as well as volatility index derivatives and foreign currency transactions (including forward contracts). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the ICE BofAML Three-Month U.S. Treasury Bill Index.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_RiskLoseMoneyMember"
      id="x_35a56382-9392-4fc3-a0bd-032a40e66f10">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_RiskNotInsuredDepositoryInstitutionMember"
      id="x_34732c75-099e-47dc-a13a-4625364eff17">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_AbsenceofRegulationRiskMember"
      id="x_9f43b892-aedd-4824-83f7-d4b24f48579e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Absence of Regulation Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund engages in over-the-counter (&#x201c;OTC&#x201d;) transactions, which trade in a dealer network, rather than on an exchange. In general, there is less governmental regulation and supervision of transactions in the OTC markets than of transactions entered into on organized exchanges.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_CallPrepaymentRiskMember"
      id="c8fc9ca5-ceed-45f8-b855-24bc38ae0dea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Call/Prepayment Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;An issuer could exercise its right to pay principal on an obligation held by the Fund (such as a mortgage-backed security) earlier than expected. This may happen when there is a decline in interest rates, when credit spreads change, or when an issuer&#x2019;s credit quality improves. Under these circumstances, the Fund may be unable to recoup all of its initial investment and will also suffer from having to reinvest in lower-yielding securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_CommoditySectorRiskMember"
      id="x_1005cf53-0d6e-41e5-9186-39cfa6a98c06">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Commodity Sector Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Exposure to the commodities markets may subject the Fund to greater volatility than investments in more traditional securities. The value of commodity-linked investments may be affected by changes in overall market movements, commodity index volatility, changes in interest rates, or factors affecting a particular industry or commodity, such as drought, floods, weather, livestock disease, embargoes, tariffs and international economic, business,&#160;political and regulatory developments. The prices of energy, industrial metals, precious metals, agriculture and livestock sector commodities may fluctuate widely due to factors such as changes in value, supply and demand and governmental regulatory policies. The commodity-linked investments in which the MFS Subsidiary enters into may involve counterparties in the financial services sector, and events affecting the financial services sector may cause the &#160;MFS Subsidiary&#x2019;s, and therefore the Fund&#x2019;s, share value to fluctuate.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_CounterpartyRiskMember"
      id="x_5a09cfe2-45bd-4651-9847-8bba53350d25">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Counterparty Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Many of the protections afforded to cleared transactions, such as the security afforded by transacting through a clearing house, might not be available in connection with OTC transactions. Therefore, in those instances in which the Fund enters into uncleared OTC transactions, the Fund will be subject to the risk that its direct counterparty will not perform its obligations under the transactions and that the Fund will sustain losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_CreditDefaultRiskMember"
      id="x_2cc9d34f-ddd0-4f2e-8cf5-bb4b76aec702">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Credit/Default Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. An issuer or guarantor of fixed income securities or instruments held by the Fund&#160;(which may have low credit ratings) may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities may deteriorate rapidly, which may impair the Fund's liquidity and cause significant deterioration in net asset value (&#x201c;NAV&#x201d;). These risks are heightened in market environments where interest rates are rising as well as in connection with the Fund's investments in non-investment grade fixed income securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_DerivativesRiskMember"
      id="bf4e442d-5174-4765-ab64-88ced2343b22">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Derivatives Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s use of options, futures, forwards, swaps, options on swaps, structured securities and other derivative instruments may result in losses. These instruments, which may pose risks in addition to and greater than those associated with investing directly in securities, currencies or other instruments, may be illiquid or less liquid, volatile, difficult to price and leveraged so that small changes in the value of underlying instruments may produce disproportionate losses to the Fund. Certain derivatives are also subject to counterparty risk, which is the risk that the other party in the transaction will not fulfill its contractual obligations. The use of derivatives is a highly specialized activity that involves investment techniques and risks different from those associated with investments in more traditional securities and instruments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_ExpensesRiskMember"
      id="fdc81c71-07a8-4a7c-9fc0-c5e64e821e09">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Expenses Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; By investing in Underlying Funds indirectly through the Fund, the investor will incur a proportionate share of the expenses of those Underlying Funds held by the Fund (including operating costs and investment management fees), in addition to the expenses of the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_ForeignandEmergingCountriesRiskMember"
      id="x_62e546b2-99e2-4a47-a364-16d14c8020f9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign and Emerging Countries Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls (including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency exchange rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time. These risks are more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in, or otherwise economically tied to, emerging countries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_InterestRateRiskMember"
      id="x_53a5eae1-409e-4802-9efe-0813949d3913">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; When interest rates increase, fixed income securities or instruments held by the Fund will generally decline in value. Long-term fixed income securities or instruments will normally have more price volatility because of this risk than short-term fixed income securities or instruments. Changing interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. In addition, changes in monetary policy may exacerbate the risks associated with changing interest rates. Funds with longer average portfolio durations will generally be more sensitive to changes in interest rates than funds with a shorter average portfolio duration. Fluctuations in interest rates may also affect the liquidity of fixed income securities and instruments held by the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_InvestmentStyleRiskMember"
      id="x_69404cf2-99ab-4ea0-88d1-87e9486cfca0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (e.g., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund employs a &#x201c;quantitative&#x201d; style, and may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_LargeShareholderTransactionsRiskMember"
      id="x_62cd7dbf-8770-4df4-bdc7-0557b2e51662">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; NAV and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_LeverageRiskMember"
      id="bb2db2de-74f6-4072-ac37-d73c9892069a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Leverage Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Borrowing and the use of derivatives may result in leverage and may make the Fund more volatile. The use of leverage may cause the Fund to liquidate portfolio positions to satisfy its obligations when it may not be advantageous to do so. The use of leverage by the Fund can substantially increase the adverse impact to which the Fund&#x2019;s investment portfolio may be subject.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_LiquidityRiskMember"
      id="x_2e3a3cb8-31db-49d3-a454-98c13f74b4c9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Liquidity Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests or other reasons. To meet redemption requests, the Fund may be forced to sell investments at an unfavorable time and/or under unfavorable conditions. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities&#160;or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions&#160;from fixed income funds may be higher than normal, potentially causing increased supply in the market due to selling activity. These risks may be more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in emerging market countries.&#160;Redemptions by large shareholders may have a negative impact on the Fund&#x2019;s liquidity.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_ManagementRiskMember"
      id="x_0bf4d22d-ffe8-40df-8d92-46e85b9b8e9f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_MarketRiskMember"
      id="f84ab587-7eb0-41e2-91d2-cbf26fb07b9b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_NonHedgingForeignCurrencyTradingRiskMember"
      id="d491a222-ddd9-40bb-863e-ce717b62fdc3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Non-Hedging Foreign Currency Trading Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may engage in forward foreign currency transactions for hedging and non-hedging purposes. The Investment Adviser may purchase or sell foreign currencies through the use of forward contracts based on the Investment Adviser's judgment regarding the direction of the market for a particular foreign currency or currencies. In pursuing this strategy, the Investment Adviser seeks to profit from anticipated movements in currency rates by establishing &#x201c;long&#x201d; and/or &#x201c;short&#x201d; positions in forward contracts on various foreign currencies. Foreign exchange rates can be extremely volatile and a variance in the degree of volatility of the market or in the direction of the market from the Investment Adviser's expectations may produce significant losses to the Fund. Some of these transactions may also be subject to interest rate risk.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_OtherInvestmentCompaniesRiskMember"
      id="x_7fc83dff-62eb-43cc-b312-0765b77c4079">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Other Investment Companies Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; By investing in other investment companies (including ETFs) indirectly through the Fund, investors will incur a proportionate share of the expenses of the other investment companies held by the Fund (including operating costs and investment management fees) in addition to the fees regularly borne by the Fund. In addition, the Fund will be affected by the investment policies, practices and performance of such investment companies in direct proportion to the amount of assets the Fund invests therein.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_PortfolioTurnoverRateRiskMember"
      id="x_71bdecdb-564d-41f2-9e8f-9f6a26d5361d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;. A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders, and is also likely to result in short-term capital gains taxable to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_ShortPositionRiskMember"
      id="bd027205-f028-46ab-bd71-e122790dc95a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Short Position Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund may enter into a short position through a futures contract, an option or swap agreement or through short sales of any instrument that the Fund may purchase for investment. Taking short positions involves leverage of the Fund&#x2019;s assets and presents various risks. If the value of the underlying instrument or market in which the Fund has taken a short position increases, then the Fund will incur a loss equal to the increase in value from the time that the short position was entered into plus any related interest payments or other fees. Taking short positions involves the risk that losses may be disproportionate, may exceed the amount invested and may be unlimited. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_StockRiskMember"
      id="x_8f2bbe02-9cb0-4bf2-a46b-ecae5ae6f2e7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_SubsidiaryRiskMember"
      id="x_818fe307-dc82-4b2b-88b3-1b5b7796e52c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Subsidiary Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The MFS Subsidiary is not registered under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;) and is not subject to all the investor protections of the Investment Company Act. Changes in the laws of the United States and/or the Cayman Islands could result in the inability of the Fund and/or the MFS Subsidiary to operate as described in the Prospectus and the SAI and could adversely affect the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_SwapsRiskMember"
      id="x_115e5d24-b2ae-4681-b01c-08e4c62ae231">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Swaps Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; In a standard &#x201c;swap&#x201d; transaction, two parties agree to exchange the returns, differentials in rates of return or some other amount earned or realized on the &#x201c;notional amount&#x201d; of predetermined investments or instruments, which may be adjusted for an interest factor. Swaps can involve greater risks than direct investment in securities, because swaps may be leveraged and subject to counterparty risk (e.g., the risk of a counterparty&#x2019;s defaulting on the obligation or bankruptcy), credit risk and pricing risk (i.e., swaps may be difficult to value). Swaps may also be considered illiquid. It may not be possible for the Fund or the MFS Subsidiary to liquidate a swap position at an advantageous time or price, which may result in significant losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_TaxRiskMember"
      id="x_0e890059-3184-4e43-a65d-95600357af79">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax Risk.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;&#160;In reliance on an opinion of counsel, the Fund seeks to gain exposure to the commodity markets primarily through investments in the&#160;MFS Subsidiary.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The tax treatment of the Fund&#x2019;s investments in the MFS&#160;Subsidiary&#160;could affect whether income derived from such investments is &#x201c;qualifying income&#x201d; under Subchapter M of the Internal Revenue Code of 1986, as amended (the &#x201c;Code&#x201d;), or otherwise affect the character, timing and/or amount of the Fund&#x2019;s taxable income or any gains and distributions made by the Fund. If the IRS were to successfully assert that a Fund&#x2019;s income from such investments was not &#x201c;qualifying income,&#x201d; the Fund may fail to qualify as a regulated investment company under Subchapter M of the Code if&#160;over 10% of its gross income was derived from these investments. If the Fund failed to qualify as a regulated investment company, it would be subject to federal and state income tax on all of its taxable income at regular corporate tax rates with no deduction for any distributions paid to shareholders, which would significantly adversely affect the returns to, and could cause substantial losses for, Fund shareholders. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;Shareholders should review &#x201c;Other Information&#x201d; under &#x201c;Taxation&#x201d; on page 55 of the Prospectus for more information.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000034856_USGovernmentSecuritiesRiskMember"
      id="x_26a828af-010c-41cf-9394-fa6b6daa3f5c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;U.S. Government Securities Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law. U.S. government securities&#160;issued by those agencies, instrumentalities and sponsored enterprises, including those issued by the Federal National Mortgage Association (&#x201c;Fannie Mae&#x201d;), Federal Home Loan Mortgage Corporation (&#x201c;Freddie Mac&#x201d;) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. government securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. government securities will not have the funds to meet their payment obligations in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000034856"
      id="aff83dec-1bb9-428c-ab62-fe1191cda4d1">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000034856"
      id="x_21e544ad-94ca-4738-a20c-e1446d6b0e34">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (Bloomberg Global Aggregate Index (Gross, USD, Hedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the &#x201c;Performance Benchmark&#x201d;). The Investment Adviser measures the Fund&#x2019;s performance against the Performance Benchmark.&#160;The Fund has included in the table&#160;below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 24 of the Prospectus.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost by calling the appropriate phone number &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000034856"
      id="ee14c0a8-0a04-4f29-b32e-583a3cafd4b0">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (Bloomberg Global Aggregate Index (Gross, USD, Hedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the &#x201c;Performance Benchmark&#x201d;). The Investment Adviser measures the Fund&#x2019;s performance against the Performance Benchmark.&#160;The Fund has included in the table&#160;below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 24 of the Prospectus.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000034856"
      id="b6c1dc50-020b-4070-b2b3-c2e1eea8c562">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000034856"
      id="f895f28d-45d5-4fac-8a24-19a1298e332f">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR (Class P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000034856"
      id="x_8e238a33-7f80-4f29-a703-74f5629acdfc">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;14.24%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2022&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:1.47pt;"&gt;-7.35%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2023&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000034856_C000201775"
      id="x_4c19c450-ee4f-4033-8772-7370bd9a5853">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="4"
      id="e3445160-54f8-4a55-8ecb-03471deefecd"
      unitRef="pure">0.1424</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000034856_C000201775"
      id="x_7baa5935-6a4b-4caa-ac11-2843902f152e">2022-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000034856_C000201775"
      id="c7eb213d-d6b8-4bea-8b3e-cb0ba993b70e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000034856_C000201775"
      decimals="4"
      id="x_28041ad4-0566-47fe-aed8-693ef4b7c4c4"
      unitRef="pure">-0.0735</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000034856_C000201775"
      id="x_28f58e8c-0b86-45be-b344-6b2dd0acd587">2023-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000034856"
      id="e486fc36-eab7-4ee9-9f89-150a004c4dad">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201775"
      id="b8c8ba21-06d0-4703-8bad-08cf613e1071">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_01Jan2025_31Dec2025"
      decimals="4"
      id="x_66e08094-f342-428b-94ce-78c47bc87d84"
      unitRef="pure">0.0064</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_01Jan2021_31Dec2025"
      decimals="4"
      id="a0663597-a181-4e2e-837d-d8592e8270d5"
      unitRef="pure">0.0310</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_17Apr2018_31Dec2025"
      decimals="4"
      id="x_5401eae1-83d2-402f-b105-2a7759455329"
      unitRef="pure">0.0291</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="ce99200a-231d-491f-b7c9-51a5b6a8b7c2"
      unitRef="pure">0.0064</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_56216bf5-2a4a-41be-bfc0-2649fad1b79b"
      unitRef="pure">0.0104</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_88cd40e0-3aa4-4189-a540-533df8870402"
      unitRef="pure">0.0118</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_554f166c-b7c4-4ee9-beb8-df52a04dffb3"
      unitRef="pure">0.0038</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_21003977-2823-41c0-b715-fe3ed4ba15fa"
      unitRef="pure">0.0157</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201775_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025"
      decimals="4"
      id="e09367a0-f3cb-4d04-9073-1fdeafa66d2a"
      unitRef="pure">0.0156</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_0efc856b-4a4c-4474-a7a1-b4597d2f6e58"
      unitRef="pure">0.0418</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_5c0358ec-f3ff-4454-978c-75e1dd403a1e"
      unitRef="pure">0.0317</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_ICEBofAML3MonthUSTreasuryBillIndexMember_17Apr2018_31Dec2025"
      decimals="4"
      id="b3137e0d-d5b8-4289-bbf6-994593492336"
      unitRef="pure">0.0262</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_51d59c19-7e80-447c-91a1-73e5fec064be"
      unitRef="pure">0.0486</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_379cbfad-cc11-48c3-aa3c-37ea8e4b717a"
      unitRef="pure">0.0034</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergGlobalAggregateIndexGrossUSDHedgedMember_17Apr2018_31Dec2025"
      decimals="4"
      id="c4129209-feb9-49eb-af05-0f5b250baafb"
      unitRef="pure">0.0222</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000034856"
      id="b8c0abff-3fad-4b50-b4de-2f0cec9ddc57">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000034856"
      id="x_361e294d-cf28-4394-b7a2-94d943618c4e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000034856"
      id="c9ebd9b0-512b-41c8-b842-742e5f5164b8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000034856"
      id="b4008f28-1016-4c1b-b973-c1b5103e290c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:ProspectusDate
      contextRef="D_31Dec2025_31Dec2025"
      id="apid_8dc53bc4-538d-4946-9a77-faab871263fc">2026-04-30</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="de0101ef-6dfb-49d5-af7f-4a7606a5205d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Real Estate Securities Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_1345a8ae-9760-4e73-895c-421f75b9a6f0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_5769c5ca-b3a9-406c-a269-c89b1d3b397e">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Real Estate Securities Fund (the &#x201c;Fund&#x201d;) seeks total return comprised of long-term growth of capital and dividend income.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_4434fe82-cd31-4cc6-ac23-4356545f56e8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="c2620256-75ab-46a5-9480-3fae2816e95b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 36 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 76 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_556ffcb5-2d74-453d-b0d4-f14e58438c56">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 36 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 76 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      decimals="INF"
      id="x_100cb22a-8fe3-4715-8ed8-59105668da58"
      unitRef="USD">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="bdd37c4b-3380-4195-b2d0-3c954d02d494">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="x_29409ac8-d47f-49e5-81c8-d6b659b2bebf"
      unitRef="pure">0.0550</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="x_8a860b64-720b-4cf7-a8d3-c961674fff74"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="d03a3730-9ece-4449-a2db-2d9d22edef27"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_6533c439-a9e3-43fb-88c8-4d844697f0ec"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="c180d38a-5b9e-4ea2-8308-dd48eca46f31"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="x_2d099417-1ecc-4db4-adea-feff5527e536"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="f1f6d010-d0dd-4b90-989f-4fa8b30a03bb"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="d80ba5a7-e11a-4edc-9e76-594496a11ac0"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="x_65f4eb94-70b0-4d51-a66f-20b61fcc2d01"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="cc462fca-3a84-4612-9adf-3527092da1c9"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_54538a31-9520-4a73-8de3-b7740934631f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="e6b5c5a6-3c16-43d8-ae94-3d6c41bf0dfe"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="x_61f36b09-9695-4693-bf13-04870db42d2b"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="f9b4a444-0573-4580-bb82-e3a3a785bb8e"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="a14b33bb-4ce5-4086-b780-d5ef8b5469ad">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="df52b71e-d871-4a8f-874b-8abb666c6525"
      unitRef="pure">0.0087</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="f3201e88-9de7-4cc3-98d7-6cd9de3d4e3d"
      unitRef="pure">0.0087</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="d3c7b0ef-71a5-4389-85b8-c21789f8efac"
      unitRef="pure">0.0087</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_1080f072-4054-4ef9-b29d-50cb805342e8"
      unitRef="pure">0.0087</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="x_1e926b50-271e-4ae8-b8e3-f87f34681a62"
      unitRef="pure">0.0087</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="x_48125404-3e72-44ea-8d6e-294cee536f64"
      unitRef="pure">0.0087</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="x_26eef4f2-eb73-4219-9d5a-233ffd7a7978"
      unitRef="pure">0.0087</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="fdc72502-ffdb-4bb5-a78e-0a461cbe4be4"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="x_55271ae6-76f3-4801-abd8-10c4ec3346e9"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="x_4923e1ef-e54a-4b42-b963-989aa7659e97"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_555a9b07-491e-4d54-a61f-cd312afa2623"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="eb1639cb-b1ed-4a6f-8878-de36423825f4"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="x_2117a21e-f455-45da-82e6-34b6aeebe34b"
      unitRef="pure">0.0050</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="b8c71b37-d7b3-45f0-a869-a743decdf08f"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="x_4b60ab77-e29c-4803-9be7-9bfecc15fa5b"
      unitRef="pure">0.0058</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="c759b603-ba14-49a2-8525-157891be0fa9"
      unitRef="pure">0.0083</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="x_177123fd-7956-4f42-a4e5-3262791d968a"
      unitRef="pure">0.0047</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_3cdc284b-adc6-401f-a7c6-7cf15fa30036"
      unitRef="pure">0.0072</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="x_2e10a47b-092c-4f12-a0c5-7cc3e7d92658"
      unitRef="pure">0.0058</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="f59560b4-4bd0-488e-aaf9-ca6f9b167d0a"
      unitRef="pure">0.0058</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="x_6390a760-97c5-4f4b-86c0-20903a976cb4"
      unitRef="pure">0.0046</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="x_1a849116-a7e6-491f-bed3-92903009682c"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="e3b616a0-529f-49b9-9e31-cdaed42e045f"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="x_97ff18d0-a981-4e6a-b0e3-ce24278f5510"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="c50ceab0-767b-4d84-b674-eb98aed81e0e"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="x_29d98b9f-d6a0-49a4-8e12-89624444f188"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="x_1d8f8c1b-f5a3-4b3b-ae6a-6b81020e2707"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="abc57a84-73b8-4d73-a7cc-b8cc0bd8418d"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="x_8310b284-7c24-4012-85db-a4cf24670da9"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="x_9b792f77-9708-431b-89e3-ca1493f22ee6"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="b8a2f16e-a026-42fa-ba2e-cb8a3f3e80f4"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="f6a27f3a-48fc-4c68-8c51-a2ccc963825f"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="x_78a679a9-8d95-476c-83a7-d11548d914c2"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="e32b6c68-6de9-42dc-b598-e90e675dc539"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="f64d3b8f-7b22-45f0-8081-dadc6bb37ea9"
      unitRef="pure">0</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="x_6faab8ac-ad01-4282-8338-8231728ebcf0"
      unitRef="pure">0.0058</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="c676cc50-9cdf-40f0-a3d0-5d60921ac750"
      unitRef="pure">0.0058</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="x_60583fe6-1386-4bd9-8e7e-2e55588e94f7"
      unitRef="pure">0.0047</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_31e32e69-c3b8-4ba8-b391-f59969bbc26e"
      unitRef="pure">0.0047</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="x_176ee9e9-17d2-42d6-8044-65b87d5fad41"
      unitRef="pure">0.0058</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="x_39468c78-854d-4449-891a-a3e5cc5ef1ce"
      unitRef="pure">0.0058</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="x_11f526d0-30ee-42e6-a9a4-630e9a1da751"
      unitRef="pure">0.0046</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="d036f465-117f-468d-9a15-43f0e785c498"
      unitRef="pure">0.0170</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="x_63aa0b42-37be-4de4-82a5-31887aff9260"
      unitRef="pure">0.0245</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="x_9162a9ec-7118-4dec-9697-5becb342cf18"
      unitRef="pure">0.0134</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_7432241d-bc51-46a2-9627-9d2c7b6fb2b9"
      unitRef="pure">0.0184</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="f95d699d-c02c-4e35-ae81-65e1b6879a5d"
      unitRef="pure">0.0145</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="b539848c-4920-40c9-b984-ff7ff51eeac6"
      unitRef="pure">0.0195</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="x_2f55a0f7-a6a6-4288-8e80-23214daeb2ee"
      unitRef="pure">0.0133</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="abef199c-29d6-4da0-a152-f5553ac1774a"
      unitRef="pure">-0.0049</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="x_00725a27-85ed-4ca1-baf3-1c0b45e5e5b1"
      unitRef="pure">-0.0049</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="x_7bc19429-fe4c-4ebe-8788-b7eb14267757"
      unitRef="pure">-0.0049</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_221ef43f-fae8-4224-8a6b-c59e5f7d45ac"
      unitRef="pure">-0.0049</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="e976d0a0-0646-42cd-9cea-f37601d8515d"
      unitRef="pure">-0.0049</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="x_03b293ef-a708-4e10-9897-d1048ccc881a"
      unitRef="pure">-0.0049</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="fbadcab9-0ee5-4290-8eda-a96ab2323514"
      unitRef="pure">-0.0049</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="4"
      id="x_1f1f0df8-9a39-4e4e-9d8f-4b80f4641242"
      unitRef="pure">0.0121</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="4"
      id="x_28dd6511-b144-4327-85b4-cb758773b3b5"
      unitRef="pure">0.0196</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="ec549844-295b-4818-a418-9d8bdc94c6ff"
      unitRef="pure">0.0085</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="4"
      id="x_9dba5576-e8dd-41d5-9241-7fbc8eaa5a23"
      unitRef="pure">0.0135</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="4"
      id="x_00b4a12e-e885-4190-8d79-287f28627a22"
      unitRef="pure">0.0096</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="4"
      id="e2f65a64-0141-4fb6-8ab3-307ad408f681"
      unitRef="pure">0.0146</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="4"
      id="x_4b8d2ac9-b71a-410f-bfa4-8e52c6ad5a39"
      unitRef="pure">0.0084</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_2fe2efa3-0e19-4865-a748-d294f69f9676">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="cf98f2ee-a5ce-4543-bf70-b52c4c5b6a3d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;The "Other Expenses" for Class R6 Shares have been restated to reflect expenses expected to be incurred during the current fiscal year.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_9eb9b593-1a2b-4524-9125-625ddc6fed5e">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_5d82d4d0-66ce-4822-b5fb-2c60dedbee7d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="ad3f72f1-b1f9-4dd0-b634-0045308f39d6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Service, Investor, Class R and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Service, Investor, Class R and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="INF"
      id="x_2e6e039a-fb0a-4038-b84c-67edb72841e3"
      unitRef="USD">667</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="INF"
      id="d16a850b-2a13-49ff-9e23-f42462ed77e3"
      unitRef="USD">1011</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="INF"
      id="x_62f37a07-333f-4dca-a69c-4e591390c65f"
      unitRef="USD">1379</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025609"
      decimals="INF"
      id="x_6d209d76-20a1-4095-9dc8-6e2005fefbd7"
      unitRef="USD">2410</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="INF"
      id="x_8c58119c-c6ab-43d8-93e8-0c41bf6abd30"
      unitRef="USD">299</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="INF"
      id="x_5ee1b9d2-d399-4b2a-af48-15797d88a62a"
      unitRef="USD">717</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="INF"
      id="c4b5dd14-72d5-4f6c-ae0a-c21285251f9a"
      unitRef="USD">1261</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="INF"
      id="e4c75503-2daf-4d75-923a-1f22c77e1151"
      unitRef="USD">2749</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="INF"
      id="fc3bc110-ade9-4946-9987-f03bbd0cc8b7"
      unitRef="USD">87</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="INF"
      id="x_6d279386-e0ab-4058-9777-1c5182178678"
      unitRef="USD">376</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="INF"
      id="x_23d61457-98b0-4561-b96c-65d1da11b759"
      unitRef="USD">687</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="INF"
      id="x_4b1736f1-5a3e-49de-a85b-9d132e42c57f"
      unitRef="USD">1570</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="INF"
      id="ff1f2fca-27a3-4695-9f4a-4b1a4d89fe11"
      unitRef="USD">137</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="INF"
      id="x_41faa091-5c0a-4118-aed9-21ac19f40439"
      unitRef="USD">531</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="INF"
      id="b7aa5e10-69c1-4583-91ec-f451bf720140"
      unitRef="USD">950</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025608"
      decimals="INF"
      id="f634c875-8c85-4353-a0c7-f96d182b7dce"
      unitRef="USD">2118</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="INF"
      id="x_6c0bb02d-2003-43e2-a77e-293837867ffb"
      unitRef="USD">98</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="INF"
      id="x_88c75874-ff22-4a4e-bd14-c0d3a5421c6a"
      unitRef="USD">410</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="INF"
      id="x_1daa704e-820f-4141-98d5-fb7a2ca838a5"
      unitRef="USD">746</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058978"
      decimals="INF"
      id="x_450a4c42-b819-4387-a219-fc1d82b337ec"
      unitRef="USD">1693</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="INF"
      id="bea17dd4-d5b5-434d-870c-36e5f74481a4"
      unitRef="USD">149</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="INF"
      id="ae1f2efc-fe27-4c3d-a939-4bed4e504a3d"
      unitRef="USD">565</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="INF"
      id="x_8101cf50-2239-4b75-a4c7-968e69b6d11c"
      unitRef="USD">1007</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000058977"
      decimals="INF"
      id="x_30484d66-b570-49b9-8f40-31559f8e4560"
      unitRef="USD">2235</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="INF"
      id="eaf338ef-7a6a-459e-ac1c-d3026e430d1c"
      unitRef="USD">86</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="INF"
      id="dd6808d7-5d91-4e33-9475-2d78a6f3b6b2"
      unitRef="USD">373</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="INF"
      id="x_2227e253-cdc8-4910-8dd9-d08d17b2f3d7"
      unitRef="USD">682</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000161521"
      decimals="INF"
      id="e783e716-1c11-419b-81b7-99119629904f"
      unitRef="USD">1559</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      id="x_11bf0464-7002-4552-ac83-00cf3359e3b1">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="INF"
      id="x_482ff288-c82a-434d-bf14-562b062d7fb9"
      unitRef="USD">199</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="INF"
      id="x_53865961-0c16-4fda-acfd-52eea0d756f2"
      unitRef="USD">717</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="INF"
      id="x_7db83179-f3d5-4fa3-bedd-a8febc74a1bf"
      unitRef="USD">1261</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025611"
      decimals="INF"
      id="x_184a73a6-984d-418d-842c-03cb7323dec7"
      unitRef="USD">2749</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="abed4ee6-6c75-413a-910a-c9b56b3d8ecf">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_3f61f1e6-7073-487a-ae16-a79b5f9260be">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;27&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      decimals="4"
      id="eafe8aea-1237-483a-bfb0-d11b651d89fa"
      unitRef="pure">0.27</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_7665c2ef-c692-4f37-a5a2-52234f605307">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="bc3882c3-b5a1-4f68-b8d7-0a4ffd37930c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at time of purchase) (&#x201c;Net Assets&#x201d;) in a portfolio of equity investments in issuers that are primarily engaged in or related to the real estate industry (&#x201c;real estate industry companies&#x201d;).&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer is primarily engaged in or related to the real estate industry if it derives at least &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50% of its gross revenues or net profits from the ownership, development, construction, financing, management or sale of commercial, industrial or residential real estate or interests therein. Real estate industry companies may include real estate investment trusts (&#x201c;REITs&#x201d;), REIT-like structures, or real estate operating companies whose businesses and services are related to the real estate industry. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investment strategy is based on the premise that property market fundamentals are the primary determinant of growth, underlying the success of companies in the real estate industry. The Investment Adviser focuses on companies that can achieve sustainable growth in cash flow and dividend paying capability over time. The Investment Adviser attempts to purchase securities so that its underlying portfolio will be diversified geographically and by property type. Although the Fund will invest primarily in publicly traded U.S. securities, it may invest up to 15% of its total assets in foreign securities, including securities quoted in foreign currencies. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser employs a fundamental investment process that may integrate environmental, social and governance (&#x201c;ESG&#x201d;) factors alongside traditional fundamental factors. No one factor or consideration is determinative in the stock selection process. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may also invest up to 20% of its total assets in fixed income investments, such as government, corporate and bank debt obligations and in other equity investments. The Fund concentrates its investments in securities of issuers in the real estate industry. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the FTSE NAREIT All Equity REITs Index (Total Return, USD, Unhedged). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;THE FUND IS &#x201c;NON-DIVERSIFIED&#x201d; UNDER THE INVESTMENT COMPANY ACT OF 1940, AS AMENDED (&#x201c;INVESTMENT COMPANY ACT&#x201d;), AND MAY INVEST A LARGER PERCENTAGE OF ITS ASSETS IN FEWER ISSUERS THAN DIVERSIFIED MUTUAL FUNDS.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:StrategyPortfolioConcentration
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_441a371c-a4e6-4a76-bccd-837af144991b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at time of purchase) (&#x201c;Net Assets&#x201d;) in a portfolio of equity investments in issuers that are primarily engaged in or related to the real estate industry (&#x201c;real estate industry companies&#x201d;).&lt;/span&gt;</oef:StrategyPortfolioConcentration>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_RiskLoseMoneyMember"
      id="x_0ff8a2f4-c5e8-4df3-85f8-65c914f1e3bd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_RiskNotInsuredDepositoryInstitutionMember"
      id="x_8fa1c501-21b2-4bc2-9e3e-0d4855c71ab7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_DividendPayingInvestmentsRiskMember"
      id="x_7ba37c82-3af0-4815-9a52-2e7c4a4b4193">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Dividend-Paying Investments Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund&#x2019;s investments in dividend-paying securities could cause the Fund to underperform other funds. Securities that pay dividends, as a group, can fall out of favor with the market, causing such securities to underperform securities that do not pay dividends. Depending upon market conditions and political and legislative responses to such conditions, &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;dividend-paying securities that meet the Fund&#x2019;s investment criteria may not be widely available and/or may be highly concentrated in only a few market sectors. In addition, issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. This may limit the ability of the Fund to produce current income.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_GeographicRiskMember"
      id="x_0c620a19-ae9d-499a-a200-866d7dcdd670">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Geographic Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;If the Fund focuses its investments in securities of issuers located in a particular country or region, the Fund may be subjected, to a greater extent than if investments were less focused, to the risks of volatile economic cycles and/or conditions and developments that may be particular to that country or region, such as: adverse securities markets; adverse exchange rates; adverse social, political, regulatory, economic, business, environmental or other developments; or natural disasters.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_IndustryConcentrationRiskMember"
      id="d28597ad-1706-4293-8818-0aa04f2294e6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Industry Concentration Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund concentrates its investments in the real estate industry, which has historically experienced substantial price volatility. This concentration subjects the Fund to greater risk of loss as a result of adverse economic, business, political, environmental or other developments than if its investments were diversified across different industries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_LargeShareholderTransactionsRiskMember"
      id="b561f657-f546-4c9f-965e-7999f34b8858">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_MarketRiskMember"
      id="x_458b23db-c3f5-4079-9443-cc28618144ad">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_RiskNondiversifiedStatusMember"
      id="x_879da95d-14bf-4f1f-973a-426eea7d86f6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Non-Diversification Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund is non-diversified, meaning that it is permitted to invest a larger percentage of its assets in one or more issuers or in fewer issuers than diversified &#160;mutual funds. Thus, the Fund may be more susceptible to adverse developments affecting any single issuer held in its portfolio, and may be more susceptible to greater losses because of these developments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_RealEstateIndustryRiskMember"
      id="x_82a2030b-183a-407e-82ab-476a6c378154">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Real Estate Industry Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Risks associated with investments in the real estate industry include, among others: possible declines in the value of real estate; risks related to general and local economic conditions; possible lack of availability of mortgage financing, variations in rental income, neighborhood values or the appeal of property to tenants; interest rates; overbuilding; extended vacancies of properties; increases in competition, property taxes and operating expenses; and changes in zoning laws. The real estate industry is particularly sensitive to economic downturns. The values of securities of companies in the real estate industry may go through cycles of relative under-performance and out-performance in comparison to equity securities markets in general.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_RealEstateInvestmentTrustsREITsRiskMember"
      id="x_0a826478-0c4d-4164-96d5-b61f32d2a365">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Real Estate Investment Trusts (&#x201c;REITs&#x201d;) Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; REITs whose underlying properties are concentrated in a particular industry or geographic region are subject to risks affecting such industries and regions. The securities of REITs involve greater risks than those associated with larger, more established companies and may be subject to more abrupt or erratic price movements because of interest rate changes, economic conditions and other factors. Securities of such issuers may lack sufficient market liquidity to enable the Fund to effect sales at an advantageous time or without a substantial drop in price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="c5bbea56-2e3f-40fa-a722-8692573a767b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_7ae06c4c-ccb9-4e17-827c-2031e804db87">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Service,&#160;Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (S&amp;amp;P 500&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Index) (the &#x201c;Regulatory Benchmark&#x201d;) and the&#160;FTSE NAREIT All Equity REITs Index (Total Return, USD, Unhedged)&#160;(the &#x201c;Performance Benchmark&#x201d;).&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Performance Benchmark is generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund&#x2019;s performance. The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 13 of the Prospectus. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="ed98595d-b09a-448e-b6cb-36e8adc892a4">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Service,&#160;Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (S&amp;amp;P 500&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Index) (the &#x201c;Regulatory Benchmark&#x201d;) and the&#160;FTSE NAREIT All Equity REITs Index (Total Return, USD, Unhedged)&#160;(the &#x201c;Performance Benchmark&#x201d;).&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="f4fd63d1-a27c-488e-9352-d09e4e8a5ac4">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_91447a38-0d1f-4d1e-82ff-9c297bed11be">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="b0f5e026-5e4c-41c4-8b7d-e17d4e630450">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR (INSTITUTIONAL)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="f8045f91-a9ea-4448-b4af-09d9897307de">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;16.75%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2021&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-25.07%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      id="x_8d974165-a41d-4822-a4e1-c8db6387de8f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="bedcbc7d-17a5-4c40-9188-ec1129a2cd15"
      unitRef="pure">0.1675</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      id="f6e5ef5a-b353-499a-9c9f-e8c1dfef32ba">2021-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      id="x_51eda49d-1a11-4156-a64d-c171770b00f2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      decimals="4"
      id="e894f850-35d5-4547-96fc-0a1b459b0e31"
      unitRef="pure">-0.2507</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstServInvRR6SharesMember_S000009341_C000025607"
      id="ed0915e7-de1e-4e4c-a2bd-ea3491ddf699">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="ffba2207-009e-4b65-a12b-097a8a7425ac">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvRR6SharesMember_C000025609"
      id="c86b658b-219c-4776-8b01-28ab00b1cf75">1998-07-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_01Jan2025_31Dec2025"
      decimals="4"
      id="x_95ee1f66-cb58-4efa-b59e-cb9695c6f0c4"
      unitRef="pure">-0.0605</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_01Jan2021_31Dec2025"
      decimals="4"
      id="ecfe50b7-e5f4-4b82-b27f-f583802c6017"
      unitRef="pure">0.0382</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_01Jan2016_31Dec2025"
      decimals="4"
      id="x_3d9cda99-7627-41f2-b6f8-4e8d676612f6"
      unitRef="pure">0.0357</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5ac27169-54d3-421a-b6dc-99750bc58637"
      unitRef="pure">-0.1283</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="d13afaf0-d294-49fe-8a7e-609dc87b3184"
      unitRef="pure">0.0098</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025"
      decimals="4"
      id="bcb71885-a057-43a3-bc73-00818e9122fc"
      unitRef="pure">0.0025</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_082b0ca0-726f-44a2-8f30-e8241e4a9c54"
      unitRef="pure">0.0070</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_279912bf-a5d2-4745-b234-5c832ededcfc"
      unitRef="pure">0.0265</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025609_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025"
      decimals="4"
      id="ba66b565-aff7-4075-8f27-336706c42411"
      unitRef="pure">0.0215</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvRR6SharesMember_C000025611"
      id="f0d6ee6f-2218-4460-bfcf-6c5f1878f551">1998-07-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025611_01Jan2025_31Dec2025"
      decimals="4"
      id="e1675808-e36c-4d9d-b3f7-bf573119a076"
      unitRef="pure">-0.0240</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025611_01Jan2021_31Dec2025"
      decimals="4"
      id="x_50ce8b85-5902-49ec-b01f-a4ef229096f3"
      unitRef="pure">0.0418</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025611_01Jan2016_31Dec2025"
      decimals="4"
      id="x_57c67fcf-03ea-4bf6-9276-04e381bb847b"
      unitRef="pure">0.0337</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvRR6SharesMember_C000025607"
      id="bf778918-61d1-443f-9fbf-3a180bf8ec81">1998-07-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025607_01Jan2025_31Dec2025"
      decimals="4"
      id="x_503dd7d2-9bb3-44a0-9631-671a20ca06ca"
      unitRef="pure">-0.0021</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025607_01Jan2021_31Dec2025"
      decimals="4"
      id="babfaa3c-042b-4771-a5da-996614710c9c"
      unitRef="pure">0.0534</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025607_01Jan2016_31Dec2025"
      decimals="4"
      id="x_9d9672ce-7fb8-4d03-bf04-f7260f17b962"
      unitRef="pure">0.0454</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvRR6SharesMember_C000025608"
      id="x_0531900d-3a3b-4e0c-b442-3d8532c47f9b">1998-07-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025608_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3a8280f8-3e8f-4a81-adb3-c90148096ee7"
      unitRef="pure">-0.0068</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025608_01Jan2021_31Dec2025"
      decimals="4"
      id="x_4572492f-509f-4348-8daa-8f074757c91a"
      unitRef="pure">0.0485</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000025608_01Jan2016_31Dec2025"
      decimals="4"
      id="d9fff8e6-0ce0-4140-a7e7-a197a86da7b3"
      unitRef="pure">0.0402</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvRR6SharesMember_C000058978"
      id="x_9b863e6b-3211-405d-953b-2bee1f8f17d4">2007-11-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000058978_01Jan2025_31Dec2025"
      decimals="4"
      id="x_98713f63-671e-4b23-81ea-d5dce2640536"
      unitRef="pure">-0.0038</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000058978_01Jan2021_31Dec2025"
      decimals="4"
      id="x_9e8ad81d-a846-431c-a779-9776d3eb757d"
      unitRef="pure">0.0523</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000058978_01Jan2016_31Dec2025"
      decimals="4"
      id="x_5e65e73c-18c8-49ea-92f0-7d6e797aafa6"
      unitRef="pure">0.0441</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvRR6SharesMember_C000058977"
      id="x_534bc4c6-7692-491d-9552-739f86084091">2007-11-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000058977_01Jan2025_31Dec2025"
      decimals="4"
      id="x_20a9bddc-9fd4-4125-a31f-6422ab21bda9"
      unitRef="pure">-0.0075</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000058977_01Jan2021_31Dec2025"
      decimals="4"
      id="f99c46d7-7c3c-44f3-9b0c-8e2441eb07d9"
      unitRef="pure">0.0472</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000058977_01Jan2016_31Dec2025"
      decimals="4"
      id="x_8ae5ac23-ef10-435b-8ce2-d1acd9a922d5"
      unitRef="pure">0.0389</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvRR6SharesMember_C000161521"
      id="x_47823f2a-ba98-4f9d-8e30-e94cf5eeef72">2015-07-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000161521_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6cbe5393-2fa2-4d9f-b2d7-b01df9568ede"
      unitRef="pure">-0.0019</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000161521_01Jan2021_31Dec2025"
      decimals="4"
      id="b0fc5249-19c5-4ee0-a48d-5612f770573c"
      unitRef="pure">0.0535</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_C000161521_01Jan2016_31Dec2025"
      decimals="4"
      id="x_2506ae5f-af86-4759-9ded-c3e9ea8a14b1"
      unitRef="pure">0.0454</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6a1e3e8e-63f0-4a55-b9a6-f1737803aeac"
      unitRef="pure">0.0227</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_37c79121-b110-456f-9612-5e2818f3ca46"
      unitRef="pure">0.0485</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2016_31Dec2025"
      decimals="4"
      id="bedcc466-0820-438e-87dd-019b420e953c"
      unitRef="pure">0.0576</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_SP500IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="af553efb-4047-47dc-a649-f3e7fc2df25d"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_SP500IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_432a2049-f247-41ec-8096-104b3496b5bd"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvRR6SharesMember_SP500IndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_49e2476b-ca61-4850-9c32-147795fd4bdd"
      unitRef="pure">0.1481</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_8564d266-0f0a-407f-9d98-d5fec97a337e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Service, Investor and Class R6 Shares, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_980d1f92-167e-4283-8134-9a2281521c37">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_6d5a6476-8bfd-417a-914a-7173ea7cbc9b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Service, Investor and Class R6 Shares, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary.&lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="x_95e20d25-6274-4bc2-933e-b3cf131bfabc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstServInvRR6SharesMember_S000009341"
      id="a81881e3-5a66-4edb-9805-cb77b89b5e7e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="d1681b60-7861-4640-9be9-4608bb63fd2e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Global Infrastructure Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="aedd1ebc-9d8c-444b-ab7a-8fb3b32e1263">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_48f69485-7e60-4fa5-a29c-f7b8a7d69871">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Global Infrastructure Fund (the &#x201c;Fund&#x201d;) seeks total return comprised of long-term growth of capital and income.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_20ea3ad2-55fe-4724-9118-cd1ff51bb9aa">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="af84e86d-109a-4604-919e-2b66be656c1c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 36 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 76 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="cd30fd90-9a94-400b-8532-616d596f96e3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 36 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 76 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      decimals="INF"
      id="x_44a1d280-77bb-42ee-8749-ce02bf98c9c4"
      unitRef="USD">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="c0e14d54-fc41-4d5d-a2b6-929306305799">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="x_107b67ad-23e8-4ead-b852-7aa0da863a3b"
      unitRef="pure">0.0550</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="x_7f92d4a2-5f98-422c-a69a-82e845bb0513"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="x_5e079f82-a470-44b8-a5ab-502e1645b72a"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="x_5e4afb83-e193-4b8d-80d7-09db90595932"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="x_91db5738-40c9-4487-a0e5-1d03e5179375"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="x_2ea9cd87-c41d-40d5-ad23-aba41af7614d"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="b16707fd-7600-445c-815d-4c69c145a8ee"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="x_46724c75-ac58-43c4-8024-cf27c898ebf0"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="x_61f1ecc3-ecac-43a8-90db-f86ef99620f5"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="x_34e93c43-b34f-4246-9d40-ad8fbe1b994c"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_71f17c91-9935-47c9-91a1-51424741a7ec">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="x_62029cdc-f4ae-4c65-a545-a673570e3cef"
      unitRef="pure">0.0090</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="f71b3162-f19c-4075-a21c-0a191b83c0bf"
      unitRef="pure">0.0090</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="x_35969f87-7737-4c17-b687-15480de7ff00"
      unitRef="pure">0.0090</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="be1a5198-be96-45e8-b463-b0fb67d1ead2"
      unitRef="pure">0.0090</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="fb59e608-597c-49e6-a0b8-d06a7588bd68"
      unitRef="pure">0.0090</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="b49a422e-a45e-492d-9e77-d9d67d8de79a"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="d26cff2d-cc2b-43e7-b0aa-ef383da06ac2"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="x_5b305167-2284-405d-a6f8-a7c3276173f5"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="x_7c3faa5f-d423-4d48-b7ae-04959c7d5544"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="ecd83d4b-1ac3-4b69-823e-e1a29cc5307d"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="fa33fc07-64e4-45e7-99ad-413c03eaeda1"
      unitRef="pure">0.0046</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="x_4b488220-45d3-41a6-ae7c-04f68752d046"
      unitRef="pure">0.0071</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="c30c560d-113e-4d8d-8a96-84a2e9d1c3a8"
      unitRef="pure">0.0035</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="f7b4e030-2a20-42b9-88a5-47aa2b367feb"
      unitRef="pure">0.0046</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="ebc158be-234d-45c4-aec9-82a52168726a"
      unitRef="pure">0.0034</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="x_9ac308e9-5251-4a93-a62f-20e553d53dfe"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="x_6c8a2636-2168-40ef-bd9d-3138b50529ad"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="x_76536616-a815-417d-b91a-7ec4292079e3"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="b122c5cb-0ce2-4695-9a3e-63fa83cae877"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="x_6e2db70f-5f44-44e1-8614-b2c4b5561184"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="x_339fac28-68fd-4627-b804-aee6027f0d91"
      unitRef="pure">0.0046</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="x_8e568cf6-e6a2-45be-b461-c2b373ea1ad2"
      unitRef="pure">0.0046</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="x_947cd860-0c00-42f6-82ea-5ddfb1328a08"
      unitRef="pure">0.0035</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="x_0fff60d6-2079-433c-a60a-861e53c36cc5"
      unitRef="pure">0.0046</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="x_339c839f-6ad8-4197-be25-7da8cb4f585a"
      unitRef="pure">0.0034</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="x_4e245378-755f-4c3b-b2ae-586b48cc193d"
      unitRef="pure">0.0161</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="x_237427cd-cbf0-40ad-bf6e-062253809b8e"
      unitRef="pure">0.0236</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="bbde99f8-36d5-4f1a-8714-3265d788c1ab"
      unitRef="pure">0.0125</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="x_9b3235c0-4844-4169-a571-a48d4bdcdcff"
      unitRef="pure">0.0136</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="fc11774a-29d8-4a86-8860-908e1236a5de"
      unitRef="pure">0.0124</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="x_95decf4c-b431-436c-aaa2-97b025129f6a"
      unitRef="pure">-0.0039</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="e9e01803-7f29-4bee-9d4a-759ef0b0faf4"
      unitRef="pure">-0.0039</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="x_058004cf-889c-4abd-9ff2-f7c976f3acff"
      unitRef="pure">-0.0028</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="c03821aa-5435-47c7-b77a-9282a6f07f8d"
      unitRef="pure">-0.0039</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="x_8ce330cd-0779-4905-b491-9dc956bcfcde"
      unitRef="pure">-0.0028</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="4"
      id="x_6eb9c3e7-967d-4e13-9e29-ae03fceb7327"
      unitRef="pure">0.0122</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="4"
      id="x_1edacdce-5b07-4862-8644-f2d219090425"
      unitRef="pure">0.0197</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="f746c01c-593b-4650-994a-14da91e7b8c9"
      unitRef="pure">0.0097</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="4"
      id="x_570672e6-3a0e-492d-aa65-f6e3eaa2cc75"
      unitRef="pure">0.0097</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="4"
      id="cef187e3-369c-4736-b774-bbb8a625fb1c"
      unitRef="pure">0.0096</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_51c37a30-fa7c-4c32-b886-2bb004c6a151">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="b632d1f5-a131-4ce9-b631-9d93b0b05037">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_5ce9e18f-9290-4b7b-afb3-c25d24816d92">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="b955de7d-d8cb-46a2-b841-06c37c80809d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Investor and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Investor and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="INF"
      id="x_5e99ee6a-7d40-4106-817e-3858ee8c3cdd"
      unitRef="USD">667</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="INF"
      id="x_06f35a62-17da-49c9-a8e1-52f05a93457c"
      unitRef="USD">994</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="INF"
      id="x_1ee47ae2-77d6-41a6-a4c6-a5ea21b08ac5"
      unitRef="USD">1343</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159640"
      decimals="INF"
      id="x_6f258654-4216-4084-a299-a9a7bb274982"
      unitRef="USD">2325</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="INF"
      id="x_633905b4-52e9-4a7a-8195-9ee58e04a1ed"
      unitRef="USD">300</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="INF"
      id="d236f216-2b97-41a4-bbcc-ae728ac6baac"
      unitRef="USD">699</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="INF"
      id="x_6cc0ed45-1141-4ae6-9dce-5acc1929956b"
      unitRef="USD">1225</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="INF"
      id="x_590a036b-4cda-49a2-957b-00ace8c809fb"
      unitRef="USD">2666</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="INF"
      id="f9fbba0e-6e28-420e-85c5-af1a63dfc3c0"
      unitRef="USD">99</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="INF"
      id="a7713a07-82bc-4946-bd27-3e394bf9fd9b"
      unitRef="USD">369</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="INF"
      id="x_4a1af220-2ffb-46a6-94d4-c4eb679ce720"
      unitRef="USD">659</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="INF"
      id="x_75370dea-786a-4f7c-bd4b-eefd8155ab9a"
      unitRef="USD">1487</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="INF"
      id="x_4cb415cc-292a-49a5-9fef-8b3dad05acba"
      unitRef="USD">99</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="INF"
      id="eeafd018-27e6-4218-8ace-859ad055d1a5"
      unitRef="USD">392</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="INF"
      id="x_4ce9238d-9b52-4bd6-a91e-bf6e592831b9"
      unitRef="USD">707</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159643"
      decimals="INF"
      id="b838726d-43f5-4ec6-bdeb-cfaefef84265"
      unitRef="USD">1601</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="INF"
      id="x_13967349-e892-4b70-ad93-a193dcf1d746"
      unitRef="USD">98</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="INF"
      id="x_87379e40-1a94-420e-b689-2b758288be85"
      unitRef="USD">366</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="INF"
      id="x_26616732-272f-44ef-9a47-1d77444ba65a"
      unitRef="USD">654</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159645"
      decimals="INF"
      id="a0e29d89-d215-4262-a99f-0c35ff00ee2e"
      unitRef="USD">1475</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      id="f10bc72e-964f-4919-8b14-9bcd30d02495">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="INF"
      id="x_1d0f7517-9e56-4c23-b1ec-6be7f42cb7e5"
      unitRef="USD">200</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="INF"
      id="x_1eb91005-de7e-40e4-a473-2908a7a7a63d"
      unitRef="USD">699</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="INF"
      id="a0ce83a7-b8bf-40c6-acc0-d4fc3105ab2d"
      unitRef="USD">1225</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159641"
      decimals="INF"
      id="ca865f67-dfdc-47b7-b7c4-dbfdb269389c"
      unitRef="USD">2666</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_25b9d0d1-526d-44df-a5c3-cea1f2fa9229">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_2e0326b8-4e68-4a37-84f9-ea3b487f3392">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;19&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      decimals="4"
      id="x_0066c9ac-e0bd-4062-8ed6-b296d6c8491c"
      unitRef="pure">0.19</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="d7c4c486-a63f-499a-a4ec-a90264c45482">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_0bd5a57d-5e9c-4d79-853f-18cec724a952">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at time of purchase) (&#x201c;Net Assets&#x201d;) in a portfolio of investments in issuers that are engaged in or related to the infrastructure group of industries (&#x201c;infrastructure companies&#x201d;). The Fund will invest primarily in the common stock of infrastructure companies.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;An issuer is engaged in or related to the infrastructure group of industries if it is involved in the ownership, development, construction, renovation, financing, management, sale or operation of infrastructure assets, or that provide the services and raw materials necessary for the construction and maintenance of infrastructure assets. Infrastructure assets include, but are not limited to, utilities, energy, transportation, real estate, media, telecommunications and capital goods. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund will invest in the securities of infrastructure companies that are economically tied to at least three countries, including the United States. Although the Fund will invest, under normal circumstances, primarily in the securities of infrastructure companies that are economically tied to developed countries (namely developed countries in North America and Europe), the Fund may also invest in the securities of infrastructure companies that are economically tied to countries with emerging markets or economies (&#x201c;emerging countries&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may invest without restriction as to issuer capitalization (including small- and mid-capitalization companies). A portion of the Fund&#x2019;s securities are denominated in foreign currencies and held outside the United States. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may invest in real estate investment trusts (&#x201c;REITs&#x201d;). The Fund may also invest up to 20% of its total assets (measured at time of purchase) in master limited partnerships (&#x201c;MLPs&#x201d;) that are taxed as partnerships and up to 20% of its Net Assets (measured at time of purchase) in issuers that are not infrastructure companies. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Exchange-traded funds (&#x201c;ETFs&#x201d;) that provide exposure to infrastructure companies and derivative instruments, such as futures, that have similar economic exposures to infrastructure companies will be counted towards the Fund&#x2019;s 80% policy discussed above. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investment strategy combines bottom-up company analysis with fundamental real asset research. The Investment Adviser may integrate environmental, social and governance (&#x201c;ESG&#x201d;) factors alongside traditional fundamental factors as part of its fundamental research process. No one factor or consideration is determinative in the stock selection process. The Investment Adviser may decide to sell a position for various reasons, including valuation and price considerations or for risk management purposes. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund concentrates its investments in the securities of issuers in the infrastructure group of industries. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the Dow Jones Brookfield Global Infrastructure Index (Net, USD, Unhedged). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;THE FUND IS &#x201c;NON-DIVERSIFIED&#x201d; UNDER THE INVESTMENT COMPANY ACT OF 1940, AS AMENDED (&#x201c;INVESTMENT COMPANY ACT&#x201d;), AND MAY INVEST A LARGER PERCENTAGE OF ITS ASSETS IN FEWER ISSUERS THAN DIVERSIFIED MUTUAL FUNDS.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:StrategyPortfolioConcentration
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="ed7973d2-4081-4897-ba60-7123296165b7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at time of purchase) (&#x201c;Net Assets&#x201d;) in a portfolio of investments in issuers that are engaged in or related to the infrastructure group of industries (&#x201c;infrastructure companies&#x201d;). The Fund will invest primarily in the common stock of infrastructure companies.&lt;/span&gt;</oef:StrategyPortfolioConcentration>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_RiskLoseMoneyMember"
      id="x_2a51d688-68e5-472b-be5b-16a5793013d1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_RiskNotInsuredDepositoryInstitutionMember"
      id="ab7cf6b3-5a61-4b99-aec9-a006b6668ae9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_DividendPayingInvestmentsRiskMember"
      id="x_26f952fb-2627-42e0-86df-dea81b9c09e1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Dividend-Paying Investments Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund&#x2019;s investments in dividend-paying securities could cause the Fund to underperform other funds. Securities that pay dividends, as a group, can fall out of favor with the market, causing such securities to underperform securities that do not pay dividends. Depending upon market conditions and political and legislative responses to such conditions, dividend-paying securities that meet the Fund&#x2019;s investment criteria may not be widely available and/or may be highly concentrated in only a few market sectors. In addition, issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. This may limit the ability of the Fund to produce current income.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_ForeignandEmergingCountriesRiskMember"
      id="db9ad82f-c37d-4d2d-9133-c8e4966793a7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign and Emerging Countries Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls (including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency exchange rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time. These risks are more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in, or otherwise economically tied to, emerging countries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_IndustryConcentrationRiskMember"
      id="x_4e5fcdb3-8a48-4321-a1db-e75f976f5fea">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Industry Concentration Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund concentrates its investments in securities of companies in the infrastructure group of industries. This concentration subjects the Fund to greater risk of loss as a result of adverse economic, business, political, environmental or other developments in such industries&#160;than if its investments were diversified across different industries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_InfrastructureCompanyRiskMember"
      id="c88e7369-c939-4d91-9597-96c9d93826e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Infrastructure Company Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Infrastructure companies are susceptible to various factors that may negatively impact their businesses or operations, including costs associated with compliance with and changes in environmental, governmental and other regulations, rising interest costs in connection with capital construction and improvement programs, government budgetary constraints that impact publicly funded projects, the effects of general economic conditions throughout the world, surplus capacity and depletion concerns, increased competition from other providers of services, uncertainties regarding the availability of fuel and other natural resources at reasonable prices, the effects of energy conservation policies, unfavorable tax laws or accounting policies and high leverage. Infrastructure companies will also be affected by innovations in technology that could render the way in which a company delivers a product or service obsolete and natural or man-made disasters.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_LargeShareholderTransactionsRiskMember"
      id="b6a2c164-dd7c-4f02-b3f1-b20443c0538c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_MarketRiskMember"
      id="x_630159cf-3189-4e99-b2ad-15f54b4199fc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_MasterLimitedPartnershipRiskMember"
      id="x_62c94f9a-41e2-47fa-b6e5-4bae126f69b5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Master Limited Partnership Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Investments in securities of an MLP involve risks that differ from investments in common stock, including risks related to limited control and limited rights to vote on matters affecting the MLP. Certain MLP securities may trade in lower volumes due to their smaller capitalizations, and may be subject to more abrupt or erratic price movements and lower market liquidity. MLPs are generally considered interest-rate sensitive investments. During periods of interest rate volatility, these investments may not provide attractive returns. Investments in securities of an MLP also include tax-related risks. For example, to the extent a &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;distribution received by the Fund from an MLP is treated as a return of capital, the Fund&#x2019;s adjusted tax basis in the interests of the MLP may be reduced, which will result in an increase in an amount of income or gain (or decrease in the amount of loss) that will be recognized by the Fund for tax purposes upon the sale of any such interests or upon subsequent distributions in respect of such interests.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_MidCapRiskMember"
      id="d9bb529b-d695-4a79-ae01-ce9fa528da3a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Mid-Cap&#160;and Small-Cap Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Investments in mid-capitalization&#160;and small-capitalization companies involve greater risks than those associated with larger, more established companies. These securities may be subject to more abrupt or erratic price movements and may lack sufficient market liquidity, and these issuers often face greater business risks.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_RiskNondiversifiedStatusMember"
      id="x_607f8fab-d08c-4453-af76-61fc06842fba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Non-Diversification Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund is non-diversified, meaning that it is permitted to invest a larger percentage of its assets in one or more issuers or in fewer issuers than diversified &#160;mutual funds. Thus, the Fund may be more susceptible to adverse developments affecting any single issuer held in its portfolio, and may be more susceptible to greater losses because of these developments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_RealEstateInvestmentTrustsREITsRiskMember"
      id="x_88d7d8eb-bee5-4764-aac7-10b5521d430a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Real Estate Investment Trusts (&#x201c;REITs&#x201d;) Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; REITs whose underlying properties are concentrated in a particular industry or geographic region are subject to risks affecting such industries and regions. The securities of REITs involve greater risks than those associated with larger, more established companies and may be subject to more abrupt or erratic price movements because of interest rate changes, economic conditions and other factors. Securities of such issuers may lack sufficient market liquidity to enable the Fund to effect sales at an advantageous time or without a substantial drop in price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577_StockRiskMember"
      id="x_46c191d8-8853-478b-a19c-716885d56bdd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_54186fee-667b-466f-a05c-d7e7d0539eaa">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_3531aa24-fc55-4ff8-bc86-d00a024cb8c7">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (MSCI&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;ACWI Index (Net, USD, Unhedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the Dow Jones Brookfield Global Infrastructure Index (Net, USD, Unhedged) (the &#x201c;Performance Benchmark&#x201d;). &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Performance Benchmark is generally more representative of the market sectors &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund&#x2019;s performance. The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 13 of the Prospectus. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;information is available at no cost at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="b6c1105b-2055-4e39-8578-268758088e9c">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (MSCI&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;ACWI Index (Net, USD, Unhedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the Dow Jones Brookfield Global Infrastructure Index (Net, USD, Unhedged) (the &#x201c;Performance Benchmark&#x201d;). &lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="ac1506ac-3987-44a5-bf2d-75d92295cef7">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="b2dcdeb4-8990-4696-b781-356ef68c893b">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="aa7b5116-4eee-4e6a-8ad3-258a9a6133db">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR (INSTITUTIONAL)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_77ca2fe1-4d92-47ee-a81d-089832764e95">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;16.59%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2019&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-17.20%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      id="f281fd5a-aaca-49a5-8043-36adfeb78b74">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="d6710c4f-4dbf-4f2a-8591-8fe1b056b1ee"
      unitRef="pure">0.1659</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      id="bd2e5b1b-d4d7-4078-b97b-613bc2c6c5fa">2019-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      id="d08d1296-c05e-46d4-92b2-e0f2d1b43fb3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      decimals="4"
      id="x_1aedff35-9d4c-4a1b-9f5a-8228356d716f"
      unitRef="pure">-0.1720</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstInvR6SharesMember_S000050577_C000159642"
      id="x_4eb4178b-904c-49cb-ade8-f1809db34bf4">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_93c08b1b-c9b3-4d9e-8a2e-a2e0846b2d3b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000159640"
      id="x_34f06b8a-487a-4b02-a879-04f631af6ac6">2016-06-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_01Jan2025_31Dec2025"
      decimals="4"
      id="x_05025576-ff65-457a-b9bd-4a7b62a23ee6"
      unitRef="pure">0.0888</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_01Jan2021_31Dec2025"
      decimals="4"
      id="x_669a3617-5e40-4649-b197-9314f8948957"
      unitRef="pure">0.0632</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_27Jun2016_31Dec2025"
      decimals="4"
      id="x_9dc11485-0502-42b6-b1e3-70fccefae719"
      unitRef="pure">0.0609</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="c26360d5-1b25-4af5-855c-abdf2bc7119d"
      unitRef="pure">0.0729</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_55e3f05a-de26-4313-b32e-746ca3204ea9"
      unitRef="pure">0.0491</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsMember_27Jun2016_31Dec2025"
      decimals="4"
      id="x_5e803a11-8f1a-45b0-9bc9-ae5b4b2cdf97"
      unitRef="pure">0.0454</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_741ea57b-160f-4820-9686-3a4aa85e8b7d"
      unitRef="pure">0.0633</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_6c49fa8c-8962-41b4-a3f6-d197a8e4f7a8"
      unitRef="pure">0.0471</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159640_AfterTaxesOnDistributionsAndSalesMember_27Jun2016_31Dec2025"
      decimals="4"
      id="x_441946bf-58b9-4156-8b8e-8ee031155b26"
      unitRef="pure">0.0420</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000159641"
      id="x_80399a50-faae-4dc8-9ed8-21cbceb14642">2016-06-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159641_01Jan2025_31Dec2025"
      decimals="4"
      id="x_08453cde-b239-45c5-afe4-398ba82d54df"
      unitRef="pure">0.1312</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159641_01Jan2021_31Dec2025"
      decimals="4"
      id="x_183f55c8-8343-43d5-a098-9857760a422d"
      unitRef="pure">0.0672</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159641_27Jun2016_31Dec2025"
      decimals="4"
      id="x_5c861076-8b1b-4367-8adb-e4308dab521d"
      unitRef="pure">0.0592</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000159642"
      id="x_9e9852a6-ba5e-413a-812c-28272701e22c">2016-06-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159642_01Jan2025_31Dec2025"
      decimals="4"
      id="x_8385c804-bbcb-4361-b319-e73f520f0874"
      unitRef="pure">0.1536</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159642_01Jan2021_31Dec2025"
      decimals="4"
      id="x_41965cde-883c-4099-a351-89edd625deed"
      unitRef="pure">0.0784</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159642_27Jun2016_31Dec2025"
      decimals="4"
      id="f9c3f38f-b852-44b5-8f7f-de0ae7ce61e1"
      unitRef="pure">0.0708</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000159643"
      id="aaeec9a6-fbc2-4082-b1ee-2d6ab695aec0">2016-06-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159643_01Jan2025_31Dec2025"
      decimals="4"
      id="x_48290135-e25b-4a08-b4e5-fe3959de9b04"
      unitRef="pure">0.1547</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159643_01Jan2021_31Dec2025"
      decimals="4"
      id="x_83698f25-6555-4de4-9005-cc43361aec4c"
      unitRef="pure">0.0780</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159643_27Jun2016_31Dec2025"
      decimals="4"
      id="x_82847449-246b-462d-9bdb-5ae34a2a54ba"
      unitRef="pure">0.0698</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000159645"
      id="fa2e5a46-7eec-45d0-8e6a-8a3f6bc660dd">2016-06-27</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159645_01Jan2025_31Dec2025"
      decimals="4"
      id="fa6b95d2-a48c-43df-b0e8-9c181a22da86"
      unitRef="pure">0.1552</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159645_01Jan2021_31Dec2025"
      decimals="4"
      id="x_1767b9d6-8155-4a20-ad6e-4b19c1284a30"
      unitRef="pure">0.0788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000159645_27Jun2016_31Dec2025"
      decimals="4"
      id="x_667a4870-7378-45e9-924c-732ff2dae0ed"
      unitRef="pure">0.0710</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_15dfe6ce-b2e9-4463-87e0-705fbe9302dc"
      unitRef="pure">0.1410</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_14914be7-aa88-4126-8ca5-034bc6a04fe7"
      unitRef="pure">0.0798</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_27Jun2016_31Dec2025"
      decimals="4"
      id="x_534375ad-d9c3-4e18-ae7e-ceeee8363267"
      unitRef="pure">0.0708</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIACWIIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_27c820d5-a80d-4d3c-8048-285410e5b4a7"
      unitRef="pure">0.2234</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIACWIIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_844e67f0-6713-466b-9fc9-1807dacddec6"
      unitRef="pure">0.1119</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIACWIIndexNetUSDUnhedgedMember_27Jun2016_31Dec2025"
      decimals="4"
      id="a10005a2-2d32-46c3-b0a1-dc245f77b51c"
      unitRef="pure">0.1281</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="cdd03a3c-7bed-4644-a47c-3a6928c51a31">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares, will vary. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;After-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;impact of state and local taxes. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="x_49dd38d9-e2b3-455e-bbfe-2ba0621a521f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="eeee94eb-e263-46db-92bd-f1027f7ba2e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares, will vary. &lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="fca2a804-377c-4d89-9d88-89d6378bd744">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;After-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;impact of state and local taxes. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstInvR6SharesMember_S000050577"
      id="c197562e-d3cf-41da-9b46-17f976659d09">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000009341"
      id="x_57427146-34ec-4465-ba39-68c91f04746e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Real Estate Securities Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000009341"
      id="x_0ba07694-c92a-4dde-89db-d1b1270b8e69">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000009341"
      id="x_8b487d82-031d-49be-865e-0e897cc33c3b">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Real Estate Securities Fund (the &#x201c;Fund&#x201d;) seeks total return comprised of long-term growth of capital and dividend income.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000009341"
      id="ec2aa330-dd9d-449b-8f5e-559301145164">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009341"
      id="x_492a9b81-1bc8-49dd-951e-bb2de1b9230a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000009341"
      id="f70250e7-b6c1-4cc7-be37-f50e6f3354f7">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="4"
      id="dfcb5255-eccf-4fc8-b698-8bb731ee42bb"
      unitRef="pure">0.0087</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="4"
      id="x_5e2cc519-d7da-4134-b8c3-67e40ef33bfa"
      unitRef="pure">0.0046</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="4"
      id="ea270cec-3938-4e72-8eb8-ba6cb0c92e68"
      unitRef="pure">0.0133</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="4"
      id="x_277c2333-07d2-43e5-a2b4-b54972fa4a8d"
      unitRef="pure">-0.0049</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="4"
      id="a710a0bf-ed02-4faa-ba3f-6e862e4d82ab"
      unitRef="pure">0.0084</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassPSharesMember_S000009341"
      id="f0485467-ab14-4b29-8707-4b573ed75a2f">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000009341"
      id="a62c01ee-c38d-40dd-8d7f-0b3de222ee1e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009341"
      id="x_4346c3df-56b8-4169-b351-de7c8a55597c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="INF"
      id="x_071fa8fb-b1ea-4b90-be8a-70263ae007a5"
      unitRef="USD">86</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="INF"
      id="x_34926e2f-6566-4171-bd3d-c48fb2d17857"
      unitRef="USD">373</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="INF"
      id="x_2a4e7e68-0cd7-4e5e-9a58-7e9a0a1d1fc0"
      unitRef="USD">682</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="INF"
      id="x_17c6adc6-b7a1-4b48-98e0-ed0a46bd1151"
      unitRef="USD">1559</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000009341"
      id="x_87a9d1d6-0511-4167-b2bc-8e3f3e7a0a32">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000009341"
      id="x_086db124-3cbf-4712-b124-f48cac8608e0">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;27&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000009341"
      decimals="4"
      id="x_94440f72-2d83-4d66-995e-7c14e38669e6"
      unitRef="pure">0.27</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000009341"
      id="e8661473-5bef-4e1f-9101-310f80780ba4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009341"
      id="x_668e9659-d2d8-4c4f-992b-619efa818b64">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at time of purchase) (&#x201c;Net Assets&#x201d;) in a portfolio of equity investments in issuers that are primarily engaged in or related to the real estate industry (&#x201c;real estate industry companies&#x201d;).&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; An issuer is primarily engaged in or related to the real estate industry if it derives at least &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50% of its gross revenues or net profits from the ownership, development, construction, financing, management or sale of commercial, industrial or residential real estate or interests therein. Real estate industry companies may include real estate investment trusts (&#x201c;REITs&#x201d;), REIT-like structures, or real estate operating companies whose businesses and services are related to the real estate industry. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investment strategy is based on the premise that property market fundamentals are the primary determinant of growth, underlying the success of companies in the real estate industry. The Investment Adviser focuses on companies that can achieve sustainable growth in cash flow and dividend paying capability over time. The Investment Adviser attempts to purchase securities so that its underlying portfolio will be diversified geographically and by property type. Although the Fund will invest primarily in publicly traded U.S. securities, it may invest up to 15% of its total assets in foreign securities, including securities quoted in foreign currencies. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser employs a fundamental investment process that may integrate environmental, social and governance (&#x201c;ESG&#x201d;) factors alongside traditional fundamental factors. No one factor or consideration is determinative in the stock selection process. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may also invest up to 20% of its total assets in fixed income investments, such as government, corporate and bank debt obligations and in other equity investments. The Fund concentrates its investments in securities of issuers in the real estate industry. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the FTSE NAREIT All Equity REITs Index (Total Return, USD, Unhedged). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;THE FUND IS &#x201c;NON-DIVERSIFIED&#x201d; UNDER THE INVESTMENT COMPANY ACT OF 1940, AS AMENDED (&#x201c;INVESTMENT COMPANY ACT&#x201d;), AND MAY INVEST A LARGER PERCENTAGE OF ITS ASSETS IN FEWER ISSUERS THAN DIVERSIFIED MUTUAL FUNDS.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:StrategyPortfolioConcentration
      contextRef="ClassPSharesMember_S000009341"
      id="x_54e8c7ab-bbb1-4bd7-a1ca-b8dacc80abd8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at time of purchase) (&#x201c;Net Assets&#x201d;) in a portfolio of equity investments in issuers that are primarily engaged in or related to the real estate industry (&#x201c;real estate industry companies&#x201d;).&lt;/span&gt;</oef:StrategyPortfolioConcentration>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_RiskLoseMoneyMember"
      id="x_013ff76a-32d0-4423-881c-143644ff203a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_RiskNotInsuredDepositoryInstitutionMember"
      id="x_2d74b208-40e0-4703-8a91-d26cd3c7790f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_DividendPayingInvestmentsRiskMember"
      id="x_7899631c-53b5-4395-a78c-9df204b39bf2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Dividend-Paying Investments Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund&#x2019;s investments in dividend-paying securities could cause the Fund to underperform other funds. Securities that pay dividends, as a group, can fall out of favor with the market, causing such securities to underperform securities that do not pay dividends. Depending upon market conditions and political and legislative responses to such conditions, dividend-paying securities that meet the Fund&#x2019;s investment criteria may not be widely available and/or may be highly concentrated in only a few market sectors. In addition, issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. This may limit the ability of the Fund to produce current income.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_GeographicRiskMember"
      id="x_7a6fec82-e02e-45bc-a08d-698a6c548527">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Geographic Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;If the Fund focuses its investments in securities of issuers located in a particular country or region, the Fund may be subjected, to a greater extent than if investments were less focused, to the risks of volatile economic cycles and/or conditions and developments that may be particular to that country or region, such as: adverse securities markets; adverse exchange rates; adverse social, political, regulatory, economic, business, environmental or other developments; or natural disasters.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_IndustryConcentrationRiskMember"
      id="x_050e0442-4ebb-46ba-bc0f-a324304e80a3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Industry Concentration Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund concentrates its investments in the real estate industry, which has historically experienced substantial price volatility. This concentration subjects the Fund to greater risk of loss as a result of adverse economic, business, political, environmental or other developments than if its investments were diversified across different industries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_LargeShareholderTransactionsRiskMember"
      id="e71e6447-08d6-44e9-badc-39214b9767da">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_MarketRiskMember"
      id="ff891c69-e163-4f3b-b386-74008ee03158">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_RiskNondiversifiedStatusMember"
      id="x_0d29f7fc-21fe-4905-be5f-38ed2a630382">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Non-Diversification Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund is non-diversified, meaning that it is permitted to invest a larger percentage of its assets in one or more issuers or in fewer issuers than diversified &#160;mutual funds. Thus, the Fund may be more susceptible to adverse developments affecting any single issuer held in its portfolio, and may be more susceptible to greater losses because of these developments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_RealEstateIndustryRiskMember"
      id="x_71de52dd-ef71-48e7-8467-4d96a3732d0d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Real Estate Industry Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Risks associated with investments in the real estate industry include, among others: possible declines in the value of real estate; risks related to general and local economic conditions; possible lack of availability of mortgage financing, variations in rental income, neighborhood values or the appeal of property to tenants; interest rates; overbuilding; extended vacancies of properties; increases in competition, property taxes and operating expenses; and changes in zoning laws. The real estate industry is particularly sensitive to economic downturns. The values of securities of companies in the real estate industry may go through cycles of relative under-performance and out-performance in comparison to equity securities markets in general.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009341_RealEstateInvestmentTrustsREITsRiskMember"
      id="x_3684338b-0b2f-451f-8021-2c8f0aaaeefd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Real Estate Investment Trusts (&#x201c;REITs&#x201d;) Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; REITs whose underlying properties are concentrated in a particular industry or geographic region are subject to risks affecting such industries and regions. The securities of REITs involve greater risks than those associated with larger, more established companies and may be subject to more abrupt or erratic price movements because of interest rate changes, economic conditions and other factors. Securities of such issuers may lack sufficient market liquidity to enable the Fund to effect sales at an advantageous time or without a substantial drop in price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000009341"
      id="x_45cb1e53-9479-413a-8e9e-5ade5777c011">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009341"
      id="x_3627c13c-938e-4840-a8b3-f570b4897405">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (S&amp;amp;P 500&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Index) (the &#x201c;Regulatory Benchmark&#x201d;) and the FTSE NAREIT All Equity REITs Index (Total Return, USD, Unhedged) (the &#x201c;Performance Benchmark&#x201d;).&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Performance Benchmark is &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund&#x2019;s performance. The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 11 of the Prospectus. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000009341"
      id="x_5c95292f-c9fb-49f0-aee6-189da8c0f4bf">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (S&amp;amp;P 500&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Index) (the &#x201c;Regulatory Benchmark&#x201d;) and the FTSE NAREIT All Equity REITs Index (Total Return, USD, Unhedged) (the &#x201c;Performance Benchmark&#x201d;).&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000009341"
      id="cff0a73f-5d84-4d11-9fee-3458bfa3d142">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassPSharesMember_S000009341"
      id="x_8060eda1-4eb6-441e-8ffb-c2a3c57c2092">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000009341"
      id="x_1f27e934-8f37-44c6-93eb-922565d3a6b4">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR (CLASS P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000009341"
      id="x_3ce59a65-e50b-492b-8470-b7d0abaaffb9">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;16.76%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2021&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-25.09%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000009341_C000201768"
      id="x_4b6b871f-ab55-4fe4-85e2-65327c910b0d">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="4"
      id="x_72dc2a04-39a8-472d-a973-1e1421f381ba"
      unitRef="pure">0.1676</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000009341_C000201768"
      id="x_723b3092-6b71-4a22-b845-b7678724e25f">2021-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000009341_C000201768"
      id="x_2e2a4d2d-83b7-4a60-a0c7-e636fd582361">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000009341_C000201768"
      decimals="4"
      id="x_37f6bdff-8a2e-4c6a-925c-71f221a44fe7"
      unitRef="pure">-0.2509</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000009341_C000201768"
      id="x_5b74c387-f1b4-48d1-8aab-edebdd4dd3ac">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000009341"
      id="x_5cb5f58a-e123-4e48-b1a7-b5217b557971">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201768"
      id="x_26012383-5d7f-4be8-a54c-7429c8e3eb5d">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_01Jan2025_31Dec2025"
      decimals="4"
      id="b0dfe116-af85-4653-8d47-b990f3f039c3"
      unitRef="pure">-0.0017</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_01Jan2021_31Dec2025"
      decimals="4"
      id="x_0385c391-e60b-48dc-b7b0-074eb17dfe69"
      unitRef="pure">0.0538</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_17Apr2018_31Dec2025"
      decimals="4"
      id="cb385388-27d2-453b-abd6-278d32e00839"
      unitRef="pure">0.0572</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_95f905b2-22d7-4f78-8961-8f6120f38831"
      unitRef="pure">-0.0703</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_0ffa9306-a5e8-4fa2-9afd-4854852fdf34"
      unitRef="pure">0.0256</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025"
      decimals="4"
      id="cd6662b8-bc16-4cb5-879c-aff1199ba559"
      unitRef="pure">0.0249</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="eada9fdc-77d7-445e-bc11-55889bfaa7db"
      unitRef="pure">0.0416</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_6a7ac1be-4949-4b91-901b-157ad93734e7"
      unitRef="pure">0.0384</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201768_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_0a385555-c707-4236-9fdf-1788ca59e0b9"
      unitRef="pure">0.0396</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2dbab1a8-11f5-4027-9949-99068118f182"
      unitRef="pure">0.0227</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="e120ae9d-a96a-4c03-b685-13f91240cb63"
      unitRef="pure">0.0485</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_FTSENAREITAllEquityREITsIndexTotalReturnUSDUnhedgedMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_431bdf02-471b-420f-98fd-9838b479e99f"
      unitRef="pure">0.0613</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_35659b5a-1109-4780-b7e5-3cef420aa8c1"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_64433585-cf46-4b26-ac41-91e5eb3027ab"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_43469c42-31de-4685-bc7f-adc5444c49b2"
      unitRef="pure">0.1464</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009341"
      id="ea240583-e3d2-49bd-898e-07763acd61f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000009341"
      id="ad7ba9ff-95f2-4c35-b747-799b39b32b7b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000009341"
      id="c7bd2156-770b-419f-98bd-993740fe1b37">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000009341"
      id="x_3cf68811-c31a-4f29-9e15-717b8eea2f6d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000050577"
      id="b2b22adc-3967-4056-8036-5300bd626544">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs Global Infrastructure Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000050577"
      id="e2c86dd5-1219-4088-8332-d6c5be1f2cb8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000050577"
      id="x_358c36d1-4d18-4780-82c4-52e6e3a0d598">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs Global Infrastructure Fund (the &#x201c;Fund&#x201d;) seeks total return comprised of long-term growth of capital and income.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000050577"
      id="x_470c7591-2c69-4b87-8210-3af711476110">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000050577"
      id="x_906c215a-6861-4fef-808a-48858d972c06">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000050577"
      id="ad3b8d84-d9d5-45a9-b672-685aa7d457bb">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="4"
      id="x_3f1bb825-07e4-4780-9da7-2f4f946ed24e"
      unitRef="pure">0.0090</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="4"
      id="x_10d9e32d-a689-4695-a38c-720aa6fe05dc"
      unitRef="pure">0.0034</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="4"
      id="x_5325ed74-57cc-4809-9c74-75a2a0070310"
      unitRef="pure">0.0124</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="4"
      id="x_44e857db-1010-4f98-ab10-f14f3f2fe549"
      unitRef="pure">-0.0028</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="4"
      id="c6b09edd-9d41-449a-809d-ec554af5267f"
      unitRef="pure">0.0096</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassPSharesMember_S000050577"
      id="x_050b975c-d330-453f-be69-51374c030305">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000050577"
      id="x_5f35c67d-c016-4b0f-b1a9-14c879feb9ff">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000050577"
      id="x_2c7ef255-8892-49a4-ac4b-6eed89757853">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same (except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="INF"
      id="x_1284f522-d892-4d08-81ea-4ce6b9429ec9"
      unitRef="USD">98</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="INF"
      id="x_0b0afc6f-c14a-477a-9bf1-a3219e9dba60"
      unitRef="USD">366</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="INF"
      id="ab6a0da5-c01c-4ca4-9a9d-4313ee38d581"
      unitRef="USD">654</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="INF"
      id="be7d8931-03ae-4dda-9e5d-771b1162cdd7"
      unitRef="USD">1475</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000050577"
      id="x_230dc5e6-52a1-4114-8078-81f3ec07ceea">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000050577"
      id="d1e5210d-b5d7-43f4-b63d-2e0f0752b44e">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;19&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000050577"
      decimals="4"
      id="e91e0389-4d2e-4753-9acc-70b9e6645d33"
      unitRef="pure">0.19</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000050577"
      id="df59b4a3-b7a8-43ba-89b5-1f1b18dff6c7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000050577"
      id="e33cd490-e2fe-4691-8c79-f6a449126406">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at time of purchase) (&#x201c;Net Assets&#x201d;) in a portfolio of investments in issuers that are engaged in or related to the infrastructure group of industries (&#x201c;infrastructure companies&#x201d;). The Fund will invest primarily in the common stock of infrastructure companies.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;An issuer is engaged in or related to the infrastructure group of industries if it is involved in the ownership, development, construction, renovation, financing, management, sale or operation of infrastructure assets, or that provide the services and raw materials necessary for the construction and maintenance of infrastructure assets. Infrastructure assets include, but are not limited to, utilities, energy, transportation, real estate, media, telecommunications and capital goods. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund will invest in the securities of infrastructure companies that are economically tied to at least three countries, including the United States. Although the Fund will invest, under normal circumstances, primarily in the securities of infrastructure companies that are economically tied to developed countries (namely developed countries in North America and Europe), the Fund may also invest in the securities of infrastructure companies that are economically tied to countries with emerging markets or economies (&#x201c;emerging countries&#x201d;). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may invest without restriction as to issuer capitalization (including small- and mid-capitalization companies). A portion of the Fund&#x2019;s securities are denominated in foreign currencies and held outside the United States. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may invest in real estate investment trusts (&#x201c;REITs&#x201d;). The Fund may also invest up to 20% of its total assets (measured at time of purchase) in master limited partnerships (&#x201c;MLPs&#x201d;) that are taxed as partnerships and up to 20% of its Net Assets (measured at time of purchase) in issuers that are not infrastructure companies. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Exchange-traded funds (&#x201c;ETFs&#x201d;) that provide exposure to infrastructure companies and derivative instruments, such as futures, that have similar economic exposures to infrastructure companies will be counted towards the Fund&#x2019;s 80% policy discussed above. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investment strategy combines bottom-up company analysis with fundamental real asset research. The Investment Adviser may integrate environmental, social and governance (&#x201c;ESG&#x201d;) factors alongside traditional fundamental factors as part of its fundamental research process. No one factor or consideration is determinative in the stock selection process. The Investment Adviser may decide to sell a position for various reasons, including valuation and price considerations or for risk management purposes. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund concentrates its investments in the securities of issuers in the infrastructure group of industries. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the Dow Jones Brookfield Global Infrastructure Index (Net, USD, Unhedged). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;THE FUND IS &#x201c;NON-DIVERSIFIED&#x201d; UNDER THE INVESTMENT COMPANY ACT OF 1940, AS AMENDED (&#x201c;INVESTMENT COMPANY ACT&#x201d;), AND MAY INVEST A LARGER PERCENTAGE OF ITS ASSETS IN FEWER ISSUERS THAN DIVERSIFIED MUTUAL FUNDS.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:StrategyPortfolioConcentration
      contextRef="ClassPSharesMember_S000050577"
      id="x_6faf3942-927e-4601-93a6-e4cac61fa47c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at time of purchase) (&#x201c;Net Assets&#x201d;) in a portfolio of investments in issuers that are engaged in or related to the infrastructure group of industries (&#x201c;infrastructure companies&#x201d;). The Fund will invest primarily in the common stock of infrastructure companies.&lt;/span&gt;</oef:StrategyPortfolioConcentration>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_RiskLoseMoneyMember"
      id="x_53ebc409-6a54-4577-992d-ab31605367b6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_RiskNotInsuredDepositoryInstitutionMember"
      id="x_023ee5ce-3b6d-45d1-b6a3-3ac1cbea2769">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_DividendPayingInvestmentsRiskMember"
      id="x_9ec0694b-cff0-4d76-b80f-03357164af9f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Dividend-Paying Investments Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund&#x2019;s investments in dividend-paying securities could cause the Fund to underperform other funds. Securities that pay dividends, as a group, can fall out of favor with the market, causing such securities to underperform securities that do not pay dividends. Depending upon market conditions and political and legislative responses to such conditions, dividend-paying securities that meet the Fund&#x2019;s investment criteria may not be widely available and/or may be highly concentrated in only a few market sectors. In addition, issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. This may limit the ability of the Fund to produce current income.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_ForeignandEmergingCountriesRiskMember"
      id="x_1ace2858-62f5-4d94-be0b-787bb3ae8184">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign and Emerging Countries Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls (including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency exchange rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time. These risks are more pronounced in connection with the Fund&#x2019;s investments in securities of issuers located in, or otherwise economically tied to, emerging countries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_IndustryConcentrationRiskMember"
      id="x_389f09d3-9484-4bca-9131-d614cac874b3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Industry Concentration Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund concentrates its investments in securities of companies in the infrastructure group of industries. This concentration subjects the Fund to greater risk of loss as a result of adverse economic, business, political, environmental or other developments in such industries&#160;than if its investments were diversified across different industries.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_InfrastructureCompanyRiskMember"
      id="x_9b1725fb-42bf-428b-aff9-d0df0ad36668">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Infrastructure Company Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Infrastructure companies are susceptible to various factors that may negatively impact their businesses or operations, including costs associated with compliance with and changes in environmental, governmental and other regulations, rising interest costs in connection with capital construction and improvement programs, government budgetary constraints that impact &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;publicly funded projects, the effects of general economic conditions throughout the world, surplus capacity and depletion concerns, increased competition from other providers of services, uncertainties regarding the availability of fuel and other natural resources at reasonable prices, the effects of energy conservation policies, unfavorable tax laws or accounting policies and high leverage. Infrastructure companies will also be affected by innovations in technology that could render the way in which a company delivers a product or service obsolete and natural or man-made disasters.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_LargeShareholderTransactionsRiskMember"
      id="x_5eb2eb2f-4123-45b0-906c-ea7d9c8dd4ba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund's&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund's&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund's&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund's&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_MarketRiskMember"
      id="d3b00793-1b8c-4605-b421-8cdbfa1b5c40">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_MasterLimitedPartnershipRiskMember"
      id="eb3ce0b1-d2c1-44a7-9303-4131822c29da">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Master Limited Partnership Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Investments in securities of an MLP involve risks that differ from investments in common stock, including risks related to limited control and limited rights to vote on matters affecting the MLP. Certain MLP securities may trade in lower volumes due to their smaller capitalizations, and may be subject to more abrupt or erratic price movements and lower market liquidity. MLPs are generally considered interest-rate sensitive investments. During periods of interest rate volatility, these investments may not provide attractive returns. Investments in securities of an MLP also include tax-related risks. For example, to the extent a distribution received by the Fund from an MLP is treated as a return of capital, the Fund&#x2019;s adjusted tax basis in the interests of the MLP may be reduced, which will result in an increase in an amount of income or gain (or decrease in the amount of loss) that will be recognized by the Fund for tax purposes upon the sale of any such interests or upon subsequent distributions in respect of such interests.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_MidCapRiskMember"
      id="b92c5582-efe3-4d17-9793-51463fed3b83">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Mid-Cap&#160;and Small-Cap Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Investments in mid-capitalization&#160;and small-capitalization companies involve greater risks than those associated with larger, more established companies. These securities may be subject to more abrupt or erratic price movements and may lack sufficient market liquidity, and these issuers often face greater business risks.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_RiskNondiversifiedStatusMember"
      id="fca7cd43-9817-4c7b-9890-4a95f35ff3c8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Non-Diversification Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund is non-diversified, meaning that it is permitted to invest a larger percentage of its assets in one or more issuers or in fewer issuers than diversified &#160;mutual funds. Thus, the Fund may be more susceptible to adverse developments affecting any single issuer held in its portfolio, and may be more susceptible to greater losses because of these developments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_RealEstateInvestmentTrustsREITsRiskMember"
      id="x_375b5c41-89a0-4784-a47b-f5f2c80b0b67">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Real Estate Investment Trusts (&#x201c;REITs&#x201d;) Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; REITs whose underlying properties are concentrated in a particular industry or geographic region are subject to risks affecting such industries and regions. The securities of REITs involve greater risks than those associated with larger, more established companies and may be subject to more abrupt or erratic price movements because of interest rate changes, economic conditions and other factors. Securities of such issuers may lack sufficient market liquidity to enable the Fund to effect sales at an advantageous time or without a substantial drop in price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000050577_StockRiskMember"
      id="x_3b3be327-fc9e-411f-a5ba-c54cc22a61ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000050577"
      id="x_529ecdad-192b-455c-b1dc-4e76f0ca9f94">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000050577"
      id="cb82a80f-0bc5-43dd-ac33-052d2c360c85">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (MSCI&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; ACWI Index (Net, USD, Unhedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the Dow Jones Brookfield Global Infrastructure Index (Net, USD, Unhedged) (the &#x201c;Performance Benchmark&#x201d;).&#160;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Performance Benchmark is generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund&#x2019;s performance. The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see &#x201c;Additional Performance and Benchmark Information&#x201d; on page 11 of the Prospectus. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;at &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000050577"
      id="x_5412d6ad-483a-4a6c-ab61-09d6594289e1">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a regulatorily required broad-based securities market index (MSCI&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; ACWI Index (Net, USD, Unhedged)) (the &#x201c;Regulatory Benchmark&#x201d;) and the Dow Jones Brookfield Global Infrastructure Index (Net, USD, Unhedged) (the &#x201c;Performance Benchmark&#x201d;).&#160;&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000050577"
      id="x_50d27573-2c78-4b4b-94be-a802662ddc11">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassPSharesMember_S000050577"
      id="x_06a7ea9c-33c3-47cb-bff4-80d7f60d04ed">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000050577"
      id="d3c303f8-a1a7-4b74-acbe-f7aed8bbd77d">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR (Class P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000050577"
      id="c862a9de-4670-4b76-8dc1-891e6be42aa1">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;16.65%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2019&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-17.24%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000050577_C000201776"
      id="b1f65d28-d538-4194-9a7a-5ef87e7bba2f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="4"
      id="bbfb7877-f247-43e8-b37d-2b2d24d96206"
      unitRef="pure">0.1665</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000050577_C000201776"
      id="d61a8af7-415e-4bdd-9c82-ad28792fddaa">2019-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000050577_C000201776"
      id="x_5036c27f-be82-454c-8dcf-03b5595fc606">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000050577_C000201776"
      decimals="4"
      id="a334b120-1ddb-41a8-9aef-2f0ec023a7db"
      unitRef="pure">-0.1724</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000050577_C000201776"
      id="x_1379b99b-3c07-4283-b657-46feaea41977">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000050577"
      id="f26bfc83-e9f8-41ca-87d5-a7891c235473">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201776"
      id="a45f56d5-4131-40da-b9b6-f41e7ce53b5b">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_01Jan2024_31Dec2024"
      decimals="4"
      id="a50458dd-9e22-47bf-9387-305d93a0b949"
      unitRef="pure">0.1553</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_01Jan2020_31Dec2024"
      decimals="4"
      id="x_743d954c-6907-4225-b570-378ca5b0e175"
      unitRef="pure">0.0789</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_17Apr2018_31Dec2024"
      decimals="4"
      id="x_75d266ca-f9e3-4970-ad82-dd754b95b436"
      unitRef="pure">0.0748</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsMember_01Jan2024_31Dec2024"
      decimals="4"
      id="x_2eaffefe-2d73-4956-b331-e392a678654f"
      unitRef="pure">0.1377</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsMember_01Jan2020_31Dec2024"
      decimals="4"
      id="x_1122508d-b129-498f-80cb-ed564428ed32"
      unitRef="pure">0.0634</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2024"
      decimals="4"
      id="x_4a5f5a92-5d96-4cde-9b7f-b905fc5beb80"
      unitRef="pure">0.0630</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsAndSalesMember_01Jan2024_31Dec2024"
      decimals="4"
      id="x_0517a37c-47bd-4d8b-8d5e-f3a5512c1f1b"
      unitRef="pure">0.1038</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsAndSalesMember_01Jan2020_31Dec2024"
      decimals="4"
      id="x_78816c2d-1ed8-4968-84ff-661bbb944fcb"
      unitRef="pure">0.0594</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201776_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2024"
      decimals="4"
      id="fd2eabc9-0512-4dab-b490-58dc751f19ad"
      unitRef="pure">0.0576</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_01Jan2024_31Dec2024"
      decimals="4"
      id="a21c36a0-03ec-4f15-a8fe-eb5df3bf7a8b"
      unitRef="pure">0.1410</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_01Jan2020_31Dec2024"
      decimals="4"
      id="x_0279de19-9ce9-468d-8fd4-580e021ff969"
      unitRef="pure">0.0798</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_DowJonesBrookfieldGlobalInfrastructureIndexNetUSDUnhedgedMember_17Apr2018_31Dec2024"
      decimals="4"
      id="x_1cdafef5-97ee-4ca1-8723-356160f773fd"
      unitRef="pure">0.0686</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIACWIIndexNetUSDUnhedgedMember_01Jan2024_31Dec2024"
      decimals="4"
      id="a5302258-8a0e-4703-b88a-c6436b2fba50"
      unitRef="pure">0.2234</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIACWIIndexNetUSDUnhedgedMember_01Jan2020_31Dec2024"
      decimals="4"
      id="x_70e8e02f-b776-4292-9dcc-cb296d956492"
      unitRef="pure">0.1119</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIACWIIndexNetUSDUnhedgedMember_17Apr2018_31Dec2024"
      decimals="4"
      id="ea61898a-f293-49b1-8414-4e29a77a1af0"
      unitRef="pure">0.1102</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000050577"
      id="x_2f1d0460-d763-494a-a031-be2cdc841f12">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000050577"
      id="da74584a-62a3-46f0-86fe-51eae7feb39c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000050577"
      id="x_9d99c71b-5b91-4a56-8173-dc8b1cc07b0c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000050577"
      id="x_10e70d97-9cba-4bbe-9422-42827c3eb5ce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="b563ffa5-201f-4f26-b79d-e2d80f082167">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs International Equity Dividend and Premium Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="c480ad80-0ef7-495c-9049-907b13993223">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="cf8bfc86-766f-46d0-832e-c345fdf60446">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs International Equity Dividend and Premium Fund (the &#x201c;Fund&#x201d;) seeks to maximize total return with an emphasis on income.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="ce5ce991-5ce7-4e2a-8b14-00f196e0e589">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="a6e88153-e812-42f6-9e14-7b809ffc7a3b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 46 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 92 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="fffdb9db-cd4c-4dd4-93c1-7762aa2c2b54">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 46 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 92 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      decimals="INF"
      id="x_4a73b579-92f4-4d31-a2a4-18089234a92e"
      unitRef="USD">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_4663fb89-16ac-4bbd-a49c-63e680659f63">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="d79d458d-d32b-47a5-b752-15cb3606e856"
      unitRef="pure">0.0550</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="db677451-4432-4317-9ad0-316c4ff02338"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="x_1025ad77-f58c-46cd-b153-31ed0896fe12"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="x_7fb11f73-ad2f-475f-99d0-bf375164844a"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="x_7e76779f-f677-4d3e-9f41-a4b8a8c3d7f3"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="x_73dff12a-6893-4ece-8859-62e59f14cbc0"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="x_76a8e4bc-8cf7-45a9-ba76-806848c56298"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="x_44428b59-e3a1-4712-9d8c-aa4f4f10ce5b"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="x_58017118-d12b-4835-89e1-a09d3e118149"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="x_22219a41-7bab-4a59-a89f-ba6f88d0afd3"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="f915346e-ecc7-44cd-a13f-972139939f56">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="d4aa4198-b70c-4512-a291-050d02c64814"
      unitRef="pure">0.0081</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="b9c45a77-bec7-4206-b384-21834d9e37bf"
      unitRef="pure">0.0081</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="x_9d0291a2-f441-478d-a359-f9a998d76baa"
      unitRef="pure">0.0081</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="x_8dfb6aaa-a9dd-4e39-a17b-63cbbe7aa23f"
      unitRef="pure">0.0081</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="x_0d1cd3fc-5b6e-4e3e-8f97-2d3b75058d5c"
      unitRef="pure">0.0081</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="c710c8ef-f9ad-4783-9898-4825aa87e3af"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="x_7caebdb2-5260-47dc-8b0b-7e767937bbd8"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="x_0c4be85a-1722-4894-8da1-7f06aa881b24"
      unitRef="pure">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="ecce9043-4580-449f-8377-ec2c21ab7603"
      unitRef="pure">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="x_19944f26-9e4d-4688-aab0-4c56cb596729"
      unitRef="pure">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="x_5d4ba1cd-45fa-4b64-8ae9-e9728306b78d"
      unitRef="pure">0.0048</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="x_70df910c-0961-486b-94b9-e6e841d17049"
      unitRef="pure">0.0073</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="ea0c03a2-99d0-46e9-acd3-6b7e0fa37c7d"
      unitRef="pure">0.0037</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="d4a919fb-e8c9-4be1-be11-4e8a891cd3a4"
      unitRef="pure">0.0048</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="x_9a8c97a7-0331-4d4e-9f1e-4f0d9fa67212"
      unitRef="pure">0.0036</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="ad6fccf2-4cb3-455d-afa6-e22aaffafba3"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="e0555e5c-24d6-4c0d-b188-b226deb63f29"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="dfe9f26f-1e83-48ff-bc05-8d61bf4462b2"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="dfad0d75-6de6-4652-b303-7d4437b1a836"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="x_94295a75-e456-4d56-ad22-6fba65d5dd53"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="fa2e5e94-b246-4601-abca-115812b59b83"
      unitRef="pure">0.0048</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="dcfd509f-178c-4319-90c5-439716ff8b7c"
      unitRef="pure">0.0048</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="x_3da0a1d0-70de-4e4e-94e1-e96d98ccc675"
      unitRef="pure">0.0037</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="x_19aade4f-5dda-4996-87fb-964e06e25f66"
      unitRef="pure">0.0048</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="c809fb51-7f58-4729-a003-4fa1256e298f"
      unitRef="pure">0.0036</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="x_645b02dc-1a99-4751-933b-ac88fafc19b4"
      unitRef="pure">0.0154</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="x_7fa286b9-94df-4e05-97bd-2baeaa7686a0"
      unitRef="pure">0.0229</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="x_75663045-820b-4b93-a408-a94799e9cb5c"
      unitRef="pure">0.0118</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="e8601f46-0231-4574-a3d1-38fd66971d14"
      unitRef="pure">0.0129</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="e9ab2f50-f16e-4653-920b-133c504b08b1"
      unitRef="pure">0.0117</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="x_7d43b6a1-6933-4fcd-82c3-848aac22972c"
      unitRef="pure">-0.0035</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="x_5bc45c07-2ed3-4107-b0a4-34f138df1d33"
      unitRef="pure">-0.0035</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="x_058f37f6-7bed-4fda-9339-536835ed447d"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="x_1fa83719-5fe8-4db8-bf8d-881664c8a1da"
      unitRef="pure">-0.0035</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="x_3a83e4de-1d4b-4bef-8627-241f71d51ab3"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="4"
      id="x_7bfecc22-06da-4eaa-8d8f-502f20e16b8e"
      unitRef="pure">0.0119</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="4"
      id="ace6fd79-510c-46f8-82c3-10ad6bbe8637"
      unitRef="pure">0.0194</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="bd34e7cb-df01-4264-880e-7d3973463a52"
      unitRef="pure">0.0089</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="4"
      id="d2758d51-cf71-405b-8d98-fe64e4e70d92"
      unitRef="pure">0.0094</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="4"
      id="aebd97f6-b2fd-452a-ac45-5ec14c65f750"
      unitRef="pure">0.0088</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_547a784b-f207-475d-bd85-6e49233e3bac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_65330985-991e-4f53-85c1-f9be049b33dc">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_2b597293-b475-4bea-9dd8-660d481896e0">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_5a88cfb4-b84d-43b9-8b52-10c806b8c3ab">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Investor and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Investor and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="INF"
      id="x_8c088176-dfec-4775-acad-3c1505cd56c0"
      unitRef="USD">665</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="INF"
      id="x_4f90a788-f6fe-48f4-9435-1b588427f449"
      unitRef="USD">977</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="INF"
      id="x_4140bf10-c3e7-4faa-b3f1-d7797e44ac94"
      unitRef="USD">1312</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050447"
      decimals="INF"
      id="x_45a71d86-ae03-4a8a-8e00-d0f12be945f8"
      unitRef="USD">2256</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="INF"
      id="e0a3194c-0ecd-430f-978c-3958cf8eb2da"
      unitRef="USD">297</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="INF"
      id="x_1334449b-e913-421b-8049-89531d4f0159"
      unitRef="USD">682</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="INF"
      id="x_876b30c1-4cf8-43df-b798-be5cbb381447"
      unitRef="USD">1193</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="INF"
      id="b21730db-6502-4b72-9330-d71e44f5e9f4"
      unitRef="USD">2599</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="INF"
      id="x_8486286c-5197-4da2-bc8f-ce5e94a7da7c"
      unitRef="USD">91</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="INF"
      id="x_9cf130e5-839b-453a-b7c3-8c95177bf39e"
      unitRef="USD">346</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="INF"
      id="ce338184-de1f-4c07-885c-fb72e67fb7fb"
      unitRef="USD">621</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="INF"
      id="x_0b918439-daae-42a1-baa5-42f87acd5d92"
      unitRef="USD">1406</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="INF"
      id="x_08193115-c686-402c-aaa0-58a0043b3cd6"
      unitRef="USD">96</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="INF"
      id="d1039eaf-09fd-42e1-8541-5737ad118e05"
      unitRef="USD">374</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="INF"
      id="x_56db3d37-b728-4574-87b1-e3d07f312a35"
      unitRef="USD">674</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000091966"
      decimals="INF"
      id="x_88375336-635e-4a91-a659-01d1d3fa9d9b"
      unitRef="USD">1526</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="INF"
      id="cccf7d8c-b1ca-4c4a-ba3c-591749d253af"
      unitRef="USD">90</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="INF"
      id="x_7ae15244-055e-4e24-b1ac-ac3fb223d2bf"
      unitRef="USD">343</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="INF"
      id="fda8eaf3-810e-4650-bb0c-f4ff117396aa"
      unitRef="USD">616</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000200309"
      decimals="INF"
      id="x_6123103f-a308-4f12-9329-cd7ac64bb0f0"
      unitRef="USD">1395</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      id="dbdeff3f-2a63-4b07-b472-0ce1646f98ff">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="INF"
      id="x_1cf79253-5564-45ae-955c-d50948e27371"
      unitRef="USD">197</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="INF"
      id="b3d50236-44ba-435d-82b0-cab3534244b1"
      unitRef="USD">682</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="INF"
      id="x_583ffc62-4af9-4227-b3fd-4a52831915ad"
      unitRef="USD">1193</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050448"
      decimals="INF"
      id="x_68b63503-2b5c-4b54-ac1a-4f241ca19cf4"
      unitRef="USD">2599</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_62611be1-2c4b-4b3d-9fb4-a3643957ebda">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_77cfbf18-a2e0-4094-9469-2c87b434c6a0">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;16&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      decimals="4"
      id="c913a200-7ec1-4703-9cdb-3a849b941000"
      unitRef="pure">0.16</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_6696add7-7a1e-4c36-bca1-cbb6fe40afeb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="b4edd5e5-8382-4643-a7c0-48b8d95f4e81">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in dividend-paying equity investments in non-U.S. issuers. The Fund may allocate its assets among countries as determined by the Investment Adviser from time to time. The Fund intends to have investments that are economically tied to at least three countries, not including the United States, and the Fund may invest in the securities of issuers economically tied to emerging market countries. The Fund seeks broad representation of large-cap and mid-cap issuers across major countries and sectors of the international economy, with some exposure to small-cap issuers. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a variety of quantitative techniques, in combination with a qualitative overlay, when selecting investments. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary models, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its quantitative techniques, or use other quantitative techniques that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund seeks to generate additional cash flow and may reduce volatility by the sale of call options on the MSCI EAFE Index (Net, USD, Unhedged) (the &#x201c;MSCI EAFE Index&#x201d;) or other national or regional stock market indices (or related exchange-traded funds (&#x201c;ETFs&#x201d;)). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund expects that, under normal circumstances, it will sell call options in an amount that is between 20% and 75% of the value of the Fund&#x2019;s portfolio. As the seller of the call options, the Fund will receive cash (the &#x201c;premium&#x201d;) from the purchaser. If the purchaser exercises the option, the Fund pays the purchaser the difference between the price of the index and the exercise price of the option. The premium, the exercise price and the market price of the index determine the gain or loss realized by the Fund as the seller of the call option. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;During periods in which the international equity markets are generally unchanged or falling, or in a modestly rising market where the income from premiums exceeds the aggregate appreciation of the underlying index over its exercise price, a diversified portfolio receiving premiums from its call option writing strategy may outperform the same portfolio without such an options strategy. However, in rising markets where the aggregate appreciation of the underlying index over its exercise price exceeds the income from premiums, a portfolio with a call writing strategy could significantly underperform the same portfolio without the options. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a tax-advantaged style and seeks to balance investment and tax considerations, primarily by seeking to avoid or minimize any net short-term capital gains. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investments in fixed income securities are limited to cash equivalents. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the MSCI EAFE Index and the Bloomberg Global Aggregate Bond Index (Gross, USD, Unhedged) (the &#x201c;Bloomberg Global Aggregate Bond Index&#x201d;).&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_RiskLoseMoneyMember"
      id="x_86f3771b-ced8-45e8-90f7-75b1c4de0a24">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_RiskNotInsuredDepositoryInstitutionMember"
      id="x_4c975c0e-1825-4cb9-8ef8-3afa91dd228e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_DividendPayingInvestmentsRiskMember"
      id="x_4b2899ce-027d-4a59-94b6-b7779bd1bb82">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Dividend-Paying Investments Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund&#x2019;s investments in dividend-paying securities could cause the Fund to underperform other funds. Securities that pay dividends, as a group, can fall out of favor with the market, causing such securities to underperform securities that do not pay dividends. Depending upon market conditions and political and legislative responses to such conditions, dividend-paying securities that meet the Fund&#x2019;s investment criteria may not be widely available and/or may be highly concentrated in only a few market sectors. In addition, issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. This may limit the ability of the Fund to produce current income.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_EuropeanInvestmentRiskMember"
      id="fd02d881-361f-489a-be29-189897764db6">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;European Investment Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund is more exposed to the regulatory, economic and political risks of Europe and of the European countries in which it invests than funds whose investments are more geographically diversified. Adverse regulatory, economic and political events in Europe may cause the Fund&#x2019;s investments to decline in value. The economies and markets of European countries are often closely connected and interdependent, and events in one country in Europe can have an adverse impact on other European countries. The Fund makes investments in securities of issuers that are domiciled in, or have significant operations in, member countries of the European Union (&#x201c;EU&#x201d;) that are subject to economic and monetary controls that can adversely affect the Fund&#x2019;s investments. The European financial markets have experienced volatility and adverse trends in recent years and these events have adversely affected the exchange rate of the euro and may continue to significantly affect European countries. While the EU-UK Trade and Cooperation Agreement governs certain aspects of the EU&#x2019;s and UK&#x2019;s relationship following the UK&#x2019;s withdrawal from the EU (&#x201c;Brexit&#x201d;), the full effects of Brexit are unknown at this time and could negatively impact the value of the Fund&#x2019;s investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_ForeignRiskMember"
      id="x_68837a2a-547c-4b1a-8735-95826f28792a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls&#160;(including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_InvestmentStyleRiskMember"
      id="x_679e05b8-ae92-4ffa-a91b-3812abef734a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;e.g&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_JapanRiskMember"
      id="c28e8b99-6fd9-4804-997e-f3e3e33d2775">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Japan Risk.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; The Japanese economy is heavily dependent upon international trade and may be subject to considerable degrees of economic, political and social instability, which could negatively affect the Fund&#x2019;s investments. Japan has limited natural resources and relies on imports to meet its commodity needs, such as fossil fuels. Fluctuations or shortages in the commodity markets, trade tariffs, and competition from emerging economies could have a negative impact on the Japanese economy. In the past, Japan&#x2019;s economic growth has remained relatively low, and it may remain low in the future. The Japanese economic growth rate could be impacted by massive government debt, the Bank of Japan&#x2019;s monetary policies, interest rate fluctuations, tax increases, budget deficits, consumer confidence and low domestic consumption, currency volatility, certain corporate structural weaknesses, an unstable financial sector, government policy, an aging demographic, a declining population and/or geopolitical conflicts, including with neighboring countries. The performance of the global economy could have a major impact upon equity returns in Japan. Japan has also experienced natural disasters, such as earthquakes and tsunamis, of varying degrees of severity, which could negatively affect the Fund&#x2019;s investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_LargeShareholderTransactionsRiskMember"
      id="x_4211f525-fba4-47ba-8e19-b49ee81e84ab">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund&#x2019;s&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund&#x2019;s&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund&#x2019;s&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund&#x2019;s&#160; expense ratio. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_ManagementRiskMember"
      id="ec443943-cb88-4847-bece-c1b0c41e8f1d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_MarketRiskMember"
      id="e7df6ed7-1462-4bd1-b05b-8698181fea2c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_OptionWritingRiskMember"
      id="x_7d54c8ac-7048-4ad0-adf8-ac5b5c1edfd3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Option Writing Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Writing (selling) call options limits the opportunity to profit from an increase in the market value of stocks in exchange for up-front cash (the premium) at the time of selling the call option. In a sharp rising market, the Fund could significantly underperform the market. Furthermore, premium received from the Fund&#x2019;s call option writing strategies may not fully protect it against market declines because the Fund will continue to bear the risk of a decline in the value of its portfolio securities. In a sharply-falling equity market, the Fund will likely also experience sharp declines in its NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_StockRiskMember"
      id="f3d20faa-93d5-4f6b-a090-b2eb49fd7ca8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299_TaxManagedInvestmentRiskMember"
      id="x_0d7520f4-2fc7-45d2-bae5-1e863ba9a460">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax-Managed Investment Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Because the Investment Adviser balances investment considerations and tax considerations, the pretax performance of the Fund may be lower than the performance of similar funds that are not tax-managed. Even though tax-managed strategies are being used, they may not reduce the amount of taxable income and capital gains distributed by the Fund to shareholders. A high percentage of the Fund&#x2019;s NAV may consist of unrealized capital gains, which represent a potential future tax liability to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_9d433d32-d02f-496e-b26e-951c0db05607">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_3e8b66d1-9c5e-48e7-9d1f-87abb77fc563">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor and Class R6 Shares compare to those of broad-based securities market indices.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="f3e10dc5-c4f3-4eaf-81d2-69182f054a96">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor and Class R6 Shares compare to those of broad-based securities market indices.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_23347fd2-4464-433e-95b9-e0d8888f34ca">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_0283c6ef-55b1-4026-a87c-e7889ead598d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="c624dc8e-838d-4633-a09d-bb72baebace7">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR &lt;/span&gt;&lt;span style="font-family:Arial;font-size:9pt;"&gt;(INSTITUTIONAL)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="a48c8a17-eac8-4d20-b70b-cf0cba67e994">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;18.52%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2022&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-24.08%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      id="b60f6629-9da1-4e6f-871e-ae2b2d510524">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="af5d03a9-b740-4573-8911-95a045227298"
      unitRef="pure">0.1852</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      id="x_7248ab8c-2e87-4984-af3a-223b7109ebf8">2022-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      id="x_030cde39-e6d2-4428-a9b8-4f7dd7385148">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      decimals="4"
      id="x_53f71e9e-a2dd-4e70-863f-21b025fe972f"
      unitRef="pure">-0.2408</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstInvR6SharesMember_S000018299_C000050446"
      id="x_0764e9d9-a4a2-40ba-aa44-67846194234a">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_4eab66b6-fe90-4cd3-8259-4d6cd697ba5f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000050447"
      id="x_1fcbe3d0-4958-4363-bd79-5a63028d99bb">2008-01-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_01Jan2025_31Dec2025"
      decimals="4"
      id="x_64a8e3d3-a898-419c-8452-e8173fa1857d"
      unitRef="pure">0.2211</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_01Jan2021_31Dec2025"
      decimals="4"
      id="x_1fb565d0-8801-45a9-a5e2-6381532ef88b"
      unitRef="pure">0.0613</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_01Jan2016_31Dec2025"
      decimals="4"
      id="x_02dff51e-1d05-4e8b-8172-fc880adad963"
      unitRef="pure">0.0529</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3d2a2ca3-b1f6-4ca6-80df-73ed61de73b6"
      unitRef="pure">0.2155</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_509875b0-d800-4314-b293-d72ceeea7317"
      unitRef="pure">0.0563</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025"
      decimals="4"
      id="e9274bc2-cf9b-463f-b26d-95d95db7bd12"
      unitRef="pure">0.0483</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6bfcecb5-2ae1-4679-83b1-e63dca7b0f33"
      unitRef="pure">0.1387</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_1ff1db10-21c0-4d35-af2d-2ff131379e5c"
      unitRef="pure">0.0489</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050447_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_25072b1c-8d3a-43a6-ac7e-21c7f9ef39df"
      unitRef="pure">0.0430</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000050448"
      id="x_04ec6831-a0af-47ba-bc79-9eb7fa93105e">2008-01-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050448_01Jan2025_31Dec2025"
      decimals="4"
      id="x_91fd23e5-4349-4083-a011-1ef5ee51c327"
      unitRef="pure">0.2724</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050448_01Jan2021_31Dec2025"
      decimals="4"
      id="db58f603-991a-4230-aab7-93dd41787d28"
      unitRef="pure">0.0657</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050448_01Jan2016_31Dec2025"
      decimals="4"
      id="fd09ae2d-33b0-406e-b0f2-f04404750539"
      unitRef="pure">0.0509</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000050446"
      id="a614bc0a-a7b4-46b1-a2c0-427bc79d8220">2008-01-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050446_01Jan2025_31Dec2025"
      decimals="4"
      id="x_30651e6f-f4d7-402b-bca8-2d76bfbc01a1"
      unitRef="pure">0.2964</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050446_01Jan2021_31Dec2025"
      decimals="4"
      id="ab553a79-9a27-4fa2-8d11-18b77fd946fc"
      unitRef="pure">0.0772</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050446_01Jan2016_31Dec2025"
      decimals="4"
      id="x_58f95839-7293-470a-968a-5ff9b5d066ab"
      unitRef="pure">0.0624</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000091966"
      id="x_2989e192-644b-47a8-bb1c-5dc7f46f5550">2010-08-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091966_01Jan2025_31Dec2025"
      decimals="4"
      id="x_36f412b6-1de5-42cf-849d-7d31ce00ef33"
      unitRef="pure">0.2971</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091966_01Jan2021_31Dec2025"
      decimals="4"
      id="x_4f3c8961-73d9-48b1-b70d-2ac2a375fa2e"
      unitRef="pure">0.0761</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091966_01Jan2016_31Dec2025"
      decimals="4"
      id="x_9d06a848-ed1d-4484-8058-9ce7ff6766f9"
      unitRef="pure">0.0615</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000200309"
      id="x_191687b0-76dd-4bb1-bf6c-d7512d6e3e04">2018-04-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200309_01Jan2025_31Dec2025"
      decimals="4"
      id="f23d0851-9ce2-4da7-aaf0-083c88988f7a"
      unitRef="pure">0.2965</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200309_01Jan2021_31Dec2025"
      decimals="4"
      id="x_5097f3bf-962a-4175-bf85-7324121e272a"
      unitRef="pure">0.0773</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200309_01Jan2016_31Dec2025"
      decimals="4"
      id="d16dfb8f-f575-48bf-881d-d3bb75678a5f"
      unitRef="pure">0.0625</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_52056cfe-67ba-4e1b-a512-53e50e68a877"
      unitRef="pure">0.3122</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="a047b189-4da0-4c60-89fb-6c3c0c6daa19"
      unitRef="pure">0.0892</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_2ef654a9-5a5d-4332-9eaf-cfb636015232"
      unitRef="pure">0.0818</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="c1ef0e6d-59a6-42b2-a088-8101c68f1be0"
      unitRef="pure">0.0817</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="f9a84178-996a-49c3-8a14-cad14d1afb10"
      unitRef="pure">-0.0214</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2016_31Dec2025"
      decimals="4"
      id="b730120f-00ef-4a6c-b85a-02b1f89220c8"
      unitRef="pure">0.0126</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_54c32039-5cd8-4dde-b5a4-71284fecbde3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares will vary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_4b09f587-46b8-492d-8a53-d1950596909a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="f4564244-2bf3-4486-a17e-db390d131ff4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares will vary.&lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_58739dca-5b4a-4b38-9ec9-8023a9284e4c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstInvR6SharesMember_S000018299"
      id="x_9cd5a6d5-6126-4a22-afd6-ac5ff451a64f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="f266d241-b3ac-453f-bb88-b8e8fc34631d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs International Tax-Managed Equity Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_4ae5b4e6-821e-4628-a535-c9d9a8ecabd9">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_55596580-7531-4265-bd0a-7647bc1ab41b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs International Tax-Managed Equity Fund (the &#x201c;Fund&#x201d;) seeks to provide long-term after-tax growth of capital through tax-sensitive participation in a broadly diversified portfolio of international equity securities.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="c00ca1fc-856b-4d95-b23f-7067c35920d6">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_9d9758dd-d1c9-4dbf-ab20-8108740ed8cb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 46 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 92 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_741f6418-7e73-46c9-ad53-b540b371c114">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 46 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 92 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      decimals="INF"
      id="b0458031-b524-4022-a0dd-56168ae4fa62"
      unitRef="USD">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_73258a52-e4f8-4124-bf89-eeb6d084c920">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="x_98432653-4727-4624-a6bf-d99661d68591"
      unitRef="pure">0.0550</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="x_560c07ad-5b4d-4c63-a8ef-0fec7ab64173"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="d2d19862-04d3-4ee2-9149-c843aeeab824"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="ddb1360c-b866-4229-b28c-c5ee7f22ec19"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="e0ab6b91-2915-4982-a5d2-37e2ca055fbe"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="c081965e-6c92-47b9-877b-1a7fcdb60279"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="x_3e297f77-be34-4609-ac1d-2ca94fce378a"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_09b26346-3e12-4687-90b7-0908deebfc61"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="ddb6b925-381c-4ea0-998f-a384b297f36c"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="ba4c8ab5-d735-48ac-bbce-d28215f241e3"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="a17d1042-0a7f-48bd-83b3-36e989c0f97c">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="x_10c561a0-9817-43c5-94d6-91327b18eba6"
      unitRef="pure">0.0085</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="x_3eda6af2-5cf8-4ab4-a067-8801163d05dc"
      unitRef="pure">0.0085</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="ae6f8da1-a5bd-4533-b36e-17c37040fc8e"
      unitRef="pure">0.0085</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="x_3ac437e4-4116-42a3-a7a9-cb83356e5e80"
      unitRef="pure">0.0085</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="x_2707a06c-e555-4ddc-b5c1-75f369a864a5"
      unitRef="pure">0.0085</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="f167a9f3-9a5e-4e03-aa5f-1882e5aca746"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="ee473cbd-51d0-4708-80a6-ea004ba491ea"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_0e2a6974-eddf-47b2-b52c-dafc49168c50"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="cf4fe7fd-66a7-4d4c-82d5-158832a0cab9"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="x_29990604-52da-43b8-9d13-ab173e7c1642"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="x_30c94b76-7488-4392-ae57-3d0d68630762"
      unitRef="pure">0.0023</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="x_0dead106-4957-44f8-b007-e9b9e4ad3ec9"
      unitRef="pure">0.0048</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_5b6ba77b-30b2-4c72-a9b5-dbefcab2f716"
      unitRef="pure">0.0012</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="a1a9852e-0595-4a9b-8b86-f1c828fdd80d"
      unitRef="pure">0.0023</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="x_7dcc5454-f8cf-4ce0-bec2-3af7abf4cb74"
      unitRef="pure">0.0011</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="x_37fa32f4-adc7-48fd-9e94-3d8e8d37053c"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="ec368dce-42e5-4303-86fe-493a56d9ce25"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_05a2a331-64e8-4589-9286-2fa2a76aba95"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="x_649b6a79-e929-4441-817a-cfdcf3f30a6c"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="x_88acdd13-6634-455a-a3e5-390d1c6b842f"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="x_9465239f-8e6d-415a-9435-de3fd8d7dbeb"
      unitRef="pure">0.0023</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="b739716a-9345-467d-bfa4-d4d82076ee6c"
      unitRef="pure">0.0023</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_5b5861ba-24a0-42f3-913f-236e948445c7"
      unitRef="pure">0.0012</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="a61a22a9-b515-406d-9789-964a5f1685d7"
      unitRef="pure">0.0023</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="x_8954b371-9162-4323-9daa-92d3af0a3069"
      unitRef="pure">0.0011</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="x_6db43ec3-7464-445f-addc-f047116fda70"
      unitRef="pure">0.0133</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="e38e0b14-6037-4a4b-8abc-105b4d764c81"
      unitRef="pure">0.0208</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_29dd664e-2d97-4e5a-991a-c5910f2c52a8"
      unitRef="pure">0.0097</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="x_25a2c80a-7ddc-42f3-9b62-d29af734ec8c"
      unitRef="pure">0.0108</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="x_31af3b81-16be-4dc8-8972-02031cd0f311"
      unitRef="pure">0.0096</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="x_5325a467-39fa-4fb3-8c50-712d61b0422d"
      unitRef="pure">-0.0012</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="x_8f7c89b9-cb65-461b-bb16-e2b9ecbfc2a3"
      unitRef="pure">-0.0012</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_427fbc76-6e38-4e65-861f-70ac51c9e8f3"
      unitRef="pure">-0.0007</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="x_91732a76-1a25-4ca6-9acc-2be65763a930"
      unitRef="pure">-0.0012</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="e2e05f03-4af2-403b-8cdb-b1afb0fb973f"
      unitRef="pure">-0.0007</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="4"
      id="x_44878e8f-e68f-4362-83a8-6d6e9879457d"
      unitRef="pure">0.0121</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="4"
      id="f3435ac9-cb0a-46d6-9eea-3a50b72a28d8"
      unitRef="pure">0.0196</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_57fa667f-efa0-49ab-a15e-4eaf7772d961"
      unitRef="pure">0.0090</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="4"
      id="e84df270-f22d-4fd0-9f2f-52a73e3a4460"
      unitRef="pure">0.0096</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="4"
      id="x_427fa160-37ba-4089-b559-e7cb7766352e"
      unitRef="pure">0.0089</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_2a02022e-ef39-4bb1-93d1-38a65e10cc99">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_2b9dceb4-46a2-4f6c-a949-e4803549a07e">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="dee00859-45b4-4669-b8fa-69d869efd8be">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_1ba9b4a2-d7bd-484a-bbac-3a11951497b0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Investor and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Investor and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="INF"
      id="x_923fb28c-6694-414b-b350-d9e4596cbb46"
      unitRef="USD">667</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="INF"
      id="d3a1556e-d370-4cc8-a786-a5ac7a877ba7"
      unitRef="USD">937</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="INF"
      id="x_8d542280-9f9e-433e-8f5b-a1b38719bed5"
      unitRef="USD">1228</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050444"
      decimals="INF"
      id="bbd43193-67c1-414e-aa29-e70a00920e26"
      unitRef="USD">2053</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="INF"
      id="x_8d9ff25b-c6b6-4de8-b771-8d3be229c0a1"
      unitRef="USD">299</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="INF"
      id="x_6188605d-542f-4a6e-b2a1-169329b18ec5"
      unitRef="USD">640</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="INF"
      id="fc37225c-2e9c-4d5c-bdb9-33f030081d3b"
      unitRef="USD">1108</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="INF"
      id="x_39b1d7d4-6879-46fd-b360-97a5b2744a7e"
      unitRef="USD">2401</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="INF"
      id="x_7c1e9965-2730-44b8-8edf-1be0ada9a8c4"
      unitRef="USD">92</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="INF"
      id="aaf92483-7c5e-4796-85c5-cafcbaa82d2b"
      unitRef="USD">302</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="INF"
      id="f5df6ccf-a941-4ede-a68d-dbb18fbcc0f0"
      unitRef="USD">529</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="INF"
      id="x_20fb678a-da49-489d-bf80-633478192594"
      unitRef="USD">1183</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="INF"
      id="f87e06e8-9f5c-43b8-820a-92690ddb0046"
      unitRef="USD">98</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="INF"
      id="x_1f458020-ddc0-4a2f-8f8a-6bee4acdff46"
      unitRef="USD">332</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="INF"
      id="x_46fe6425-4e19-4275-96d7-11631d96ac07"
      unitRef="USD">584</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000091965"
      decimals="INF"
      id="x_80f6b43b-4756-4b97-bf9e-102da824fc3f"
      unitRef="USD">1306</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="INF"
      id="x_05bc2dde-0aee-4ec8-bdad-8becb4b074a5"
      unitRef="USD">91</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="INF"
      id="x_4bc3180c-4349-4af2-8cdc-d12f4002607b"
      unitRef="USD">299</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="INF"
      id="x_59a353b7-bfae-4b77-bedf-e1a793a92f6f"
      unitRef="USD">524</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000200308"
      decimals="INF"
      id="e160158c-a364-47ee-85de-9c1b591d1911"
      unitRef="USD">1172</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      id="x_3ae15bb0-d2a9-46e8-85cf-632e07fbd3e3">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="INF"
      id="x_97c3f8aa-e417-424c-bbe3-910c941930d5"
      unitRef="USD">199</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="INF"
      id="x_599372de-05b4-4453-8555-9328d110cc67"
      unitRef="USD">640</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="INF"
      id="c86c9c8f-2c53-4c47-af93-910b9d526312"
      unitRef="USD">1108</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050445"
      decimals="INF"
      id="dc482952-9f31-47d0-b117-cc5864a679a6"
      unitRef="USD">2401</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_6311a13a-8399-4322-9889-49aa2ccb8381">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="dfd74b90-27cb-46c0-9133-a6e9f5154a31">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;175&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      decimals="4"
      id="x_04ba7283-d49d-4226-9d4e-937df35a86ce"
      unitRef="pure">1.75</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="ea46dc16-cc7d-456d-8e1b-7b45ccd85d7b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_6d7c01e5-63b6-4fd6-829f-35dfc4cae58f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in equity investments in non-U.S. issuers. The Fund seeks broad representation of large-cap and mid-cap issuers across major countries and sectors of the international economy, with some exposure to small-cap issuers. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a variety of quantitative techniques, in combination with a qualitative overlay, when selecting investments that have the potential to maximize the Fund&#x2019;s after-tax return and minimize capital gains and income distributions. These quantitative techniques, which are derived from fundamental research and based on certain investment themes, including, among others, Fundamental Mispricings, High Quality Business Models, Sentiment Analysis and Market Themes &amp;amp; Trends. Fundamental Mispricings seeks to identify high-quality businesses trading at a fair price, which the Investment Adviser believes leads to strong performance over the long-run. High Quality Business Models seeks to identify companies that are generating high-quality revenues with sustainable business models and aligned management incentives. Sentiment Analysis seeks to identify stocks experiencing improvements in their overall market sentiment. Market Themes and Trends seeks to identify companies positively positioned to benefit from themes and trends in the market and macroeconomic environment. As a part of the Investment Adviser&#x2019;s investment selection process, the Investment Adviser utilizes proprietary models that assess a wide range of indicators, which may include certain environmental, social and governance (&#x201c;ESG&#x201d;) indicators. No one indicator, risk or consideration is determinative in the investment selection process. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary models, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its quantitative techniques, or use other quantitative techniques that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may allocate its assets among countries as determined by the Investment Adviser from time to time, provided the Fund&#x2019;s assets are invested in at least three foreign countries. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;In managing the Fund, the Investment Adviser balances investment considerations and tax considerations. The Fund seeks to achieve returns primarily in the form of price appreciation (which is not subject to current tax), and may use different strategies in seeking tax-efficiency. These strategies include: &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Offsetting long-term and short-term capital gains with long-term and short-term capital losses and creating loss carry-forward positions &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Managing portfolio turnover that may result in capital gains and losses &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Selling tax lots of securities that have a higher tax basis before selling tax lots of securities that have a lower tax basis. The Fund&#x2019;s investments in fixed income securities are limited to cash equivalents. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the MSCI EAFE Index&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;(Net,&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;USD,&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Unhedged).&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_RiskLoseMoneyMember"
      id="bf76a560-0806-4990-887a-cb56ffe9762e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_RiskNotInsuredDepositoryInstitutionMember"
      id="a8880aac-3c22-44a5-bfec-3c1f184ce3fd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_EuropeanInvestmentRiskMember"
      id="x_48b58978-5393-47ee-9af1-75546eb959f4">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;European Investment Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund is more exposed to the regulatory, economic and political risks of Europe and of the European countries in which it invests than funds whose investments are more geographically diversified. Adverse regulatory, economic and political events in Europe may cause the Fund&#x2019;s investments to decline in value. The economies and markets of European countries are often closely connected and interdependent, and events in one country in Europe can have an adverse impact on other European countries. The Fund makes investments in securities of issuers that are domiciled in, or have significant operations in, member countries of the European Union (&#x201c;EU&#x201d;) that are subject to economic and monetary controls that can adversely affect the Fund&#x2019;s investments. The European financial markets have experienced volatility and adverse trends in recent years and these events have adversely affected the exchange rate of the euro and may continue to significantly affect European countries. While the EU-UK Trade and Cooperation Agreement governs certain aspects of the EU&#x2019;s and UK&#x2019;s relationship following the UK&#x2019;s withdrawal from the EU (&#x201c;Brexit&#x201d;), the full effects of Brexit are unknown at this time and could negatively impact the value of the Fund&#x2019;s investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_ForeignRiskMember"
      id="x_2a200b1d-17ed-4865-808a-7a4b16187a2b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls&#160;(including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_InvestmentStyleRiskMember"
      id="ba29a691-3c01-482e-94d2-2e634ebec34b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;e.g&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_JapanRiskMember"
      id="x_99d35543-58b2-4f01-a07a-bcb23b44e170">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Japan Risk.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; The Japanese economy is heavily dependent upon international trade and may be subject to considerable degrees of economic, political and social instability, which could negatively affect the Fund&#x2019;s investments. Japan has limited natural resources and relies on imports to meet its commodity needs, such as fossil fuels. Fluctuations or shortages in the commodity markets, trade tariffs, and competition from emerging economies could have a negative impact on the Japanese economy. In the past, Japan&#x2019;s economic growth has remained relatively low, and it may remain low in the future. The Japanese economic growth rate could be impacted by massive government debt, the Bank of Japan&#x2019;s monetary policies, interest rate fluctuations, tax increases, budget deficits, consumer confidence and low domestic consumption, currency volatility, certain corporate structural weaknesses, an unstable financial sector, government policy, an aging demographic, a declining population and/or geopolitical conflicts, including with neighboring countries. The performance of the global economy could have a major impact upon equity returns in Japan. Japan has also experienced natural disasters, such as earthquakes and tsunamis, of varying degrees of severity, which could negatively affect the Fund&#x2019;s investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_LargeShareholderTransactionsRiskMember"
      id="x_35e8746e-1e69-41f4-8487-a7dfbe2ff62c">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund&#x2019;s&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund&#x2019;s&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund&#x2019;s&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund&#x2019;s&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_ManagementRiskMember"
      id="x_3a2ac629-12ac-4902-8175-ed072f016a58">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_MarketRiskMember"
      id="x_04e472bd-612f-4dbc-84a3-d5def336a7de">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_PortfolioTurnoverRateRiskMember"
      id="x_015ef183-7632-435d-b76c-a301b3db6ead">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_StockRiskMember"
      id="a93d968b-361c-4546-98f9-6cba1ab7bfef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298_TaxManagedInvestmentRiskMember"
      id="x_18ec80be-85c0-48b4-aa36-9a8e78645bc9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax-Managed Investment Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Because the Investment Adviser balances investment considerations and tax considerations, the pretax performance of the Fund may be lower than the performance of similar funds that are not tax-managed. Even though tax-managed strategies are being used, they may not reduce the amount of taxable income and capital gains distributed by the Fund to shareholders. A high percentage of the Fund&#x2019;s NAV may consist of unrealized capital gains, which represent a potential future tax liability to shareholders. The Fund is not suitable for investment by individual retirement accounts, other tax-exempt or tax-deferred accounts or for other investors who are not sensitive to the federal income tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_90acaaa6-767c-4170-bab8-2dc1b5550d22">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_6bc9a113-6c7c-4e3d-aa29-542887d989a3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor and Class R6 Shares compare to those of a broad-based securities market index.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="a4b24906-4804-422c-9432-db429761c2a9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor and Class R6 Shares compare to those of a broad-based securities market index.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_50bc2b89-2291-48a9-8e55-a1c380141534">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_2beceb17-d554-42c3-b6b5-232a93610cf1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_870cc33a-5f91-419d-aaa1-ad0ead3e1631">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR &lt;/span&gt;&lt;span style="font-family:Arial;font-size:9pt;"&gt;(INSTITUTIONAL)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="c914a82e-a184-489c-8815-6a5999c0afa4">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;17.43%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2020&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-22.79%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      id="x_19dc02d6-0c24-460d-b84c-2e0b857c490f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_362a4b29-bd22-471c-b7d9-39ae4e9d8610"
      unitRef="pure">0.1743</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      id="x_92da9071-94f2-40f4-a0bc-22f057ad78ec">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      id="x_14b1eae2-bbc7-4e85-82cb-40bb27765113">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      decimals="4"
      id="x_5e441d87-d224-4cab-b9e8-225bd27cd252"
      unitRef="pure">-0.2279</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstInvR6SharesMember_S000018298_C000050443"
      id="x_639b68ac-319d-4347-9c1f-a84dd70c7d8f">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_10ac9c32-3e24-491a-9c23-ba2bf725c543">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000050444"
      id="ac154bf0-7fb1-4c0b-99bc-795e08dbaef1">2008-01-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_01Jan2025_31Dec2025"
      decimals="4"
      id="x_97a9ac5b-f605-4dc4-8718-8ebf7bc6212f"
      unitRef="pure">0.3128</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_01Jan2021_31Dec2025"
      decimals="4"
      id="aaeec8d4-88a0-4eca-a6c6-e29ec350bb22"
      unitRef="pure">0.0961</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_01Jan2016_31Dec2025"
      decimals="4"
      id="ad0016fb-4f5c-4575-bc64-4312ed05da8f"
      unitRef="pure">0.0835</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_33ae1d95-1ae9-4587-ab15-7fbafa942e05"
      unitRef="pure">0.3090</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_30596f32-aca0-4633-ae3d-31d3f7ddfb55"
      unitRef="pure">0.0919</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025"
      decimals="4"
      id="df5f600d-41d3-4179-a7bf-f8fcdf1c87ec"
      unitRef="pure">0.0804</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_11da0156-cc02-4add-b7d8-ae1afe249727"
      unitRef="pure">0.1915</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_467ef526-6561-4c4f-acb0-43e8a61cbb6d"
      unitRef="pure">0.0766</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050444_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025"
      decimals="4"
      id="f09aea17-6059-4d72-8feb-d92d17922ea9"
      unitRef="pure">0.0687</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000050445"
      id="x_7b9007bd-60ba-4411-845c-a1f64996f8d5">2008-01-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050445_01Jan2025_31Dec2025"
      decimals="4"
      id="bd839c27-42b6-443c-9d4c-be809ef7a67a"
      unitRef="pure">0.3698</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050445_01Jan2021_31Dec2025"
      decimals="4"
      id="x_5454f06a-cb3a-43f8-b2cb-13198e1cf0df"
      unitRef="pure">0.1005</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050445_01Jan2016_31Dec2025"
      decimals="4"
      id="x_336dbf40-f4ec-418f-8bb8-14eb37be3fad"
      unitRef="pure">0.0814</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000050443"
      id="ff568385-29ec-424a-893e-8d356f592969">2008-01-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050443_01Jan2025_31Dec2025"
      decimals="4"
      id="x_18e72261-f2c5-49ae-80f3-d916470937b9"
      unitRef="pure">0.3948</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050443_01Jan2021_31Dec2025"
      decimals="4"
      id="x_663e6992-d47a-4442-bf6f-fecbd6e041e6"
      unitRef="pure">0.1123</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000050443_01Jan2016_31Dec2025"
      decimals="4"
      id="x_5a1f346c-c62c-4401-979e-f45d56bb26f2"
      unitRef="pure">0.0934</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000091965"
      id="x_5eabccd5-c30b-4656-9cb7-c05273859786">2010-08-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091965_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3d7c71e5-d2eb-49e7-9d1f-b6db3cbfb7b4"
      unitRef="pure">0.3939</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091965_01Jan2021_31Dec2025"
      decimals="4"
      id="b6efb34c-9181-4806-a381-c7beff355a81"
      unitRef="pure">0.1116</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091965_01Jan2016_31Dec2025"
      decimals="4"
      id="x_9840474f-22d2-4154-87c4-8b61bced536d"
      unitRef="pure">0.0923</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000200308"
      id="x_25dbae9c-b7d5-4a92-9766-9f78b05dc0ca">2018-04-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200308_01Jan2025_31Dec2025"
      decimals="4"
      id="e705a695-6415-487f-896d-3f5ad147e56c"
      unitRef="pure">0.3945</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200308_01Jan2021_31Dec2025"
      decimals="4"
      id="x_222f4d95-1e06-4cb6-9e02-3eab03152c1c"
      unitRef="pure">0.1123</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200308_01Jan2016_31Dec2025"
      decimals="4"
      id="x_34217808-8fd3-4e95-81b5-019084b9a246"
      unitRef="pure">0.0934</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="f64bce6e-6a98-436d-9681-c10179da92a5"
      unitRef="pure">0.3122</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="b476c85f-5fa6-4a45-a354-b0097b6e73fc"
      unitRef="pure">0.0892</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2016_31Dec2025"
      decimals="4"
      id="db21d0dd-ccb4-4ff0-9085-e565bbff74ec"
      unitRef="pure">0.0818</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_9ed64050-c3d8-4b6d-a584-d7af37c08fde">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares will vary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_127a4cbf-51d2-4c62-a2e4-bcd1a34b6da3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="b7172e32-cc8f-4383-9ce9-b91fd46f58c1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares will vary.&lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_30c13929-798e-4cc6-992a-80c33126cf1c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstInvR6SharesMember_S000018298"
      id="x_652b9b7e-c2ab-49ee-91c0-11d938ee49b0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_3b285b10-970e-4694-863d-fd1188a92a59">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs U.S. Tax-Managed Equity Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="e909e46a-e8ea-4402-b650-41ab0c2287ff">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_2df46460-7c02-4ffe-8877-ebccf77b7383">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs U.S. Tax-Managed Equity Fund (the &#x201c;Fund&#x201d;) seeks to provide long-term after-tax growth of capital through tax-sensitive participation in a broadly diversified portfolio of U.S. equity securities.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_1bc45e78-c323-404f-ad88-b8bca94b6ca5">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_7a8c745d-b50c-4bfe-8fa3-a9836fc36c21">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 46 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 92 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="d1311a3d-21e7-4fbe-a33b-e2cd5fc70a13">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 46 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 92 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      decimals="INF"
      id="x_54440678-f8d9-4eb9-9c09-8073d75cba80"
      unitRef="USD">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="b9911973-3b1f-49c3-869c-b233ebd67338">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="fb000737-89d2-4bb8-844d-36286e6214f7"
      unitRef="pure">0.0550</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_0c73e649-e323-42d6-891e-ca03851389c7"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_7431d89c-2483-41c8-a821-4ff05f5b8238"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="ce7509bf-b51d-45d8-8884-ace078061141"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="x_6a142c4b-5e79-4204-90fa-03c549ba3728"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="fcff809b-59ba-480c-9b16-762f612219aa"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="x_0840eeef-9c61-40f0-a39c-4e54ddd785c5"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_0b0e8176-197c-4d2d-8742-15d4926d8eb0"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_655bde41-83db-4177-a6e8-42775f611b4f"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="x_3cf290da-297e-469a-b972-68bafb75cdc7"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="fe1be1e4-3087-462f-89d5-5040b7da8508"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="e0896eba-5434-42c0-8390-173c629add4e"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_3c67f74e-89a9-42ed-b74b-b6744fb4d816">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="a091cac8-9320-49be-b3d9-2a8e8f515f01"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_05e7e51d-1c6c-4739-97fb-7f659e17da3e"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_4dfc27d5-4693-4509-ab5d-fc5f44c3c488"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="x_863fd02b-39ee-42f0-b917-ef2f1b6bb6b2"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="x_7e154f8e-0068-4f0e-b1ec-a2941f5528f4"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="db9c1e9c-3ec2-4166-b58d-f0abb2595e4a"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="f4453537-b070-4bab-a0de-899f405b0e1c"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_6d08bbf3-1cdb-4df9-bc5a-c7a11b29755c"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_0c57502c-ab59-4fba-8075-3b61b8cf2521"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="x_847970ec-99bd-4932-b6b5-c21eacb95cc1"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="x_27c84382-2c9d-41de-8bbf-d085cf19d1e5"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="x_9c703623-abe4-4db9-9bca-b81938bc6b70"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="x_0343a922-2e0e-4ca2-81b8-267ff1911dfc"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_067ab437-74a4-4565-81e8-931c793696a0"
      unitRef="pure">0.0042</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_9a29c01b-77df-4dec-9985-3c6de019c70d"
      unitRef="pure">0.0006</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="x_4e7a35f9-b803-4b20-8c7b-f7e97ee60c55"
      unitRef="pure">0.0031</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="x_5714feed-6840-4e62-b74e-116dbcfb339f"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="x_3ac1b085-6e52-4f9d-a104-806e27c73f2c"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="ec2149dc-e37e-468b-8e87-64ca636583f4"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_829af4ef-3e96-436f-94df-313870d780f7"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="e9622de7-bfa0-49b6-8442-60189e571790"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="a68d7fa2-1f75-446e-8669-7a738f512526"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="x_5c1cc7c0-c3bb-4005-94c9-94412f16fd8e"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="e6a94ea1-6549-41f8-a9bd-23f98dfe0a50"
      unitRef="pure">0</oef:Component1OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="f9b518c6-7c90-45f0-ae0b-c0304e693ff3"
      unitRef="pure">0.0000</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_83b06d5f-f630-4b34-b9b5-06d3251b9fab"
      unitRef="pure">0.0000</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_7a27eefa-3e09-4626-9aa1-591588873d2b"
      unitRef="pure">0.0000</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="a208eef4-38af-4221-af12-45c113a2df03"
      unitRef="pure">0.0025</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="c1b5c8ae-8901-4094-83ed-db1b650e168b"
      unitRef="pure">0.0000</oef:Component2OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="x_1c71855c-1ba4-4fda-a9c8-4fd577659239"
      unitRef="pure">0.0000</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="da04e761-2bc1-452f-9062-ba7888bd13ab"
      unitRef="pure">0.0017</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_04453ed9-6509-4036-a619-304f2a37bdcc"
      unitRef="pure">0.0017</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_6a5849b0-46e3-480f-8d1f-8822e76e1deb"
      unitRef="pure">0.0006</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="x_747552f8-00b0-4a95-be12-ac0d6b67f994"
      unitRef="pure">0.0006</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="x_18bd79d8-9767-442a-adea-c0bc5fc1eeb8"
      unitRef="pure">0.0017</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="dec346fb-7b06-427a-8daf-12ec26a0b012"
      unitRef="pure">0.0005</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="x_03254645-1834-4de0-8584-8b0aace9f508"
      unitRef="pure">0.0105</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_3497fc2e-4df2-4cbf-bb76-882e7cf6a5a1"
      unitRef="pure">0.0180</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_9b4c968b-be12-4c35-811d-621a1c40bff9"
      unitRef="pure">0.0069</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="x_8b180979-8833-4444-a90c-9e975e414add"
      unitRef="pure">0.0119</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="x_8f6e4131-5847-404d-87de-db1838897727"
      unitRef="pure">0.0080</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="x_3df35edd-22ca-4653-bb08-96811be3ac4a"
      unitRef="pure">0.0068</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="fca9b0bd-4cc2-466f-87a0-c9e726a95d92"
      unitRef="pure">-0.0004</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_07e2d6ca-26fd-4774-90d5-86bc0cbd9ee8"
      unitRef="pure">-0.0004</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="x_9645a2da-4c42-48fb-8a20-2849e050d31b"
      unitRef="pure">0.0000</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="x_816692d8-d1f1-4255-8bf2-b28702fbcff3"
      unitRef="pure">0.0000</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="f8abd595-43ef-40bf-810d-6306c7303cdb"
      unitRef="pure">-0.0004</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="be1df484-2537-4e45-8436-e6990ac8e7de"
      unitRef="pure">0.0000</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="eb4f2247-7f39-454c-9b5f-42173ec62465"
      unitRef="pure">0.0101</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="4"
      id="x_8156bbde-a187-4606-9768-96d2cac50ce0"
      unitRef="pure">0.0176</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="4"
      id="efef5128-5fa4-490e-b34a-fc03024c76b5"
      unitRef="pure">0.0069</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="4"
      id="x_200f1d84-9090-4298-94e7-7765d351582c"
      unitRef="pure">0.0119</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="4"
      id="x_7993ff65-2c43-4489-bb83-7bd6ca8674aa"
      unitRef="pure">0.0076</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="4"
      id="x_61bec1e0-c2dd-4258-946a-a93119caf7ff"
      unitRef="pure">0.0068</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="ed131cbe-1d58-4be0-99d1-eb51f1bbe2a3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_2ea6c5ab-af31-4261-8262-708f72a0d09c">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="e81b44a9-7dad-4a9e-a94d-18325a13ffd8">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_557921d5-5720-4af3-a821-9e1cad065ad2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Service, Investor and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Service, Investor and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="INF"
      id="c7c39c55-b67d-42c0-b440-7cd9ccb498cd"
      unitRef="USD">647</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="INF"
      id="x_8a026676-6a31-444a-8044-bb93f09c82b3"
      unitRef="USD">862</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="INF"
      id="x_19d93fa4-2938-4f2d-9b8d-b1acba0cb310"
      unitRef="USD">1094</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="INF"
      id="b7f36d5b-f3d6-4ffc-8895-d3e6cc5757bc"
      unitRef="USD">1759</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="INF"
      id="x_098c41e2-c422-40cb-bf2e-b2225dd5ba81"
      unitRef="USD">279</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="INF"
      id="eb113e24-9115-4ced-a069-a2feccff4a23"
      unitRef="USD">563</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="INF"
      id="x_07537940-1fef-4386-8b2c-d9bb6ae864c2"
      unitRef="USD">971</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="INF"
      id="x_9fc91c9a-7522-490c-aebd-dafa138acee4"
      unitRef="USD">2113</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="INF"
      id="x_309a7b8e-8523-4b4b-8485-5cab0c6a578a"
      unitRef="USD">70</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="INF"
      id="x_622d4066-6f51-4850-acb9-700f9c170a4c"
      unitRef="USD">221</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="INF"
      id="x_48027f47-414f-4717-bb31-ac9db46bbb1d"
      unitRef="USD">384</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025601"
      decimals="INF"
      id="x_764ec8cf-b5ea-462e-8501-640a3041877f"
      unitRef="USD">859</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="INF"
      id="x_83501b87-a323-4c0d-bfd8-a4576c49ae34"
      unitRef="USD">121</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="INF"
      id="x_7183ea8a-8e87-4a18-9a83-678cdefe3750"
      unitRef="USD">378</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="INF"
      id="x_82a9631b-1004-4f90-bf9b-91e1ca367b9b"
      unitRef="USD">654</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025602"
      decimals="INF"
      id="x_3ab67cbb-09cc-45c8-b148-709aba2b73ed"
      unitRef="USD">1443</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="INF"
      id="f67f77fc-e3f8-4398-b0aa-74b2657d3156"
      unitRef="USD">78</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="INF"
      id="d9d4bf69-61b9-4e37-918d-1daa204ca31a"
      unitRef="USD">251</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="INF"
      id="x_1bf1166d-4ab4-464c-a133-0372d4b58e79"
      unitRef="USD">440</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000091964"
      decimals="INF"
      id="x_6de4d345-1655-44ca-9b6e-700bc568577d"
      unitRef="USD">986</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="INF"
      id="x_9c637043-0cc8-4ea8-bc6c-8a72fb9ab9c8"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="INF"
      id="x_3d55cf32-6f93-4b6e-860e-639f3967b8f0"
      unitRef="USD">218</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="INF"
      id="x_7ca0c420-58ad-459a-82b0-fbb72493e8f0"
      unitRef="USD">379</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000200307"
      decimals="INF"
      id="x_5c5db337-f849-44d8-b6e7-2040feff486d"
      unitRef="USD">847</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      id="x_2915be49-a39c-4a44-95da-615af9226588">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="INF"
      id="x_444f5cbb-b2b9-46d5-81e5-0244541ad650"
      unitRef="USD">179</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="INF"
      id="x_7cafaabc-bd3a-4433-892c-81b41bf54c1e"
      unitRef="USD">563</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="INF"
      id="c6df4b45-4113-49c9-b061-4a580c5eabc0"
      unitRef="USD">971</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025605"
      decimals="INF"
      id="x_625c6a58-3e31-4b05-b0a9-67d243a61b1e"
      unitRef="USD">2113</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="ac5f9f80-6f63-49fb-98da-584d895e4764">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_46ec940a-0562-4c51-8c22-1661c0a5117c">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;188&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      decimals="4"
      id="afd212ab-1c71-4ef9-9dbc-aaef47075a6b"
      unitRef="pure">1.88</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="a8aa2d84-07ba-4cc4-89b9-694d1c8c3ca6">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="d97d39c3-7f33-40c0-880f-8d3f42c2bf27">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in equity investments in U.S. issuers. The Fund seeks broad representation of large-cap, mid-cap and small-cap equity investments representing all major sectors of the U.S. economy. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a variety of quantitative techniques, in combination with a qualitative overlay, when selecting investments that have the potential to maximize the Fund&#x2019;s after-tax return and minimize capital gains and income distributions. These quantitative techniques, which are derived from fundamental research and based on certain investment themes, including, among others, Fundamental Mispricings, High Quality Business Models, Sentiment Analysis and Market Themes &amp;amp; Trends. Fundamental Mispricings seeks to identify high-quality businesses trading at a fair price, which the Investment Adviser believes leads to strong performance over the long-run. High Quality Business Models seeks to identify companies that are generating high-quality revenues with sustainable business models and aligned management incentives. Sentiment Analysis seeks to identify stocks experiencing improvements in their overall market sentiment. Market Themes and Trends seeks to identify companies positively positioned to benefit from themes and trends in the market and macroeconomic environment. As a part of the Investment Adviser&#x2019;s investment selection process, the Investment Adviser utilizes proprietary models that assess a wide range of indicators, which may include certain environmental, social and governance (&#x201c;ESG&#x201d;) indicators. No one indicator, risk or consideration is determinative in the investment selection process. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary models, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its quantitative techniques, or use other quantitative techniques that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;In managing the Fund, the Investment Adviser balances investment considerations and tax considerations. The Fund seeks to achieve returns primarily in the form of price appreciation (which is not subject to current tax), and may use different strategies in seeking tax efficiency. These strategies include: &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Offsetting long-term and short-term capital gains with long-term and short-term capital losses and creating loss carry-forward positions &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Managing portfolio turnover that may result in capital gains and losses &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Selling tax lots of securities that have a higher tax basis before selling tax lots of securities that have a lower tax basis &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investments in fixed income securities are limited to cash equivalents. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the Russell 3000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Index.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_RiskLoseMoneyMember"
      id="a79226ce-a76c-4251-89b8-95285ea22f8f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_RiskNotInsuredDepositoryInstitutionMember"
      id="x_3618b52a-d617-4a21-98d1-c6d8e33c8912">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_InvestmentStyleRiskMember"
      id="ae2e3a50-663c-490f-8672-32db17a99a54">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;e.g&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_LargeShareholderTransactionsRiskMember"
      id="fd0986fd-043f-4602-988b-f4c45d88e245">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund&#x2019;s&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund&#x2019;s&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund&#x2019;s&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund&#x2019;s&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_ManagementRiskMember"
      id="x_552f7047-f79f-47bf-8df6-3260cde4c98a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_MarketRiskMember"
      id="x_67826c35-c426-450f-8f9e-0a8aa6576d48">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_PortfolioTurnoverRateRiskMember"
      id="x_7acf2b38-2eb6-4ec7-917e-0a6379b2becd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_StockRiskMember"
      id="x_228b8753-1b03-43ae-b0dc-ace9217fc776">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340_TaxManagedInvestmentRiskMember"
      id="x_501960de-7fd7-40d5-a979-ebd586391108">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax-Managed Investment Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Because the Investment Adviser balances investment considerations and tax considerations, the pretax performance of the Fund may be lower than the performance of similar funds that are not tax-managed. Even though tax-managed strategies are being used, they may not reduce the amount of taxable income and capital gains distributed by the Fund to shareholders. A high percentage of the Fund&#x2019;s NAV may consist of unrealized capital gains, which represent a potential future tax liability to shareholders. The Fund is not suitable for investment by individual retirement accounts, other tax-exempt or tax-deferred accounts or for other investors who are not sensitive to the federal income tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_60055d06-9153-426f-a573-79dfa378700f">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_5e1a8dad-59c1-4f95-83ce-3d6f73a49f4f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Service, Investor and Class R6 Shares compare to those of a broad-based securities market index.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart (including &#x201c;Best Quarter&#x201d; and &#x201c;Worst Quarter&#x201d; information) does not reflect the sales loads applicable to Class A Shares. If the sales loads were reflected, returns would be less.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Performance reflects applicable fee waivers and/or expense limitations in effect &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;during the periods shown. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="d6f8ed51-df9e-4875-a79c-54a4b8e2edb3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class A Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Service, Investor and Class R6 Shares compare to those of a broad-based securities market index.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="b0fb64d3-001f-4aa4-96f2-edeb23b81eba">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="b4fc680d-2bdc-4feb-9474-6ed674993f73">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartDoesNotReflectSalesLoads
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="d88aa6a1-84d6-4ba2-b72f-d427f9f64503">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart (including &#x201c;Best Quarter&#x201d; and &#x201c;Worst Quarter&#x201d; information) does not reflect the sales loads applicable to Class A Shares. If the sales loads were reflected, returns would be less.&lt;/span&gt;</oef:BarChartDoesNotReflectSalesLoads>
    <oef:BarChartHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_6bf85f37-8a5c-4774-aaeb-9a5dbeb9de73">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR &lt;/span&gt;&lt;span style="font-family:Arial;font-size:9pt;"&gt;(Class A)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="c677445e-ae8f-44e5-ba64-574bbb35fef7">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;23.70%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2020&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-21.69%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      id="x_787bfa05-c368-4733-8a83-8a31b73a4ca7">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="b3f6e32f-3ff4-42f1-8e41-469830b096d2"
      unitRef="pure">0.2370</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      id="x_27eca2a7-b00d-4d63-ac82-8b19dda8f9c5">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      id="x_0dd6f1fc-8067-4acc-a334-e13df5b6a033">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      decimals="4"
      id="cc6ce814-5971-4f49-aa3b-5960917564af"
      unitRef="pure">-0.2169</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstServInvR6SharesMember_S000009340_C000025603"
      id="cfc491d4-9acc-47fc-a672-5cb9f5a995cd">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_520a2527-3519-47d2-a167-899749eeec10">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvR6SharesMember_C000025603"
      id="x_241687da-60db-4114-a526-b133b50f8a1e">2000-04-03</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_01Jan2025_31Dec2025"
      decimals="4"
      id="f206c79d-4574-4060-ad4b-f208ea7697b3"
      unitRef="pure">0.0866</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_01Jan2021_31Dec2025"
      decimals="4"
      id="ad828ce2-ae0c-4085-90d9-6a47aacaa753"
      unitRef="pure">0.1151</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_01Jan2016_31Dec2025"
      decimals="4"
      id="x_5af60053-87d0-4ddf-8123-58f29ecf9c64"
      unitRef="pure">0.1176</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="ce34389d-58e9-4d1f-bd5d-e77378454334"
      unitRef="pure">0.0860</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="fe6005b2-ac65-4176-b502-129964463ccb"
      unitRef="pure">0.1138</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025"
      decimals="4"
      id="a4679349-5d7c-4cd4-bbd0-be7648b6e023"
      unitRef="pure">0.1164</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5f835336-66ba-49f0-aac9-e83f6eead079"
      unitRef="pure">0.0517</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_6ead5ef4-4fd2-44b5-bddc-2ef83e7d1385"
      unitRef="pure">0.0916</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025603_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025"
      decimals="4"
      id="f2d54f51-fa40-4823-a52f-8be69272aa56"
      unitRef="pure">0.0979</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvR6SharesMember_C000025605"
      id="x_03ffdd18-1e6f-4ad3-86ee-52cd82040c6a">2000-04-03</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025605_01Jan2025_31Dec2025"
      decimals="4"
      id="d4ad4a49-b09d-4852-947f-3caec3f574b9"
      unitRef="pure">0.1312</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025605_01Jan2021_31Dec2025"
      decimals="4"
      id="e957fd66-6d9c-4f0a-90de-debcdf77c867"
      unitRef="pure">0.1192</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025605_01Jan2016_31Dec2025"
      decimals="4"
      id="cc424df8-c4d2-484f-a469-05a187cba52f"
      unitRef="pure">0.1156</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvR6SharesMember_C000025601"
      id="df20cae6-2092-4092-a22a-adff59c4edba">2000-04-03</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025601_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1661b1a7-e5c3-49f0-9442-0d62614f6d4e"
      unitRef="pure">0.1535</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025601_01Jan2021_31Dec2025"
      decimals="4"
      id="x_6c6ab1b3-2267-4749-858d-aecb0bbd3b2d"
      unitRef="pure">0.1313</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025601_01Jan2016_31Dec2025"
      decimals="4"
      id="x_92541475-b50b-46fc-85df-1c773e7ea293"
      unitRef="pure">0.1279</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvR6SharesMember_C000025602"
      id="e36aa5f7-dc1b-4947-8ef5-1f01d3cee9bd">2000-04-03</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025602_01Jan2025_31Dec2025"
      decimals="4"
      id="x_40edc52d-fb1f-4037-b255-05b14bc61125"
      unitRef="pure">0.1478</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025602_01Jan2021_31Dec2025"
      decimals="4"
      id="x_6ac301e9-3c34-4398-8e95-3f6a799606a0"
      unitRef="pure">0.1257</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000025602_01Jan2016_31Dec2025"
      decimals="4"
      id="x_07be445c-cb0d-4d6f-a6eb-95ef48d855ad"
      unitRef="pure">0.1223</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvR6SharesMember_C000091964"
      id="a20f51d9-7519-4b8c-8963-936df1f224eb">2010-08-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000091964_01Jan2025_31Dec2025"
      decimals="4"
      id="cf606f08-835e-447a-b9e8-f574fbe6572f"
      unitRef="pure">0.1527</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000091964_01Jan2021_31Dec2025"
      decimals="4"
      id="x_388d202e-0341-46c3-adc4-a4bc278a84ce"
      unitRef="pure">0.1305</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000091964_01Jan2016_31Dec2025"
      decimals="4"
      id="ca8cf21e-02b9-4cdc-a904-fdfde4f147b9"
      unitRef="pure">0.1268</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstServInvR6SharesMember_C000200307"
      id="b59b32ec-6823-47b2-ab02-02957f68d625">2018-04-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000200307_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6d5133ef-25b7-4320-9da6-1266e056b5c1"
      unitRef="pure">0.1537</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000200307_01Jan2021_31Dec2025"
      decimals="4"
      id="b46d0cf1-5a22-4671-9747-84a19e90d1ad"
      unitRef="pure">0.1315</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_C000200307_01Jan2016_31Dec2025"
      decimals="4"
      id="x_1f695651-8ca5-4a17-9372-a7058e125aac"
      unitRef="pure">0.1280</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_Russell3000IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_42a5a3aa-7afb-40fe-a7b4-453557017243"
      unitRef="pure">0.1715</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_Russell3000IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_3579949c-ffd9-4a7e-b7d6-34f1357088fe"
      unitRef="pure">0.1314</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstServInvR6SharesMember_Russell3000IndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_019bb395-bc3f-4d7e-9b0a-84e389e3fc3c"
      unitRef="pure">0.1427</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="bbc80691-7615-4852-8687-30fcf6e97bf7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Service, Investor and Class R6 Shares will vary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="f4529da2-04fa-4e4a-8313-e7197938acdb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_760a7caf-d96a-4fe3-991e-55992ad32e34">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Service, Investor and Class R6 Shares will vary.&lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_47594b66-96d9-416e-b4a1-dd9b5da37aeb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstServInvR6SharesMember_S000009340"
      id="x_988d05bf-36fc-4cea-8544-7545a1599f1a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_6b5e340e-5256-4e43-8e50-d033781a1dcb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs U.S. Equity Dividend and Premium Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_470f5f77-98c1-4e27-befa-c26f24e4abbb">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="aae5ade4-e533-4dd6-890c-4d881572b741">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs U.S. Equity Dividend and Premium Fund (the &#x201c;Fund&#x201d;) seeks to maximize income and total return.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="a011558b-4d66-4237-82ce-8edce936cf4c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_2bd64142-cb06-4918-9507-ff1c4252cbf1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 46 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 92 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_3195ac14-5dd7-44a1-8ce8-2d6437d97814">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;50,000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in &#x201c;Shareholder Guide&#x2014;Common Questions Applicable to the Purchase of Class A Shares&#x201d; beginning on page 46 and in Appendix C&#x2014;Additional Information About Sales Charge Variations, Waivers and Discounts on page 92 of the Prospectus and &#x201c;Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends&#x201d; beginning on page B-175 of the Fund&#x2019;s Statement of Additional Information (&#x201c;SAI&#x201d;).&lt;/span&gt;</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      decimals="INF"
      id="x_4ed32c68-03dd-4f72-98d5-bfe5da9aa631"
      unitRef="USD">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="bcdfd94a-c314-4b6c-9c61-b52e9b79840f">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Shareholder Fees &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(fees paid directly from your investment)&lt;/span&gt;</oef:ShareholderFeesCaption>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="af00a2e1-ff80-4707-a2c1-0bc7a612e339"
      unitRef="pure">0.0550</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="e9d14046-7ce6-44ae-85ec-571bfd1346be"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="b46e7a25-d7c0-4c65-9814-c1a2e3cb9c46"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="b887b4c3-8f23-4c68-9fec-621bd53ea966"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="x_14c90a03-b564-44dd-9e25-15010418ac6a"
      unitRef="pure">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="x_719ad68c-c587-4bf5-aca9-74f46f4cacfa"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="bafd91b8-f607-4ee3-b57e-73767c5f0144"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_8c17524b-5c22-47b5-a82a-5ebef038c2b8"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="d65a46a0-daf2-4067-8e50-2ccff50d4737"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="be68de92-e59f-44c1-b996-0aee6edbd2ea"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:OperatingExpensesCaption
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="bb40126a-87f7-49be-bf1d-f59ae8a7ea7a">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="f38cd6d5-8bad-418b-9cf8-72711f529036"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="x_08d2d464-ef49-406d-8a8d-eba51981c28e"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="daa71882-b78c-49e6-967f-9a0177d5fe95"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="eef3a023-59aa-4c05-974c-a5b4d4c045b2"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="cac0ba30-7012-46c6-bd82-25c9187d51f8"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="x_40b6c5fd-2081-4385-bbc3-bc480fdc9c6f"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="x_485f74e9-5961-4589-9918-16717b99d68f"
      unitRef="pure">0.0075</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_5d9f139a-96b1-4744-8289-1fc91efe9fa5"
      unitRef="pure">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="x_43bd5076-e16c-4729-bd00-56d670d66416"
      unitRef="pure">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="x_5c77d6e5-0614-407d-88de-9da18530aa7a"
      unitRef="pure">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="eed4055e-190c-4297-a485-4f62ae01f1ef"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="c30d1461-40f5-4d54-9632-1d30d48e6464"
      unitRef="pure">0.0042</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_4e82cd6a-dd92-4499-9b82-76ac14307e43"
      unitRef="pure">0.0006</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="a121aded-bd5b-4b3d-8448-df76fb9242f1"
      unitRef="pure">0.0017</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="x_584addbd-4f6f-4842-b0e7-5deb243e6329"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="x_74009fbf-c676-4b59-a064-5ba1e30a311f"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="aff6547f-bc49-4f82-8c38-69e18aadf176"
      unitRef="pure">0.0025</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="eb5d70cc-cecc-4b76-ac90-afdea7086053"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="bc979117-127a-49ec-ab7e-620d8c3f76b1"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="x_94af71be-baee-4397-8acc-de9a36d2dfac"
      unitRef="pure">0.0000</oef:Component1OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="af884a23-f6a9-4ba7-a65a-f8f4914317dc"
      unitRef="pure">0.0017</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="x_4957c232-e81f-44cb-8dcb-87fabb00c440"
      unitRef="pure">0.0017</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_884c7421-2bf2-4a19-b859-c4509665bf5e"
      unitRef="pure">0.0006</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="x_690e6ce7-b29b-48d5-a1a8-9d6f068cacfb"
      unitRef="pure">0.0017</oef:Component3OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="x_730a3f83-9fb9-42eb-b79f-d8fd1b3be161"
      unitRef="pure">0.0005</oef:Component3OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="x_717583ae-be34-4ce0-ba64-2bf0ebea1d93"
      unitRef="pure">0.0111</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="x_05338580-97a2-4874-8dc1-baff252f4676"
      unitRef="pure">0.0186</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_4282b0b9-38ca-4c00-9ba4-d2d7a0c8f42b"
      unitRef="pure">0.0075</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="x_087a97da-1c7d-4226-803f-9d539fc00b84"
      unitRef="pure">0.0086</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="x_13c9c846-f2bc-49eb-ab03-2ad679eb0583"
      unitRef="pure">0.0074</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="x_71f4b3c3-f2df-4c49-b87a-6add9c111465"
      unitRef="pure">-0.0011</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="x_7863aee3-50a1-4f8d-aa0d-d7356197ad61"
      unitRef="pure">-0.0011</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_21b0b731-6c7b-4585-9cf0-e21e6dff2e53"
      unitRef="pure">-0.0007</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="x_8a5ed7e7-c79d-436d-9044-d34263b8ae60"
      unitRef="pure">-0.0011</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="x_4db87c1b-2fc4-4d6b-ad39-df8a0c97ec1b"
      unitRef="pure">-0.0007</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="4"
      id="d301c935-d070-4782-9ff4-937453de6353"
      unitRef="pure">0.0100</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="4"
      id="ae296b6e-86fc-46c2-8423-626e331a2a29"
      unitRef="pure">0.0175</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_0797b6ba-3698-4059-a704-a2249a9b24f5"
      unitRef="pure">0.0068</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="4"
      id="ab18d82d-9878-4871-bad2-96783e10ad59"
      unitRef="pure">0.0075</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="4"
      id="ade97946-2d8d-4dbb-b715-65df0db1dfd6"
      unitRef="pure">0.0067</oef:NetExpensesOverAssets>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="fed0f87d-8c38-49a4-90e2-5a01fa9ab603">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.&lt;/span&gt;</oef:ExpensesDeferredChargesTextBlock>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_5bf0a229-01ee-496c-8a46-72e1cb49d3a0">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_7c679f5c-4b19-42c3-a3c2-85fea206d105">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_4434888e-d5e9-499a-929b-c6c55ca7872d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class A, Class C, Institutional, Investor and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Class C, Institutional, Investor and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="INF"
      id="x_10227d45-2893-4352-bbfa-28e80c75f10b"
      unitRef="USD">646</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="INF"
      id="c80fd795-91e4-44ce-ae2b-54e82f613eeb"
      unitRef="USD">873</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="INF"
      id="cafbff50-87c9-4d15-8766-a3f4e7eeacac"
      unitRef="USD">1118</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025508"
      decimals="INF"
      id="x_521046ab-b4de-4219-a2c9-b53038179922"
      unitRef="USD">1818</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="INF"
      id="x_9864b034-dfb3-458a-84a8-98916c4711d8"
      unitRef="USD">278</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="INF"
      id="e14d9a66-0c0e-47ac-b076-a767fbf00d80"
      unitRef="USD">574</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="INF"
      id="x_106657ff-0957-4dcf-9ce8-3dd5e2c267fb"
      unitRef="USD">996</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="INF"
      id="ea19938a-09c3-41e3-9caf-278ea53a5369"
      unitRef="USD">2171</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="INF"
      id="a09d0922-d447-43c8-bb94-336060fe0a11"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="INF"
      id="c966b14e-01d7-4913-83ca-810abd8a8bac"
      unitRef="USD">233</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="INF"
      id="a68d1c65-1e79-4b0f-b216-311cc5ba2c33"
      unitRef="USD">410</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="INF"
      id="x_4de42d5c-238c-44ce-814b-5456b5d223f6"
      unitRef="USD">924</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="INF"
      id="b2b35f49-9ad3-47e9-9b8b-d37f5bbcf24d"
      unitRef="USD">77</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="INF"
      id="x_45c07f64-fc24-4a9a-8d26-ac31c145fd0a"
      unitRef="USD">263</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="INF"
      id="x_145e4ed4-0e37-48e4-bfcc-174602223923"
      unitRef="USD">466</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000091963"
      decimals="INF"
      id="d06c54be-59f0-4d18-9d38-bd0665316854"
      unitRef="USD">1051</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="INF"
      id="x_8391639b-93a2-445d-8652-852d279800cb"
      unitRef="USD">68</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="INF"
      id="x_40683e14-722b-4ff8-82d4-b6b031d8875f"
      unitRef="USD">230</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="INF"
      id="x_2131d7e8-3fc9-4bff-b374-b243a10a6287"
      unitRef="USD">405</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000200306"
      decimals="INF"
      id="x_527d2ab3-ffaa-4f73-a314-89f181aae95a"
      unitRef="USD">912</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionByYearColumnName
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      id="x_0b6a0620-1ad0-413d-b98b-3b4d96b5c6b0">&lt;span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Class C Shares &#x2013; Assuming no redemption&lt;/span&gt;</oef:ExpenseExampleNoRedemptionByYearColumnName>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="INF"
      id="d0f41cd8-0e52-4e05-95f3-1096ee2da05e"
      unitRef="USD">178</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="INF"
      id="x_3ebd9870-b195-4e36-b876-1d9ea5da120d"
      unitRef="USD">574</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="INF"
      id="x_1e8177cf-9daf-4bc6-b41b-b7570c3aecc0"
      unitRef="USD">996</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025509"
      decimals="INF"
      id="x_60ad3a1d-4d41-464d-a74a-8a43849bb1a5"
      unitRef="USD">2171</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="aa3d2637-edf8-4b71-aa4f-3500baa6c0dd">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_02a9cf73-21c5-45bd-a511-7ddd5dba7b0d">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;29&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      decimals="4"
      id="x_99b3d557-9b01-4c00-8cec-f5355853556f"
      unitRef="pure">0.29</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="fd3a53c2-902c-466c-9b51-a01ceb000d40">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_45dfc308-9526-43c8-af65-489001d4aec6">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in dividend-paying equity investments in large-cap U.S. issuers. Large-cap issuers are companies with relatively large market capitalizations. As of March 17, 2026, large-cap issuers generally have public stock market capitalizations between $2.8 billion and $4.4 trillion (or above $2.8 billion); however, this capitalization threshold will change over time and with market conditions. The Fund may also invest in securities below the then-existing large-cap issuer capitalization threshold. The Fund invests primarily in a diversified portfolio of common stocks of large-cap U.S. issuers. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a variety of quantitative techniques, in combination with a qualitative overlay, when selecting investments. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary models, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its quantitative techniques, or use other quantitative techniques that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund seeks to generate additional cash flow and may reduce volatility by the sale of call options on the S&amp;amp;P 500&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Index or other national or regional stock market indices (or related exchange-traded funds (&#x201c;ETFs&#x201d;)). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund expects that, under normal circumstances, it will sell call options in an amount that is between 20% and 75% of the value of the Fund&#x2019;s portfolio. As the seller of the call options, the Fund will receive cash (the &#x201c;premium&#x201d;) from the purchaser. If the purchaser exercises the option, the Fund pays the purchaser the difference between the price of the index and the exercise price of the option. The premium, the exercise price and the market price of the index determine the gain or loss realized by the Fund as the seller of the call option. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;During periods in which the U.S. equity markets are generally unchanged or falling, or in a modestly rising market where the income from premiums exceeds the aggregate appreciation of the underlying index over its exercise price, a diversified portfolio receiving premiums from its call option writing strategy may outperform the same portfolio without such an options strategy. However, in rising markets where the aggregate appreciation of the underlying index over its exercise price exceeds the income from premiums, a portfolio with a call writing strategy could significantly underperform the same portfolio without the options. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a tax-advantaged style and seeks to balance investment and tax considerations, primarily by seeking to avoid or minimize any net short-term capital gains. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investments in fixed income securities are limited to cash equivalents. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the S&amp;amp;P 500&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Index and the Bloomberg U.S. Aggregate Bond Index.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_RiskLoseMoneyMember"
      id="x_4a2ed5ff-1095-4400-b2d2-0d4902bba5e9">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund. &lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_RiskNotInsuredDepositoryInstitutionMember"
      id="a2add8e3-3d97-4777-800d-a75cf7c7b449">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_DividendPayingInvestmentsRiskMember"
      id="x_03a588a9-5220-4a5c-a4aa-0cfc2b9f5fc2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Dividend-Paying Investments Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund&#x2019;s investments in dividend-paying securities could cause the Fund to underperform other funds. Securities that pay dividends, as a group, can fall out of favor with the market, causing such securities to underperform securities that do not pay dividends. Depending upon market conditions and political and legislative responses to such conditions, dividend-paying securities that meet the Fund&#x2019;s investment criteria may not be widely available and/or may be highly concentrated in only a few market sectors. In addition, issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. This may limit the ability of the Fund to produce current income.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_InvestmentStyleRiskMember"
      id="c3dc0478-9bab-47cc-bd39-834c093355d2">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;e.g&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_LargeShareholderTransactionsRiskMember"
      id="x_84035451-ed50-4a92-8a02-ea1a05ca94fd">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund&#x2019;s&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund&#x2019;s&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund&#x2019;s&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund&#x2019;s&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_ManagementRiskMember"
      id="e0da1d41-26ab-4fe7-81f4-5289f54f0ce1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_MarketRiskMember"
      id="a7be555e-8ff3-435a-80b6-818240e08f6f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_OptionWritingRiskMember"
      id="d97b8cd3-4544-4d24-8e68-fbf851606b2f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Option Writing Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Writing (selling) call options limits the opportunity to profit from an increase in the market value of stocks in exchange for up-front cash (the premium) at the time of selling the call option. In a sharp rising market, the Fund could significantly underperform the market. Furthermore, premium received from the Fund&#x2019;s call option writing strategies may not fully protect it against market declines because the Fund will continue to bear the risk of a decline in the value of its portfolio securities. In a sharply-falling equity market, the Fund will likely also experience sharp declines in its NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_StockRiskMember"
      id="x_8c065b3d-f980-479d-b86e-b02e8c299641">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324_TaxManagedInvestmentRiskMember"
      id="a3a14a8f-e40d-40c3-82b5-a03a593e1241">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax-Managed Investment Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Because the Investment Adviser balances investment considerations and tax considerations, the pretax performance of the Fund may be lower than the performance of similar funds that are not tax-managed. Even though tax-managed strategies are being used, they may not reduce the amount of taxable income and capital gains distributed by the Fund to shareholders. A high percentage of the Fund&#x2019;s NAV may consist of unrealized capital gains, which represent a potential future tax liability to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_4c2d6149-703b-45e8-b889-31ce8a61ac71">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_5564507c-c3f0-428c-8389-3dd8929b75a8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor and Class R6 Shares compare to those of broad-based securities market indices.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling the appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_130b7655-b68e-4ab5-beb8-89631fd08636">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class A, Class C, Institutional, Investor and Class R6 Shares compare to those of broad-based securities market indices.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="abe34fb5-4f04-4caa-9cf6-13ffebb0a7db">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_058cf46d-869d-4313-af4e-3615c142308c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_063a630c-d38b-4d8d-bfa9-d8d8d16c10c9">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR &lt;/span&gt;&lt;span style="font-family:Arial;font-size:9pt;"&gt;(INSTITUTIONAL)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="d95989bf-40c4-438f-bd65-4c13c396fd46">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;19.10%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2020&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-19.42%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      id="df42189e-8904-4da8-96e3-e9f389ec9c6c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_237290dc-1b52-4205-be70-9e9b2b9b991b"
      unitRef="pure">0.1910</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      id="bb521cef-f82b-43de-80d8-b877aa5d1ae9">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      id="x_71d31589-b795-4a2c-ba0c-4a6ec6aa39b3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      decimals="4"
      id="x_317c99a6-98ed-4bd1-ade0-1f19390eba1c"
      unitRef="pure">-0.1942</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassACInstInvR6SharesMember_S000009324_C000025507"
      id="c1035e5d-6a19-4d2f-aeb5-a88cdda21714">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_9ab13e9a-5edb-47fe-bebc-c719ab95bcf3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000025508"
      id="x_567c9a33-5913-47cc-8b73-8e2deaf7de16">2005-08-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3dea775e-1902-469f-a20a-a8d2b6f39068"
      unitRef="pure">0.0734</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_01Jan2021_31Dec2025"
      decimals="4"
      id="x_042a1ac1-5cb9-4644-a902-c4175eb52a4b"
      unitRef="pure">0.1053</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_01Jan2016_31Dec2025"
      decimals="4"
      id="ef6e7c7c-053e-499a-924b-29e4de3b11f7"
      unitRef="pure">0.1094</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_79f4788e-79ed-4d15-a71f-f98bb8c9b186"
      unitRef="pure">0.0581</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_2dfd6024-af2a-415b-9176-b43bd17a0ab3"
      unitRef="pure">0.0894</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_0e10359e-ea19-4795-80ca-7b077deee8cc"
      unitRef="pure">0.0933</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="a4683ab6-5efd-4088-a56b-74298b779ab4"
      unitRef="pure">0.0542</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="ea666e29-03cf-40d4-8b49-6a18ce4d9e90"
      unitRef="pure">0.0808</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025508_AfterTaxesOnDistributionsAndSalesMember_01Jan2016_31Dec2025"
      decimals="4"
      id="de2f5090-182b-4c9c-8243-c47fe9d4475b"
      unitRef="pure">0.0856</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000025509"
      id="x_93753544-65aa-4461-96f4-f8a18baa928a">2005-08-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025509_01Jan2025_31Dec2025"
      decimals="4"
      id="x_46f7a084-a3ec-4d82-beab-b77e924aeac9"
      unitRef="pure">0.1170</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025509_01Jan2021_31Dec2025"
      decimals="4"
      id="x_3562dfcc-1a9f-4a2c-88fb-db37163cdce5"
      unitRef="pure">0.1096</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025509_01Jan2016_31Dec2025"
      decimals="4"
      id="x_93201944-b1c1-4ac5-a9ac-4ebad9e8d16d"
      unitRef="pure">0.1074</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000025507"
      id="cf0e4740-8444-43a7-9e92-0436de91dbf5">2005-08-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025507_01Jan2025_31Dec2025"
      decimals="4"
      id="x_46b2279c-3c88-4f8d-bd24-4227600fc97d"
      unitRef="pure">0.1398</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025507_01Jan2021_31Dec2025"
      decimals="4"
      id="f3c8512d-4bec-475e-a370-1f8dfeb85f1c"
      unitRef="pure">0.1216</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000025507_01Jan2016_31Dec2025"
      decimals="4"
      id="x_1a4c49aa-b944-48ed-b988-997c6a7d1328"
      unitRef="pure">0.1197</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000091963"
      id="ab1a0669-31f4-4072-a3ab-70ba477cdd9b">2010-08-31</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091963_01Jan2025_31Dec2025"
      decimals="4"
      id="ea7c8ceb-3e3f-4543-8857-1f26449408c9"
      unitRef="pure">0.1389</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091963_01Jan2021_31Dec2025"
      decimals="4"
      id="x_859cd777-f58f-4341-9225-40425b5d0689"
      unitRef="pure">0.1207</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000091963_01Jan2016_31Dec2025"
      decimals="4"
      id="x_0106ce30-626d-4d59-9ba3-662e7e2d1b41"
      unitRef="pure">0.1184</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="ClassACInstInvR6SharesMember_C000200306"
      id="e66e842d-c55d-4f94-a773-62fb5fa15186">2018-04-30</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200306_01Jan2025_31Dec2025"
      decimals="4"
      id="x_984c1b8c-c87b-45fe-ab3c-3bb834baa993"
      unitRef="pure">0.1394</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200306_01Jan2021_31Dec2025"
      decimals="4"
      id="x_6f2e055f-a4a3-4b76-a12e-e3751a6755cd"
      unitRef="pure">0.1216</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_C000200306_01Jan2016_31Dec2025"
      decimals="4"
      id="x_843cf989-593c-406d-982a-3852c7a016cb"
      unitRef="pure">0.1197</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_SP500IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="a2fd95d3-a26b-49b5-b194-3476d3ea0ba6"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_SP500IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="b120344d-e841-4c97-b464-243ba8e74ca4"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_SP500IndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_63578d3a-91aa-4847-bae7-7f92f9ee3b6b"
      unitRef="pure">0.1481</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_BloombergUSAggregateBondIndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7a0ccdb8-8b86-46bb-a703-362c28128aae"
      unitRef="pure">0.0730</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_BloombergUSAggregateBondIndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="f3b5d8c1-8153-4505-88ec-766be2fc62f6"
      unitRef="pure">-0.0036</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassACInstInvR6SharesMember_BloombergUSAggregateBondIndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="c157bd66-d85f-420a-92da-200152d6d0e1"
      unitRef="pure">0.0201</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_98213535-e565-4119-a613-ac04316dfa24">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares will vary.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="c0ab060b-07e7-4f55-bdcf-5a617c90248f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_900dbc7f-477a-4d18-a163-a61df603475c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Investor and Class R6 Shares will vary.&lt;/span&gt;</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="x_84d8ebf6-7dac-4f6e-a2e2-4b1e907c0fbc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassACInstInvR6SharesMember_S000009324"
      id="c55755e3-1281-44d7-b542-4fce9a3bcf80">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000018299"
      id="b75a4856-d907-4806-af0c-eaa80b209a69">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs International Equity Dividend and Premium Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000018299"
      id="ecba2301-8552-4f95-8334-dd3e0de296b4">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000018299"
      id="x_21af55d1-9c9a-47b1-98c8-568c421b6f9f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs International Equity Dividend and Premium Fund (the &#x201c;Fund&#x201d;) seeks to maximize total return with an emphasis on income.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000018299"
      id="x_9ecafe36-a00b-4a65-8631-3e59f9bc1c4b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018299"
      id="x_7da0b0a9-057b-4b6e-a26c-204ed7a8bb24">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000018299"
      id="x_0fa3e6d6-c45b-42c3-85ce-96fb4466f14f">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="4"
      id="x_92179846-907e-440b-9305-ca00eed4a64c"
      unitRef="pure">0.0081</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="4"
      id="c7886917-6ca1-41f7-9cba-6644c51d4e69"
      unitRef="pure">0.0036</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="4"
      id="x_5222355a-1381-45bd-b654-7026f4d6d280"
      unitRef="pure">0.0117</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="4"
      id="x_9f82b69a-0b32-40d3-9293-3c2366e596e0"
      unitRef="pure">-0.0029</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="4"
      id="ca04b677-f4f8-46f4-a80b-3cdbf256bd84"
      unitRef="pure">0.0088</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassPSharesMember_S000018299"
      id="x_6fecc31b-dd58-45a7-ac04-13e3f798f09e">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000018299"
      id="x_05f16a78-1e4b-4946-b91b-75f5157dfa4b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018299"
      id="x_14d441f7-29eb-4e75-af3e-fbaac1374652">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="INF"
      id="x_1e0cb33c-51da-4f2b-9774-ace999bc9ea0"
      unitRef="USD">90</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="INF"
      id="x_6f81e448-6720-4a07-a9f2-0bb33b60c822"
      unitRef="USD">343</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="INF"
      id="x_573bf615-6718-4dd3-a9f0-2ca3aaf0cb45"
      unitRef="USD">616</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="INF"
      id="x_7c6638cd-f47d-4eff-8297-0e250c4ba54f"
      unitRef="USD">1395</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000018299"
      id="e942da14-67fb-4fb0-9153-5451483d1093">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000018299"
      id="x_1f080ae0-08a6-466f-8a85-1d1095a98787">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;16&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000018299"
      decimals="4"
      id="x_3b96d3b1-cb7d-4215-a60f-24f7346e4035"
      unitRef="pure">0.16</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000018299"
      id="b85a3a2e-dfc6-4733-8de6-dcaf7d50e8c7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018299"
      id="x_1d020f31-c630-4d82-8298-5b83557b22df">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in dividend-paying equity investments in non-U.S. issuers. The Fund may allocate its assets among countries as determined by the Investment Adviser from time to time. The Fund intends to have investments that are economically tied to at least three countries, not including the United States, and the Fund may invest in the securities of issuers economically tied to emerging market countries. The Fund seeks broad representation of large-cap and mid-cap issuers across major countries and sectors of the international economy, with some exposure to small-cap issuers. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a variety of quantitative techniques, in combination with a qualitative overlay, when selecting investments. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary models, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its quantitative techniques, or use other quantitative techniques that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund seeks to generate additional cash flow and may reduce volatility by the sale of call options on the MSCI EAFE Index (Net, USD, Unhedged) (the &#x201c;MSCI EAFE Index&#x201d;) or other national or regional stock market indices (or related exchange-traded funds (&#x201c;ETFs&#x201d;)). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund expects that, under normal circumstances, it will sell call options in an amount that is between 20% and 75% of the value of the Fund&#x2019;s portfolio. As the seller of the call options, the Fund will receive cash (the &#x201c;premium&#x201d;) from the purchaser. If the purchaser exercises the option, the Fund pays the purchaser the difference between the price of the index and the exercise price of the option. The premium, the exercise price and the market price of the index determine the gain or loss realized by the Fund as the seller of the call option. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;During periods in which the international equity markets are generally unchanged or falling, or in a modestly rising market where the income from premiums exceeds the aggregate appreciation of the underlying index over its exercise price, a diversified portfolio receiving premiums from its call option writing strategy may outperform the same portfolio without such an options strategy. However, in rising markets where the aggregate appreciation of the underlying index over its exercise price exceeds the income from premiums, a portfolio with a call writing strategy could significantly underperform the same portfolio without the options. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a tax-advantaged style and seeks to balance investment and tax considerations, primarily by seeking to avoid or minimize any net short-term capital gains. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investments in fixed income securities are limited to cash equivalents. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the MSCI EAFE Index and the Bloomberg Global Aggregate Bond Index (Gross, USD, Unhedged) (the &#x201c;Bloomberg Global Aggregate Bond Index&#x201d;).&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_RiskLoseMoneyMember"
      id="x_69a29e56-eb5f-4f50-87e0-972498051b6a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_RiskNotInsuredDepositoryInstitutionMember"
      id="e85aa589-7ccf-4d9d-ace9-1b1e1ae6d9f8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_DividendPayingInvestmentsRiskMember"
      id="cbed284a-5bdc-40b1-b69a-da267b8170cd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Dividend-Paying Investments Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund&#x2019;s investments in dividend-paying securities could cause the Fund to underperform other funds. Securities that pay dividends, as a group, can fall out of favor with the market, causing such securities to underperform securities that do not pay dividends. Depending upon market conditions and political and legislative responses to such conditions, dividend-paying securities that meet the Fund&#x2019;s investment criteria may not be widely available and/or may be highly concentrated in only a few market sectors. In addition, issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. This may limit the ability of the Fund to produce current income.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_EuropeanInvestmentRiskMember"
      id="c8fecc56-8c0e-430b-8ce5-07019fb9ef3d">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;European Investment Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund is more exposed to the regulatory, economic and political risks of Europe and of the European countries in which it invests than funds whose investments are more geographically diversified. Adverse regulatory, economic and political events in Europe may cause the Fund&#x2019;s investments to decline in value. The economies and markets of European countries are often closely connected and interdependent, and events in one country in Europe can have an adverse impact on other European countries. The Fund makes investments in securities of issuers that are domiciled in, or have significant operations in, member countries of the European Union (&#x201c;EU&#x201d;) that are subject to economic and monetary controls that can adversely affect the Fund&#x2019;s investments. The European financial markets have experienced volatility and adverse trends in recent years and these events have adversely affected the exchange rate of the euro and may continue to significantly affect European countries. While the EU-UK Trade and Cooperation Agreement governs certain aspects of the EU&#x2019;s and UK&#x2019;s relationship following the UK&#x2019;s withdrawal from the EU (&#x201c;Brexit&#x201d;), the full effects of Brexit are unknown at this time and could negatively impact the value of the Fund&#x2019;s investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_ForeignRiskMember"
      id="c4d6031c-dd73-4e60-a060-eb038921ed21">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls&#160;(including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_InvestmentStyleRiskMember"
      id="ab2241a6-78d1-4f49-a6a3-cb0edd2875fc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;e.g&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_JapanRiskMember"
      id="c0b6f479-5715-4f9b-94fb-a3f424efb154">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Japan Risk.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; The Japanese economy is heavily dependent upon international trade and may be subject to considerable degrees of economic, political and social instability, which could negatively affect the Fund&#x2019;s investments. Japan has limited natural resources and relies on imports to meet its commodity needs, such as fossil fuels. Fluctuations or shortages in the commodity markets, trade tariffs, and competition from emerging economies could have a negative impact on the Japanese economy. In the past, Japan&#x2019;s economic growth has remained relatively low, and it may remain low in the future. The Japanese economic growth rate could be impacted by massive government debt, the Bank of Japan&#x2019;s monetary policies, interest rate fluctuations, tax increases, budget deficits, consumer confidence and low domestic consumption, currency volatility, certain corporate structural weaknesses, an unstable financial sector, government policy, an aging demographic, a declining population and/or geopolitical conflicts, including with neighboring countries. The performance of the global economy could have a major impact upon equity returns in Japan. Japan has also experienced natural disasters, such as earthquakes and tsunamis, of varying degrees of severity, which could negatively affect the Fund&#x2019;s investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_LargeShareholderTransactionsRiskMember"
      id="x_7244a7aa-7957-4738-81c0-a7c4bc85bb7f">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund&#x2019;s&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund&#x2019;s&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund&#x2019;s&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund&#x2019;s&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_ManagementRiskMember"
      id="x_2d0c4dc3-f806-4d1b-b1d0-5e8b316a7d14">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_MarketRiskMember"
      id="efadb119-f037-41cc-b9fc-acb37628d5d3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_OptionWritingRiskMember"
      id="b903fb32-9cd8-4ef7-bbd9-5d65f168eff1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Option Writing Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Writing (selling) call options limits the opportunity to profit from an increase in the market value of stocks in exchange for up-front cash (the premium) at the time of selling the call option. In a sharp rising market, the Fund could significantly underperform the market. Furthermore, premium received from the Fund&#x2019;s call option writing strategies may not fully protect it against market declines because the Fund will continue to bear the risk of a decline in the value of its portfolio securities. In a sharply-falling equity market, the Fund will likely also experience sharp declines in its NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_StockRiskMember"
      id="x_265cc3e9-a2b0-42da-aad7-ff0f7257f5aa">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018299_TaxManagedInvestmentRiskMember"
      id="x_6445b0cd-1f2c-4397-9882-d0889942e15d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax-Managed Investment Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Because the Investment Adviser balances investment considerations and tax considerations, the pretax performance of the Fund may be lower than the performance of similar funds that are not tax-managed. Even though tax-managed strategies are being used, they may not reduce the amount of taxable income and capital gains distributed by the Fund to shareholders. A high percentage of the Fund&#x2019;s NAV may consist of unrealized capital gains, which represent a potential future tax liability to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000018299"
      id="b4508cb1-dc65-4dca-bedd-fb1798d6c0cd">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018299"
      id="a816c53f-8747-48e0-9ee9-4644dd8ce757">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of broad-based securities market indices.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000018299"
      id="x_44aac6cd-d924-4bae-a11d-ee9d334b06bb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of broad-based securities market indices.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000018299"
      id="x_19636347-6846-42e9-a022-1b46c0cdd71b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassPSharesMember_S000018299"
      id="x_89ff44fc-35a4-4c91-b7bb-3505b63fa639">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000018299"
      id="x_8a5a6ea7-66e7-4387-8811-be46bbcbbbaf">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR (CLASS P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000018299"
      id="e4dfa46e-2429-4d84-988c-159cd68995c8">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;18.48%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;December 31, 2022&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-23.93%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000018299_C000201772"
      id="bc5ccb81-cd5f-4126-8948-c6b7d104b839">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="4"
      id="ce4daf6d-d1d6-4c2d-8c30-afeb63c5d514"
      unitRef="pure">0.1848</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000018299_C000201772"
      id="d2e56ea8-6644-4f28-88f1-74157aec955c">2022-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000018299_C000201772"
      id="ef83666d-d116-4408-932c-cb98d202d592">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000018299_C000201772"
      decimals="4"
      id="e9852146-293c-40d4-95ce-6a70256ae0cf"
      unitRef="pure">-0.2393</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000018299_C000201772"
      id="x_3c5a29a4-52c8-46dd-9771-22147385ba97">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000018299"
      id="e81b61b9-366d-4d61-b201-a26e5e84f31d">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201772"
      id="b5f0d467-3117-4899-a766-e8c704cc2aab">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_01Jan2025_31Dec2025"
      decimals="4"
      id="d96a1a6a-3ec6-4f3b-8984-a4c7a6a5b967"
      unitRef="pure">0.2961</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_01Jan2021_31Dec2025"
      decimals="4"
      id="b26e158b-4d08-4ee7-8a2c-a01d0c3e953d"
      unitRef="pure">0.0772</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_17Apr2018_31Dec2025"
      decimals="4"
      id="f2fd269c-9571-4efa-8fce-d767224232b8"
      unitRef="pure">0.0489</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_85d46223-dc14-4018-a719-c605967b8606"
      unitRef="pure">0.2889</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_9431fcc7-ed6b-41ca-9794-b7bb5da62f51"
      unitRef="pure">0.0711</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_0fe9449a-bf3c-4b5c-9021-c990e3db23a9"
      unitRef="pure">0.0449</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_6eb6b345-75a1-49a1-99ef-049d93439b6f"
      unitRef="pure">0.1843</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="cbf9e008-4b91-4613-a537-2e666a2a557b"
      unitRef="pure">0.0615</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201772_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_3c81d1bb-f560-4679-beb3-5a0b93fe1343"
      unitRef="pure">0.0406</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="fd47fd29-0792-4206-94b3-122c9e1373bd"
      unitRef="pure">0.3122</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_60a98db2-5861-4330-9629-11825d5e1f47"
      unitRef="pure">0.0892</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_0cf84f02-ba43-4e2c-b56c-0ee1d5b76694"
      unitRef="pure">0.0732</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_3cb8c9fd-eeda-4f60-bbda-8a90b6d3322f"
      unitRef="pure">0.0817</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_937f0a7f-afbb-4c02-8518-58ff0bbf7e79"
      unitRef="pure">-0.0214</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergGlobalAggregateBondIndexGrossUSDUnhedgedMember_17Apr2018_31Dec2025"
      decimals="4"
      id="f6302226-5a90-416a-99c9-252229518b32"
      unitRef="pure">0.0025</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018299"
      id="x_4c937eb6-30a5-4758-af6e-4d786beb86f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000018299"
      id="x_68851ac5-4a0d-4331-8c88-21422c7ab26e">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000018299"
      id="x_0d93ef97-926c-45cd-9947-26b477c582bd">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000018299"
      id="x_8c6335c2-a279-49e9-91cc-f0431fde7917">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000018298"
      id="x_6bec45cd-21ed-4a96-bb2e-b94d127c40c8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs International Tax-Managed Equity Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000018298"
      id="x_60c87428-6af4-4f9a-be62-1857a043e079">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000018298"
      id="dc44f2e4-dbfe-4b5b-934b-1fd57aea9fc5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs International Tax-Managed Equity Fund (the &#x201c;Fund&#x201d;) seeks to provide long-term after-tax growth of capital through tax-sensitive participation in a broadly diversified portfolio of international equity securities.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000018298"
      id="x_5620de34-9e45-4054-9917-306563250ead">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018298"
      id="x_4be5da63-db81-4fc7-8a88-6b904d79eb40">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000018298"
      id="x_0506feb6-9ef3-4496-a7d8-41eadf07178c">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="4"
      id="x_43c87d22-bf14-4eb2-953c-7fbfb90eeb62"
      unitRef="pure">0.0085</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="4"
      id="x_7c81a61a-f5d2-4791-bb12-4d4dab1c308b"
      unitRef="pure">0.0011</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="4"
      id="f567c545-66f4-4698-8be9-26a7de32963c"
      unitRef="pure">0.0096</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="4"
      id="x_05a8ea5d-e66b-4279-8364-1296f94858f7"
      unitRef="pure">-0.0007</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="4"
      id="x_7e65b057-07a9-408f-ad7f-5e38a6cb3ed2"
      unitRef="pure">0.0089</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassPSharesMember_S000018298"
      id="x_22c03605-1c93-4c0e-8cfe-92a17bd13acb">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000018298"
      id="x_1508770d-93c2-4f23-8408-c76c0a210126">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018298"
      id="x_6516e627-a564-4f82-9ef1-3b1f15eb61ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="INF"
      id="x_7c1a256b-e222-4cd0-a2ad-3d161846eb96"
      unitRef="USD">91</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="INF"
      id="x_479c5081-4270-42f5-aa32-7174c10d4b4d"
      unitRef="USD">299</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="INF"
      id="x_6a177db5-c83d-4d21-a5a2-ebe3ceb87cf7"
      unitRef="USD">524</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="INF"
      id="x_1bd18409-9d29-4571-966f-2391b0a384a6"
      unitRef="USD">1172</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000018298"
      id="ef6e33cf-156c-4977-8da5-f1b87a9d28b3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000018298"
      id="x_576e7031-8c92-4f21-a222-f087a755a999">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;175&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000018298"
      decimals="4"
      id="x_5411642e-5cac-48ab-9c84-ceb3b34d5127"
      unitRef="pure">1.75</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000018298"
      id="x_67df62f0-72d7-4edc-b92d-1997f8e95590">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018298"
      id="x_3f8d9a77-bf4d-4075-9760-644aa4079db0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in equity investments in non-U.S. issuers. The Fund seeks broad representation of large-cap and mid-cap issuers across major countries and sectors of the international economy, with some exposure to small-cap issuers. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a variety of quantitative techniques, in combination with a qualitative overlay, when selecting investments that have the potential to maximize the Fund&#x2019;s after-tax return and minimize capital gains and income distributions. These quantitative techniques, which are derived from fundamental research and based on certain investment themes, including, among others, Fundamental Mispricings, High Quality Business Models, Sentiment Analysis and Market Themes &amp;amp; Trends. Fundamental Mispricings seeks to identify high-quality businesses trading at a fair price, which the Investment Adviser believes leads to strong performance over the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;long-run. High Quality Business Models seeks to identify companies that are generating high-quality revenues with sustainable business models and aligned management incentives. Sentiment Analysis seeks to identify stocks experiencing improvements in their overall market sentiment. Market Themes and Trends seeks to identify companies positively positioned to benefit from themes and trends in the market and macroeconomic environment. As a part of the Investment Adviser&#x2019;s investment selection process, the Investment Adviser utilizes proprietary models that assess a wide range of indicators, which may include certain environmental, social and governance (&#x201c;ESG&#x201d;) indicators. No one indicator, risk or consideration is determinative in the investment selection process. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary models, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its quantitative techniques, or use other quantitative techniques that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund may allocate its assets among countries as determined by the Investment Adviser from time to time, provided the Fund&#x2019;s assets are invested in at least three foreign countries. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;In managing the Fund, the Investment Adviser balances investment considerations and tax considerations. The Fund seeks to achieve returns primarily in the form of price appreciation (which is not subject to current tax), and may use different strategies in seeking tax-efficiency. These strategies include: &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Offsetting long-term and short-term capital gains with long-term and short-term capital losses and creating loss carry-forward positions &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Managing portfolio turnover that may result in capital gains and losses &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Selling tax lots of securities that have a higher tax basis before selling tax lots of securities that have a lower tax basis. The Fund&#x2019;s investments in fixed income securities are limited to cash equivalents. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the MSCI EAFE Index&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;(Net,&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;USD,&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;Unhedged).&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_RiskLoseMoneyMember"
      id="x_8d0c0c5f-fc5a-44cf-a4c3-0ea2717ce7e3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_RiskNotInsuredDepositoryInstitutionMember"
      id="c45abf58-e887-40ae-bd3b-b9645dc84db0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_EuropeanInvestmentRiskMember"
      id="x_24a893ab-7ad5-4aaa-ab62-24df8ec4ff56">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;European Investment Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund is more exposed to the regulatory, economic and political risks of Europe and of the European countries in which it invests than funds whose investments are more geographically diversified. Adverse regulatory, economic and political events in Europe may cause the Fund&#x2019;s investments to decline in value. The economies and markets of European countries are often closely connected and interdependent, and events in one country in Europe can have an adverse impact on other European countries. The Fund makes investments in securities of issuers that are domiciled in, or have significant operations in, member countries of the European Union (&#x201c;EU&#x201d;) that are subject to economic and monetary controls that can adversely affect the Fund&#x2019;s investments. The European financial markets have experienced volatility and adverse trends in recent years and these events have adversely affected the exchange rate of the euro and may continue to significantly affect European countries. While the EU-UK Trade and Cooperation Agreement governs certain aspects of the EU&#x2019;s and UK&#x2019;s relationship following the UK&#x2019;s withdrawal from the EU (&#x201c;Brexit&#x201d;), the full effects of Brexit are unknown at this time and could negatively impact the value of the Fund&#x2019;s investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_ForeignRiskMember"
      id="x_61490525-5ea6-433d-8d07-fb55ad08bb9a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Foreign Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, exchange controls&#160;(including repatriation restrictions), confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. The type and severity of sanctions and other similar measures, including counter sanctions and other retaliatory actions, that may be imposed could vary broadly in scope, and their impact is impossible to predict. For example, the imposition of sanctions and other similar measures could, among other things, cause a decline in the value and/or liquidity of securities issued by the sanctioned country or companies located in or economically tied to the sanctioned country and increase market volatility and disruption in the sanctioned country and throughout the world. Sanctions and other similar measures could limit or prevent the Fund from buying and selling securities (in the sanctioned country and other markets), significantly delay or prevent the settlement of securities transactions, and significantly impact the Fund&#x2019;s liquidity and performance. Foreign risk also involves the risk of negative foreign currency rate fluctuations, which may cause the value of securities denominated in such foreign currency (or other instruments through which the Fund has exposure to foreign currencies) to decline in value. Currency exchange rates may fluctuate significantly over short periods of time.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_InvestmentStyleRiskMember"
      id="x_7a6c2ed5-0ada-4997-aa69-59ebdfc5ff6b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;e.g&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_JapanRiskMember"
      id="x_7459958a-75a1-477b-924f-846dbd826481">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Japan Risk.&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt; The Japanese economy is heavily dependent upon international trade and may be subject to considerable degrees of economic, political and social instability, which could negatively affect the Fund&#x2019;s investments. Japan has limited natural resources and relies on imports to meet its commodity needs, such as fossil fuels. Fluctuations or shortages in the commodity markets, trade tariffs, and competition from emerging economies could have a negative impact on the Japanese economy. In the past, Japan&#x2019;s economic &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;growth has remained relatively low, and it may remain low in the future. The Japanese economic growth rate could be impacted by massive government debt, the Bank of Japan&#x2019;s monetary policies, interest rate fluctuations, tax increases, budget deficits, consumer confidence and low domestic consumption, currency volatility, certain corporate structural weaknesses, an unstable financial sector, government policy, an aging demographic, a declining population and/or geopolitical conflicts, including with neighboring countries. The performance of the global economy could have a major impact upon equity returns in Japan. Japan has also experienced natural disasters, such as earthquakes and tsunamis, of varying degrees of severity, which could negatively affect the Fund&#x2019;s investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_LargeShareholderTransactionsRiskMember"
      id="x_341962ad-7dfb-460d-b84a-8e20f0e83d64">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund&#x2019;s&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund&#x2019;s&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund&#x2019;s&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund&#x2019;s&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_ManagementRiskMember"
      id="x_9afe937e-d1cb-4b85-b287-4306ba10e137">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_MarketRiskMember"
      id="x_1c2a5c61-ccda-4c27-afa1-f21efbf057e0">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_PortfolioTurnoverRateRiskMember"
      id="x_1f920c3f-ca4f-487b-bf57-3b971a98b264">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_StockRiskMember"
      id="x_715602b0-b371-43fc-958c-af2d68b8d3d3">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000018298_TaxManagedInvestmentRiskMember"
      id="b8f80057-9c67-4076-ab6d-531d77c467ef">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax-Managed Investment Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Because the Investment Adviser balances investment considerations and tax considerations, the pretax performance of the Fund may be lower than the performance of similar funds that are not tax-managed. Even though tax-managed strategies are being used, they may not reduce the amount of taxable income and capital gains distributed by the Fund to shareholders. A high percentage of the Fund&#x2019;s NAV may consist of unrealized capital gains, which represent a potential future tax liability to shareholders. The Fund is not suitable for investment by individual retirement accounts, other tax-exempt or tax-deferred accounts or for other investors who are not sensitive to the federal income tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000018298"
      id="ec34628e-110d-438a-ab0f-3d7a33e5f8d7">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018298"
      id="x_44cd3570-67f2-4933-839d-caa6d4fd2779">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a broad-based securities market index. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. &lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000018298"
      id="x_3dc665ea-4b96-43f6-ac4c-e3ad4152e43b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a broad-based securities market index. &lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000018298"
      id="cc3972a4-e924-4536-b7c2-d1692d4641c5">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassPSharesMember_S000018298"
      id="x_46b4e088-46d7-486f-b171-19518c67019d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000018298"
      id="x_76666770-44c3-4bfa-afeb-ad7da9939f29">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:113pt;"&gt;CALENDAR YEAR (CLASS P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000018298"
      id="x_2631f3bf-d58e-4f66-80eb-744b2b1f703f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;17.54%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2020&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-22.82%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000018298_C000201771"
      id="c9f3c511-2d72-4ed7-8a9c-3aa1d92a6f29">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="4"
      id="x_678711d6-e440-4c76-b279-f6374073cf4b"
      unitRef="pure">0.1754</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000018298_C000201771"
      id="f7d4e971-017b-4fe2-bf69-545e3fc28a46">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000018298_C000201771"
      id="x_8e7111d8-80c9-48bc-847a-8f8cb53b774d">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000018298_C000201771"
      decimals="4"
      id="x_5e9ed3b3-c440-4c94-8bef-5b887d547623"
      unitRef="pure">-0.2282</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000018298_C000201771"
      id="aca29767-8c64-4bc4-95ba-0a9cbb7cf0e8">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000018298"
      id="a0a9f49b-7bc9-4a58-ac40-5e4cfdd63528">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201771"
      id="bfd0d048-10bd-4a8c-b2b1-a96ebed51e18">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_01Jan2025_31Dec2025"
      decimals="4"
      id="x_33cb11fb-a105-4bb4-9230-f977cc38f6d0"
      unitRef="pure">0.3942</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_01Jan2021_31Dec2025"
      decimals="4"
      id="x_038ca891-723b-4e00-9c69-57aae2435f0e"
      unitRef="pure">0.1124</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_17Apr2018_31Dec2025"
      decimals="4"
      id="x_482a97a2-9b33-486f-b096-b5385dd09278"
      unitRef="pure">0.0814</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_394132cd-5715-4d86-b28e-e3d94046ff27"
      unitRef="pure">0.3893</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="eb531cfe-a6fe-4498-9b88-d3866c4b60af"
      unitRef="pure">0.1075</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_18facadd-e557-4a9d-a365-796a82e27322"
      unitRef="pure">0.0772</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7b50373f-eda8-490a-8304-c4c7a320a65d"
      unitRef="pure">0.2407</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="c989f2e6-eaee-48f3-ac62-6666e33db690"
      unitRef="pure">0.0899</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201771_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025"
      decimals="4"
      id="a9a189dc-164b-4dde-a3c2-017aacabdee7"
      unitRef="pure">0.0657</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_79401e37-b41f-4ef3-a748-110a526b4776"
      unitRef="pure">0.3122</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_01Jan2021_31Dec2025"
      decimals="4"
      id="dabbaaea-b363-42f2-bce3-5a89e05a621b"
      unitRef="pure">0.0892</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_MSCIEAFEIndexNetUSDUnhedgedMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_68b254c0-55bd-4c03-9d0a-707d5a20bf23"
      unitRef="pure">0.0732</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000018298"
      id="x_034f5dd5-d13b-42d2-990a-6bf0b9b44bbb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000018298"
      id="x_0da2b6f5-cfd6-4dd0-8ada-0883077ddcce">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000018298"
      id="x_95bfcc2e-87a7-44b4-8ec1-e56bc259a3f7">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000018298"
      id="x_4302f3d2-4261-4514-b64a-36275534b9fb">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000009340"
      id="x_6b371ef8-391c-4812-8eb4-1df2da7ac4cf">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs U.S. Tax-Managed Equity Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000009340"
      id="ec4fa38a-64c6-4125-9944-496f96c77b84">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000009340"
      id="a6904244-8fd1-473e-9b9e-2b72d92ef64d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs U.S. Tax-Managed Equity Fund (the &#x201c;Fund&#x201d;) seeks to provide long-term after-tax growth of capital through tax-sensitive participation in a broadly diversified portfolio of U.S. equity securities.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000009340"
      id="d6c030e2-c66e-46d8-b220-f957ce37c6df">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009340"
      id="x_7877417e-d2e2-4b3f-924a-c5ce181caa28">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000009340"
      id="x_8675cfe8-b550-4904-8808-91acd84c2d45">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="4"
      id="x_5879b123-bd08-483f-9424-2ba61152bb0c"
      unitRef="pure">0.0063</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="4"
      id="x_963b041e-57f2-49cf-bc2f-4ebe2cfccad1"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="4"
      id="dc226bae-6790-49ea-859b-294cf44924d6"
      unitRef="pure">0.0068</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000009340"
      id="x_1addd334-e502-4eec-b4f6-3018c3a086ff">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009340"
      id="d6099a33-e59c-4f4c-9bb0-a55ded044357">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="INF"
      id="fef8bf03-c63c-4bb7-babb-4f2928f29fc6"
      unitRef="USD">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="INF"
      id="b87d095f-e7ec-47fa-b7d1-c3ef9ca0b3f8"
      unitRef="USD">218</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="INF"
      id="b4988a00-d157-4209-a3a4-0afd078ca3f1"
      unitRef="USD">379</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="INF"
      id="x_8a72046b-90e7-428b-8e5e-178e4b9572ba"
      unitRef="USD">847</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000009340"
      id="ad4162c2-5540-4c1b-8cf4-4d58369e0f2e">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000009340"
      id="x_8a67301c-647c-42c8-983c-4a1e3c14f086">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;188&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000009340"
      decimals="4"
      id="x_4f009c14-37b8-4abc-afe1-1cf853290c5a"
      unitRef="pure">1.88</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000009340"
      id="x_65ae8d98-84b4-4f14-858b-fde6eaa04239">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009340"
      id="x_83e179b7-d8dc-47c2-a06d-a5cdadea7cc4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in equity investments in U.S. issuers. The Fund seeks broad representation of large-cap, mid-cap and small-cap equity investments representing all major sectors of the U.S. economy. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a variety of quantitative techniques, in combination with a qualitative overlay, when selecting investments that have the potential to maximize the Fund&#x2019;s after-tax return and minimize capital gains and income distributions. These quantitative techniques, which are derived from fundamental research and based on certain investment themes, including, among others, Fundamental Mispricings, High Quality Business Models, Sentiment Analysis and Market Themes &amp;amp; Trends. Fundamental Mispricings seeks to identify high-quality businesses trading at a fair price, which the Investment Adviser believes leads to strong performance over the long-run. High Quality Business Models seeks to identify companies that are generating high-quality revenues with sustainable business models and aligned management incentives. Sentiment Analysis seeks to identify stocks experiencing improvements in their overall market sentiment. Market Themes and Trends seeks to identify companies positively positioned to benefit from themes and trends in the market and macroeconomic environment. As a part of the Investment Adviser&#x2019;s investment selection process, the Investment Adviser utilizes proprietary models that assess a wide range of indicators, which may include certain environmental, social and governance (&#x201c;ESG&#x201d;) indicators. No one indicator, risk or consideration is determinative in the investment selection process. The &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary models, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its quantitative techniques, or use other quantitative techniques that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;In managing the Fund, the Investment Adviser balances investment considerations and tax considerations. The Fund seeks to achieve returns primarily in the form of price appreciation (which is not subject to current tax), and may use different strategies in seeking tax efficiency. These strategies include: &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Offsetting long-term and short-term capital gains with long-term and short-term capital losses and creating loss carry-forward positions &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Managing portfolio turnover that may result in capital gains and losses &lt;/span&gt;&lt;span style="color:#38B8FF;font-family:Times New Roman;font-size:9pt;"&gt;&#x25fc;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Selling tax lots of securities that have a higher tax basis before selling tax lots of securities that have a lower tax basis &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investments in fixed income securities are limited to cash equivalents. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the Russell 3000&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Index.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_RiskLoseMoneyMember"
      id="ff473117-febb-4266-8483-2217e9926fa4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_RiskNotInsuredDepositoryInstitutionMember"
      id="x_61ba4c17-5d05-4281-8c85-868d4de0cfc1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_InvestmentStyleRiskMember"
      id="x_63c85bbf-9799-4f62-9f71-79aafbe9af19">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;e.g&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_LargeShareholderTransactionsRiskMember"
      id="x_39e07d24-02fa-4ab5-a2d5-0b1779c36811">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund&#x2019;s&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund&#x2019;s&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund&#x2019;s&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund&#x2019;s&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_ManagementRiskMember"
      id="x_9c273196-a20f-4aeb-807a-0920d8195cac">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_MarketRiskMember"
      id="f8074514-b2a7-4821-86a2-bab1b291364a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_PortfolioTurnoverRateRiskMember"
      id="c15faa4d-c3d5-40c3-9114-35508e8f1aee">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Portfolio Turnover Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A high rate of portfolio turnover (100% or more) involves correspondingly greater expenses which must be borne by the Fund and its shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_StockRiskMember"
      id="x_2ac3e457-afef-4322-b313-007d2f7e6399">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009340_TaxManagedInvestmentRiskMember"
      id="d51d0e30-4f89-4767-a8e3-e275f7bfa8d6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax-Managed Investment Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Because the Investment Adviser balances investment considerations and tax considerations, the pretax performance of the Fund may be lower than the performance of similar funds that are not tax-managed. Even though tax-managed strategies are being used, they may not reduce the amount of taxable income and capital gains distributed by the Fund to shareholders. A high percentage of the Fund&#x2019;s NAV may consist of unrealized capital gains, which represent a potential future tax liability to shareholders. The Fund is not suitable for investment by individual retirement accounts, other tax-exempt or tax-deferred accounts or for other investors who are not sensitive to the federal income tax consequences of their investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000009340"
      id="x_4b1ecb95-bfb7-43e1-88a1-646fe0de065c">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009340"
      id="x_3cb78865-b599-41b4-a9a1-07b47d1c3759">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a broad-based securities market index. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000009340"
      id="x_67d3330e-501d-48d8-a6ef-fe37a361246d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of a broad-based securities market index. &lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000009340"
      id="x_4bfa253a-e956-4140-a593-b2828f1a3be8">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassPSharesMember_S000009340"
      id="f38d2b2f-0a46-4837-8f7c-63247bfaeff4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000009340"
      id="x_1f2f3eba-001e-4a8c-8959-717f12ab47bb">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR (CLASS P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000009340"
      id="f1257400-380c-42b4-9644-880e48bccc3b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;23.81%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2020&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-21.63%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000009340_C000201767"
      id="x_7cc30825-9852-416d-84ad-de0a82885a24">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="4"
      id="x_22f547ca-595e-4a5a-b16b-1b55b5215e48"
      unitRef="pure">0.2381</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000009340_C000201767"
      id="x_14ef06cf-1d93-4445-b55f-49fcd1bdba51">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000009340_C000201767"
      id="af97b38d-0961-400e-b307-dc4764e02364">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000009340_C000201767"
      decimals="4"
      id="ef483394-7d01-4401-a507-709f6cf0afe1"
      unitRef="pure">-0.2163</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000009340_C000201767"
      id="x_20202a10-ca82-4779-a3d6-09999f4b2017">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000009340"
      id="x_12094909-8f13-402e-be33-282965889eaa">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201767"
      id="x_0894dd98-c335-4938-ba49-69efbce2da1a">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_01Jan2025_31Dec2025"
      decimals="4"
      id="x_5dd69ee1-a260-42c7-88bf-e9668de1c395"
      unitRef="pure">0.1539</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_01Jan2021_31Dec2025"
      decimals="4"
      id="x_72daea40-6e03-4edb-917c-b0b4cde91f5e"
      unitRef="pure">0.1315</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_17Apr2018_31Dec2025"
      decimals="4"
      id="x_9a390fd7-9712-4629-816b-20555b7316b0"
      unitRef="pure">0.1234</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_25b222f4-0e61-4206-925f-2310e8799e14"
      unitRef="pure">0.1525</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_290158c2-b439-4c9a-8d1f-36596ca2ca91"
      unitRef="pure">0.1293</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025"
      decimals="4"
      id="d15a45f9-3ed1-46f5-a493-8c5d8be0d59d"
      unitRef="pure">0.1213</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_78d96504-d5f9-4632-a1f2-dadfa8a93b13"
      unitRef="pure">0.0921</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_81d2103c-a7a8-485d-8427-3c4d77a02782"
      unitRef="pure">0.1051</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201767_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025"
      decimals="4"
      id="f61a3ce0-87b3-474d-844a-732e05a4e592"
      unitRef="pure">0.1009</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_Russell3000IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_93f7278b-145c-4629-ab18-dfa3d6ebc998"
      unitRef="pure">0.1715</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_Russell3000IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_96e44082-1cbb-40f9-a363-dd7b36ce0818"
      unitRef="pure">0.1314</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_Russell3000IndexMember_17Apr2018_31Dec2025"
      decimals="4"
      id="c19a4e61-64d1-4346-badd-b6170f01449f"
      unitRef="pure">0.1391</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009340"
      id="c204299e-d7aa-4e3e-8bae-03bfa8aea7ff">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000009340"
      id="x_71ec154a-a732-427f-8fc8-a1dec29d260d">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000009340"
      id="x_67542045-6057-4e88-8fde-f294e7bba791">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000009340"
      id="x_0f9d08ef-2280-4fc6-8946-0672180a899f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:RiskReturnHeading
      contextRef="ClassPSharesMember_S000009324"
      id="e9146154-a500-42a9-83f0-70da76690017">&lt;span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;"&gt;Goldman Sachs U.S. Equity Dividend and Premium Fund&#x2014;Summary&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="ClassPSharesMember_S000009324"
      id="x_8a365814-7e56-4867-85ad-a8a0b5d8c359">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Investment Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="ClassPSharesMember_S000009324"
      id="x_6bd74450-3392-44ef-8d0b-0f17a040994c">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Goldman Sachs U.S. Equity Dividend and Premium Fund (the &#x201c;Fund&#x201d;) seeks to maximize income and total return.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="ClassPSharesMember_S000009324"
      id="a1cd509c-5dd9-4e11-9746-da3ca27dfd6a">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009324"
      id="c6bbb717-09b7-4763-9679-e33a1a6e2617">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&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;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="ClassPSharesMember_S000009324"
      id="x_9aa9ffdd-91f2-470e-ac48-e4de15cee521">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;"&gt;Annual Fund Operating Expenses &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="4"
      id="bfeb3511-19fa-4a23-8ced-7ca4d99549b6"
      unitRef="pure">0.0069</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="4"
      id="aeca78a7-fcee-4881-bc89-6941e4212459"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="4"
      id="x_1fc4c3eb-5878-41f8-a301-3e3fcd39ec37"
      unitRef="pure">0.0074</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="4"
      id="c52bc6fe-d8e3-47c5-b062-ede2e6a9074f"
      unitRef="pure">-0.0007</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="4"
      id="x_4f0c2975-9465-4f34-ad9d-08e639c3db37"
      unitRef="pure">0.0067</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="ClassPSharesMember_S000009324"
      id="x_30864853-fced-46f3-8424-f0aa3fde9d63">&lt;span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;April 30, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="ClassPSharesMember_S000009324"
      id="x_411f7d04-a83d-45e1-b878-d185298d4e2b">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Expense Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009324"
      id="x_5b902888-5c8c-4232-9924-618bfcf63b6f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Example assumes that you invest $10,000 in Class P Shares of the Fund for the time periods indicated and then redeem all of your Class P Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same &#160;(except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for&#160;only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="INF"
      id="e476d829-1c20-46d2-a5b9-8baac4ed882f"
      unitRef="USD">68</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="INF"
      id="x_4cb3c5ed-0fc6-40bb-b17e-337c7200d591"
      unitRef="USD">230</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="INF"
      id="da033858-1cd6-48d5-9a49-e24edbc5f758"
      unitRef="USD">405</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="INF"
      id="x_45aaeedf-611a-4312-a6c3-f7b3ac652db5"
      unitRef="USD">912</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="ClassPSharesMember_S000009324"
      id="x_8b27e715-fb6f-4d1a-af75-c4c69a32abc3">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Portfolio Turnover&lt;/span&gt;</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="ClassPSharesMember_S000009324"
      id="x_284cbc45-cf04-4f66-9746-900e29266302">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund pays transaction costs when it buys and sells securities or instruments (&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;i.e&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;turns over&#x201d; its portfolio). A high rate of portfolio turnover may result in increased transaction costs, including brokerage commissions, which must be borne by the Fund and its shareholders, and is also likely&#160;to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund&#x2019;s performance. The Fund&#x2019;s portfolio turnover rate for the fiscal year ended December 31, 2025 was &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;29&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;% of the average value of its portfolio.&lt;/span&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="ClassPSharesMember_S000009324"
      decimals="4"
      id="x_2a58f493-72a5-42f7-aad9-6c571f17aee0"
      unitRef="pure">0.29</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="ClassPSharesMember_S000009324"
      id="f516494a-9c91-43f6-bfec-e9cca6db36cd">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Principal Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009324"
      id="x_8b814409-8ab2-489a-a466-26da43815023">&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in dividend-paying equity investments in large-cap U.S. issuers. Large-cap issuers are companies with relatively large market capitalizations. As of March 17, 2026, large-cap issuers generally have public stock market capitalizations between $2.8 billion and $4.4 trillion (or above $2.8 billion); however, this capitalization threshold will change over time and with market conditions. The Fund may also invest in securities below the then-existing large-cap issuer capitalization threshold. The Fund invests primarily in a diversified portfolio of common stocks of large-cap U.S. issuers. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a variety of quantitative techniques, in combination with a qualitative overlay, when selecting investments. The Fund may make investment decisions that deviate from those generated by the Investment Adviser&#x2019;s proprietary models, at the discretion of the Investment Adviser. In addition, the Investment Adviser may, in its discretion, make changes to its quantitative techniques, or use other quantitative techniques that are based on the Investment Adviser&#x2019;s proprietary research. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund seeks to generate additional cash flow and may reduce volatility by the sale of call options on the S&amp;amp;P 500&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Index or other national or regional stock market indices (or related exchange-traded funds (&#x201c;ETFs&#x201d;)). &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund expects that, under normal circumstances, it will sell call options in an amount that is between 20% and 75% of the value of the Fund&#x2019;s portfolio. As the seller of the call options, the Fund will receive cash (the &#x201c;premium&#x201d;) from the purchaser. If the purchaser exercises the option, the Fund pays the purchaser the difference between the price of the index and the exercise price of the option. The premium, the exercise price and the market price of the index determine the gain or loss realized by the Fund as the seller of the call option. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;During periods in which the U.S. equity markets are generally unchanged or falling, or in a modestly rising market where the income from premiums exceeds the aggregate appreciation of the underlying index over its exercise price, a diversified portfolio receiving premiums from its call option writing strategy may outperform the same portfolio without such an options strategy. However, in rising markets where the aggregate appreciation of the underlying index over its exercise price exceeds the income from premiums, a portfolio with a call writing strategy could significantly underperform the same portfolio without the options. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund uses a tax-advantaged style and seeks to balance investment and tax considerations, primarily by seeking to avoid or minimize any net short-term capital gains. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s investments in fixed income securities are limited to cash equivalents. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Investment Adviser measures the Fund&#x2019;s performance against the S&amp;amp;P 500&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:5.5pt;position:relative;top:-3.75pt;"&gt;&#xae;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Index and the Bloomberg U.S. Aggregate Bond Index.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_RiskLoseMoneyMember"
      id="e9d30390-903f-4dfc-9a48-2175cb92b158">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;Loss of money is a risk of investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_RiskNotInsuredDepositoryInstitutionMember"
      id="a439d81b-ff74-47cc-9d17-bfc8bcd26154">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;An investment in the Fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation (&#x201c;FDIC&#x201d;) or any government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_DividendPayingInvestmentsRiskMember"
      id="ac7def3e-79cf-4e0a-b69b-a3c5874b3a8f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Dividend-Paying Investments Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; The Fund&#x2019;s investments in dividend-paying securities could cause the Fund to underperform other funds. Securities that pay dividends, as a group, can fall out of favor with the market, causing such securities to underperform securities that do not pay dividends. Depending upon market conditions and political and legislative responses to such conditions, dividend-paying securities that meet the Fund&#x2019;s investment criteria may not be widely available and/or may be highly concentrated in only a few market sectors. In addition, issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. This may limit the ability of the Fund to produce current income.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_InvestmentStyleRiskMember"
      id="fbf9f6f7-4b4a-4672-87b0-ccbf682a58e1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Investment Style Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Different investment styles (&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;"&gt;e.g&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;., &#x201c;growth&#x201d;, &#x201c;value&#x201d; or &#x201c;quantitative&#x201d;) tend to shift in and out of favor depending upon market and economic conditions and investor sentiment. The Fund may outperform or underperform other funds that invest in similar asset classes but employ different investment styles.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_LargeShareholderTransactionsRiskMember"
      id="x_68456a09-fe95-4f3f-b333-ec0be0f95cdf">&lt;span style="font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Large Shareholder Transactions Risk. &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:9pt;"&gt;The Fund may experience adverse effects when certain large shareholders purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the &#160;Fund&#x2019;s&#160; net asset value (&#x201c;NAV&#x201d;) and liquidity. Similarly, large Fund share purchases may adversely affect the &#160;Fund&#x2019;s&#160; performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the &#160;Fund&#x2019;s&#160; current expenses being allocated over a smaller asset base, leading to an increase in the &#160;Fund&#x2019;s&#160; expense ratio.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_ManagementRiskMember"
      id="x_26520c41-27da-4a9b-a02a-97ff057450bc">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Management Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;"&gt;.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; A strategy used by the Investment Adviser may fail to produce the intended results. The Investment Adviser attempts to execute a complex strategy for the Fund using proprietary quantitative models. Investments selected using these models may perform differently than expected as a result of the factors used in the models, the weight placed on each factor, changes from the factors&#x2019; historical trends, and technical and other issues in the construction, implementation and maintenance of the models (including, for example, data problems, unauthorized changes and/or software issues). There is no guarantee that the Investment Adviser&#x2019;s use of these quantitative models will result in effective investment decisions for the Fund. Additionally, commonality of holdings across quantitative money managers may amplify losses.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_MarketRiskMember"
      id="x_9c79e245-454a-4b2f-9813-d4f3b091ae6f">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Market Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-weight:bold;line-height:11pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The value of the securities in which the Fund&#160; invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_OptionWritingRiskMember"
      id="a75ab293-9211-491a-b4af-b42f3fe6c2d6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Option Writing Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Writing (selling) call options limits the opportunity to profit from an increase in the market value of stocks in exchange for up-front cash (the premium) at the time of selling the call option. In a sharp rising market, the Fund could significantly underperform the market. Furthermore, premium received from the Fund&#x2019;s call option writing strategies may not fully protect it against market declines because the Fund will continue to bear the risk of a decline in the value of its portfolio securities. In a sharply-falling equity market, the Fund will likely also experience sharp declines in its NAV.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_StockRiskMember"
      id="x_0e708326-0af0-47e5-a6c8-c4d8a41a71d6">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Stock Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Stock prices have historically risen and fallen in periodic cycles. U.S.&#160;and foreign stock markets have experienced periods of substantial price volatility in the past and may do so again in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="ClassPSharesMember_S000009324_TaxManagedInvestmentRiskMember"
      id="d3146c7c-ed72-4d7b-9d98-344713c0b3e4">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;font-style:italic;font-weight:bold;"&gt;Tax-Managed Investment Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;line-height:11pt;"&gt;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Because the Investment Adviser balances investment considerations and tax considerations, the pretax performance of the Fund may be lower than the performance of similar funds that are not tax-managed. Even though tax-managed strategies are being used, they may not reduce the amount of taxable income and capital gains distributed by the Fund to shareholders. A high percentage of the Fund&#x2019;s NAV may consist of unrealized capital gains, which represent a potential future tax liability to shareholders.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="ClassPSharesMember_S000009324"
      id="x_7daca965-e8c7-496b-bfe9-20cd71df8922">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;"&gt;Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009324"
      id="f584cbaf-e693-474f-ac76-df497b6d39db">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of broad-based securities market indices.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; Updated performance information is available at no cost at &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt; or by calling the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;appropriate phone number on the back cover of the Prospectus. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="ClassPSharesMember_S000009324"
      id="x_77754213-985b-45e6-a008-3106ec77db46">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund&#x2019;s Class P Shares from year to year; and (b) how the average annual total returns of the Fund&#x2019;s Class P Shares compare to those of broad-based securities market indices.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="ClassPSharesMember_S000009324"
      id="x_61422391-0099-427b-98a4-7f719894497a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;The Fund&#x2019;s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="ClassPSharesMember_S000009324"
      id="x_0ffea6bc-fb4e-498a-bbb0-5890d5025eec">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;am.gs.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="ClassPSharesMember_S000009324"
      id="x_8271fff3-418d-46bd-8dc7-c605c82a579a">&lt;span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;"&gt;CALENDAR YEAR (CLASS P)&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="ClassPSharesMember_S000009324"
      id="x_04b500a7-5aa7-4e39-ac10-610188cc2e57">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;During the periods shown in the chart above:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Returns&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;Quarter ended&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:2.37pt;"&gt;19.11%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;June 30, 2020&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;-19.42%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;March 31, 2020&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000009324_C000201766"
      id="x_4c8fc87b-b0bd-4151-b16f-21bd78145b3b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Best Quarter Return&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="4"
      id="x_6bf5ef0d-a45a-4f52-ac6b-154cfc72db1d"
      unitRef="pure">0.1911</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000009324_C000201766"
      id="c2ddbc0d-e5a7-4b80-a0ee-60990bc5d444">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="ClassPSharesMember_S000009324_C000201766"
      id="x_8a43010b-1a30-46f1-b668-4f3bc5719452">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;"&gt;Worst Quarter Return&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="ClassPSharesMember_S000009324_C000201766"
      decimals="4"
      id="x_05cc3473-4a7b-45e1-a589-ab2acc42261d"
      unitRef="pure">-0.1942</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="ClassPSharesMember_S000009324_C000201766"
      id="x_329c67f6-53d9-44cd-a24d-f6e895428137">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:PerformanceTableHeading
      contextRef="ClassPSharesMember_S000009324"
      id="x_9c9c16f4-8a44-413f-8f22-241fa4033c57">&lt;span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;"&gt;For the period ended December 31, 2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:PerfInceptionDate
      contextRef="ClassPSharesMember_C000201766"
      id="a538c300-985c-4431-868d-54c6de7b26f1">2018-04-17</oef:PerfInceptionDate>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_01Jan2025_31Dec2025"
      decimals="4"
      id="bd6f1e15-959d-4309-b308-80cdf40754a7"
      unitRef="pure">0.1400</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_01Jan2021_31Dec2025"
      decimals="4"
      id="x_6e60c932-8d44-4f36-93b5-5c5d6f5a83d5"
      unitRef="pure">0.1217</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_17Apr2018_31Dec2025"
      decimals="4"
      id="x_7d988863-7690-43f3-8288-dd28d79c437d"
      unitRef="pure">0.1180</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsMember_01Jan2025_31Dec2025"
      decimals="4"
      id="fe18c1e0-a324-4174-8f67-4840b8de628a"
      unitRef="pure">0.1227</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_905b9fa5-b474-4c26-a055-904518b66eaf"
      unitRef="pure">0.1047</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_6159a21a-5e99-4ac6-a251-8780d4aacfff"
      unitRef="pure">0.0999</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsAndSalesMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1deeeb11-8512-48fe-bd71-a048b7a1934b"
      unitRef="pure">0.0948</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsAndSalesMember_01Jan2021_31Dec2025"
      decimals="4"
      id="c01d726a-e0ea-415c-af30-6cd49aeaabf4"
      unitRef="pure">0.0940</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_C000201766_AfterTaxesOnDistributionsAndSalesMember_17Apr2018_31Dec2025"
      decimals="4"
      id="x_4fb7aa53-2c73-4333-86b7-0d80dc20b283"
      unitRef="pure">0.0914</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="fd4dc3b7-80e1-492f-9844-6a4e999100a2"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_73ac091c-a6d3-4b1a-a31f-52b363e0e73c"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_SP500IndexMember_17Apr2018_31Dec2025"
      decimals="4"
      id="a876c4fa-8146-41e3-937f-5ef793bdfb72"
      unitRef="pure">0.1464</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergUSAggregateBondIndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="b0f2f25b-e66f-44bb-96fc-e0c44c1b22df"
      unitRef="pure">0.0730</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergUSAggregateBondIndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="fe5100ff-d6c0-4186-a891-9f532b5c812f"
      unitRef="pure">-0.0036</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="ClassPSharesMember_BloombergUSAggregateBondIndexMember_17Apr2018_31Dec2025"
      decimals="4"
      id="dfc44072-da5d-4c1e-be2f-f47a3a72854b"
      unitRef="pure">0.0210</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="ClassPSharesMember_S000009324"
      id="x_78f75d6a-8a9d-410d-aacc-c17f53511a8a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="ClassPSharesMember_S000009324"
      id="bcfc159f-b22c-43a7-bffb-b61ae75c689a">&lt;span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;"&gt;Benchmark returns do not reflect any deductions for fees or expenses.&lt;/span&gt;</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="ClassPSharesMember_S000009324"
      id="ff3d56ac-ae24-4861-ba4c-892daa2844a1">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;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. &lt;/span&gt;</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="ClassPSharesMember_S000009324"
      id="c0919205-9035-4db0-b7fa-b9ad0831549b">&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. In addition, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Times New Roman;font-size:9pt;"&gt;after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.&lt;/span&gt;</oef:PerformanceTableNotRelevantToTaxDeferred>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#x_73dff12a-6893-4ece-8859-62e59f14cbc0"
          xlink:label="x_73dff12a-6893-4ece-8859-62e59f14cbc0"
          xlink:type="locator"/>
        <link:footnote id="x_0001ia_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:label="x_0001ia_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_73dff12a-6893-4ece-8859-62e59f14cbc0"
          xlink:to="x_0001ia_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_76a8e4bc-8cf7-45a9-ba76-806848c56298"
          xlink:label="x_76a8e4bc-8cf7-45a9-ba76-806848c56298"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_76a8e4bc-8cf7-45a9-ba76-806848c56298"
          xlink:to="x_0001ia_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_44428b59-e3a1-4712-9d8c-aa4f4f10ce5b"
          xlink:label="x_44428b59-e3a1-4712-9d8c-aa4f4f10ce5b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_44428b59-e3a1-4712-9d8c-aa4f4f10ce5b"
          xlink:to="x_0001ia_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_58017118-d12b-4835-89e1-a09d3e118149"
          xlink:label="x_58017118-d12b-4835-89e1-a09d3e118149"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_58017118-d12b-4835-89e1-a09d3e118149"
          xlink:to="x_0001ia_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_22219a41-7bab-4a59-a89f-ba6f88d0afd3"
          xlink:label="x_22219a41-7bab-4a59-a89f-ba6f88d0afd3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_22219a41-7bab-4a59-a89f-ba6f88d0afd3"
          xlink:to="x_0001ia_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_7d43b6a1-6933-4fcd-82c3-848aac22972c"
          xlink:label="x_7d43b6a1-6933-4fcd-82c3-848aac22972c"
          xlink:type="locator"/>
        <link:footnote id="x_0001ig_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:label="x_0001ig_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, shareholder meeting, litigation, indemnification and extraordinary expenses) to 0.044% of the Fund&#x2019;s average daily net assets. Additionally, Goldman Sachs &amp; Co. (&#x201c;Goldman Sachs&#x201d;), the Fund&#x2019;s transfer agent, has agreed to waive a portion of its transfer agency fee (a component of &#x201c;Other Expenses&#x201d;) equal to 0.06% as an annual percentage rate of the average daily net assets attributable to Class A, Class C, and Investor Class Shares of the Fund. These arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser and Goldman Sachs may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_7d43b6a1-6933-4fcd-82c3-848aac22972c"
          xlink:to="x_0001ig_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_5bc45c07-2ed3-4107-b0a4-34f138df1d33"
          xlink:label="x_5bc45c07-2ed3-4107-b0a4-34f138df1d33"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_5bc45c07-2ed3-4107-b0a4-34f138df1d33"
          xlink:to="x_0001ig_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_058f37f6-7bed-4fda-9339-536835ed447d"
          xlink:label="x_058f37f6-7bed-4fda-9339-536835ed447d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_058f37f6-7bed-4fda-9339-536835ed447d"
          xlink:to="x_0001ig_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_1fa83719-5fe8-4db8-bf8d-881664c8a1da"
          xlink:label="x_1fa83719-5fe8-4db8-bf8d-881664c8a1da"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_1fa83719-5fe8-4db8-bf8d-881664c8a1da"
          xlink:to="x_0001ig_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3a83e4de-1d4b-4bef-8627-241f71d51ab3"
          xlink:label="x_3a83e4de-1d4b-4bef-8627-241f71d51ab3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3a83e4de-1d4b-4bef-8627-241f71d51ab3"
          xlink:to="x_0001ig_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fd09ae2d-33b0-406e-b0f2-f04404750539"
          xlink:label="fd09ae2d-33b0-406e-b0f2-f04404750539"
          xlink:type="locator"/>
        <link:footnote id="x_0001i6_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:label="x_0001i6_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares automatically convert into Class A Shares eight years after the purchase date. The 10-Year performance for Class C Shares does not reflect the conversion to Class A Shares after the first eight years of performance.&#160;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fd09ae2d-33b0-406e-b0f2-f04404750539"
          xlink:to="x_0001i6_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#d16dfb8f-f575-48bf-881d-d3bb75678a5f"
          xlink:label="d16dfb8f-f575-48bf-881d-d3bb75678a5f"
          xlink:type="locator"/>
        <link:footnote id="x_00051p_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:label="x_00051p_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class R6 Shares commenced operations on April 30, 2018. Prior to that date, the performance of Class R6 Shares shown in the table above is that of Institutional Shares. Performance has not been adjusted to reflect the lower expenses of Class R6 Shares. Class R6 Shares would have had higher returns because: (i) Institutional Shares and Class R6 Shares represent interests in the same portfolio of securities; and (ii) Class R6 Shares have lower expenses.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="d16dfb8f-f575-48bf-881d-d3bb75678a5f"
          xlink:to="x_00051p_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c1ef0e6d-59a6-42b2-a088-8101c68f1be0"
          xlink:label="c1ef0e6d-59a6-42b2-a088-8101c68f1be0"
          xlink:type="locator"/>
        <link:footnote id="x_00051q_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:label="x_00051q_deb62abb-52d4-4837-bad4-1f148e2733a2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Bloomberg Global Aggregate Bond Index (Gross, USD, Unhedged) provides a broad-based measure of the global investment grade fixed rate debt markets. Emphasizing income is part of the Fund&#x2019;s investment objective, and therefore the Investment Adviser believes that a comparison of the Fund&#x2019;s performance to that of this index is useful to investors.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c1ef0e6d-59a6-42b2-a088-8101c68f1be0"
          xlink:to="x_00051q_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f9a84178-996a-49c3-8a14-cad14d1afb10"
          xlink:label="f9a84178-996a-49c3-8a14-cad14d1afb10"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f9a84178-996a-49c3-8a14-cad14d1afb10"
          xlink:to="x_00051q_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#b730120f-00ef-4a6c-b85a-02b1f89220c8"
          xlink:label="b730120f-00ef-4a6c-b85a-02b1f89220c8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="b730120f-00ef-4a6c-b85a-02b1f89220c8"
          xlink:to="x_00051q_deb62abb-52d4-4837-bad4-1f148e2733a2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_9f82b69a-0b32-40d3-9293-3c2366e596e0"
          xlink:label="x_9f82b69a-0b32-40d3-9293-3c2366e596e0"
          xlink:type="locator"/>
        <link:footnote id="x_0004km_ccfdd5c5-f045-45e7-b626-45cfc1f5ac91" xlink:label="x_0004km_ccfdd5c5-f045-45e7-b626-45cfc1f5ac91" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.044% of the Fund&#x2019;s average daily net assets through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_9f82b69a-0b32-40d3-9293-3c2366e596e0"
          xlink:to="x_0004km_ccfdd5c5-f045-45e7-b626-45cfc1f5ac91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3cb8c9fd-eeda-4f60-bbda-8a90b6d3322f"
          xlink:label="x_3cb8c9fd-eeda-4f60-bbda-8a90b6d3322f"
          xlink:type="locator"/>
        <link:footnote id="x_0004kn_ccfdd5c5-f045-45e7-b626-45cfc1f5ac91" xlink:label="x_0004kn_ccfdd5c5-f045-45e7-b626-45cfc1f5ac91" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Bloomberg Global Aggregate Bond Index (Gross, USD, Unhedged) provides a broad-based measure of the global investment grade fixed rate debt markets. Emphasizing income is part of the Fund&#x2019;s investment objective, and therefore the Investment Adviser believes that a comparison of the Fund&#x2019;s performance to that of this index is useful to investors.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3cb8c9fd-eeda-4f60-bbda-8a90b6d3322f"
          xlink:to="x_0004kn_ccfdd5c5-f045-45e7-b626-45cfc1f5ac91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_937f0a7f-afbb-4c02-8518-58ff0bbf7e79"
          xlink:label="x_937f0a7f-afbb-4c02-8518-58ff0bbf7e79"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_937f0a7f-afbb-4c02-8518-58ff0bbf7e79"
          xlink:to="x_0004kn_ccfdd5c5-f045-45e7-b626-45cfc1f5ac91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f6302226-5a90-416a-99c9-252229518b32"
          xlink:label="f6302226-5a90-416a-99c9-252229518b32"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f6302226-5a90-416a-99c9-252229518b32"
          xlink:to="x_0004kn_ccfdd5c5-f045-45e7-b626-45cfc1f5ac91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c081965e-6c92-47b9-877b-1a7fcdb60279"
          xlink:label="c081965e-6c92-47b9-877b-1a7fcdb60279"
          xlink:type="locator"/>
        <link:footnote id="x_00019r_6a190eec-e965-4a93-94b4-3bdc2630cf91" xlink:label="x_00019r_6a190eec-e965-4a93-94b4-3bdc2630cf91" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c081965e-6c92-47b9-877b-1a7fcdb60279"
          xlink:to="x_00019r_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3e297f77-be34-4609-ac1d-2ca94fce378a"
          xlink:label="x_3e297f77-be34-4609-ac1d-2ca94fce378a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3e297f77-be34-4609-ac1d-2ca94fce378a"
          xlink:to="x_00019r_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_09b26346-3e12-4687-90b7-0908deebfc61"
          xlink:label="x_09b26346-3e12-4687-90b7-0908deebfc61"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_09b26346-3e12-4687-90b7-0908deebfc61"
          xlink:to="x_00019r_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ddb6b925-381c-4ea0-998f-a384b297f36c"
          xlink:label="ddb6b925-381c-4ea0-998f-a384b297f36c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ddb6b925-381c-4ea0-998f-a384b297f36c"
          xlink:to="x_00019r_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ba4c8ab5-d735-48ac-bbce-d28215f241e3"
          xlink:label="ba4c8ab5-d735-48ac-bbce-d28215f241e3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ba4c8ab5-d735-48ac-bbce-d28215f241e3"
          xlink:to="x_00019r_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_5325a467-39fa-4fb3-8c50-712d61b0422d"
          xlink:label="x_5325a467-39fa-4fb3-8c50-712d61b0422d"
          xlink:type="locator"/>
        <link:footnote id="x_00019s_6a190eec-e965-4a93-94b4-3bdc2630cf91" xlink:label="x_00019s_6a190eec-e965-4a93-94b4-3bdc2630cf91" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets. Additionally, Goldman Sachs &amp; Co. (&#x201c;Goldman Sachs&#x201d;), the Fund&#x2019;s transfer agent, has agreed to waive a portion of its transfer agency fee (a component of &#x201c;Other Expenses&#x201d;) equal to 0.05% as an annual percentage rate of the average daily net assets attributable to Class A, Class C and Investor Shares of the Fund. These arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser and Goldman Sachs may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_5325a467-39fa-4fb3-8c50-712d61b0422d"
          xlink:to="x_00019s_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8f7c89b9-cb65-461b-bb16-e2b9ecbfc2a3"
          xlink:label="x_8f7c89b9-cb65-461b-bb16-e2b9ecbfc2a3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8f7c89b9-cb65-461b-bb16-e2b9ecbfc2a3"
          xlink:to="x_00019s_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_427fbc76-6e38-4e65-861f-70ac51c9e8f3"
          xlink:label="x_427fbc76-6e38-4e65-861f-70ac51c9e8f3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_427fbc76-6e38-4e65-861f-70ac51c9e8f3"
          xlink:to="x_00019s_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_91732a76-1a25-4ca6-9acc-2be65763a930"
          xlink:label="x_91732a76-1a25-4ca6-9acc-2be65763a930"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_91732a76-1a25-4ca6-9acc-2be65763a930"
          xlink:to="x_00019s_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e2e05f03-4af2-403b-8cdb-b1afb0fb973f"
          xlink:label="e2e05f03-4af2-403b-8cdb-b1afb0fb973f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e2e05f03-4af2-403b-8cdb-b1afb0fb973f"
          xlink:to="x_00019s_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_336dbf40-f4ec-418f-8bb8-14eb37be3fad"
          xlink:label="x_336dbf40-f4ec-418f-8bb8-14eb37be3fad"
          xlink:type="locator"/>
        <link:footnote id="x_00019q_6a190eec-e965-4a93-94b4-3bdc2630cf91" xlink:label="x_00019q_6a190eec-e965-4a93-94b4-3bdc2630cf91" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares automatically convert into Class A Shares eight years after the purchase date. The 10-Year performance for Class C Shares does not reflect the conversion to Class A Shares after the first eight years of performance.&#160;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_336dbf40-f4ec-418f-8bb8-14eb37be3fad"
          xlink:to="x_00019q_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_34217808-8fd3-4e95-81b5-019084b9a246"
          xlink:label="x_34217808-8fd3-4e95-81b5-019084b9a246"
          xlink:type="locator"/>
        <link:footnote id="x_00051r_6a190eec-e965-4a93-94b4-3bdc2630cf91" xlink:label="x_00051r_6a190eec-e965-4a93-94b4-3bdc2630cf91" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class R6 Shares commenced operations on April 30, 2018. Prior to that date, the performance of Class R6 Shares shown in the table above is that of Institutional Shares. Performance has not been adjusted to reflect the lower expenses of Class R6 Shares. Class R6 Shares would have had higher returns because: (i) Institutional Shares and Class R6 Shares represent interests in the same portfolio of securities; and (ii) Class R6 Shares have lower expenses.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_34217808-8fd3-4e95-81b5-019084b9a246"
          xlink:to="x_00051r_6a190eec-e965-4a93-94b4-3bdc2630cf91"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_05a8ea5d-e66b-4279-8364-1296f94858f7"
          xlink:label="x_05a8ea5d-e66b-4279-8364-1296f94858f7"
          xlink:type="locator"/>
        <link:footnote id="x_0004hh_e3c7e15b-5fb7-4b4a-88ac-81b9b20b7b63" xlink:label="x_0004hh_e3c7e15b-5fb7-4b4a-88ac-81b9b20b7b63" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangement without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_05a8ea5d-e66b-4279-8364-1296f94858f7"
          xlink:to="x_0004hh_e3c7e15b-5fb7-4b4a-88ac-81b9b20b7b63"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#d80ba5a7-e11a-4edc-9e76-594496a11ac0"
          xlink:label="d80ba5a7-e11a-4edc-9e76-594496a11ac0"
          xlink:type="locator"/>
        <link:footnote id="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3" xlink:label="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="d80ba5a7-e11a-4edc-9e76-594496a11ac0"
          xlink:to="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_65f4eb94-70b0-4d51-a66f-20b61fcc2d01"
          xlink:label="x_65f4eb94-70b0-4d51-a66f-20b61fcc2d01"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_65f4eb94-70b0-4d51-a66f-20b61fcc2d01"
          xlink:to="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#cc462fca-3a84-4612-9adf-3527092da1c9"
          xlink:label="cc462fca-3a84-4612-9adf-3527092da1c9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="cc462fca-3a84-4612-9adf-3527092da1c9"
          xlink:to="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_54538a31-9520-4a73-8de3-b7740934631f"
          xlink:label="x_54538a31-9520-4a73-8de3-b7740934631f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_54538a31-9520-4a73-8de3-b7740934631f"
          xlink:to="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e6b5c5a6-3c16-43d8-ae94-3d6c41bf0dfe"
          xlink:label="e6b5c5a6-3c16-43d8-ae94-3d6c41bf0dfe"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e6b5c5a6-3c16-43d8-ae94-3d6c41bf0dfe"
          xlink:to="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_61f36b09-9695-4693-bf13-04870db42d2b"
          xlink:label="x_61f36b09-9695-4693-bf13-04870db42d2b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_61f36b09-9695-4693-bf13-04870db42d2b"
          xlink:to="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f9b4a444-0573-4580-bb82-e3a3a785bb8e"
          xlink:label="f9b4a444-0573-4580-bb82-e3a3a785bb8e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f9b4a444-0573-4580-bb82-e3a3a785bb8e"
          xlink:to="x_0000vc_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_4b60ab77-e29c-4803-9be7-9bfecc15fa5b"
          xlink:label="x_4b60ab77-e29c-4803-9be7-9bfecc15fa5b"
          xlink:type="locator"/>
        <link:footnote id="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3" xlink:label="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The "Other Expenses" for Class R6 Shares have been restated to reflect expenses expected to be incurred during the current fiscal year.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_4b60ab77-e29c-4803-9be7-9bfecc15fa5b"
          xlink:to="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c759b603-ba14-49a2-8525-157891be0fa9"
          xlink:label="c759b603-ba14-49a2-8525-157891be0fa9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c759b603-ba14-49a2-8525-157891be0fa9"
          xlink:to="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_177123fd-7956-4f42-a4e5-3262791d968a"
          xlink:label="x_177123fd-7956-4f42-a4e5-3262791d968a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_177123fd-7956-4f42-a4e5-3262791d968a"
          xlink:to="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3cdc284b-adc6-401f-a7c6-7cf15fa30036"
          xlink:label="x_3cdc284b-adc6-401f-a7c6-7cf15fa30036"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3cdc284b-adc6-401f-a7c6-7cf15fa30036"
          xlink:to="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_2e10a47b-092c-4f12-a0c5-7cc3e7d92658"
          xlink:label="x_2e10a47b-092c-4f12-a0c5-7cc3e7d92658"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_2e10a47b-092c-4f12-a0c5-7cc3e7d92658"
          xlink:to="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f59560b4-4bd0-488e-aaf9-ca6f9b167d0a"
          xlink:label="f59560b4-4bd0-488e-aaf9-ca6f9b167d0a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f59560b4-4bd0-488e-aaf9-ca6f9b167d0a"
          xlink:to="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_6390a760-97c5-4f4b-86c0-20903a976cb4"
          xlink:label="x_6390a760-97c5-4f4b-86c0-20903a976cb4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_6390a760-97c5-4f4b-86c0-20903a976cb4"
          xlink:to="x_0000vd_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#abef199c-29d6-4da0-a152-f5553ac1774a"
          xlink:label="abef199c-29d6-4da0-a152-f5553ac1774a"
          xlink:type="locator"/>
        <link:footnote id="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3" xlink:label="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to: (i) waive a portion of its management fee payable by the Fund in order to achieve an effective net management fee rate of 0.80% as an annual percentage of the Fund&#x2019;s average daily net assets; and (ii) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, shareholder administration fees, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.004% of the Fund&#x2019;s average daily net assets. These arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="abef199c-29d6-4da0-a152-f5553ac1774a"
          xlink:to="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_00725a27-85ed-4ca1-baf3-1c0b45e5e5b1"
          xlink:label="x_00725a27-85ed-4ca1-baf3-1c0b45e5e5b1"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_00725a27-85ed-4ca1-baf3-1c0b45e5e5b1"
          xlink:to="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_7bc19429-fe4c-4ebe-8788-b7eb14267757"
          xlink:label="x_7bc19429-fe4c-4ebe-8788-b7eb14267757"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_7bc19429-fe4c-4ebe-8788-b7eb14267757"
          xlink:to="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_221ef43f-fae8-4224-8a6b-c59e5f7d45ac"
          xlink:label="x_221ef43f-fae8-4224-8a6b-c59e5f7d45ac"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_221ef43f-fae8-4224-8a6b-c59e5f7d45ac"
          xlink:to="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e976d0a0-0646-42cd-9cea-f37601d8515d"
          xlink:label="e976d0a0-0646-42cd-9cea-f37601d8515d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e976d0a0-0646-42cd-9cea-f37601d8515d"
          xlink:to="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_03b293ef-a708-4e10-9897-d1048ccc881a"
          xlink:label="x_03b293ef-a708-4e10-9897-d1048ccc881a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_03b293ef-a708-4e10-9897-d1048ccc881a"
          xlink:to="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fbadcab9-0ee5-4290-8eda-a96ab2323514"
          xlink:label="fbadcab9-0ee5-4290-8eda-a96ab2323514"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fbadcab9-0ee5-4290-8eda-a96ab2323514"
          xlink:to="x_0000ve_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_57c67fcf-03ea-4bf6-9276-04e381bb847b"
          xlink:label="x_57c67fcf-03ea-4bf6-9276-04e381bb847b"
          xlink:type="locator"/>
        <link:footnote id="x_0000vb_c17f4122-075f-4c44-8e39-fdf1148fbfd3" xlink:label="x_0000vb_c17f4122-075f-4c44-8e39-fdf1148fbfd3" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares automatically convert into Class A Shares eight years after the purchase date. The 10-Year performance for Class C Shares does not reflect the conversion to Class A Shares after the first eight years of performance.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_57c67fcf-03ea-4bf6-9276-04e381bb847b"
          xlink:to="x_0000vb_c17f4122-075f-4c44-8e39-fdf1148fbfd3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_277c2333-07d2-43e5-a2b4-b54972fa4a8d"
          xlink:label="x_277c2333-07d2-43e5-a2b4-b54972fa4a8d"
          xlink:type="locator"/>
        <link:footnote id="x_0004uf_ed3adf90-520e-4deb-b9f9-86de6c1d30e3" xlink:label="x_0004uf_ed3adf90-520e-4deb-b9f9-86de6c1d30e3" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to: (i) waive a portion of its management fee payable by the Fund in order to achieve an effective net management fee rate of 0.80% as an annual percentage of the Fund&#x2019;s average daily net assets; and (ii) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.004% of the Fund&#x2019;s average daily net assets.</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;line-height:9.5pt;"> </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">These arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_277c2333-07d2-43e5-a2b4-b54972fa4a8d"
          xlink:to="x_0004uf_ed3adf90-520e-4deb-b9f9-86de6c1d30e3"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_0840eeef-9c61-40f0-a39c-4e54ddd785c5"
          xlink:label="x_0840eeef-9c61-40f0-a39c-4e54ddd785c5"
          xlink:type="locator"/>
        <link:footnote id="x_000104_6cd386bc-e7f7-4d91-8232-a8c1557a53c6" xlink:label="x_000104_6cd386bc-e7f7-4d91-8232-a8c1557a53c6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_0840eeef-9c61-40f0-a39c-4e54ddd785c5"
          xlink:to="x_000104_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_0b0e8176-197c-4d2d-8742-15d4926d8eb0"
          xlink:label="x_0b0e8176-197c-4d2d-8742-15d4926d8eb0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_0b0e8176-197c-4d2d-8742-15d4926d8eb0"
          xlink:to="x_000104_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_655bde41-83db-4177-a6e8-42775f611b4f"
          xlink:label="x_655bde41-83db-4177-a6e8-42775f611b4f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_655bde41-83db-4177-a6e8-42775f611b4f"
          xlink:to="x_000104_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3cf290da-297e-469a-b972-68bafb75cdc7"
          xlink:label="x_3cf290da-297e-469a-b972-68bafb75cdc7"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3cf290da-297e-469a-b972-68bafb75cdc7"
          xlink:to="x_000104_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fe1be1e4-3087-462f-89d5-5040b7da8508"
          xlink:label="fe1be1e4-3087-462f-89d5-5040b7da8508"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fe1be1e4-3087-462f-89d5-5040b7da8508"
          xlink:to="x_000104_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e0896eba-5434-42c0-8390-173c629add4e"
          xlink:label="e0896eba-5434-42c0-8390-173c629add4e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e0896eba-5434-42c0-8390-173c629add4e"
          xlink:to="x_000104_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fca9b0bd-4cc2-466f-87a0-c9e726a95d92"
          xlink:label="fca9b0bd-4cc2-466f-87a0-c9e726a95d92"
          xlink:type="locator"/>
        <link:footnote id="x_000105_6cd386bc-e7f7-4d91-8232-a8c1557a53c6" xlink:label="x_000105_6cd386bc-e7f7-4d91-8232-a8c1557a53c6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit other &#x201c;Other Expenses&#x201d;</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;line-height:9.5pt;"> </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">(excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification and extraordinary expenses) to 0.044% of the Fund's average daily net Assets. Additionally, Goldman Sachs</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;line-height:9.5pt;"> </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">&amp;Co.</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;line-height:9.5pt;"> </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">(&#x201c;Goldman Sachs&#x201d;), the Fund's transfer agent, has agreed to waive a portion of its transfer agency fee (a component of &#x201c;Other Expenses&#x201d;) equal to 0.04% as an annual percentage rate of the average daily net assets attributable to Class A, Class C and Investor Shares of the Fund. These arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser and Goldman Sachs may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fca9b0bd-4cc2-466f-87a0-c9e726a95d92"
          xlink:to="x_000105_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_07e2d6ca-26fd-4774-90d5-86bc0cbd9ee8"
          xlink:label="x_07e2d6ca-26fd-4774-90d5-86bc0cbd9ee8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_07e2d6ca-26fd-4774-90d5-86bc0cbd9ee8"
          xlink:to="x_000105_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_9645a2da-4c42-48fb-8a20-2849e050d31b"
          xlink:label="x_9645a2da-4c42-48fb-8a20-2849e050d31b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_9645a2da-4c42-48fb-8a20-2849e050d31b"
          xlink:to="x_000105_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_816692d8-d1f1-4255-8bf2-b28702fbcff3"
          xlink:label="x_816692d8-d1f1-4255-8bf2-b28702fbcff3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_816692d8-d1f1-4255-8bf2-b28702fbcff3"
          xlink:to="x_000105_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f8abd595-43ef-40bf-810d-6306c7303cdb"
          xlink:label="f8abd595-43ef-40bf-810d-6306c7303cdb"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f8abd595-43ef-40bf-810d-6306c7303cdb"
          xlink:to="x_000105_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#be1df484-2537-4e45-8436-e6990ac8e7de"
          xlink:label="be1df484-2537-4e45-8436-e6990ac8e7de"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="be1df484-2537-4e45-8436-e6990ac8e7de"
          xlink:to="x_000105_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#cc424df8-c4d2-484f-a469-05a187cba52f"
          xlink:label="cc424df8-c4d2-484f-a469-05a187cba52f"
          xlink:type="locator"/>
        <link:footnote id="x_000103_6cd386bc-e7f7-4d91-8232-a8c1557a53c6" xlink:label="x_000103_6cd386bc-e7f7-4d91-8232-a8c1557a53c6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares automatically convert into Class A Shares eight years after the purchase date. The 10-Year performance for Class C Shares does not reflect the conversion to Class A Shares after the first eight years of performance.&#160;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="cc424df8-c4d2-484f-a469-05a187cba52f"
          xlink:to="x_000103_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_1f695651-8ca5-4a17-9372-a7058e125aac"
          xlink:label="x_1f695651-8ca5-4a17-9372-a7058e125aac"
          xlink:type="locator"/>
        <link:footnote id="x_00051s_6cd386bc-e7f7-4d91-8232-a8c1557a53c6" xlink:label="x_00051s_6cd386bc-e7f7-4d91-8232-a8c1557a53c6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class R6 Shares commenced operations on April 30, 2018. Prior to that date, the performance of Class R6 Shares shown in the table above is that of Institutional Shares. Performance has not been adjusted to reflect the lower expenses of Class R6 Shares. Class R6 Shares would have had higher returns because: (i) Institutional Shares and Class R6 Shares represent interests in the same portfolio of securities; and (ii) Class R6 Shares have lower expenses.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_1f695651-8ca5-4a17-9372-a7058e125aac"
          xlink:to="x_00051s_6cd386bc-e7f7-4d91-8232-a8c1557a53c6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_719ad68c-c587-4bf5-aca9-74f46f4cacfa"
          xlink:label="x_719ad68c-c587-4bf5-aca9-74f46f4cacfa"
          xlink:type="locator"/>
        <link:footnote id="x_00022s_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:label="x_00022s_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_719ad68c-c587-4bf5-aca9-74f46f4cacfa"
          xlink:to="x_00022s_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#bafd91b8-f607-4ee3-b57e-73767c5f0144"
          xlink:label="bafd91b8-f607-4ee3-b57e-73767c5f0144"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="bafd91b8-f607-4ee3-b57e-73767c5f0144"
          xlink:to="x_00022s_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8c17524b-5c22-47b5-a82a-5ebef038c2b8"
          xlink:label="x_8c17524b-5c22-47b5-a82a-5ebef038c2b8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8c17524b-5c22-47b5-a82a-5ebef038c2b8"
          xlink:to="x_00022s_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#d65a46a0-daf2-4067-8e50-2ccff50d4737"
          xlink:label="d65a46a0-daf2-4067-8e50-2ccff50d4737"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="d65a46a0-daf2-4067-8e50-2ccff50d4737"
          xlink:to="x_00022s_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#be68de92-e59f-44c1-b996-0aee6edbd2ea"
          xlink:label="be68de92-e59f-44c1-b996-0aee6edbd2ea"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="be68de92-e59f-44c1-b996-0aee6edbd2ea"
          xlink:to="x_00022s_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_71f4b3c3-f2df-4c49-b87a-6add9c111465"
          xlink:label="x_71f4b3c3-f2df-4c49-b87a-6add9c111465"
          xlink:type="locator"/>
        <link:footnote id="x_00022t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:label="x_00022t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to (i) waive a portion of the management fee in order to achieve an effective net management fee rate of 0.64% of the Fund&#x2019;s average daily net assets, and (ii) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, shareholder meeting, litigation, indemnification and extraordinary expenses) to 0.004% of the Fund&#x2019;s average daily net assets. Additionally, Goldman Sachs &amp; Co. (&#x201c;Goldman Sachs&#x201d;), the Fund&#x2019;s transfer agent, has agreed to waive a portion of its transfer agency fee (a component of &#x201c;Other Expenses&#x201d;) equal to 0.04% as an annual percentage rate of the average daily net assets attributable to Class A, Class C and Class Investor Shares of the Fund. These arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser and Goldman Sachs may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_71f4b3c3-f2df-4c49-b87a-6add9c111465"
          xlink:to="x_00022t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_7863aee3-50a1-4f8d-aa0d-d7356197ad61"
          xlink:label="x_7863aee3-50a1-4f8d-aa0d-d7356197ad61"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_7863aee3-50a1-4f8d-aa0d-d7356197ad61"
          xlink:to="x_00022t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_21b0b731-6c7b-4585-9cf0-e21e6dff2e53"
          xlink:label="x_21b0b731-6c7b-4585-9cf0-e21e6dff2e53"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_21b0b731-6c7b-4585-9cf0-e21e6dff2e53"
          xlink:to="x_00022t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8a5ed7e7-c79d-436d-9044-d34263b8ae60"
          xlink:label="x_8a5ed7e7-c79d-436d-9044-d34263b8ae60"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8a5ed7e7-c79d-436d-9044-d34263b8ae60"
          xlink:to="x_00022t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_4db87c1b-2fc4-4d6b-ad39-df8a0c97ec1b"
          xlink:label="x_4db87c1b-2fc4-4d6b-ad39-df8a0c97ec1b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_4db87c1b-2fc4-4d6b-ad39-df8a0c97ec1b"
          xlink:to="x_00022t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_93201944-b1c1-4ac5-a9ac-4ebad9e8d16d"
          xlink:label="x_93201944-b1c1-4ac5-a9ac-4ebad9e8d16d"
          xlink:type="locator"/>
        <link:footnote id="x_00022r_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:label="x_00022r_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares automatically convert into Class A Shares eight years after the purchase date. The 10-Year performance for Class C Shares does not reflect the conversion to Class A Shares after the first eight years of performance.&#160;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_93201944-b1c1-4ac5-a9ac-4ebad9e8d16d"
          xlink:to="x_00022r_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_843cf989-593c-406d-982a-3852c7a016cb"
          xlink:label="x_843cf989-593c-406d-982a-3852c7a016cb"
          xlink:type="locator"/>
        <link:footnote id="x_00051u_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:label="x_00051u_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class R6 Shares commenced operations on April 30, 2018. Prior to that date, the performance of Class R6 Shares shown in the table above is that of Institutional Shares. Performance has not been adjusted to reflect the lower expenses of Class R6 Shares. Class R6 Shares would have had higher returns because: (i) Institutional Shares and Class R6 Shares represent interests in the same portfolio of securities; and (ii) Class R6 Shares have lower expenses.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_843cf989-593c-406d-982a-3852c7a016cb"
          xlink:to="x_00051u_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_7a0ccdb8-8b86-46bb-a703-362c28128aae"
          xlink:label="x_7a0ccdb8-8b86-46bb-a703-362c28128aae"
          xlink:type="locator"/>
        <link:footnote id="x_00051t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:label="x_00051t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Bloomberg U.S. Aggregate Bond Index represents an unmanaged diversified portfolio of investment grade, U.S.</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;line-height:9.5pt;"> </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">dollar-denominated, fixed income securities, including U.S. Treasuries, government-related and corporate securities, mortgage-backed securities (agency fixed-rate pass-throughs), asset-backed securities and commercial mortgage-backed securities (agency and non-agency). Maximizing income is part of the Fund&#x2019;s investment objective, and therefore the Investment Adviser believes that a comparison of the Fund&#x2019;s performance to that of this index is useful to investors.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_7a0ccdb8-8b86-46bb-a703-362c28128aae"
          xlink:to="x_00051t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f3b5d8c1-8153-4505-88ec-766be2fc62f6"
          xlink:label="f3b5d8c1-8153-4505-88ec-766be2fc62f6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f3b5d8c1-8153-4505-88ec-766be2fc62f6"
          xlink:to="x_00051t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c157bd66-d85f-420a-92da-200152d6d0e1"
          xlink:label="c157bd66-d85f-420a-92da-200152d6d0e1"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c157bd66-d85f-420a-92da-200152d6d0e1"
          xlink:to="x_00051t_3b0b84e5-5ba7-4dc0-a84f-9a72fe31b55a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c52bc6fe-d8e3-47c5-b062-ede2e6a9074f"
          xlink:label="c52bc6fe-d8e3-47c5-b062-ede2e6a9074f"
          xlink:type="locator"/>
        <link:footnote id="x_0004fi_4423d50b-198c-4707-9dc7-729e9cb5d8ac" xlink:label="x_0004fi_4423d50b-198c-4707-9dc7-729e9cb5d8ac" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to (i) waive a portion of the management fee in order to achieve an effective net management fee rate of 0.64% of the Fund&#x2019;s average daily net assets, and (ii) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, shareholder meeting, litigation, indemnification and extraordinary expenses) to 0.004% of the Fund&#x2019;s average daily net assets. These arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c52bc6fe-d8e3-47c5-b062-ede2e6a9074f"
          xlink:to="x_0004fi_4423d50b-198c-4707-9dc7-729e9cb5d8ac"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#b0f2f25b-e66f-44bb-96fc-e0c44c1b22df"
          xlink:label="b0f2f25b-e66f-44bb-96fc-e0c44c1b22df"
          xlink:type="locator"/>
        <link:footnote id="x_0004fc_4423d50b-198c-4707-9dc7-729e9cb5d8ac" xlink:label="x_0004fc_4423d50b-198c-4707-9dc7-729e9cb5d8ac" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Bloomberg U.S. Aggregate Bond Index represents an unmanaged diversified portfolio of investment grade, U.S.</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;line-height:9.5pt;"> </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">dollar-denominated, fixed income securities, including U.S. Treasuries, government-related and corporate securities, mortgage-backed securities (agency fixed-rate pass-throughs), asset-backed securities and commercial mortgage-backed securities (agency and non-agency). Maximizing income is part of the Fund&#x2019;s investment objective, and therefore the Investment Adviser believes that a comparison of the Fund&#x2019;s performance to that of this index is useful to investors.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="b0f2f25b-e66f-44bb-96fc-e0c44c1b22df"
          xlink:to="x_0004fc_4423d50b-198c-4707-9dc7-729e9cb5d8ac"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fe5100ff-d6c0-4186-a891-9f532b5c812f"
          xlink:label="fe5100ff-d6c0-4186-a891-9f532b5c812f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fe5100ff-d6c0-4186-a891-9f532b5c812f"
          xlink:to="x_0004fc_4423d50b-198c-4707-9dc7-729e9cb5d8ac"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#dfc44072-da5d-4c1e-be2f-f47a3a72854b"
          xlink:label="dfc44072-da5d-4c1e-be2f-f47a3a72854b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="dfc44072-da5d-4c1e-be2f-f47a3a72854b"
          xlink:to="x_0004fc_4423d50b-198c-4707-9dc7-729e9cb5d8ac"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_25597059-22a9-4e04-85e5-1d0bf3630fd7"
          xlink:label="x_25597059-22a9-4e04-85e5-1d0bf3630fd7"
          xlink:type="locator"/>
        <link:footnote id="x_00017r_c9075d47-1771-456b-a3c9-f88167458b25" xlink:label="x_00017r_c9075d47-1771-456b-a3c9-f88167458b25" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1.00% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_25597059-22a9-4e04-85e5-1d0bf3630fd7"
          xlink:to="x_00017r_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e018dec2-3ef7-4526-9524-a57185132974"
          xlink:label="e018dec2-3ef7-4526-9524-a57185132974"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e018dec2-3ef7-4526-9524-a57185132974"
          xlink:to="x_00017r_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#dade8674-9fb5-4cbd-832c-24147c9b057d"
          xlink:label="dade8674-9fb5-4cbd-832c-24147c9b057d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="dade8674-9fb5-4cbd-832c-24147c9b057d"
          xlink:to="x_00017r_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_454540ba-6c7f-41d1-aa6a-fa2f145c69ed"
          xlink:label="x_454540ba-6c7f-41d1-aa6a-fa2f145c69ed"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_454540ba-6c7f-41d1-aa6a-fa2f145c69ed"
          xlink:to="x_00017r_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_63799f41-f806-4927-8b4c-f81ebb49abec"
          xlink:label="x_63799f41-f806-4927-8b4c-f81ebb49abec"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_63799f41-f806-4927-8b4c-f81ebb49abec"
          xlink:to="x_00017r_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#d135d95e-9856-413e-8343-0920cb4ebe6f"
          xlink:label="d135d95e-9856-413e-8343-0920cb4ebe6f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="d135d95e-9856-413e-8343-0920cb4ebe6f"
          xlink:to="x_00017r_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_67fa52ef-6059-4808-9c37-c92e20273317"
          xlink:label="x_67fa52ef-6059-4808-9c37-c92e20273317"
          xlink:type="locator"/>
        <link:footnote id="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25" xlink:label="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_67fa52ef-6059-4808-9c37-c92e20273317"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_744947e1-f3de-4a63-a7aa-99a92e173b75"
          xlink:label="x_744947e1-f3de-4a63-a7aa-99a92e173b75"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_744947e1-f3de-4a63-a7aa-99a92e173b75"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_5fbdc8df-d43c-431b-adac-f71c710433bc"
          xlink:label="x_5fbdc8df-d43c-431b-adac-f71c710433bc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_5fbdc8df-d43c-431b-adac-f71c710433bc"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_6a521c0b-12ae-44d6-b43b-6fd4bcc475e3"
          xlink:label="x_6a521c0b-12ae-44d6-b43b-6fd4bcc475e3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_6a521c0b-12ae-44d6-b43b-6fd4bcc475e3"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_12a83478-a7c6-4684-8db3-0ced41fbaaa3"
          xlink:label="x_12a83478-a7c6-4684-8db3-0ced41fbaaa3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_12a83478-a7c6-4684-8db3-0ced41fbaaa3"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_629a8d82-db68-4983-bc36-bd1b143a0225"
          xlink:label="x_629a8d82-db68-4983-bc36-bd1b143a0225"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_629a8d82-db68-4983-bc36-bd1b143a0225"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_45b45055-76b8-437a-a755-5cbdee0b8f83"
          xlink:label="x_45b45055-76b8-437a-a755-5cbdee0b8f83"
          xlink:type="locator"/>
        <link:footnote id="x_00017t_c9075d47-1771-456b-a3c9-f88167458b25" xlink:label="x_00017t_c9075d47-1771-456b-a3c9-f88167458b25" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to: (i) waive a portion of its management fee payable by the Fund in an amount equal to any management fees it earns as an investment adviser to the affiliated funds in which the Fund invests; (ii) waive a portion of its management fee in an amount equal to the management fee paid to the Investment Adviser by the CSF Subsidiary (as defined below) at an annual rate of 0.42% of the CSF Subsidiary&#x2019;s average daily net assets; (iii) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, dividend and interest expenses on short sales, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.074% of the Fund&#x2019;s average daily net assets; and (iv) reduce or limit the CSF Subsidiary&#x2019;s expenses (excluding management fees) to 0.004% of the CSF Subsidiary&#x2019;s average daily net assets. The management fee waiver arrangement with respect to the CSF Subsidiary may not be discontinued by the Investment Adviser as long as its contract with the CSF Subsidiary is in place. The other management fee waiver arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_45b45055-76b8-437a-a755-5cbdee0b8f83"
          xlink:to="x_00017t_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_67f49665-dd44-4d66-9d79-8b0fc566450c"
          xlink:label="x_67f49665-dd44-4d66-9d79-8b0fc566450c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_67f49665-dd44-4d66-9d79-8b0fc566450c"
          xlink:to="x_00017t_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#a6c91eb7-f63d-47ae-83eb-d9ca485bfda9"
          xlink:label="a6c91eb7-f63d-47ae-83eb-d9ca485bfda9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="a6c91eb7-f63d-47ae-83eb-d9ca485bfda9"
          xlink:to="x_00017t_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_616c9528-a338-4420-8a46-86f727b75924"
          xlink:label="x_616c9528-a338-4420-8a46-86f727b75924"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_616c9528-a338-4420-8a46-86f727b75924"
          xlink:to="x_00017t_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_4a35a129-3664-4caf-8177-96cef870c595"
          xlink:label="x_4a35a129-3664-4caf-8177-96cef870c595"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_4a35a129-3664-4caf-8177-96cef870c595"
          xlink:to="x_00017t_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ccaa99c4-12aa-4576-9ca4-6141ecb65428"
          xlink:label="ccaa99c4-12aa-4576-9ca4-6141ecb65428"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ccaa99c4-12aa-4576-9ca4-6141ecb65428"
          xlink:to="x_00017t_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_25cc3d51-2a4b-4446-b67a-663091cc9d87"
          xlink:label="x_25cc3d51-2a4b-4446-b67a-663091cc9d87"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_25cc3d51-2a4b-4446-b67a-663091cc9d87"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_52cf6cae-8b4c-4dad-a602-99399f8115fe"
          xlink:label="x_52cf6cae-8b4c-4dad-a602-99399f8115fe"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_52cf6cae-8b4c-4dad-a602-99399f8115fe"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f24fbb15-5935-4108-872a-af3acb253504"
          xlink:label="f24fbb15-5935-4108-872a-af3acb253504"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f24fbb15-5935-4108-872a-af3acb253504"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_14467ef8-ee24-4e2b-8249-f84ebb91b76c"
          xlink:label="x_14467ef8-ee24-4e2b-8249-f84ebb91b76c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_14467ef8-ee24-4e2b-8249-f84ebb91b76c"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_5ed3a86f-cbbc-40a1-be55-7e0cc5de1e70"
          xlink:label="x_5ed3a86f-cbbc-40a1-be55-7e0cc5de1e70"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_5ed3a86f-cbbc-40a1-be55-7e0cc5de1e70"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ffde6a82-6193-4807-b10e-9979bd78669a"
          xlink:label="ffde6a82-6193-4807-b10e-9979bd78669a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ffde6a82-6193-4807-b10e-9979bd78669a"
          xlink:to="x_00017s_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_667555fb-a55d-4e79-8872-bba12e0a52de"
          xlink:label="x_667555fb-a55d-4e79-8872-bba12e0a52de"
          xlink:type="locator"/>
        <link:footnote id="x_00017q_c9075d47-1771-456b-a3c9-f88167458b25" xlink:label="x_00017q_c9075d47-1771-456b-a3c9-f88167458b25" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares automatically convert into Class A Shares eight years after the purchase date. The 10-Year performance for Class C Shares does not reflect the conversion to Class A Shares after the first eight years of performance.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_667555fb-a55d-4e79-8872-bba12e0a52de"
          xlink:to="x_00017q_c9075d47-1771-456b-a3c9-f88167458b25"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_447b614b-65b1-4c19-a965-0499abf7c5d9"
          xlink:label="x_447b614b-65b1-4c19-a965-0499abf7c5d9"
          xlink:type="locator"/>
        <link:footnote id="x_0004qn_44d1820d-11c3-405b-bd5c-e71b9b51a4f6" xlink:label="x_0004qn_44d1820d-11c3-405b-bd5c-e71b9b51a4f6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_447b614b-65b1-4c19-a965-0499abf7c5d9"
          xlink:to="x_0004qn_44d1820d-11c3-405b-bd5c-e71b9b51a4f6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_20610519-838f-442a-acb0-bf1733a91873"
          xlink:label="x_20610519-838f-442a-acb0-bf1733a91873"
          xlink:type="locator"/>
        <link:footnote id="x_0004qj_44d1820d-11c3-405b-bd5c-e71b9b51a4f6" xlink:label="x_0004qj_44d1820d-11c3-405b-bd5c-e71b9b51a4f6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to: (i) waive a portion of its management fee payable by the Fund in an amount equal to any management fees it earns as an investment adviser to the affiliated funds in which the Fund invests; (ii) waive a portion of its management fee in an amount equal to the management fee paid to the Investment Adviser by the CSF Subsidiary (as defined below) at an annual rate of 0.42% of the CSF Subsidiary&#x2019;s average daily net assets; (iii) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, dividend and interest expenses on short sales, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.074% of the Fund&#x2019;s average daily net assets; and (iv) reduce or limit the CSF Subsidiary&#x2019;s expenses (excluding management fees) to 0.004% of the CSF Subsidiary&#x2019;s average daily net assets. The management fee waiver arrangement with respect to the CSF Subsidiary may not be discontinued by the Investment Adviser as long as its contract with the CSF Subsidiary is in place. The other management fee waiver arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_20610519-838f-442a-acb0-bf1733a91873"
          xlink:to="x_0004qj_44d1820d-11c3-405b-bd5c-e71b9b51a4f6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_5a523baa-a858-448b-8825-8b8e7ee1fcf4"
          xlink:label="x_5a523baa-a858-448b-8825-8b8e7ee1fcf4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_5a523baa-a858-448b-8825-8b8e7ee1fcf4"
          xlink:to="x_0004qn_44d1820d-11c3-405b-bd5c-e71b9b51a4f6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_2ea9cd87-c41d-40d5-ad23-aba41af7614d"
          xlink:label="x_2ea9cd87-c41d-40d5-ad23-aba41af7614d"
          xlink:type="locator"/>
        <link:footnote id="x_00039t_fe70e90a-e7d7-4b51-95fa-612e57b03a5a" xlink:label="x_00039t_fe70e90a-e7d7-4b51-95fa-612e57b03a5a" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_2ea9cd87-c41d-40d5-ad23-aba41af7614d"
          xlink:to="x_00039t_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#b16707fd-7600-445c-815d-4c69c145a8ee"
          xlink:label="b16707fd-7600-445c-815d-4c69c145a8ee"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="b16707fd-7600-445c-815d-4c69c145a8ee"
          xlink:to="x_00039t_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_46724c75-ac58-43c4-8024-cf27c898ebf0"
          xlink:label="x_46724c75-ac58-43c4-8024-cf27c898ebf0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_46724c75-ac58-43c4-8024-cf27c898ebf0"
          xlink:to="x_00039t_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_61f1ecc3-ecac-43a8-90db-f86ef99620f5"
          xlink:label="x_61f1ecc3-ecac-43a8-90db-f86ef99620f5"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_61f1ecc3-ecac-43a8-90db-f86ef99620f5"
          xlink:to="x_00039t_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_34e93c43-b34f-4246-9d40-ad8fbe1b994c"
          xlink:label="x_34e93c43-b34f-4246-9d40-ad8fbe1b994c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_34e93c43-b34f-4246-9d40-ad8fbe1b994c"
          xlink:to="x_00039t_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_95decf4c-b431-436c-aaa2-97b025129f6a"
          xlink:label="x_95decf4c-b431-436c-aaa2-97b025129f6a"
          xlink:type="locator"/>
        <link:footnote id="x_00039w_fe70e90a-e7d7-4b51-95fa-612e57b03a5a" xlink:label="x_00039w_fe70e90a-e7d7-4b51-95fa-612e57b03a5a" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.034% of the Fund&#x2019;s average daily net assets. Additionally, Goldman Sachs &amp; Co. LLC (&#x201c;Goldman Sachs&#x201d;), the Fund&#x2019;s transfer agent, has agreed to waive a portion of its transfer agency fee (a component of &#x201c;Other Expenses&#x201d;) equal to 0.11% as an annual percentage rate of the average daily net assets attributable to Class A, Class C, and Investor Shares of the Fund. These arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser and Goldman Sachs may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_95decf4c-b431-436c-aaa2-97b025129f6a"
          xlink:to="x_00039w_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e9e01803-7f29-4bee-9d4a-759ef0b0faf4"
          xlink:label="e9e01803-7f29-4bee-9d4a-759ef0b0faf4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e9e01803-7f29-4bee-9d4a-759ef0b0faf4"
          xlink:to="x_00039w_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_058004cf-889c-4abd-9ff2-f7c976f3acff"
          xlink:label="x_058004cf-889c-4abd-9ff2-f7c976f3acff"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_058004cf-889c-4abd-9ff2-f7c976f3acff"
          xlink:to="x_00039w_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#c03821aa-5435-47c7-b77a-9282a6f07f8d"
          xlink:label="c03821aa-5435-47c7-b77a-9282a6f07f8d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="c03821aa-5435-47c7-b77a-9282a6f07f8d"
          xlink:to="x_00039w_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8ce330cd-0779-4905-b491-9dc956bcfcde"
          xlink:label="x_8ce330cd-0779-4905-b491-9dc956bcfcde"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8ce330cd-0779-4905-b491-9dc956bcfcde"
          xlink:to="x_00039w_fe70e90a-e7d7-4b51-95fa-612e57b03a5a"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_44e857db-1010-4f98-ab10-f14f3f2fe549"
          xlink:label="x_44e857db-1010-4f98-ab10-f14f3f2fe549"
          xlink:type="locator"/>
        <link:footnote id="x_0004s2_caf2f01c-f3e0-4165-a612-2ffe2d7ca074" xlink:label="x_0004s2_caf2f01c-f3e0-4165-a612-2ffe2d7ca074" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.034% of the Fund&#x2019;s average daily net assets.</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;line-height:9.5pt;"> </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">This arrangement will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date, the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_44e857db-1010-4f98-ab10-f14f3f2fe549"
          xlink:to="x_0004s2_caf2f01c-f3e0-4165-a612-2ffe2d7ca074"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ffc769b1-d3b9-4239-a162-9ce54c2f8c6f"
          xlink:label="ffc769b1-d3b9-4239-a162-9ce54c2f8c6f"
          xlink:type="locator"/>
        <link:footnote id="x_0001zx_b89da7da-766c-451d-8952-6c7b3c58f1b6" xlink:label="x_0001zx_b89da7da-766c-451d-8952-6c7b3c58f1b6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ffc769b1-d3b9-4239-a162-9ce54c2f8c6f"
          xlink:to="x_0001zx_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_958cffc8-56b3-4329-a465-06007920f232"
          xlink:label="x_958cffc8-56b3-4329-a465-06007920f232"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_958cffc8-56b3-4329-a465-06007920f232"
          xlink:to="x_0001zx_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_80b3fc34-20f3-475e-9740-f0e021539d8d"
          xlink:label="x_80b3fc34-20f3-475e-9740-f0e021539d8d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_80b3fc34-20f3-475e-9740-f0e021539d8d"
          xlink:to="x_0001zx_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_1d186c91-7e3f-4396-b754-7498d2011267"
          xlink:label="x_1d186c91-7e3f-4396-b754-7498d2011267"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_1d186c91-7e3f-4396-b754-7498d2011267"
          xlink:to="x_0001zx_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_59f7ad72-3c4c-4824-8136-49b863eec57d"
          xlink:label="x_59f7ad72-3c4c-4824-8136-49b863eec57d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_59f7ad72-3c4c-4824-8136-49b863eec57d"
          xlink:to="x_0001zx_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_54220d40-df7e-4614-bd8c-1a86149cc33c"
          xlink:label="x_54220d40-df7e-4614-bd8c-1a86149cc33c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_54220d40-df7e-4614-bd8c-1a86149cc33c"
          xlink:to="x_0001zx_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_9a0c4be5-4aa9-4cb8-87fa-560ffd8c0f05"
          xlink:label="x_9a0c4be5-4aa9-4cb8-87fa-560ffd8c0f05"
          xlink:type="locator"/>
        <link:footnote id="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6" xlink:label="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_9a0c4be5-4aa9-4cb8-87fa-560ffd8c0f05"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_6b10dc8b-8921-4bb5-898d-80e79d73c75b"
          xlink:label="x_6b10dc8b-8921-4bb5-898d-80e79d73c75b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_6b10dc8b-8921-4bb5-898d-80e79d73c75b"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_92b284ae-b999-412a-8511-f043a11315f9"
          xlink:label="x_92b284ae-b999-412a-8511-f043a11315f9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_92b284ae-b999-412a-8511-f043a11315f9"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#dcce492f-812a-4262-9ed3-728c029020ae"
          xlink:label="dcce492f-812a-4262-9ed3-728c029020ae"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="dcce492f-812a-4262-9ed3-728c029020ae"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_241562c7-2b22-4d8c-b245-c680d6b77e81"
          xlink:label="x_241562c7-2b22-4d8c-b245-c680d6b77e81"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_241562c7-2b22-4d8c-b245-c680d6b77e81"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_34b0f4ce-7bb5-4ab6-bec7-395c162b5fd9"
          xlink:label="x_34b0f4ce-7bb5-4ab6-bec7-395c162b5fd9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_34b0f4ce-7bb5-4ab6-bec7-395c162b5fd9"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ab2f7ecc-8337-48f5-8eb7-bd2953154526"
          xlink:label="ab2f7ecc-8337-48f5-8eb7-bd2953154526"
          xlink:type="locator"/>
        <link:footnote id="x_0001zz_b89da7da-766c-451d-8952-6c7b3c58f1b6" xlink:label="x_0001zz_b89da7da-766c-451d-8952-6c7b3c58f1b6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to: (i) waive a portion of its management fee payable by the Fund in an amount equal to any management fees it earns as an investment adviser to the affiliated funds in which the Fund invests, except those management fees it earns from the Fund&#x2019;s investments of cash collateral received in connection with securities lending transactions in affiliated funds; (ii) waive a portion of its management fee in an amount equal to the management fee paid to the Investment Adviser by the ART Subsidiary (as defined below) at an annual rate of 0.42% of the ART Subsidiary&#x2019;s average daily net assets; (iii) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, dividend and interest expenses on short sales, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets; and (iv) reduce or limit the ART Subsidiary&#x2019;s expenses (excluding management fees) to 0.004% of the ART Subsidiary&#x2019;s average daily net assets. The management fee waiver arrangement with respect to the ART Subsidiary may not be discontinued by the Investment Adviser as long as its contract with the ART Subsidiary is in place. The other management fee waiver and expense limitation arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ab2f7ecc-8337-48f5-8eb7-bd2953154526"
          xlink:to="x_0001zz_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_33d123d6-164b-43fb-9168-7325dd9906a5"
          xlink:label="x_33d123d6-164b-43fb-9168-7325dd9906a5"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_33d123d6-164b-43fb-9168-7325dd9906a5"
          xlink:to="x_0001zz_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#d3a8706c-8150-44b9-a57f-c6671cd92074"
          xlink:label="d3a8706c-8150-44b9-a57f-c6671cd92074"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="d3a8706c-8150-44b9-a57f-c6671cd92074"
          xlink:to="x_0001zz_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_80cb14e9-cf16-4157-a266-75f6d6e04a01"
          xlink:label="x_80cb14e9-cf16-4157-a266-75f6d6e04a01"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_80cb14e9-cf16-4157-a266-75f6d6e04a01"
          xlink:to="x_0001zz_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_44800fc6-1787-4ac3-8c6d-7ecb9684d6c6"
          xlink:label="x_44800fc6-1787-4ac3-8c6d-7ecb9684d6c6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_44800fc6-1787-4ac3-8c6d-7ecb9684d6c6"
          xlink:to="x_0001zz_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8bcee0a9-8f22-4f5d-aba9-209a5286aa16"
          xlink:label="x_8bcee0a9-8f22-4f5d-aba9-209a5286aa16"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8bcee0a9-8f22-4f5d-aba9-209a5286aa16"
          xlink:to="x_0001zz_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#f988ced6-5b18-498a-8396-bb3842a3408a"
          xlink:label="f988ced6-5b18-498a-8396-bb3842a3408a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="f988ced6-5b18-498a-8396-bb3842a3408a"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_1680ec58-6102-4ef8-803b-cfee90c43d58"
          xlink:label="x_1680ec58-6102-4ef8-803b-cfee90c43d58"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_1680ec58-6102-4ef8-803b-cfee90c43d58"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3b7f1c89-8e61-4c1a-9684-3aba2eaf265f"
          xlink:label="x_3b7f1c89-8e61-4c1a-9684-3aba2eaf265f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3b7f1c89-8e61-4c1a-9684-3aba2eaf265f"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_9eac16ee-8319-4a21-83c9-3dd4f3e7993c"
          xlink:label="x_9eac16ee-8319-4a21-83c9-3dd4f3e7993c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_9eac16ee-8319-4a21-83c9-3dd4f3e7993c"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_5df2e4ea-164b-4e00-a366-61a03ac3bc65"
          xlink:label="x_5df2e4ea-164b-4e00-a366-61a03ac3bc65"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_5df2e4ea-164b-4e00-a366-61a03ac3bc65"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_7371fb45-8478-467a-a4be-59124a1fb0f0"
          xlink:label="x_7371fb45-8478-467a-a4be-59124a1fb0f0"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_7371fb45-8478-467a-a4be-59124a1fb0f0"
          xlink:to="x_0001zy_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#e7fea38d-d4df-49e0-914e-9f1b695f4cbf"
          xlink:label="e7fea38d-d4df-49e0-914e-9f1b695f4cbf"
          xlink:type="locator"/>
        <link:footnote id="x_0001zw_b89da7da-766c-451d-8952-6c7b3c58f1b6" xlink:label="x_0001zw_b89da7da-766c-451d-8952-6c7b3c58f1b6" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares automatically convert into Class A Shares eight years after the purchase date. The 10-Year performance for Class C Shares does not reflect the conversion to Class A Shares after the first eight years of performance.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="e7fea38d-d4df-49e0-914e-9f1b695f4cbf"
          xlink:to="x_0001zw_b89da7da-766c-451d-8952-6c7b3c58f1b6"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_6444176d-f51b-4ad8-8738-d1c3037800cb"
          xlink:label="x_6444176d-f51b-4ad8-8738-d1c3037800cb"
          xlink:type="locator"/>
        <link:footnote id="x_0004g9_365ba47f-9e55-4285-9d8b-6d2af9e3bdfd" xlink:label="x_0004g9_365ba47f-9e55-4285-9d8b-6d2af9e3bdfd" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_6444176d-f51b-4ad8-8738-d1c3037800cb"
          xlink:to="x_0004g9_365ba47f-9e55-4285-9d8b-6d2af9e3bdfd"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#afa63786-2fc4-407c-9c2a-2e4bceaa5b49"
          xlink:label="afa63786-2fc4-407c-9c2a-2e4bceaa5b49"
          xlink:type="locator"/>
        <link:footnote id="x_0004g8_365ba47f-9e55-4285-9d8b-6d2af9e3bdfd" xlink:label="x_0004g8_365ba47f-9e55-4285-9d8b-6d2af9e3bdfd" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to: (i) waive a portion of its management fee payable by the Fund in an amount equal to any management fees it earns as an investment adviser to the affiliated funds in which the Fund invests, except those management fees it earns from the Fund&#x2019;s investments of cash collateral received in connection with securities lending transactions in affiliated funds; (ii) waive a portion of its management fee in an amount equal to the management fee paid to the Investment Adviser by the ART Subsidiary (as defined below) at an annual rate of 0.42% of the ART Subsidiary&#x2019;s average daily net assets; (iii) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, dividend and interest expenses on short sales, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.014% of the Fund&#x2019;s average daily net assets; and (iv) reduce or limit the ART Subsidiary&#x2019;s expenses (excluding management fees) to 0.004% of the ART Subsidiary&#x2019;s average daily net assets. The management fee waiver arrangement with respect to the ART Subsidiary may not be discontinued by the Investment Adviser as long as its contract with the ART Subsidiary is in place. The other management fee waiver and expense limitation arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="afa63786-2fc4-407c-9c2a-2e4bceaa5b49"
          xlink:to="x_0004g8_365ba47f-9e55-4285-9d8b-6d2af9e3bdfd"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3b3d0618-eec8-4146-ab64-0c211acb4511"
          xlink:label="x_3b3d0618-eec8-4146-ab64-0c211acb4511"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3b3d0618-eec8-4146-ab64-0c211acb4511"
          xlink:to="x_0004g9_365ba47f-9e55-4285-9d8b-6d2af9e3bdfd"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#eb16cb8e-fded-423e-86b4-e04f78d7e460"
          xlink:label="eb16cb8e-fded-423e-86b4-e04f78d7e460"
          xlink:type="locator"/>
        <link:footnote id="x_0001jp_115ada09-9504-465e-a959-f58d85968c92" xlink:label="x_0001jp_115ada09-9504-465e-a959-f58d85968c92" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">A contingent deferred sales charge (&#x201c;CDSC&#x201d;) of 1% is imposed on Class C Shares redeemed within 12 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="eb16cb8e-fded-423e-86b4-e04f78d7e460"
          xlink:to="x_0001jp_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_05f4da32-5490-4399-a9a0-7226ec3448f3"
          xlink:label="x_05f4da32-5490-4399-a9a0-7226ec3448f3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_05f4da32-5490-4399-a9a0-7226ec3448f3"
          xlink:to="x_0001jp_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_7e9cf17a-46e7-4648-985f-75b58e2c53a4"
          xlink:label="x_7e9cf17a-46e7-4648-985f-75b58e2c53a4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_7e9cf17a-46e7-4648-985f-75b58e2c53a4"
          xlink:to="x_0001jp_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_6ad7af35-ff6b-4bdc-92f8-143dd9a79904"
          xlink:label="x_6ad7af35-ff6b-4bdc-92f8-143dd9a79904"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_6ad7af35-ff6b-4bdc-92f8-143dd9a79904"
          xlink:to="x_0001jp_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_5c1b0c50-497e-4265-ae2d-4b12db143ef4"
          xlink:label="x_5c1b0c50-497e-4265-ae2d-4b12db143ef4"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_5c1b0c50-497e-4265-ae2d-4b12db143ef4"
          xlink:to="x_0001jp_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#dd393aa4-7079-4356-a5b7-35b2c64b213e"
          xlink:label="dd393aa4-7079-4356-a5b7-35b2c64b213e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="dd393aa4-7079-4356-a5b7-35b2c64b213e"
          xlink:to="x_0001jp_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_45dcb9a2-fb2f-4dd5-94a1-d9456b941524"
          xlink:label="x_45dcb9a2-fb2f-4dd5-94a1-d9456b941524"
          xlink:type="locator"/>
        <link:footnote id="x_0001jl_115ada09-9504-465e-a959-f58d85968c92" xlink:label="x_0001jl_115ada09-9504-465e-a959-f58d85968c92" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_45dcb9a2-fb2f-4dd5-94a1-d9456b941524"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_9767fe19-965b-4e6f-b8e9-1b485ac39265"
          xlink:label="x_9767fe19-965b-4e6f-b8e9-1b485ac39265"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_9767fe19-965b-4e6f-b8e9-1b485ac39265"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_34fcaa38-462c-4699-988d-190c0efd8598"
          xlink:label="x_34fcaa38-462c-4699-988d-190c0efd8598"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_34fcaa38-462c-4699-988d-190c0efd8598"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_0156cce6-d254-42d0-8bdb-2ede8eba26b6"
          xlink:label="x_0156cce6-d254-42d0-8bdb-2ede8eba26b6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_0156cce6-d254-42d0-8bdb-2ede8eba26b6"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_8ae7297f-570b-4ed3-96ee-8654c4fc8174"
          xlink:label="x_8ae7297f-570b-4ed3-96ee-8654c4fc8174"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_8ae7297f-570b-4ed3-96ee-8654c4fc8174"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_949d005b-d49b-4102-8abd-8400bea5605e"
          xlink:label="x_949d005b-d49b-4102-8abd-8400bea5605e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_949d005b-d49b-4102-8abd-8400bea5605e"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#d180e168-0e3a-40b9-a8b5-06049bfa840a"
          xlink:label="d180e168-0e3a-40b9-a8b5-06049bfa840a"
          xlink:type="locator"/>
        <link:footnote id="x_0001jq_115ada09-9504-465e-a959-f58d85968c92" xlink:label="x_0001jq_115ada09-9504-465e-a959-f58d85968c92" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to: (i) waive a portion of the management fee in order to achieve an effective net management fee rate of 0.70% as an annual percentage rate of average daily net assets of the Fund; and (ii) waive a portion of its management fee payable by the Fund in an amount equal to any management fees it earns as an investment adviser to the affiliated funds in which the Fund invests; (iii) waive a portion of its management fee in an amount equal to the management fee paid to the Investment Adviser by the MFS Subsidiary (as defined below) at an annual rate of 0.42% of the MFS Subsidiary&#x2019;s average daily net assets; (iv) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, service fees, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.054% of the Fund&#x2019;s average daily net assets; and (v) reduce or limit the MFS Subsidiary's expenses (excluding management fees) to 0.004% of the MFS Subsidiary's average daily net assets. The management fee waiver arrangement with respect to the MFS Subsidiary may not be discontinued by the Investment Adviser as long as its contract with the MFS Subsidiary is in place. The other management fee waiver and expense limitation arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="d180e168-0e3a-40b9-a8b5-06049bfa840a"
          xlink:to="x_0001jq_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_4a461c4d-3910-4b4d-b650-d093b9601ff2"
          xlink:label="x_4a461c4d-3910-4b4d-b650-d093b9601ff2"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_4a461c4d-3910-4b4d-b650-d093b9601ff2"
          xlink:to="x_0001jq_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_4c98e952-81eb-48ca-b6da-1c27f6933695"
          xlink:label="x_4c98e952-81eb-48ca-b6da-1c27f6933695"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_4c98e952-81eb-48ca-b6da-1c27f6933695"
          xlink:to="x_0001jq_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_88f0014b-1412-486b-a32f-9f61bd373603"
          xlink:label="x_88f0014b-1412-486b-a32f-9f61bd373603"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_88f0014b-1412-486b-a32f-9f61bd373603"
          xlink:to="x_0001jq_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_96736091-959f-45b0-b89f-364fae48b1c3"
          xlink:label="x_96736091-959f-45b0-b89f-364fae48b1c3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_96736091-959f-45b0-b89f-364fae48b1c3"
          xlink:to="x_0001jq_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_44c2e260-945d-473a-9709-873d567938f6"
          xlink:label="x_44c2e260-945d-473a-9709-873d567938f6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_44c2e260-945d-473a-9709-873d567938f6"
          xlink:to="x_0001jq_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_6751d592-913a-47c1-a1bf-06abff1ebeea"
          xlink:label="x_6751d592-913a-47c1-a1bf-06abff1ebeea"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_6751d592-913a-47c1-a1bf-06abff1ebeea"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#cd7864a8-ae97-4902-812b-9e94d3500539"
          xlink:label="cd7864a8-ae97-4902-812b-9e94d3500539"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="cd7864a8-ae97-4902-812b-9e94d3500539"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#b1197437-eada-4809-95e2-fa123275bb62"
          xlink:label="b1197437-eada-4809-95e2-fa123275bb62"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="b1197437-eada-4809-95e2-fa123275bb62"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_0e6ab559-cb45-4405-ac3f-9eaf53af1292"
          xlink:label="x_0e6ab559-cb45-4405-ac3f-9eaf53af1292"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_0e6ab559-cb45-4405-ac3f-9eaf53af1292"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_33c2263c-6c01-436c-8d2e-265006d9b94f"
          xlink:label="x_33c2263c-6c01-436c-8d2e-265006d9b94f"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_33c2263c-6c01-436c-8d2e-265006d9b94f"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_7e20ff23-eb78-4a93-bbfe-c9a14abf1535"
          xlink:label="x_7e20ff23-eb78-4a93-bbfe-c9a14abf1535"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_7e20ff23-eb78-4a93-bbfe-c9a14abf1535"
          xlink:to="x_0001jl_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_01d5a2f5-92c8-4590-80a1-f9301fdf9d3a"
          xlink:label="x_01d5a2f5-92c8-4590-80a1-f9301fdf9d3a"
          xlink:type="locator"/>
        <link:footnote id="x_0001jr_115ada09-9504-465e-a959-f58d85968c92" xlink:label="x_0001jr_115ada09-9504-465e-a959-f58d85968c92" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class C Shares automatically convert into Class A Shares eight years after the purchase date. The 10-Year performance for Class C Shares does not reflect the conversion to Class A Shares after the first eight years of performance.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_01d5a2f5-92c8-4590-80a1-f9301fdf9d3a"
          xlink:to="x_0001jr_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3decbf9f-4822-4b7e-aea3-41c6fc8e5681"
          xlink:label="x_3decbf9f-4822-4b7e-aea3-41c6fc8e5681"
          xlink:type="locator"/>
        <link:footnote id="x_00051k_115ada09-9504-465e-a959-f58d85968c92" xlink:label="x_00051k_115ada09-9504-465e-a959-f58d85968c92" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Class R6 Shares commenced operations on April 30, 2018. Prior to that date, the performance of Class R6 Shares shown in the table above is that of Institutional Shares. Performance has not been adjusted to reflect the lower expenses of Class R6 Shares. Class R6 Shares would have had higher returns because: (i) Institutional Shares and Class R6 Shares represent interests in the same portfolio of securities; and (ii) Class R6 Shares have lower expenses.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3decbf9f-4822-4b7e-aea3-41c6fc8e5681"
          xlink:to="x_00051k_115ada09-9504-465e-a959-f58d85968c92"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_0b9cfa30-ca8c-4096-af9d-7f8f7c15a2a4"
          xlink:label="x_0b9cfa30-ca8c-4096-af9d-7f8f7c15a2a4"
          xlink:type="locator"/>
        <link:footnote id="x_0004eq_fd338c59-d11e-4d64-8822-d24027ae5e5e" xlink:label="x_0004eq_fd338c59-d11e-4d64-8822-d24027ae5e5e" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The &#x201c;Total Annual Fund Operating Expenses&#x201d; and &#x201c;Total Annual Fund Operating Expenses After Fee Waiver and Expense Limitation&#x201d; do not correlate to the ratios of net and total expenses to average net assets provided in the Financial Highlights, which reflect the operating expenses of the Fund and do not include &#x201c;Acquired Fund Fees and Expenses.&#x201d;</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_0b9cfa30-ca8c-4096-af9d-7f8f7c15a2a4"
          xlink:to="x_0004eq_fd338c59-d11e-4d64-8822-d24027ae5e5e"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_1d988d26-e810-4ed0-94da-5e28040d6e13"
          xlink:label="x_1d988d26-e810-4ed0-94da-5e28040d6e13"
          xlink:type="locator"/>
        <link:footnote id="x_0004es_fd338c59-d11e-4d64-8822-d24027ae5e5e" xlink:label="x_0004es_fd338c59-d11e-4d64-8822-d24027ae5e5e" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The Investment Adviser has agreed to: (i) waive a portion of the management fee in order to achieve an effective net management fee rate of 0.70% as an annual percentage rate of average daily net assets of the Fund; and (ii) waive a portion of its management fee payable by the Fund in an amount equal to any management fees it earns as an investment adviser to the affiliated funds in which the Fund invests; (iii) waive a portion of its management fee in an amount equal to the management fee paid to the Investment Adviser by the MFS Subsidiary (as defined below) at an annual rate of 0.42% of the MFS Subsidiary&#x2019;s average daily net assets; (iv) reduce or limit &#x201c;Other Expenses&#x201d; (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.054% of the Fund&#x2019;s average daily net assets; and (v) reduce or limit the MFS Subsidiary&#x2019;s expenses (excluding management fees) to 0.004% of the MFS Subsidiary&#x2019;s average daily net assets. The management fee waiver arrangement with respect to the MFS Subsidiary may not be discontinued by the Investment Adviser as long as its contract with the MFS Subsidiary is in place. The other management fee waiver and expense limitation arrangements will remain in effect through at least </xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">April 30, 2027</xhtml:span><xhtml:span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">, and prior to such date the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_1d988d26-e810-4ed0-94da-5e28040d6e13"
          xlink:to="x_0004es_fd338c59-d11e-4d64-8822-d24027ae5e5e"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_53365d92-e104-4ec0-9b2c-afa2edc3c35e"
          xlink:label="x_53365d92-e104-4ec0-9b2c-afa2edc3c35e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_53365d92-e104-4ec0-9b2c-afa2edc3c35e"
          xlink:to="x_0004eq_fd338c59-d11e-4d64-8822-d24027ae5e5e"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
