<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:api="http://api/20250731"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="api-20250731.xsd" xlink:type="simple"/>
    <context id="AsOf2025-07-31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023127Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127241Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_GeneralRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:GeneralRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_oef_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_EquitySecurityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:EquitySecurityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_CompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:CompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_InvestmentCompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:InvestmentCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_UnderlyingFundRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:UnderlyingFundRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_ClosedEndFundRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ClosedEndFundRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_BusinessDevelopmentCompaniesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:BusinessDevelopmentCompaniesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_ExchangeTradedFundRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ExchangeTradedFundRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_DebtSecurityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:DebtSecurityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_JunkBondsOrHighYieldHighRiskSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:JunkBondsOrHighYieldHighRiskSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_ForeignSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ForeignSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_EmergingMarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:EmergingMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_SmallCapCompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:SmallCapCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_GrowthStyleRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:GrowthStyleRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_ConvertibleSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008424Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ConvertibleSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</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="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</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="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</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="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</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="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023126Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023127Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023127Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023127Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023127Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023127Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023127Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2013-05-312024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127241Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127241Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2013-05-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127241Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127241Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127241Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127241Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127241Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127241Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_GeneralRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:GeneralRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_oef_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_DebtSecurityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:DebtSecurityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_JunkBondsOrHighYieldHighRiskSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:JunkBondsOrHighYieldHighRiskSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_ForeignSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008426Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ForeignSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012015-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2015-12-31</endDate>
        </period>
    </context>
    <context id="From2016-01-012016-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="From2017-01-012017-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="From2018-01-012018-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="From2019-01-012019-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012020-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="From2021-01-012021-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="From2022-01-012022-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="From2023-01-012023-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</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="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</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="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</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="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</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="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023132Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023131Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023131Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023131Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023131Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2013-05-312024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127242Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2013-05-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127242Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127242Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127242Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000127242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023136Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023135Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_GeneralRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:GeneralRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_oef_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_EquitySecurityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:EquitySecurityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_CompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:CompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_InvestmentCompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:InvestmentCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_ClosedEndFundRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ClosedEndFundRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_ExchangeTradedFundRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ExchangeTradedFundRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_LeverageRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:LeverageRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_DebtSecurityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:DebtSecurityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_ForeignSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ForeignSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_EmergingMarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:EmergingMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_SmallCapCompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:SmallCapCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_RealEstateInvestmentTrustRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:RealEstateInvestmentTrustRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_ConvertibleSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ConvertibleSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_PrivatelyPlacedSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:PrivatelyPlacedSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_CreditLiquidityAndVolatilityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:CreditLiquidityAndVolatilityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_UnderlyingFundRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000008428Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:UnderlyingFundRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</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="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</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="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</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="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</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="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000085545Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023136Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023136Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023136Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023136Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023136Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023136Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023135Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023135Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023135Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023135Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023135Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000023135Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169012Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_GeneralRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:GeneralRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_oef_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_EquitySecurityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:EquitySecurityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_CompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:CompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_SmallCompanyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:SmallCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_GrowthInvestmentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:GrowthInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_ManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000053763Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2017-01-012017-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="From2018-01-012018-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="From2019-01-012019-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012020-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="From2021-01-012021-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="From2022-01-012022-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="From2023-01-012023-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</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="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</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="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</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="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</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="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsAndSalesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000TotalReturnIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:Russell2000TotalReturnIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000TotalReturnIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:Russell2000TotalReturnIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000TotalReturnIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:Russell2000TotalReturnIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000GrowthTotalReturnIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:Russell2000GrowthTotalReturnIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000GrowthTotalReturnIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:Russell2000GrowthTotalReturnIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000GrowthTotalReturnIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169013Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">api:Russell2000GrowthTotalReturnIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169010Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169012Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169012Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169012Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownSmallCapFundClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000169012Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-09</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">api:C000221013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_DebtSecurityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:DebtSecurityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_GeneralRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:GeneralRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_oef_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_IncomeRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:IncomeRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_InterestRateRisksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:InterestRateRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_ManagerRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ManagerRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_NewFundRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:NewFundRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_PortfolioTurnoverRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:PortfolioTurnoverRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_TreasurySTRIPSRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:TreasurySTRIPSRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <context id="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_ZeroCouponUSTreasuryBondRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000764859</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">api:YorktownClassAClassLAndInstitutionalClassMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">api:S000069169Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">api:ZeroCouponUSTreasuryBondRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-31</startDate>
            <endDate>2025-07-31</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <unit id="USDPShares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="Ratio">
        <measure>pure</measure>
    </unit>
    <dei:AmendmentFlag contextRef="AsOf2025-07-31" id="Fact000003">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="AsOf2025-07-31" id="Fact000004">497</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="AsOf2025-07-31" id="Fact000005">2025-07-31</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="AsOf2025-07-31" id="Fact000006">AMERICAN PENSION INVESTORS TRUST</dei:EntityRegistrantName>
    <dei:EntityInvCompanyType contextRef="AsOf2025-07-31" id="Fact000007">N-1A</dei:EntityInvCompanyType>
    <dei:EntityCentralIndexKey contextRef="AsOf2025-07-31" id="Fact000008">0000764859</dei:EntityCentralIndexKey>
    <oef:ProspectusDate contextRef="AsOf2025-07-31" id="Fact000014">2025-07-31</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000015">Yorktown Growth Fund</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000016">Investment
Objective &#x2013; Growth of capital.</oef:ObjectiveHeading>
    <oef:ExpenseHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000017">Fees and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000018">&lt;p id="xdx_A84_eoef--ExpenseNarrativeTextBlock_zqTEj369CGt2" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;This table describes the fees and expenses
that you may pay if you buy, hold, and sell shares of the Fund. You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $25,000 in Yorktown Funds. More information about these and other discounts is available from
your financial professional and in the &#x201c;How to Reduce Your Sales Charge&#x201d; Section on page 53 of the Fund&#x2019;s prospectus.
You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the tables
and examples below.&lt;/b&gt;&lt;/p&gt;

</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000019">&lt;div id="xdx_A8B_eoef--ShareholderFeesTableTextBlock_zAJ0pLeCVCq4"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A58_dU_zQ4itmtRaRP6" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Shareholder Fees"&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_496_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000023127Member_zBFAD3mExM81" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_492_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000023126Member_zUu9NJvgBW82" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_49E_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000127241Member_ztkmdq7DWzfl" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;AFGGX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APITX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APGRX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_407_eoef--MaximumSalesChargeImposedOnPurchasesOverOfferingPrice_dpn_zFB4HocDJWag"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum sales charge (load) imposed on purchases&lt;br/&gt;
(as percentage of offering price)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5.75%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum deferred sales charges (load)&lt;br/&gt;
(as a percentage of the lesser of original purchase price or redemption proceeds)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_907_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000023127Member_fKDEp_z3jzpnNHLgq3"&gt;0.50%&lt;/span&gt;&lt;sup&gt;(1)&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_902_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000023126Member_zABn38m7SVs2"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_90B_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000127241Member_znEV4X459nIf"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_404_eoef--MaximumAccountFee_dn_zMvIoVhtdnF7"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum Account fee (for accounts under $500)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:ShareholderFeesTableTextBlock>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="INF"
      id="Fact000021"
      unitRef="Ratio">0.0575</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="INF"
      id="Fact000022"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="INF"
      id="Fact000023"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="INF"
      id="Fact000024"
      unitRef="Ratio">0.0050</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="INF"
      id="Fact000025"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="INF"
      id="Fact000026"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="0"
      id="Fact000028"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="0"
      id="Fact000029"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="0"
      id="Fact000030"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000031">&lt;div id="xdx_A81_eoef--AnnualFundOperatingExpensesTableTextBlock_zqCHiExMBQD9"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A5E_dU_z6Myv25YICbl" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Annual Fund Operating Expenses"&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_490_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000023127Member_z6KlVSrvELDl" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_494_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000023126Member_zZgaAFJwLCfe" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_491_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000127241Member_zx3DDWA7rWLb" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;AFGGX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APITX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APGRX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--ManagementFeesOverAssets_dpn_zBbWBWD7yjai"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Management Fee&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.90%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.90%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.90%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_406_eoef--DistributionAndService12b1FeesOverAssets_dpn_zJZCfvJ38S69"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Distribution/Service (12b-1 Fees)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--OtherExpensesOverAssets_dpn_zPWPY9L8t4Zi"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Other Expenses&lt;sup id="xdx_F41_z7lSmrk3qkj4"&gt;(2)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.41%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.41%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.41%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_403_eoef--ExpensesOverAssets_dpn_zDJymFnUqtT"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;br/&gt;
(before fee waivers and/or expense reimbursements)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.31%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.31%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.31%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_401_eoef--FeeWaiverOrReimbursementOverAssets_dpn_zvQQaejuGS2i"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Fee Waivers and/or Expense Reimbursements&lt;sup id="xdx_F48_zaBRtUZfel36"&gt;(3)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.05)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.05)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.05)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40A_eoef--NetExpensesOverAssets_dpn_zWJAT0xUCag7"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;sup id="xdx_F45_zDB6RIW5wAY1"&gt;(3)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.26%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.26%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.26%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F03_zArBDIBx523h" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1D_z5f0gq4DE1f8" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Large purchases of Class A shares (greater than $1 million) are generally subject to a CDSC of 0.25% if the shares are redeemed during the first 12 months after purchase, unless the dealer, at its discretion, has waived the commission advance paid by Ultimus Fund Distributors, LLC (the &#x201c;Distributor&#x201d;).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;






&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;



&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F0E_zOPXalV9I4sh" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F18_zMmkZjY78pv3" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x201c;Other Expenses&#x201d; include 0.01% of interest expense.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F00_z7nF4LryBKyg" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(3)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F13_zoG5OPDyY9Ri" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;In the interest of limiting expenses of the Fund, the Adviser has entered into a contractual expense limitation agreement with the Trust, effective May 31, 2025, so that the Fund&#x2019;s ratio of total annual operating expenses is limited to 1.25% for Class A Shares, 2.25% for Class L Shares, and 1.25% for Institutional Class Shares until at least &lt;span id="xdx_902_eoef--FeeWaiverOrReimbursementOverAssetsDateOfTermination_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zNtXy11mX9Bc"&gt;May 31, 2026&lt;/span&gt;. Pursuant to the expense limitation agreement, the Adviser has agreed to waive or limit its fees and assume other expenses of the Fund (excluding acquired fund fees and expenses, brokerage fees, taxes, borrowing costs such as interest and dividend expenses on securities sold short, and other extraordinary expenses not incurred in the ordinary course of business) so that the Fund&#x2019;s ratio of total annual operating expenses is limited to the limits listed above. The Adviser is entitled to the reimbursement of fees waived or reimbursed by the Adviser to the Fund subject to the limitations that the reimbursement is made only for fees and expenses incurred not more than three years prior to the date of reimbursement, and the reimbursement may not be made if it would cause the Fund&#x2019;s annual expense limitations to be exceeded. The reimbursement amount may not include any additional charges or fees, such as interest accruable on the reimbursement account. Further, any recoupments will be subject to any lower expenses limitations that have been later implemented by the Board. The expense limitation agreement may be terminated only by the Board of Trustees of the Trust (the &#x201c;Board&#x201d;) by providing 60 days&#x2019; notice, or if the Adviser ceases to serve as adviser to the Fund.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="INF"
      id="Fact000033"
      unitRef="Ratio">0.0090</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="INF"
      id="Fact000034"
      unitRef="Ratio">0.0090</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="INF"
      id="Fact000035"
      unitRef="Ratio">0.0090</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="INF"
      id="Fact000037"
      unitRef="Ratio">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="INF"
      id="Fact000038"
      unitRef="Ratio">0.0100</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="INF"
      id="Fact000039"
      unitRef="Ratio">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="INF"
      id="Fact000041"
      unitRef="Ratio">0.0041</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="INF"
      id="Fact000042"
      unitRef="Ratio">0.0041</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="INF"
      id="Fact000043"
      unitRef="Ratio">0.0041</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="INF"
      id="Fact000045"
      unitRef="Ratio">0.0131</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="INF"
      id="Fact000046"
      unitRef="Ratio">0.0231</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="INF"
      id="Fact000047"
      unitRef="Ratio">0.0131</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="INF"
      id="Fact000049"
      unitRef="Ratio">-0.0005</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="INF"
      id="Fact000050"
      unitRef="Ratio">-0.0005</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="INF"
      id="Fact000051"
      unitRef="Ratio">-0.0005</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="INF"
      id="Fact000053"
      unitRef="Ratio">0.0126</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="INF"
      id="Fact000054"
      unitRef="Ratio">0.0226</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="INF"
      id="Fact000055"
      unitRef="Ratio">0.0126</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000061">May 31, 2026</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000062">Example:</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000063">&lt;p id="xdx_A87_eoef--ExpenseExampleNarrativeTextBlock_zJ5Gql5dUACc" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The
following example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds.
The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of
those periods. The Example also assumes that your investment has a 5% return each year and the Fund&#x2019;s operating expenses remain
the same (taking into account the expense limitation agreement for the one-year period). Although your actual costs may be higher or lower,
based on these assumptions your costs would be:&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000064">&lt;div id="xdx_A80_eoef--ExpenseExampleWithRedemptionTableTextBlock_zWPCgaIYdpu5"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A56_dU_zbeLKm98gCJ6" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Expense Example"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="border-bottom: black 1pt solid; width: 40%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_48B_eoef--ExpenseExampleYear01_z34BfYKVTeif" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_48E_eoef--ExpenseExampleYear03_zCSVVC3BByr6" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_48A_eoef--ExpenseExampleYear05_zZqobBus0VR3" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_481_eoef--ExpenseExampleYear10_zQ3Bg1JkTXGb" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_411_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008424Member_oef--ClassAxis_custom--C000023127Member_zklXnLLoiogf" style="vertical-align: top"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A (AFGGX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$696&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$962&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,247&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$2,059&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_413_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008424Member_oef--ClassAxis_custom--C000023126Member_zcN1c3GD5Pme" style="vertical-align: top"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L (APITX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$229&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$717&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,231&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$2,642&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_41C_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008424Member_oef--ClassAxis_custom--C000127241Member_zRGaz2iygMdg" style="vertical-align: top"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional Class (APGRX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$128&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$410&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$713&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,575&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;







&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;



&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="0"
      id="Fact000065"
      unitRef="USD">696</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="0"
      id="Fact000066"
      unitRef="USD">962</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="0"
      id="Fact000067"
      unitRef="USD">1247</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      decimals="0"
      id="Fact000068"
      unitRef="USD">2059</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="0"
      id="Fact000069"
      unitRef="USD">229</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="0"
      id="Fact000070"
      unitRef="USD">717</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="0"
      id="Fact000071"
      unitRef="USD">1231</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      decimals="0"
      id="Fact000072"
      unitRef="USD">2642</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="0"
      id="Fact000073"
      unitRef="USD">128</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="0"
      id="Fact000074"
      unitRef="USD">410</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="0"
      id="Fact000075"
      unitRef="USD">713</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      decimals="0"
      id="Fact000076"
      unitRef="USD">1575</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000080">Portfolio Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000081">&lt;p id="xdx_A8D_eoef--PortfolioTurnoverTextBlock_zL8tC9iwRdOe" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The Fund pays transaction costs, such
as commissions, when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate may indicate
higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected
in annual fund operating expenses or in the example, affect the Fund&#x2019;s performance. During the most recent fiscal year, the Fund&#x2019;s
portfolio turnover rate was &lt;span id="xdx_904_eoef--PortfolioTurnoverRate_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zgcBTN3eenw6"&gt;52%&lt;/span&gt; of the average value of its portfolio.&lt;/b&gt;&lt;/p&gt;

</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      decimals="INF"
      id="Fact000082"
      unitRef="Ratio">0.52</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000083">Principal Investment Strategies</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000084">&lt;p id="xdx_A89_eoef--StrategyNarrativeTextBlock_zgFpi8g527t" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The
Growth Fund invests in securities that, in the opinion of Yorktown Management &amp;amp; Research Company, Inc. (the &#x201c;Adviser&#x201d;),
offer the opportunity for growth of capital.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Growth Fund can include stocks of any size, within
any sector, and at times the Adviser may emphasize one or more particular sectors. The Growth Fund may also invest in other U.S. and foreign
securities, including securities convertible into common stock and securities issued through private placements, and securities issued
by investment companies (&#x201c;Underlying Funds&#x201d;). Underlying Funds are open-end mutual funds, closed-end funds, Business Development
Companies (&#x201c;BDC&#x2019;s&#x201d;), unit investment trusts, that seek capital growth or appreciation by investing primarily in common
stock or convertible securities and that are not affiliated with the Fund or its Adviser. The Growth Fund may also invest in long-, intermediate-
or short-term bonds and other fixed-income securities (or in Underlying Funds that invest primarily in such securities) whenever the Adviser
believes that such securities offer a potential for capital appreciation, such as during periods of declining interest rates. In addition,
the Growth Fund may invest in Exchange Traded Funds (&#x201c;ETFs&#x201d;), including ETFs that represent interests in a portfolio of common
stocks or fixed income securities seeking to track the performance of a securities index or similar benchmark.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Adviser may sell a security or redeem shares of
an Underlying Fund given a variety of circumstances, such as: when an investment no longer appears to the Adviser to offer the potential
to achieve the Growth Fund&#x2019;s investment objective; when an investment&#x2019;s performance does not meet the Adviser&#x2019;s expectations;
when an investment opportunity arises that the Adviser believes is more compelling; to realize gains or limit losses; or to raise cash
to meet shareholder redemptions or to pay expenses.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Fund may, from time to time, take temporary defensive
positions that are inconsistent with the Fund&#x2019;s principal investment strategies in attempting to respond to adverse market, economic,
political, or other conditions. When the Fund takes a defensive position, the Fund&#x2019;s assets may be held in cash and/or invested
in money market mutual funds, money market instruments, including repurchase agreements or other short-term securities considered by the
Adviser to be of a defensive nature. When the Fund is invested in this manner, it may not achieve its investment objective.&lt;/p&gt;

</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_GeneralRisksMember"
      id="Fact000085">&lt;p id="xdx_A80_eoef--RiskTextBlock_hoef--RiskAxis__custom--GeneralRisksMember_z8BStjRoezI6" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;General Risks.&lt;/b&gt;&#160;&lt;span id="xdx_906_eoef--RiskTextBlock_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--RiskAxis__oef--RiskLoseMoneyMember_z0nWlQ92yn6f"&gt;There is a
risk that you could lose all or a portion of your investment in the Fund.&lt;/span&gt; The value of your investment in the Fund will go up and down
with the prices of the securities in which the Fund invests.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_oef_RiskLoseMoneyMember"
      id="Fact000086">There is a
risk that you could lose all or a portion of your investment in the Fund.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_EquitySecurityRiskMember"
      id="Fact000087">&lt;p id="xdx_A8F_eoef--RiskTextBlock_hoef--RiskAxis__custom--EquitySecurityRiskMember_zLt7uoB5t1jf" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Equity
Security Risk.&lt;/b&gt;&#160;Prices of equity securities generally fluctuate more than those of other securities, such as debt securities.
Market risk, the risk that prices of securities will decrease because of the interplay of market forces, may affect a single issuer, industry
or sector of the economy or may affect the market as a whole.&lt;/p&gt;








&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;



&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_CompanyRiskMember"
      id="Fact000091">&lt;p id="xdx_A85_eoef--RiskTextBlock_hoef--RiskAxis__custom--CompanyRiskMember_zbGliTDaLRse" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Company
Risk.&lt;/b&gt;&#160;The Fund may invest in securities that involve certain special circumstances that the Adviser believes offer the opportunity
for long-term capital appreciation. These investments may involve greater risks of loss than investments in securities of well-established
companies with a history of consistent operating patterns.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_InvestmentCompanyRiskMember"
      id="Fact000092">&lt;p id="xdx_A8C_eoef--RiskTextBlock_hoef--RiskAxis__custom--InvestmentCompanyRiskMember_zUpo8SQZwR72" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Investment
Company Risk.&lt;/b&gt;&#160;Any investment in an open-end or closed-end investment company involves risk and, although the Fund invests in
a number of Underlying Funds, this practice does not eliminate investment risk. The value of shares of an Underlying Fund will go up and
down in response to changes in the value of its portfolio holdings.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_UnderlyingFundRiskMember"
      id="Fact000093">&lt;p id="xdx_A83_eoef--RiskTextBlock_hoef--RiskAxis__custom--UnderlyingFundRiskMember_z4vgkUp9Zgl5" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Underlying
Fund Risk.&lt;/b&gt;&#160;None of the Underlying Funds are or will be affiliated with the Fund or the Adviser. Therefore, investment decisions
by the investment advisers of the Underlying Funds are made independently of the Fund and the Fund&#x2019;s Adviser. The investment adviser
of one Underlying Fund may be purchasing securities of the same issuer whose securities are being sold by the investment adviser of another
Underlying Fund. The result of this would be an indirect expense to the Fund without accomplishing any investment purpose. The risk that
the Fund&#x2019;s performance is closely related to the risks associated with the securities and other investments held by underlying funds
and that the ability of a Fund to achieve its investment objective will depend upon the ability of underlying funds to achieve their respective
investment objectives. The Fund bears Underlying Fund fees and expenses indirectly.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_ClosedEndFundRiskMember"
      id="Fact000094">&lt;p id="xdx_A83_eoef--RiskTextBlock_hoef--RiskAxis__custom--ClosedEndFundRiskMember_z5Wfc7fVezuh" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Closed-End
Fund Risk.&lt;/b&gt;&#160;Shares of closed-end funds frequently trade at a price per share that is less than the net asset value per share.
There can be no assurance that the market discount on shares of any closed-end fund purchased by the Fund will ever decrease or that when
the Fund seeks to sell shares of a closed-end fund it can receive the net asset value of those shares.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_BusinessDevelopmentCompaniesRiskMember"
      id="Fact000095">&lt;p id="xdx_A87_eoef--RiskTextBlock_hoef--RiskAxis__custom--BusinessDevelopmentCompaniesRiskMember_z9kOBzTUdIAa" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Business
Development Companies Risk.&lt;/b&gt;&#160;Business Development Companies (&#x201c;BDC&#x2019;s&#x201d;) are a specialized form of closed-end fund
that invest generally in small developing companies and financially troubled businesses. BDC&#x2019;s invest in private companies and thinly
traded securities of public companies, including debt instruments. Generally, little public information exists for private and thinly
traded companies and there is a risk that investors may not be able to make fully informed investment decisions. Many debt investments
in which a BDC may invest will not be rated by a credit rating agency and will be below investment grade quality. Risks faced by BDC&#x2019;s
include: competition for limited BDC investment opportunities; the liquidity of a BDC&#x2019;s private investments; uncertainty as to the
value of a BDC&#x2019;s private investments; risks associated with access to capital and leverage; and reliance on the management of a
BDC. A Fund&#x2019;s investments in BDC&#x2019;s are similar and include portfolio company risk, leverage risk, market and valuation risk,
price volatility risk and liquidity risk.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_ExchangeTradedFundRiskMember"
      id="Fact000096">&lt;p id="xdx_A84_eoef--RiskTextBlock_hoef--RiskAxis__custom--ExchangeTradedFundRiskMember_zEGa3ROfycy9" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Exchange
Traded Fund Risk.&lt;/b&gt;&#160;ETFs are not managed in the traditional sense, using economic, financial and market analysis, and the adverse
financial situation of an issuer will not directly result in its elimination from the index. In addition, investments in ETFs involve
risks similar to investments in closed-end funds including, but not limited to, the possibility that the shares of ETFs may trade at a
market discount.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_DebtSecurityRiskMember"
      id="Fact000097">&lt;p id="xdx_A89_eoef--RiskTextBlock_hoef--RiskAxis__custom--DebtSecurityRiskMember_zca0VS3OnG6j" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Debt
Security Risk.&lt;/b&gt;&#160;The values of debt securities held by the Fund are affected by rising and declining interest rates. In general,
debt securities with longer term maturities tend to fall more in value when interest rates rise than debt securities with shorter terms.
A debt security is also subject to credit risk, which is the possibility that the credit strength of an issuer will weaken and/or an issuer
of a debt security will fail to make timely payments of principal or interest and the security will go into default, and therefore it
may lose value if the issuer is unable to pay interest or repay principal when it is due.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_JunkBondsOrHighYieldHighRiskSecuritiesRiskMember"
      id="Fact000098">&lt;p id="xdx_A80_eoef--RiskTextBlock_hoef--RiskAxis__custom--JunkBondsOrHighYieldHighRiskSecuritiesRiskMember_zFGuqoAv5Kz4" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Junk
Bonds or High Yield, High Risk Securities Risk.&lt;/b&gt;&#160;Bonds rated below investment grade (i.e., BB or lower by S&amp;amp;P or Ba or lower
by Moody&#x2019;s) are speculative in nature, involve greater risk of default by the issuing entity and may be subject to greater market
fluctuations than higher rated fixed income securities.&lt;/p&gt;








&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;



&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_ForeignSecuritiesRiskMember"
      id="Fact000102">&lt;p id="xdx_A8A_eoef--RiskTextBlock_hoef--RiskAxis__custom--ForeignSecuritiesRiskMember_zFccCVGGvO7g" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Foreign
Securities Risk.&lt;/b&gt;&#160;The Fund&#x2019;s direct or indirect investments in foreign securities, including depositary receipts, involve
risks not associated with investing in U.S. securities that can adversely affect the Fund&#x2019;s performance. Foreign markets, particularly
emerging markets, may be less liquid, more volatile and subject to less government supervision than domestic markets. The value of the
Fund&#x2019;s investment may be negatively affected by changes in the exchange rates between the U.S. dollar and foreign currencies. There
may be difficulties enforcing contractual obligations, and it may take more time for trades to clear and settle.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_EmergingMarketRiskMember"
      id="Fact000103">&lt;p id="xdx_A8F_eoef--RiskTextBlock_hoef--RiskAxis__custom--EmergingMarketRiskMember_zPcLmSFFEnd4" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Emerging
Market Risk.&lt;/b&gt;&#160;There are greater risks involved in investing in emerging market countries and/or their securities markets. Generally,
economic structures in these countries are less diverse and mature than those in developed countries, and their political systems are
less stable. Investments in emerging markets countries may be affected by national policies that restrict foreign investment in certain
issuers or industries.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_SmallCapCompanyRiskMember"
      id="Fact000104">&lt;p id="xdx_A8F_eoef--RiskTextBlock_hoef--RiskAxis__custom--SmallCapCompanyRiskMember_z8Tm6lPvQEa9" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Small-Cap
Company Risk.&lt;/b&gt;&#160;The Fund&#x2019;s investments in small-cap companies may involve greater risks than investments in larger, more
established issuers. Smaller companies generally have narrower product lines, more limited financial resources and more limited trading
markets for their stock, as compared with larger companies. Their securities may be less well-known and trade less frequently and in more
limited volume than the securities of larger, more established companies.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_GrowthStyleRiskMember"
      id="Fact000105">&lt;p id="xdx_A83_eoef--RiskTextBlock_hoef--RiskAxis__custom--GrowthStyleRiskMember_zxwmx00yK7vk" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Growth
Style Risk.&lt;/b&gt;&#160;The price of equity securities rises and falls in response to many factors, including the historical and prospective
earnings of the issuer of the stock, the value of its assets, general economic conditions, interest rates, investor perceptions, and market
liquidity. The Growth Fund may invest in securities of companies that the Adviser believes have superior prospects for robust and sustainable
growth of revenues and earnings. These may be companies with new, limited or cyclical product lines, markets or financial resources, and
the management of such companies may be dependent upon one or a few key people. The stocks of such companies can therefore be subject
to more abrupt or erratic market movements than stocks of larger, more established companies or the stock market in general.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_ConvertibleSecuritiesRiskMember"
      id="Fact000106">&lt;p id="xdx_A86_eoef--RiskTextBlock_hoef--RiskAxis__custom--ConvertibleSecuritiesRiskMember_zsjyg7roeiwl" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Convertible
Securities Risk.&lt;/b&gt;&#160;A convertible security is a bond, debenture, note, preferred stock or other security that may be converted into
or exchanged for a prescribed amount of common stock of the same or a different issuer within a particular period of time at a specified
price or formula. A convertible security entitles the holder to receive the interest paid or accrued on debt or the dividend paid on preferred
stock until the convertible security matures or is redeemed, converted or exchanged. Before conversion or exchange, such securities ordinarily
provide a stream of income with generally higher yields than common stocks of the same or similar issuers, but lower than the yield on
non-convertible debt. The value of a convertible security is a function of (1) its yield in comparison with the yields of other securities
of comparable maturity and quality that do not have a conversion privilege and (2) its worth, at market value, if converted into or exchanged
for the underlying common stock. Convertible securities are typically issued by smaller capitalized companies whose stock prices may be
volatile. The price of a convertible security often reflects such variations in the price of the underlying common stock in a way that
non-convertible debt does not.&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000107">The Fund&#x2019;s Past Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000108">&lt;p id="xdx_A8E_eoef--PerformanceNarrativeTextBlock_zAqiYepOMjce" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;&lt;span id="xdx_903_eoef--PerformanceInformationIllustratesVariabilityOfReturns_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zdDt7sWipCr4"&gt;The following bar chart and table below
provide some indication of the risks of investing in the Fund by showing changes in the Fund&#x2019;s Class L Share performance from year
to year and by showing how the Fund&#x2019;s Class L Share average annual returns for 1-, 5-, and 10- year periods compare with those of
a broad measure of market performance.&lt;/span&gt; &lt;span id="xdx_902_eoef--PerformancePastDoesNotIndicateFuture_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zF7HTo8enXQa"&gt;The past performance of the Fund&#x2019;s Class L Shares (before and after taxes) is not necessarily
an indication of how the Fund will perform in the future.&lt;/span&gt; Updated performance information is available at &lt;span id="xdx_904_eoef--PerformanceAvailabilityWebSiteAddress_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zImslb0pheh3"&gt;www.yorktownfunds.com&lt;/span&gt; and by
calling toll-free &lt;span id="xdx_90D_eoef--PerformanceAvailabilityPhone_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zsODefW9r7Ug"&gt;888-933-8274&lt;/span&gt;.&lt;/b&gt;&lt;/p&gt;

</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000109">The following bar chart and table below
provide some indication of the risks of investing in the Fund by showing changes in the Fund&#x2019;s Class L Share performance from year
to year and by showing how the Fund&#x2019;s Class L Share average annual returns for 1-, 5-, and 10- year periods compare with those of
a broad measure of market performance.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000110">The past performance of the Fund&#x2019;s Class L Shares (before and after taxes) is not necessarily
an indication of how the Fund will perform in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000111">www.yorktownfunds.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000112">888-933-8274</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000113">Year-By-Year
Annual Returns &#x2013; Class L Shares (APITX)

(for calendar years ending on December 31)

&#160;



&#160;



    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;
  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000114">&lt;p id="xdx_A8E_eoef--BarChartClosingTextBlock_z8WItwXbjYtd" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;During the period covered by the bar chart,
&lt;span id="xdx_904_eoef--HighestQuarterlyReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_z9YLjxCAYNy4"&gt;the highest return&lt;/span&gt; on Class L Shares for a quarter was &lt;span id="xdx_900_eoef--BarChartHighestQuarterlyReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zpvmO2ZItnn5"&gt;20.18%&lt;/span&gt; (quarter ended &lt;span id="xdx_909_eoef--BarChartHighestQuarterlyReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_z2Z683nj1qsb"&gt;June 30, 2020&lt;/span&gt;) and &lt;span id="xdx_90B_eoef--LowestQuarterlyReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zJ720J96inU7"&gt;the lowest return&lt;/span&gt; for a quarter was &lt;span id="xdx_902_eoef--BarChartLowestQuarterlyReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zAE4UctzRMmc"&gt;(18.33)%&lt;/span&gt;
(quarter ended &lt;span id="xdx_904_eoef--BarChartLowestQuarterlyReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zNdezAbbVZj1"&gt;June 30, 2022&lt;/span&gt;). &lt;span id="xdx_905_eoef--YearToDateReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zTqcfuJcC996"&gt;Year to date total return&lt;/span&gt; for Class L Shares as of &lt;span id="xdx_903_eoef--BarChartYearToDateReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_z7DtYeiozINa"&gt;March 31, 2025&lt;/span&gt; was &lt;span id="xdx_908_eoef--BarChartYearToDateReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zgTqL4j9NgC6"&gt;(9.64)%&lt;/span&gt;.&lt;/p&gt;

</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000115">the highest return</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      decimals="INF"
      id="Fact000116"
      unitRef="Ratio">0.2018</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000117">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000118">the lowest return</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      decimals="INF"
      id="Fact000119"
      unitRef="Ratio">-0.1833</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000120">2022-06-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000121">Year to date total return</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000122">2025-03-31</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      decimals="INF"
      id="Fact000123"
      unitRef="Ratio">-0.0964</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000124">Average
Annual Total Returns

(for periods ending on December 31, 2024)

&#160;</oef:PerformanceTableHeading>
    <oef:PerformanceTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000125">&lt;div id="xdx_A84_eoef--PerformanceTableTextBlock_zgrIDXsNpXO3"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A5E_dU_zDSRUd7x4AMl" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Average Annual Total Returns"&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_497_20240101__20241231_zyildEww0HBk" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_49D_20200101__20241231_zTBu7BE6Veq2" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_491_20150101__20241231_zOgBCV7xRrFh" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Ten Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_407_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023126Member_zLjj2tdryUu1"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_90A_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000023126Member_zEHnnsH62gZh"&gt;Return Before Taxes&lt;/span&gt; - Class L Shares (APITX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.34%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;6.92%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.25%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_409_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023126Member__oef--PerformanceMeasureAxis__oef--AfterTaxesOnDistributionsMember_zfh8zYJDnb23"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Return After-Taxes on Distributions&lt;sup id="xdx_F4C_zXJ9csltHmec"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.34%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5.36%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5.45%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023126Member__oef--PerformanceMeasureAxis__oef--AfterTaxesOnDistributionsAndSalesMember_zW54XTWbZEt9"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Return After-Taxes on Distributions and Sale of Fund Shares&lt;sup id="xdx_F41_zwUzTbj0t55"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;4.35%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5.32%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5.50%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40E_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023126Member__oef--PerformanceMeasureAxis__custom--MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember_zk1uJudCCfXd"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;MSCI ACWI Total Return Index&lt;sup id="xdx_F45_z518YBKiDzMb"&gt;(2)&lt;/sup&gt;&lt;br/&gt;
(reflects no deduction for fees, expenses or taxes)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;18.02%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10.58%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;9.79%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023126Member__oef--PerformanceMeasureAxis__custom--MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember_zUVfzomZtuq6"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;MSCI ACWI SMID Cap Total Return Index&lt;sup id="xdx_F42_zoaVBxlkcqah"&gt;(3)(4)&lt;/sup&gt;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;(&lt;span id="xdx_90C_eoef--IndexNoDeductionForFeesExpensesTaxes_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_z3AbBaSCF4Hl"&gt;reflects no deduction for fees, expenses or taxes&lt;/span&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;9.19%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.10%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.61%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Ten Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_401_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023127Member_zSWhVmNDEPil"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_905_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000023127Member_z7kZhBeFgoSg"&gt;Return Before Taxes&lt;/span&gt; - Class A Shares (AFGGX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.27%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;6.76%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.70%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Since Inception&lt;br/&gt;
&lt;span id="xdx_90C_eoef--PerfInceptionDate_c20130531__20241231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000127241Member_zKGYZgdLzxxe"&gt;5/31/2013&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_402_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000127241Member_zYgBUZFLCRv2"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_900_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member__oef--ClassAxis__custom--C000127241Member_ztTadRuUGMMa"&gt;Return Before Taxes&lt;/span&gt; - Institutional Class Shares (APGRX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;8.48%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;8.02%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;8.34%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F0D_z2uNKMHrMmv1" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1E_zInnjNp6XAF5" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;span id="xdx_900_eoef--PerformanceTableUsesHighestFederalRate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zS1ZLrYtMOI2"&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 id="xdx_90B_eoef--PerformanceTableNotRelevantToTaxDeferred_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zzwqpnHMhRAd"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.&lt;/span&gt; &lt;span id="xdx_905_eoef--PerformanceTableOneClassOfAfterTaxShown_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zWfSX6MXBf3h"&gt;After-Tax Returns are shown for only Class L Shares. After-tax returns for Class A and Institutional Class Shares will vary.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F04_z4KwWktC1hu3" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F17_zWFl3S46fwUe" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The MSCI ACWI Total Return Index is a globally diversified market capitalization-weighted index that represents the performance of large- and mid-cap stocks across both developed and emerging markets. It is designed to capture approximately 85% of the global equity market capitalization. The &#x201c;Total Return&#x201d; aspect means it includes reinvested dividends.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F0C_zKCR7uBUa5Bi" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(3)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F16_z8JdZ6J7KRdd" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The MSCI ACWI SMID Cap Total Return Index is a free float-adjusted market capitalization index that is designed to measure mid- and small-cap equity performance across global developed and emerging markets. As of April&#160;30, 2025, the MSCI ACWI SMID Cap Total Return Index consisted of the following 23 developed market country indices: Australia, Austria, Belgium, Canada, Denmark, Finland, France, Germany, Hong Kong, Ireland, Israel, Italy, Japan, Netherlands, New Zealand, Norway, Portugal, Singapore, Spain, Sweden, Switzerland, the United Kingdom and the United States. As of April&#160;30, 2025, the MSCI ACWI SMID Cap Total Return Index consisted of the following 24 emerging market country indices: Brazil, Chile, China, Colombia, Czech Republic, Egypt, Greece, Hungary, India, Indonesia, Korea, Kuwait, Malaysia, Mexico, Peru, Philippines, Poland, Qatar, Saudi Arabia, South Africa, Taiwan, Thailand, Turkey and United Arab Emirates.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F07_zeypKcDpmLV8" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(4)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1E_zgbdkef8tOH5" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The prior benchmark, MSCI ACWI SMID Cap Total Return Index is shown for regulatory purposes only and will not be used for comparison going forward as it does not meet new regulatory requirements.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:PerformanceTableTextBlock>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023126Member"
      id="Fact000130">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member"
      decimals="INF"
      id="Fact000127"
      unitRef="Ratio">0.0734</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member"
      decimals="INF"
      id="Fact000128"
      unitRef="Ratio">0.0692</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member"
      decimals="INF"
      id="Fact000129"
      unitRef="Ratio">0.0725</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000132"
      unitRef="Ratio">0.0734</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000133"
      unitRef="Ratio">0.0536</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000134"
      unitRef="Ratio">0.0545</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000136"
      unitRef="Ratio">0.0435</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000137"
      unitRef="Ratio">0.0532</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000138"
      unitRef="Ratio">0.0550</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000140"
      unitRef="Ratio">0.1802</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000141"
      unitRef="Ratio">0.1058</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000142"
      unitRef="Ratio">0.0979</oef:AvgAnnlRtrPct>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000147">reflects no deduction for fees, expenses or taxes</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000144"
      unitRef="Ratio">0.0919</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000145"
      unitRef="Ratio">0.0710</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023126Member_custom_MSCIACWISMIDCapTotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000146"
      unitRef="Ratio">0.0761</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000023127Member"
      id="Fact000152">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023127Member"
      decimals="INF"
      id="Fact000149"
      unitRef="Ratio">0.0227</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023127Member"
      decimals="INF"
      id="Fact000150"
      unitRef="Ratio">0.0676</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023127Member"
      decimals="INF"
      id="Fact000151"
      unitRef="Ratio">0.0770</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="From2013-05-312024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127241Member"
      id="Fact000153">2013-05-31</oef:PerfInceptionDate>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member_custom_C000127241Member"
      id="Fact000158">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127241Member"
      decimals="INF"
      id="Fact000155"
      unitRef="Ratio">0.0848</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127241Member"
      decimals="INF"
      id="Fact000156"
      unitRef="Ratio">0.0802</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127241Member"
      decimals="INF"
      id="Fact000157"
      unitRef="Ratio">0.0834</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000160">After-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000161">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008424Member"
      id="Fact000162">After-Tax Returns are shown for only Class L Shares. After-tax returns for Class A and Institutional Class Shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000166">Yorktown Short Term Bond Fund</oef:RiskReturnHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000167">&lt;p id="xdx_A8E_eoef--ObjectivePrimaryTextBlock_z6t5mYRhTWak" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Investment
Objective &#x2013;&lt;/b&gt;&#160;The Fund&#x2019;s investment objective is to seek income consistent with the preservation of capital.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000168">Fees and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000169">&lt;p id="xdx_A88_eoef--ExpenseNarrativeTextBlock_zwv4c9uha3td" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;This table describes the fees and expenses
that you may pay if you buy, hold, and sell shares of the Fund. &lt;span id="xdx_90A_eoef--ExpenseBreakpointDiscounts_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zN8XwomfxxRj"&gt;You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $&lt;span id="xdx_902_eoef--ExpenseBreakpointMinimumInvestmentRequiredAmount_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zpqdOYuRb11c"&gt;100,000&lt;/span&gt; in Yorktown Funds&lt;/span&gt;. More information about these and other discounts is available from
your financial professional and in the &#x201c;How to Reduce Your Sales Charge&#x201d; Section on page 53 of the Fund&#x2019;s prospectus.
You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the tables
and examples below.&lt;/b&gt;&lt;/p&gt;

</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000170">You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $100,000 in Yorktown Funds</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      decimals="0"
      id="Fact000171"
      unitRef="USD">100000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000172">&lt;div id="xdx_A8F_eoef--ShareholderFeesTableTextBlock_zFuqOziFpTE5"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A5C_dU_z8FT62DsLqK6" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Shareholder Fees"&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_49D_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000023132Member_zl0KTX6fNEw9" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_497_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000023131Member_zW5FFJRYivl3" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_49B_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000127242Member_z3jD1GBOROZ1" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APIMX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;AFMMX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APIBX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_402_eoef--MaximumSalesChargeImposedOnPurchasesOverOfferingPrice_dpn_zS9IT3PWDXa5"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum sales charge (load) imposed on purchases&lt;br/&gt;
(as percentage of offering price)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.25%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum deferred sales charge (load)&lt;br/&gt;
(as a percentage of the lesser of original purchase price or redemption proceeds)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_906_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000023132Member_fKDEp_zZr8kJbnFpob"&gt;0.50%&lt;/span&gt;&lt;sup&gt;(1)&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_90E_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000023131Member_zp6MLmbxa2A5"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_908_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000127242Member_zQHMKnsAiVKh"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_404_eoef--MaximumAccountFee_zdTbovtOnzCj"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum Account fee (for accounts under $500)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:ShareholderFeesTableTextBlock>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="INF"
      id="Fact000174"
      unitRef="Ratio">0.0225</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="INF"
      id="Fact000175"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="INF"
      id="Fact000176"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="INF"
      id="Fact000177"
      unitRef="Ratio">0.0050</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="INF"
      id="Fact000178"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="INF"
      id="Fact000179"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="0"
      id="Fact000181"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="0"
      id="Fact000182"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="0"
      id="Fact000183"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000184">&lt;div id="xdx_A87_eoef--AnnualFundOperatingExpensesTableTextBlock_zcgvOAzVSIL5"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A5A_dU_z8jbJteaBms3" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Annual Fund Operating Expenses"&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_494_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000023132Member_zCfUWYNlTOtd" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_49B_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000023131Member_ze1TC9liYFV2" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_496_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000127242Member_zkWaaondxoh3" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APIMX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;AFMMX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APIBX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--ManagementFeesOverAssets_dpn_zHpNV8oRPgq9"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Management Fee&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.70%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.70%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.70%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_406_eoef--DistributionAndService12b1FeesOverAssets_dpn_z0MUnHnHEV59"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Distribution/Service (12b-1 Fees)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.65%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--OtherExpensesOverAssets_dpn_z0G7a8hVomTh"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Other Expenses&lt;sup id="xdx_F48_zfW6bzvxNSE3"&gt;(2)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.29%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.29%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.29%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_403_eoef--ExpensesOverAssets_dpn_zebNumLoAJ63"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;br/&gt;
(before fee waivers and/or expense reimbursements)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.99%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.64%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.99%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_401_eoef--FeeWaiverOrReimbursementOverAssets_dpn_zNvXN2c1w7q3"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Fee Waivers and/or Expense Reimbursements&lt;sup id="xdx_F43_zikdb4l8q6kk"&gt;(3)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.19)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.19)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.19)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40A_eoef--NetExpensesOverAssets_dpn_zJpc9cwGT2a2"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;sup id="xdx_F4D_zyehPypCDeW7"&gt;(3)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.80%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.45%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.80%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F0C_zmTUfoWaR7J3" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1E_zw4hDnqeiHm5" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Large purchases of Class A shares (greater than $250,000) are generally subject to a CDSC of 0.25% if the shares are redeemed during the first 12 months after purchase, unless the dealer, at its discretion, has waived the commission advance paid by Ultimus Fund Distributors, LLC (the &#x201c;Distributor&#x201d;).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F0E_zQ6NtzhthJGf" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1E_zz3muJsRlZU5" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x201c;Other Expenses&#x201d; include 0.01% of interest expense.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;






&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;





&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F02_zkksJPdig89j" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(3)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F15_zcUPNuVXlKxa" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;In the interest of limiting expenses of the Fund, the Adviser has entered into a contractual expense limitation agreement with the Trust, effective May&#160;31, 2025, so that the Fund&#x2019;s ratio of total annual operating expenses is limited to 0.79% for Class A Shares, 1.44% for Class L Shares, and 0.79% for Institutional Class Shares until at least &lt;span id="xdx_900_eoef--FeeWaiverOrReimbursementOverAssetsDateOfTermination_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_z5DkwTg5okfc"&gt;May&#160;31, 2026&lt;/span&gt;. Pursuant to each of these expense limitation agreements, the Adviser has agreed to waive or limit its fees and assume other expenses of the Fund (excluding interest, taxes, brokerage commissions and other expenditures capitalized in accordance with generally accepted accounting principles or other extraordinary expenses not incurred in the ordinary course of business) so that the Fund&#x2019;s ratio of total annual operating expenses is limited to the limits listed above. The Adviser is entitled to the reimbursement of fees waived or reimbursed by the Adviser to the Fund subject to the limitations that the reimbursement is made only for fees and expenses incurred not more than three years prior to the date of reimbursement, and the reimbursement may not be made if it would cause the Fund&#x2019;s annual expense limitations to be exceeded. The reimbursement amount may not include any additional charges or fees, such as interest accruable on the reimbursement account. Further, any recoupments will be subject to any lower expenses limitations that have been later implemented by the Board. The expense limitation agreement may be terminated only by the Board of Trustees of the Trust (the &#x201c;Board&#x201d;) by providing 60 days&#x2019; notice, or if the Adviser ceases to serve as adviser to the Fund.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="INF"
      id="Fact000186"
      unitRef="Ratio">0.0070</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="INF"
      id="Fact000187"
      unitRef="Ratio">0.0070</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="INF"
      id="Fact000188"
      unitRef="Ratio">0.0070</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="INF"
      id="Fact000190"
      unitRef="Ratio">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="INF"
      id="Fact000191"
      unitRef="Ratio">0.0065</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="INF"
      id="Fact000192"
      unitRef="Ratio">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="INF"
      id="Fact000194"
      unitRef="Ratio">0.0029</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="INF"
      id="Fact000195"
      unitRef="Ratio">0.0029</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="INF"
      id="Fact000196"
      unitRef="Ratio">0.0029</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="INF"
      id="Fact000198"
      unitRef="Ratio">0.0099</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="INF"
      id="Fact000199"
      unitRef="Ratio">0.0164</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="INF"
      id="Fact000200"
      unitRef="Ratio">0.0099</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="INF"
      id="Fact000202"
      unitRef="Ratio">-0.0019</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="INF"
      id="Fact000203"
      unitRef="Ratio">-0.0019</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="INF"
      id="Fact000204"
      unitRef="Ratio">-0.0019</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="INF"
      id="Fact000206"
      unitRef="Ratio">0.0080</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="INF"
      id="Fact000207"
      unitRef="Ratio">0.0145</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="INF"
      id="Fact000208"
      unitRef="Ratio">0.0080</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000215">May&#160;31, 2026</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000216">Example:</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000217">&lt;p id="xdx_A84_eoef--ExpenseExampleNarrativeTextBlock_zztYqwF2fat2" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The
following example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds.
The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of
those periods. The Example also assumes that your investment has a 5% return each year and the Fund&#x2019;s operating expenses remain
the same (taking into account the expense limitation agreement for the one-year period). Although your actual costs may be higher or lower,
based on these assumptions your costs would be:&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000218">&lt;div id="xdx_A87_eoef--ExpenseExampleWithRedemptionTableTextBlock_zhMV3LHYVeMb"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A54_dU_zzT8WfuaxI34" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Expense Example"&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; width: 40%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_48F_eoef--ExpenseExampleYear01_z1m9hcMJW982" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_48F_eoef--ExpenseExampleYear03_zPCMHOZTIZBc" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_481_eoef--ExpenseExampleYear05_zl8MRAucKt74" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_48B_eoef--ExpenseExampleYear10_zrmAvplXTxt3" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_415_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008426Member_oef--ClassAxis_custom--C000023132Member_zEMiEISxGXui"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A (APIMX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$305&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$515&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$742&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,394&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_41F_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008426Member_oef--ClassAxis_custom--C000023131Member_zewYCWK1eZXg"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L (AFMMX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$148&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$499&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$874&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,928&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_417_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008426Member_oef--ClassAxis_custom--C000127242Member_z5dpECWgDqr4"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional Class (APIBX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$82&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$296&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$529&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,196&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;







&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;





</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="0"
      id="Fact000219"
      unitRef="USD">305</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="0"
      id="Fact000220"
      unitRef="USD">515</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="0"
      id="Fact000221"
      unitRef="USD">742</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      decimals="0"
      id="Fact000222"
      unitRef="USD">1394</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="0"
      id="Fact000223"
      unitRef="USD">148</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="0"
      id="Fact000224"
      unitRef="USD">499</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="0"
      id="Fact000225"
      unitRef="USD">874</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      decimals="0"
      id="Fact000226"
      unitRef="USD">1928</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="0"
      id="Fact000227"
      unitRef="USD">82</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="0"
      id="Fact000228"
      unitRef="USD">296</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="0"
      id="Fact000229"
      unitRef="USD">529</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      decimals="0"
      id="Fact000230"
      unitRef="USD">1196</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000235">Portfolio Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000236">&lt;p id="xdx_A86_eoef--PortfolioTurnoverTextBlock_zKjkcU2x1Ytf" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The Fund pays transaction costs, such
as commissions, when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate may indicate
higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected
in annual fund operating expenses or in the example, affect the Fund&#x2019;s performance. During the most recent fiscal year, the Fund&#x2019;s
portfolio turnover rate was &lt;span id="xdx_90F_eoef--PortfolioTurnoverRate_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zUy9f8QJivXe"&gt;35%&lt;/span&gt; of the average value of its portfolio.&lt;/b&gt;&lt;/p&gt;

</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      decimals="INF"
      id="Fact000237"
      unitRef="Ratio">0.35</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000238">Principal Investment Strategies</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000239">&lt;p id="xdx_A85_eoef--StrategyNarrativeTextBlock_zGTtHdodmPh8" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;Under
normal circumstances, the Short Term Bond Fund invests at least 80% of its assets in fixed income securities that, in the Adviser&#x2019;s
opinion, offer the opportunity for income consistent with preservation of capital. The Fund&#x2019;s portfolio will have an average aggregate
maturity of not more than three years.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Adviser exercises a flexible strategy in the selection
of various types of debt (or fixed income) investments and is not limited by investment style, sector or asset class. The fund seeks to
provide diversification by allocating the Fund&#x2019;s investments among various areas of the fixed income markets.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Fund primarily invests in the investment grade
debt securities of various types. Such investments primarily include (but not limited to):&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Corporate debt of U.S. and foreign (including emerging market) issuers that are denominated in U.S. Dollars&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Mortgage-backed and other asset-backed securities, including privately issued mortgage-related securities and commercial mortgage-backed securities (privately issued mortgage-related securities are limited to not more than 5% of the Fund&#x2019;s total assets)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Securities issued or guaranteed by the U.S. Government, its agencies or government-sponsored enterprises&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Bonds of foreign government issuers (including its agencies) payable in U.S. dollars&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Inflation linked investments&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Taxable municipal bonds and/or tax-exempt municipal bonds.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;Although the Short Term Bond Fund invests primarily
in investment-grade debt securities (as designated by S&amp;amp;P, Moody&#x2019;s or Fitch) it may invest a portion of its net assets in securities
rated below investment grade. Normally we would expect the majority of these investments to be rated in the top tier of below investment
grade (i.e. BB designations by S&amp;amp;P). Additionally, the Fund may invest a portion of its net assets in any one or a combination of
the following types of fixed income securities including (but not limited to):&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Preferred stock, baby bonds&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;High-yield debt securities (commonly referred to as &#x201c;lower-rated&#x201d; or &#x201c;junk&#x201d; bonds&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Senior loans, including bridge loans, assignments, and participations&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Non-rated securities for S&amp;amp;P, Moody&#x2019;s or Fitch&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x25a0;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Convertible securities, including convertible bonds and preferred stocks&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;






&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;





&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Fund attempts to manage interest rate risk through
its management of dollar-weighted average modified duration of the securities it holds in its portfolio. Under normal conditions, the
Fund&#x2019;s portfolio will have an average aggregate maturity of not more than three years. The Fund also attempts to manage risk through
credit analysis with a focus on company assets, free cash flow, capital stock, earnings, economic prospects and debt structure. While
not limited by these factors the goal of all investments is to provide a reasonable amount of income with the barbell of capital preservation
and how they interact within the portfolio. To this end, the Fund does not attempt to purchase securities with a plan to quickly turnover
those assets.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Adviser may sell a security given a variety of
circumstances, such as: when an investment no longer appears to the Adviser to offer the potential to achieve the Fund&#x2019;s investment
objective; when an investment&#x2019;s performance does not meet the Adviser&#x2019;s expectations; when an investment opportunity arises
that the Adviser believes is more compelling; to realize gains or limit losses; or to raise cash to meet shareholder redemptions or to
pay expenses.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Fund may, from time to time, take temporary defensive
positions that are inconsistent with the Fund&#x2019;s principal investment strategies in attempting to respond to adverse market, economic,
political, or other conditions. When the Fund takes a defensive position, the Fund&#x2019;s assets may be held in up to 100% cash and/or
invested in money market mutual funds, money market instruments, including repurchase agreements or other short-term securities considered
by the Adviser to be of a defensive nature. When the Fund is invested in this manner, it may not achieve its investment objective.&lt;/p&gt;

</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_GeneralRisksMember"
      id="Fact000243">&lt;p id="xdx_A83_eoef--RiskTextBlock_hoef--RiskAxis__custom--GeneralRisksMember_zOKUgDLQfuN1" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;General Risks.&lt;/b&gt;&#160;&lt;span id="xdx_90C_eoef--RiskTextBlock_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--RiskAxis__oef--RiskLoseMoneyMember_zqObjmW402ld"&gt;There is a
risk that you could lose all or a portion of your investment in the Fund.&lt;/span&gt; The value of your investment in the Fund will go up and down
with the prices of the securities in which the Fund invests.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_oef_RiskLoseMoneyMember"
      id="Fact000244">There is a
risk that you could lose all or a portion of your investment in the Fund.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_DebtSecurityRiskMember"
      id="Fact000245">&lt;p id="xdx_A82_eoef--RiskTextBlock_hoef--RiskAxis__custom--DebtSecurityRiskMember_zaOHrOvXqdw5" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Debt
Security Risk.&lt;/b&gt;&#160;The values of debt securities held by the Fund are affected by rising and declining interest rates. In general,
debt securities with longer term maturities tend to fall more in value when interest rates rise than debt securities with shorter terms.
A debt security is also subject to credit risk, which is the possibility that the credit strength of an issuer will weaken and/or an issuer
of a debt security will fail to make timely payments of principal or interest and the security will go into default, and therefore it
may lose value if the issuer is unable to pay interest or repay principal when it is due.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_JunkBondsOrHighYieldHighRiskSecuritiesRiskMember"
      id="Fact000246">&lt;p id="xdx_A8A_eoef--RiskTextBlock_hoef--RiskAxis__custom--JunkBondsOrHighYieldHighRiskSecuritiesRiskMember_zwaUeOH0NQG9" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Junk
Bonds or High Yield, High Risk Securities Risk.&lt;/b&gt;&#160;Bonds rated below investment grade (i.e., BB or lower by S&amp;amp;P or Ba or lower
by Moody&#x2019;s) are speculative in nature, involve greater risk of default by the issuing entity and may be subject to greater market
fluctuations than higher rated fixed income securities.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_ForeignSecuritiesRiskMember"
      id="Fact000247">&lt;p id="xdx_A8A_eoef--RiskTextBlock_hoef--RiskAxis__custom--ForeignSecuritiesRiskMember_zO2ahzIdGcqd" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Foreign
Securities Risk.&lt;/b&gt;&#160;The Fund&#x2019;s direct or indirect investments in foreign securities, including depositary receipts, involve
risks not associated with investing in U.S. securities that can adversely affect the Fund&#x2019;s performance. Foreign markets, particularly
emerging markets, may be less liquid, more volatile and subject to less government supervision than domestic markets. The value of the
Fund&#x2019;s investment may be negatively affected by changes in the exchange rates between the U.S. dollar and foreign currencies. There
may be difficulties enforcing contractual obligations, and it may take more time for trades to clear and settle.&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000248">The Fund&#x2019;s Past Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000249">&lt;p id="xdx_A8D_eoef--PerformanceNarrativeTextBlock_zieteOUmXiX6" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;&lt;span id="xdx_90E_eoef--PerformanceInformationIllustratesVariabilityOfReturns_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zXyiJ8qvKMzb"&gt;The following bar chart and table below
provide some indication of the risks of investing in the Fund by showing changes in the Fund&#x2019;s performance from year to year and
by showing how the Fund&#x2019;s average annual returns for 1-, 5-, and 10-year periods compare with those of a broad measure of market
performance.&lt;/span&gt; &lt;span id="xdx_90E_eoef--PerformancePastDoesNotIndicateFuture_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_z6pbU9j8ECSj"&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; The bar chart does not reflect sales loads. If it did, the annual total returns shown would be lower. Updated performance
information is available at &lt;span id="xdx_90E_eoef--PerformanceAvailabilityWebSiteAddress_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zURvoLF23dL9"&gt;www.yorktownfunds.com&lt;/span&gt; and by calling toll-free &lt;span id="xdx_90E_eoef--PerformanceAvailabilityPhone_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_z5KAJvbxQgz8"&gt;888-933-8274&lt;/span&gt;.&lt;/b&gt;&lt;/p&gt;

</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000250">The following bar chart and table below
provide some indication of the risks of investing in the Fund by showing changes in the Fund&#x2019;s performance from year to year and
by showing how the Fund&#x2019;s average annual returns for 1-, 5-, and 10-year periods compare with those of a broad measure of market
performance.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000251">The Fund&#x2019;s past performance (before and after taxes) is not necessarily an indication of how the Fund will perform
in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000252">www.yorktownfunds.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000253">888-933-8274</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000254">Year-By-Year
Annual Returns &#x2013; Class A Shares (APIMX)

(for calendar years ending on December 31)</oef:BarChartHeading>
    <oef:BarChartTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000255">&lt;p id="xdx_A86_eoef--BarChartTableTextBlock_zMavOagUFbY" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 11pt Calibri, Helvetica, Sans-Serif; margin: 0; text-align: center"&gt;&lt;img alt="" src="img_002.jpg" style="height: 331px; width: 550px"/&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;div&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A55_dU_zB04lRqQlfIe" style="font: 10pt Times New Roman, Times, Serif; border-collapse: collapse; width: 100%" summary="xdx: Disclosure - Annual Total Returns"&gt;
&lt;tr style="display: none; vertical-align: bottom; text-align: center"&gt;
  &lt;th style="display: none; text-align: center"&gt;Years&lt;/th&gt;
  &lt;th style="display: none; text-align: center"&gt;Returns&lt;/th&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center; width: 50%"&gt;2015&lt;/td&gt;
  &lt;td id="xdx_988_eoef--AnnlRtrPct_c20150101__20151231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zJsm7fWWwPpi" style="display: none; text-align: center; width: 50%"&gt;-2.05%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2016&lt;/td&gt;
  &lt;td id="xdx_987_eoef--AnnlRtrPct_c20160101__20161231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zUtFwWH1ltzl" style="display: none; text-align: center"&gt;5.35%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2017&lt;/td&gt;
  &lt;td id="xdx_982_eoef--AnnlRtrPct_c20170101__20171231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zdg5w72eLy25" style="display: none; text-align: center"&gt;4.72%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2018&lt;/td&gt;
  &lt;td id="xdx_987_eoef--AnnlRtrPct_c20180101__20181231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zZpGmvoDa324" style="display: none; text-align: center"&gt;0.37%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2019&lt;/td&gt;
  &lt;td id="xdx_989_eoef--AnnlRtrPct_c20190101__20191231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zYLUE0MUOFg1" style="display: none; text-align: center"&gt;5.36%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2020&lt;/td&gt;
  &lt;td id="xdx_986_eoef--AnnlRtrPct_c20200101__20201231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zgkPV2aEPaGf" style="display: none; text-align: center"&gt;3.11%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2021&lt;/td&gt;
  &lt;td id="xdx_982_eoef--AnnlRtrPct_c20210101__20211231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zGoBy1rNg9Db" style="display: none; text-align: center"&gt;0.24%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2022&lt;/td&gt;
  &lt;td id="xdx_98E_eoef--AnnlRtrPct_c20220101__20221231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zdEnrpGY0MJa" style="display: none; text-align: center"&gt;-4.92%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2023&lt;/td&gt;
  &lt;td id="xdx_986_eoef--AnnlRtrPct_c20230101__20231231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zfXM7AUtZTEi" style="display: none; text-align: center"&gt;6.09%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2024&lt;/td&gt;
  &lt;td id="xdx_98C_eoef--AnnlRtrPct_c20240101__20241231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zj88AF32VKwe" style="display: none; text-align: center"&gt;4.48%&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;/p&gt;

</oef:BarChartTableTextBlock>
    <oef:AnnlRtrPct
      contextRef="From2015-01-012015-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000256"
      unitRef="Ratio">-0.0205</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2016-01-012016-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000257"
      unitRef="Ratio">0.0535</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2017-01-012017-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000258"
      unitRef="Ratio">0.0472</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2018-01-012018-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000259"
      unitRef="Ratio">0.0037</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2019-01-012019-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000260"
      unitRef="Ratio">0.0536</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2020-01-012020-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000261"
      unitRef="Ratio">0.0311</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2021-01-012021-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000262"
      unitRef="Ratio">0.0024</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2022-01-012022-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000263"
      unitRef="Ratio">-0.0492</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2023-01-012023-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000264"
      unitRef="Ratio">0.0609</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000265"
      unitRef="Ratio">0.0448</oef:AnnlRtrPct>
    <oef:BarChartClosingTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000266">&lt;p id="xdx_A8C_eoef--BarChartClosingTextBlock_z8O9Z2GzKQl1" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;During the period covered by the bar chart,
Class A Shares&#x2019; &lt;span id="xdx_909_eoef--HighestQuarterlyReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zTLVgJOtZzjj"&gt;highest return for a quarter&lt;/span&gt; was &lt;span id="xdx_905_eoef--BarChartHighestQuarterlyReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zsQBOL5cTcc5"&gt;4.29%&lt;/span&gt; (quarter ended &lt;span id="xdx_90C_eoef--BarChartHighestQuarterlyReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_z9h8DQiWlskf"&gt;June 30, 2020&lt;/span&gt;) and the &lt;span id="xdx_906_eoef--LowestQuarterlyReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zaFtJ8gMTp8f"&gt;lowest return for a quarter&lt;/span&gt; was &lt;span id="xdx_904_eoef--BarChartLowestQuarterlyReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zQkAKwQt6o5f"&gt;(4.04)%&lt;/span&gt;
(quarter ended &lt;span id="xdx_90E_eoef--BarChartLowestQuarterlyReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zq7tMHHo9sJe"&gt;March 31, 2020&lt;/span&gt;). Class A Shares&#x2019; &lt;span id="xdx_901_eoef--YearToDateReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_z46gGfyyyX6g"&gt;year to date total return&lt;/span&gt; as of &lt;span id="xdx_90E_eoef--BarChartYearToDateReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_z84oKx9oja7e"&gt;March 31, 2025&lt;/span&gt; was &lt;span id="xdx_909_eoef--BarChartYearToDateReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_z9ky8dHliUva"&gt;2.79%&lt;/span&gt;.&lt;/p&gt;

</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000267">highest return for a quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      decimals="INF"
      id="Fact000268"
      unitRef="Ratio">0.0429</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000269">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000270">lowest return for a quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      decimals="INF"
      id="Fact000271"
      unitRef="Ratio">-0.0404</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000272">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000273">year to date total return</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000274">2025-03-31</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      decimals="INF"
      id="Fact000275"
      unitRef="Ratio">0.0279</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000276">Average
Annual Total Returns

(for periods ending on December&#160;31, 2024)

&#160;</oef:PerformanceTableHeading>
    <oef:PerformanceTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000277">&lt;div id="xdx_A8F_eoef--PerformanceTableTextBlock_zrsAOAdxc2ng"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A51_dU_ztWcvVumafGe" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Average Annual Total Returns"&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_497_20240101__20241231_zGTZVFrWxla9" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_49D_20200101__20241231_zBPTpxqLstL6" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_491_20150101__20241231_z1lABqJAwxSg" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Ten Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_407_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member_zEgxeuT3PKW6"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_904_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000023132Member_zi0V7vABgVMh"&gt;Return Before Taxes&lt;/span&gt; - Class A Shares (APIMX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.06%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.27%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.61%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member__oef--PerformanceMeasureAxis__oef--AfterTaxesOnDistributionsMember_zwaqGykF7PN8"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Return After-Taxes on Distributions&lt;sup id="xdx_F41_zhrluR5wdDAh"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.79%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.35%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.49%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40F_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member__oef--PerformanceMeasureAxis__oef--AfterTaxesOnDistributionsAndSalesMember_zC7pNhCm5oLb"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Return After-Taxes on Distributions and Sale of Fund Shares&lt;sup id="xdx_F49_zxv6u1SUZeob"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.21%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.57%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.72%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_402_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member__oef--PerformanceMeasureAxis__custom--BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember_z2WhEf4HO3j5"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Bloomberg U.S. Aggregate Bond Index&lt;sup id="xdx_F45_zkNevStCPh84"&gt;(2)&lt;/sup&gt;&lt;br/&gt;
(reflects no deductions for fees, expenses or taxes)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.25%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;-0.33%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.35%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023132Member__oef--PerformanceMeasureAxis__custom--ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember_zG8d1lfz9Hq7"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;ICE BofA 1-3 Year U.S. Corporate &amp;amp; Government Index&lt;sup id="xdx_F45_zUHF1OdFxA68"&gt;(3)(4)&lt;/sup&gt;&lt;br/&gt;
(&lt;span id="xdx_905_eoef--IndexNoDeductionForFeesExpensesTaxes_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zS9Yiyr9jBi2"&gt;reflects no deductions for fees, expenses or taxes&lt;/span&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;4.47%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.61%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.65%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Ten Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_406_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023131Member_zPWBF8dtiKx1"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_90A_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000023131Member_zUQ3f5ziBqTj"&gt;Return Before Taxes&lt;/span&gt; - Class L Shares (AFMMX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;4.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.35%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Since Inception&lt;br/&gt;
&lt;span id="xdx_909_eoef--PerfInceptionDate_c20130531__20241231__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000127242Member_zkparauuj65a"&gt;5/31/2013&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40A_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000127242Member_zfTto228YAF3"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_903_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member__oef--ClassAxis__custom--C000127242Member_zFf0KlEWKEwh"&gt;Return Before Taxes&lt;/span&gt; - Institutional Class Shares (APIBX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;4.68%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.71%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.22%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F01_z9ycSSO9jvK6" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F17_zgtYzXlcpaJ9" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;span id="xdx_907_eoef--PerformanceTableUsesHighestFederalRate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zJx8ElcKQlRj"&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 id="xdx_90F_eoef--PerformanceTableNotRelevantToTaxDeferred_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zK2VDaHbbGv6"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.&lt;/span&gt; &lt;span id="xdx_908_eoef--PerformanceTableOneClassOfAfterTaxShown_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zdPvWilPRUu8"&gt;After-Tax Returns are shown for only Class A Shares. After-tax returns for Class L and Institutional Class Shares will vary.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F02_zvC0xsEv6ODi" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1C_zc1Wubn1ZyK8" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The Bloomberg U.S. Aggregate Bond Index is a broad base, market capitalization-weighted bond market index representing intermediate term investment grade bonds traded in the United States. Investors frequently use the index as a stand-in for measuring the performance of the U.S. bond market.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0px"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F07_zUoNU5ekzdG3" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(3)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F19_zd6NKTDGEjk4" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The prior benchmark, ICE BofA 1-3 Year U.S. Corporate &amp;amp; Government Index is shown for regulatory purposes only and will not be used for comparison going forward as it does not meet new regulatory requirements.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F02_zP9y9vBwHgB9" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(4)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1F_z6w2xODZ0sg9" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The ICE BofA 1-3 Year U.S. Corporate &amp;amp; Government Index tracks the performance of U.S. dollar denominated investment grade debt publicly issued in the U.S. domestic market, including U.S. Treasury, U.S. agency, foreign government, supranational and corporate securities.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:PerformanceTableTextBlock>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023132Member"
      id="Fact000282">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000279"
      unitRef="Ratio">0.0206</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000280"
      unitRef="Ratio">0.0127</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member"
      decimals="INF"
      id="Fact000281"
      unitRef="Ratio">0.0161</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000284"
      unitRef="Ratio">0.0079</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000285"
      unitRef="Ratio">0.0035</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000286"
      unitRef="Ratio">0.0049</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000288"
      unitRef="Ratio">0.0121</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000289"
      unitRef="Ratio">0.0057</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000290"
      unitRef="Ratio">0.0072</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000292"
      unitRef="Ratio">0.0125</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000293"
      unitRef="Ratio">-0.0033</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000294"
      unitRef="Ratio">0.0135</oef:AvgAnnlRtrPct>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000299">reflects no deductions for fees, expenses or taxes</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000296"
      unitRef="Ratio">0.0447</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000297"
      unitRef="Ratio">0.0161</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023132Member_custom_ICEBofA13YearUSCorporateAndGovernmentIndexReflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000298"
      unitRef="Ratio">0.0165</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000023131Member"
      id="Fact000304">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023131Member"
      decimals="INF"
      id="Fact000301"
      unitRef="Ratio">0.0400</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023131Member"
      decimals="INF"
      id="Fact000302"
      unitRef="Ratio">0.0100</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023131Member"
      decimals="INF"
      id="Fact000303"
      unitRef="Ratio">0.0135</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="From2013-05-312024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127242Member"
      id="Fact000305">2013-05-31</oef:PerfInceptionDate>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member_custom_C000127242Member"
      id="Fact000310">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127242Member"
      decimals="INF"
      id="Fact000307"
      unitRef="Ratio">0.0468</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127242Member"
      decimals="INF"
      id="Fact000308"
      unitRef="Ratio">0.0171</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000127242Member"
      decimals="INF"
      id="Fact000309"
      unitRef="Ratio">0.0222</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000312">After-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000313">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008426Member"
      id="Fact000314">After-Tax Returns are shown for only Class A Shares. After-tax returns for Class L and Institutional Class Shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000318">Yorktown Multi-Sector Bond Fund</oef:RiskReturnHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000319">&lt;p id="xdx_A8D_eoef--ObjectivePrimaryTextBlock_zHl4s4TPkEd8" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Investment
Objective &#x2013;&lt;/b&gt;&#160;Current income with limited credit risk.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000320">Fees and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000321">&lt;p id="xdx_A8C_eoef--ExpenseNarrativeTextBlock_z6BH3C41hlA3" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;This table describes the fees and expenses
that you may pay if you buy, hold, and sell shares of the Fund. &lt;span id="xdx_902_eoef--ExpenseBreakpointDiscounts_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zYA9fZwmmlA1"&gt;You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $&lt;span id="xdx_904_eoef--ExpenseBreakpointMinimumInvestmentRequiredAmount_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zWr08CQjH6G3"&gt;25,000&lt;/span&gt; in Yorktown Funds.&lt;/span&gt; More information about these and other discounts is available from
your financial professional and in the &#x201c;How to Reduce Your Sales Charge&#x201d; Section on page 53 of the Fund&#x2019;s prospectus.
You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the tables
and examples below.&lt;/b&gt;&lt;/p&gt;

</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000322">You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $25,000 in Yorktown Funds.</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      decimals="0"
      id="Fact000323"
      unitRef="USD">25000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000324">&lt;div id="xdx_A84_eoef--ShareholderFeesTableTextBlock_zE0QMU8zc3Mg"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A50_dU_zl9xsLuS30Xf" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Shareholder Fees"&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_49C_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000023136Member_zizOKsdHV02c" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_491_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000023135Member_zrnKYsbDndI8" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_492_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000085545Member_zSDKd1PK5NG8" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APIUX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;AFFIX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APIIX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40B_eoef--MaximumSalesChargeImposedOnPurchasesOverOfferingPrice_dpn_z6qO5vmlr3xe"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum sales charge (load) imposed on purchases&lt;br/&gt;
(as percentage of offering price)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5.75%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum deferred sales charge (load)&lt;br/&gt;
(as a percentage of the lesser of original purchase price or redemption proceeds)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_901_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000023136Member_fKDEp_zsYYTjhtKBy5"&gt;0.50%&lt;/span&gt;&lt;sup&gt;(1)&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_90E_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000023135Member_zZYVUF45wjm7"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_90F_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dpn_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000085545Member_zOCQCagNzyif"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40A_eoef--MaximumAccountFee_znQfyKdpOn1f"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum Account fee (for accounts under $500)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:ShareholderFeesTableTextBlock>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="INF"
      id="Fact000326"
      unitRef="Ratio">0.0575</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="INF"
      id="Fact000327"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="INF"
      id="Fact000328"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="INF"
      id="Fact000329"
      unitRef="Ratio">0.0050</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="INF"
      id="Fact000330"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="INF"
      id="Fact000331"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="0"
      id="Fact000333"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="0"
      id="Fact000334"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="0"
      id="Fact000335"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000336">&lt;div id="xdx_A8F_eoef--AnnualFundOperatingExpensesTableTextBlock_zWuEYhUf0GD2"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A51_dU_zfNTdE0ES7ig" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Annual Fund Operating Expenses"&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_491_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000023136Member_zo8apkriKKzf" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_495_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000023135Member_zcMzMTIrlEQd" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_497_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000085545Member_zEsj3Z3u7dHg" style="vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-bottom: 1pt; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APIUX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;AFFIX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;APIIX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--ManagementFeesOverAssets_dpn_zWpThZUzJAe1"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Management Fee&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.40%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.40%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.40%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_406_eoef--DistributionAndService12b1FeesOverAssets_dpn_zn64891earAk"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Distribution/Service (12b-1 Fees)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.50%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--OtherExpensesOverAssets_dpn_zdONEOkIZ0lg"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Other Expenses&lt;sup id="xdx_F49_zMsGZuUJGvyh"&gt;(2)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.29%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.29%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.29%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_403_eoef--ExpensesOverAssets_dpn_zbZAOQwBNQx2"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.19%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.69%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.69%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F0F_zQYWAHhShD5b" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F16_zlFdq2FZyvEh" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Large purchases of Class A shares (greater than $1 million) are generally subject to a CDSC of 0.25% if the shares are redeemed during the first 12 months after purchase, unless the dealer, at its discretion, has waived the commission advance paid by Ultimus Fund Distributors, LLC (the &#x201c;Distributor&#x201d;).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F09_ziZF9HVkzLb9" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="padding-right: 54.6pt; text-align: justify"&gt;&lt;span id="xdx_F14_z9G1z38AqOY7" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x201c;Other Expenses&#x201d; include 0.01% of interest expense.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="INF"
      id="Fact000338"
      unitRef="Ratio">0.0040</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="INF"
      id="Fact000339"
      unitRef="Ratio">0.0040</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="INF"
      id="Fact000340"
      unitRef="Ratio">0.0040</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="INF"
      id="Fact000342"
      unitRef="Ratio">0.0050</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="INF"
      id="Fact000343"
      unitRef="Ratio">0.0100</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="INF"
      id="Fact000344"
      unitRef="Ratio">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="INF"
      id="Fact000346"
      unitRef="Ratio">0.0029</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="INF"
      id="Fact000347"
      unitRef="Ratio">0.0029</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="INF"
      id="Fact000348"
      unitRef="Ratio">0.0029</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="INF"
      id="Fact000350"
      unitRef="Ratio">0.0119</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="INF"
      id="Fact000351"
      unitRef="Ratio">0.0169</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="INF"
      id="Fact000352"
      unitRef="Ratio">0.0069</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000355">Example:</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000356">&lt;p id="xdx_A87_eoef--ExpenseExampleNarrativeTextBlock_z6xUtZdWlHj4" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The following example is intended to
help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The Example assumes that you invest
$10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The Example also assumes
that your investment has a 5% return each year and the Fund&#x2019;s operating expenses remain the same. Although your actual costs may
be higher or lower, based on these assumptions your costs would be:&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000357">&lt;div id="xdx_A85_eoef--ExpenseExampleWithRedemptionTableTextBlock_zrsPO4daydu"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A59_dU_zJV2yWVsn366" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Expense Example"&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; width: 40%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_488_eoef--ExpenseExampleYear01_zea4oC6kyWef" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_48B_eoef--ExpenseExampleYear03_z1ndQlzLOHT" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_485_eoef--ExpenseExampleYear05_zD2GKgSqHJjd" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_487_eoef--ExpenseExampleYear10_zcM0V8vlSDwc" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_417_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008428Member_oef--ClassAxis_custom--C000023136Member_ziAlwLh5s0y7"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A (APIUX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$689&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$931&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,192&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,935&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_416_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008428Member_oef--ClassAxis_custom--C000023135Member_zVldu8MFlvRf"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L (AFFIX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$172&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$533&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$918&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,998&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_419_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000008428Member_oef--ClassAxis_custom--C000085545Member_zKWzvc5AhZCj"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional Class (APIIX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$70&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$221&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$384&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$859&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="0"
      id="Fact000358"
      unitRef="USD">689</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="0"
      id="Fact000359"
      unitRef="USD">931</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="0"
      id="Fact000360"
      unitRef="USD">1192</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      decimals="0"
      id="Fact000361"
      unitRef="USD">1935</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="0"
      id="Fact000362"
      unitRef="USD">172</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="0"
      id="Fact000363"
      unitRef="USD">533</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="0"
      id="Fact000364"
      unitRef="USD">918</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      decimals="0"
      id="Fact000365"
      unitRef="USD">1998</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="0"
      id="Fact000366"
      unitRef="USD">70</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="0"
      id="Fact000367"
      unitRef="USD">221</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="0"
      id="Fact000368"
      unitRef="USD">384</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      decimals="0"
      id="Fact000369"
      unitRef="USD">859</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000370">Portfolio Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000371">&lt;p id="xdx_A83_eoef--PortfolioTurnoverTextBlock_z1L5YaiPlyvc" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The Fund pays transaction costs, such
as commissions, when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate may indicate
higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected
in annual fund operating expenses or in the example, affect the Fund&#x2019;s performance. During the most recent fiscal year, the Fund&#x2019;s
portfolio turnover rate was &lt;span id="xdx_909_eoef--PortfolioTurnoverRate_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zea36J37tA2l"&gt;34%&lt;/span&gt; of the average value of its portfolio.&lt;/b&gt;&lt;/p&gt;

</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      decimals="INF"
      id="Fact000372"
      unitRef="Ratio">0.34</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000373">Principal Investment Strategies</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000374">&lt;p id="xdx_A8A_eoef--StrategyNarrativeTextBlock_zbAGkS7wpiM8" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The
Multi-Sector Bond Fund invests in securities that, in the Adviser&#x2019;s opinion, offer the opportunity for current income with limited
credit risk.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Adviser exercises a flexible strategy in the selection
of investments and is not limited by investment style or asset class, provided, however, that at least 80% of the Multi-Sector Bond Fund&#x2019;s
net assets are invested in debt securities. The Multi-Sector Bond Fund may invest in debt securities, including U.S. Government securities,
corporate bonds and structured notes; common stock of U.S. and foreign issuers and in other U.S. and foreign securities, including securities
convertible into common stock and securities issued through private placements; securities issued by investment companies and ETFs, some
of which may be affiliated with the Adviser; real estate investment trusts and other issuers that invest, deal, or otherwise engage in
transactions in real estate; and other instruments.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Adviser invests directly in equity or debt securities
when it believes attractive investment opportunities exist. In deciding whether to invest in a debt security, the Adviser focuses on the
maturity of the obligations and the credit quality of the security, including the underlying rating of insured bonds. When the Adviser
believes there is a falling interest rate environment, the Multi-Sector Bond Fund generally will purchase longer maturity obligations.
Similarly, when the Adviser believes there is a rising interest rate environment, the Multi-Sector Bond Fund generally will purchase shorter
maturity obligations. Although the Adviser considers ratings in&lt;/p&gt;








&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;





&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;determining whether securities convertible into common
stock or debt securities are appropriate investments for the Multi-Sector Bond Fund, such securities may include investments rated below
investment grade, commonly known as &#x201c;junk bonds.&#x201d; When investing in equity securities, the Adviser looks for companies with
favorable income-paying history and that have prospects for income payments to continue to increase.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;When investing in Underlying Funds, the Adviser considers,
among other things, the Underlying Funds&#x2019; past performance and their investment objectives and policies, the investment style, reputation
and quality of their investment advisers and the Underlying Funds&#x2019; size and cost structure. The Adviser selects ETFs in which to
invest based on a number of factors, including an analysis of their past performance, market sector and liquidity. Through direct investments
and indirect investments in Underlying Funds, and ETFs, the Multi-Sector Bond Fund may have significant exposure to foreign securities,
including high yield securities, emerging market securities, small-cap securities and specific sectors of the market.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Adviser may sell a security or redeem shares of
an Underlying Fund given a variety of circumstances, such as: when an investment no longer appears to the Adviser to offer the potential
to achieve the Multi-Sector Bond Fund&#x2019;s investment objective: when an investment&#x2019;s performance does not meet the Adviser&#x2019;s
expectations; when an investment opportunity arises that the Adviser believes is more compelling; to realize gains or limit losses; or
to raise cash to meet shareholder redemptions or to pay expenses.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Fund may, from time to time, take temporary defensive
positions that are inconsistent with the Fund&#x2019;s principal investment strategies in attempting to respond to adverse market, economic,
political, or other conditions. When the Fund takes a defensive position, the Fund&#x2019;s assets may be held in cash and/or invested
in money market mutual funds, money market instruments, including repurchase agreements or other short-term securities considered by the
Adviser to be of a defensive nature. When the Fund is invested in this manner, it may not achieve its investment objective.&lt;/p&gt;

</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_GeneralRisksMember"
      id="Fact000379">&lt;p id="xdx_A8E_eoef--RiskTextBlock_hoef--RiskAxis__custom--GeneralRisksMember_zSMhVKxKAVa8" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;General Risks.&lt;/b&gt;&#160;&lt;span id="xdx_904_eoef--RiskTextBlock_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--RiskAxis__oef--RiskLoseMoneyMember_z5Ku56TLpZD8"&gt;There is a
risk that you could lose all or a portion of your investment in the Fund.&lt;/span&gt; The value of your investment in the Fund will go up and down
with the prices of the securities in which the Fund invests.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_oef_RiskLoseMoneyMember"
      id="Fact000380">There is a
risk that you could lose all or a portion of your investment in the Fund.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_EquitySecurityRiskMember"
      id="Fact000381">&lt;p id="xdx_A8C_eoef--RiskTextBlock_hoef--RiskAxis__custom--EquitySecurityRiskMember_zTuw1QXlqVH3" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Equity
Security Risk.&lt;/b&gt;&#160;Prices of equity securities generally fluctuate more than those of other securities, such as debt securities.
Market risk, the risk that prices of securities will decrease because of the interplay of market forces, may affect a single issuer, industry
or sector of the economy or may affect the market as a whole.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_CompanyRiskMember"
      id="Fact000382">&lt;p id="xdx_A86_eoef--RiskTextBlock_hoef--RiskAxis__custom--CompanyRiskMember_ztMOTBkyMkF" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Company
Risk.&lt;/b&gt;&#160;The Fund may invest in securities that involve certain special circumstances that the Adviser believes offer the opportunity
for long-term capital appreciation. These investments may involve greater risks of loss than investments in securities of well-established
companies with a history of consistent operating patterns.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_InvestmentCompanyRiskMember"
      id="Fact000383">&lt;p id="xdx_A87_eoef--RiskTextBlock_hoef--RiskAxis__custom--InvestmentCompanyRiskMember_z4fAvSqEV6hf" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Investment
Company Risk.&lt;/b&gt;&#160;Any investment in an open- end investment company involves the risk that the value of shares of the investment
company will go up and down in response to changes in the value of its portfolio holdings. In addition, the Fund will indirectly bear
the fees and expenses of the underlying investment company.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_ClosedEndFundRiskMember"
      id="Fact000384">&lt;p id="xdx_A81_eoef--RiskTextBlock_hoef--RiskAxis__custom--ClosedEndFundRiskMember_zgVhiREImfDl" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Closed-End
Fund Risk.&lt;/b&gt;&#160;Shares of closed-end funds frequently trade at a price per share that is less than the net asset value per share.
There can be no assurance that the market discount on shares of any closed-end fund purchased by the Funds will ever decrease or that
when the Fund seeks to sell shares of a closed-end fund it can receive the net asset value of those shares.&lt;/p&gt;








&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;





</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_ExchangeTradedFundRiskMember"
      id="Fact000389">&lt;p id="xdx_A86_eoef--RiskTextBlock_hoef--RiskAxis__custom--ExchangeTradedFundRiskMember_zRNAsZmRxb6d" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Exchange
Traded Fund Risk.&lt;/b&gt;&#160;ETFs and index funds are not managed in the traditional sense, using economic, financial and market analysis,
and the adverse financial situation of an issuer will not directly result in its elimination from the index. In addition, investments
in ETFs involve risks similar to investments in closed-end funds including, but not limited to, the possibility that the shares of ETFs
may trade at a market discount.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_LeverageRiskMember"
      id="Fact000390">&lt;p id="xdx_A89_eoef--RiskTextBlock_hoef--RiskAxis__custom--LeverageRiskMember_zYXWQUxWU2V2" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Leverage
Risk.&lt;/b&gt;&#160;Leveraging may exaggerate the effect on the net asset value of any increase or decrease in the market value of the Fund&#x2019;s
portfolio securities. Money borrowed will be subject to interest and other costs, which may not be recovered by appreciation of the securities
purchased.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_DebtSecurityRiskMember"
      id="Fact000391">&lt;p id="xdx_A8B_eoef--RiskTextBlock_hoef--RiskAxis__custom--DebtSecurityRiskMember_z7D4Hq8GllB" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Debt
Security Risk.&lt;/b&gt;&#160;The values of debt securities held by the Fund are affected by rising and declining interest rates. In general,
debt securities with longer term maturities tend to fall more in value when interest rates rise than debt securities with shorter terms.
A debt security is also subject to credit risk, which is the possibility that the credit strength of an issuer will weaken and/or an issuer
of a debt security will fail to make timely payments of principal or interest and the security will go into default, and therefore it
may lose value if the issuer is unable to pay interest or repay principal when it is due.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-align: justify"&gt;&lt;b&gt;Investment Grade Securities Risk.&lt;/b&gt;&#160;Debt
securities are rated by national bond ratings agencies. Securities rated BBB by S&amp;amp;P or Baa by Moody&#x2019;s are considered investment
grade securities, but are somewhat riskier than higher rated obligations because they are regarded as having only an adequate capacity
to pay principal and interest, and are considered to lack outstanding investment characteristics.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-align: justify"&gt;&lt;b&gt;Junk Bonds or High Yield, High Risk Securities
Risk.&lt;/b&gt;&#160;Bonds rated below investment grade (i.e., BB or lower by S&amp;amp;P or Ba or lower by Moody&#x2019;s) (&#x201c;junk bonds&#x201d;)
are speculative in nature, involve greater risk of default by the issuing entity and may be subject to greater market fluctuations than
higher rated fixed income securities. They are usually issued by companies without long track records of sales and earnings, or by those
companies with questionable credit strength. The retail secondary market for these &#x201c;junk bonds&#x201d; may be less liquid than that
of higher rated securities and adverse conditions could make it difficult at times to sell certain securities or could result in lower
prices than those used in calculating the Fund&#x2019;s net asset value. The Fund investing in &#x201c;junk bonds&#x201d; may also be subject
to greater credit risk because it may invest in debt securities issued in connection with corporate restructuring by highly leveraged
issuers or in debt securities not current in the payment of interest or principal or in default.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_ForeignSecuritiesRiskMember"
      id="Fact000392">&lt;p id="xdx_A8B_eoef--RiskTextBlock_hoef--RiskAxis__custom--ForeignSecuritiesRiskMember_zVnlpO9A2Se3" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Foreign
Securities Risk.&lt;/b&gt;&#160;The Fund&#x2019;s direct or indirect investments in foreign securities, including depositary receipts, involve
risks not associated with investing in U.S. securities that can adversely affect the Fund&#x2019;s performance. Foreign markets, particularly
emerging markets, may be less liquid, more volatile and subject to less government supervision than domestic markets. The value of the
Fund&#x2019;s investment may be negatively affected by changes in the exchange rates between the U.S. dollar and foreign currencies. There
may be difficulties enforcing contractual obligations, and it may take more time for trades to clear and settle.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_EmergingMarketRiskMember"
      id="Fact000393">&lt;p id="xdx_A8F_eoef--RiskTextBlock_hoef--RiskAxis__custom--EmergingMarketRiskMember_z8egjQAVGR3c" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Emerging
Market Risk.&lt;/b&gt;&#160;There are greater risks involved in investing in emerging market countries and/or their securities markets. Generally,
economic structures in these countries are less diverse and mature than those in developed countries, and their political systems are
less stable. Investments in emerging markets countries may be affected by national policies that restrict foreign investment in certain
issuers or industries.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_SmallCapCompanyRiskMember"
      id="Fact000394">&lt;p id="xdx_A83_eoef--RiskTextBlock_hoef--RiskAxis__custom--SmallCapCompanyRiskMember_zjrWQ5W3Mhzg" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Small-Cap
Company Risk.&lt;/b&gt;&#160;The Fund&#x2019;s investments in small-cap companies may involve greater risks than investments in larger, more
established issuers. Smaller companies generally have narrower product lines, more limited financial resources and more limited trading
markets for their stock, as compared with larger companies. Their securities may be less well-known and trade less frequently and in more
limited volume than the securities of larger, more established companies.&lt;/p&gt;








&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;





</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_RealEstateInvestmentTrustRiskMember"
      id="Fact000399">&lt;p id="xdx_A81_eoef--RiskTextBlock_hoef--RiskAxis__custom--RealEstateInvestmentTrustRiskMember_z1jepoMjbwNf" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Real
Estate Investment Trust Risk.&lt;/b&gt;&#160;Investments in real estate investment trusts and other issuers that invest, deal, or otherwise
engage in transactions in or hold real estate or interests therein expose the Fund to risks similar to investing directly in real estate
and the value of these investments may be affected by changes in the value of the underlying real estate, the creditworthiness of the
issuer of the investments, and changes in property taxes, interest rates and the real estate regulatory environment.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_ConvertibleSecuritiesRiskMember"
      id="Fact000400">&lt;p id="xdx_A82_eoef--RiskTextBlock_hoef--RiskAxis__custom--ConvertibleSecuritiesRiskMember_zSCUtdX0u7wa" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Convertible
Securities Risk.&lt;/b&gt;&#160;A convertible security is a bond, debenture, note, preferred stock or other security that may be converted into
or exchanged for a prescribed amount of common stock of the same or a different issuer within a particular period of time at a specified
price or formula. A convertible security entitles the holder to receive the interest paid or accrued on debt or the dividend paid on preferred
stock until the convertible security matures or is redeemed, converted or exchanged. Before conversion or exchange, such securities ordinarily
provide a stream of income with generally higher yields than common stocks of the same or similar issuers, but lower than the yield on
non-convertible debt. The value of a convertible security is a function of (1) its yield in comparison with the yields of other securities
of comparable maturity and quality that do not have a conversion privilege and (2) its worth, at market value, if converted into or exchanged
for the underlying common stock. Convertible securities are typically issued by smaller capitalized companies whose stock prices may be
volatile. The price of a convertible security often reflects such variations in the price of the underlying common stock in a way that
non-convertible debt does not.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_PrivatelyPlacedSecuritiesRiskMember"
      id="Fact000401">&lt;p id="xdx_A8F_eoef--RiskTextBlock_hoef--RiskAxis__custom--PrivatelyPlacedSecuritiesRiskMember_zM7W8UHSTika" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Privately
Placed Securities Risk.&lt;/b&gt;&#160;Investments in privately placed securities involve a high degree of risk. The issuers of privately placed
securities are not typically subject to the same regulatory requirements and oversight to which public issuers are subject, and there
may be very little public information available about the issuers and their performance. In addition, because the Fund&#x2019;s ability
to sell these securities may be significantly restricted, they may be deemed illiquid and it may be more difficult for the Fund to sell
them at an advantageous price and time. Because there is generally no ready public market for these securities, they may also be difficult
to value and the Fund may need to determine a fair value for these holdings under policies approved by the Trust&#x2019;s Board of Trustees
(the &#x201c;Board&#x201d;).&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_CreditLiquidityAndVolatilityRiskMember"
      id="Fact000402">&lt;p id="xdx_A8B_eoef--RiskTextBlock_hoef--RiskAxis__custom--CreditLiquidityAndVolatilityRiskMember_zMax8I0XWwHj" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Credit
Liquidity and Volatility Risk.&lt;/b&gt;&#160;The markets for credit instruments have experienced periods of extreme illiquidity and volatility.
General market uncertainty and consequent repricing risk have, in the past, led to market imbalances of sellers and buyers, which in turn
resulted in significant valuation uncertainties in a variety of debt securities and significant and rapid value declines in certain instances.
Under those kinds of conditions, valuation of some of the Funds&#x2019; fixed income securities could be uncertain and/or result in sudden
and significant value declines in its holdings. In addition, future illiquidity and volatility in the credit markets may directly and
adversely affect the setting of dividend rates.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_UnderlyingFundRiskMember"
      id="Fact000403">&lt;p id="xdx_A8B_eoef--RiskTextBlock_hoef--RiskAxis__custom--UnderlyingFundRiskMember_zyhRJPrp5U08" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Underlying
Fund Risk.&lt;/b&gt;&#160;None of the Underlying Funds are or will be affiliated with the Fund or the Adviser. Therefore, investment decisions
by the investment advisers of the Underlying Funds are made independently of the Fund and the Fund&#x2019;s Adviser. The investment adviser
of one Underlying Fund may be purchasing securities of the same issuer whose securities are being sold by the investment adviser of another
Underlying Fund. The result of this would be an indirect expense to the Fund without accomplishing any investment purpose. The risk that
the Fund&#x2019;s performance is closely related to the risks associated with the securities and other investments held by underlying funds
and that the ability of a Fund to achieve its investment objective will depend upon the ability of underlying funds to achieve their respective
investment objectives. The Fund bears Underlying Fund fees and expenses indirectly.&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000404">The Fund&#x2019;s Past Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000405">&lt;p id="xdx_A88_eoef--PerformanceNarrativeTextBlock_zIOb3YzgEh6l" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;&lt;span id="xdx_907_eoef--PerformanceInformationIllustratesVariabilityOfReturns_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zcnpOfgSNTGd"&gt;The following bar chart and table below
provide some indication of the risks of investing in the Fund by showing changes in the Fund&#x2019;s performance from year to year and
by showing how the Fund&#x2019;s average annual returns for 1-, 5-, and 10-year periods compare with those of a broad measure of market
performance.&lt;/span&gt; &lt;span id="xdx_908_eoef--PerformancePastDoesNotIndicateFuture_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zN9S2guWq012"&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; The bar chart does not reflect sales loads. If it did, the annual total returns shown would be lower. Updated performance
information is available at &lt;span id="xdx_900_eoef--PerformanceAvailabilityWebSiteAddress_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_z7A41kK6dtLd"&gt;www.yorktownfunds.com&lt;/span&gt; and by calling toll-free &lt;span id="xdx_90F_eoef--PerformanceAvailabilityPhone_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zkdFZgrtEImb"&gt;888-933-8274&lt;/span&gt;.&lt;/b&gt;&lt;/p&gt;

</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000406">The following bar chart and table below
provide some indication of the risks of investing in the Fund by showing changes in the Fund&#x2019;s performance from year to year and
by showing how the Fund&#x2019;s average annual returns for 1-, 5-, and 10-year periods compare with those of a broad measure of market
performance.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000407">The Fund&#x2019;s past performance (before and after taxes) is not necessarily an indication of how the Fund will perform
in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000408">www.yorktownfunds.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000409">888-933-8274</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000410">Year-By-Year
Annual Returns &#x2013; Institutional Class Shares (APIIX)

(for calendar years ending on December&#160;31)

&#160;

&#160;

&#160;



    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;

    &#160;
  </oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000411">&lt;p id="xdx_A84_eoef--BarChartClosingTextBlock_zm3pCuENoBmj" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;During the period covered by the bar chart,
Institutional Class Shares&#x2019; &lt;span id="xdx_906_eoef--HighestQuarterlyReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_z1LBKHAc5aJ7"&gt;highest return for a quarter&lt;/span&gt; was &lt;span id="xdx_909_eoef--BarChartHighestQuarterlyReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_z7xZ8Kl8K1ka"&gt;9.00%&lt;/span&gt; (quarter ended &lt;span id="xdx_90F_eoef--BarChartHighestQuarterlyReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zsHnkM2rg6g4"&gt;March 31, 2019&lt;/span&gt;) and the &lt;span id="xdx_908_eoef--LowestQuarterlyReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_z5qe36pfj2Ja"&gt;lowest return for a quarter&lt;/span&gt;
was &lt;span id="xdx_904_eoef--BarChartLowestQuarterlyReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_z3nzJaSMQIM1"&gt;(17.42)%&lt;/span&gt; (quarter ended &lt;span id="xdx_909_eoef--BarChartLowestQuarterlyReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zskswO6s7p9b"&gt;March 31, 2020&lt;/span&gt;). Institutional Class Shares&#x2019; &lt;span id="xdx_901_eoef--YearToDateReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zfIHWZitJ1Gd"&gt;year to date total return&lt;/span&gt; as of &lt;span id="xdx_90B_eoef--BarChartYearToDateReturnDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zcZ76PHB2Vtd"&gt;March 31, 2025&lt;/span&gt; was &lt;span id="xdx_90A_eoef--BarChartYearToDateReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zEVA9t0zY1tl"&gt;6.02%&lt;/span&gt;.&lt;/p&gt;

</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000412">highest return for a quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      decimals="INF"
      id="Fact000413"
      unitRef="Ratio">0.0900</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000414">2019-03-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000415">lowest return for a quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      decimals="INF"
      id="Fact000416"
      unitRef="Ratio">-0.1742</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000417">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000418">year to date total return</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000419">2025-03-31</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      decimals="INF"
      id="Fact000420"
      unitRef="Ratio">0.0602</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000421">Average
Annual Total Returns

(for periods ending on December&#160;31, 2024)

&#160;</oef:PerformanceTableHeading>
    <oef:PerformanceTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000422">&lt;div id="xdx_A89_eoef--PerformanceTableTextBlock_z7JopoK7vSf7"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A5D_dU_zgD9qYWhbe28" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Average Annual Total Returns"&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; width: 55%; padding-bottom: 1pt; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_497_20240101__20241231_zXTcSJN8LWc3" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_49D_20200101__20241231_zvkampa720h9" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_491_20150101__20241231_zZaNyFxcN7u3" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Ten Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40B_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000085545Member_zTeL3aPYkiQd"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_904_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000085545Member_z0QsM9tAcCec"&gt;Return Before Taxes&lt;/span&gt; - Institutional Class Shares (APIIX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5.75%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.53%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3.09%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_406_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000085545Member__oef--PerformanceMeasureAxis__oef--AfterTaxesOnDistributionsMember_zz9M5IoYCEq6"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Return After-Taxes on Distributions&lt;sup id="xdx_F42_ziMO77VZYnUd"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3.88%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;-1.19%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.98%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_401_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000085545Member__oef--PerformanceMeasureAxis__oef--AfterTaxesOnDistributionsAndSalesMember_zcDsKp5mLwVi"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Return After-Taxes on Distributions and Sale of Fund Shares&lt;sup id="xdx_F44_zgK5T6tjISYh"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3.38%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;-0.34%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.46%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_406_eoef--AvgAnnlRtrPct_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000085545Member__oef--PerformanceMeasureAxis__custom--BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember_z1ccE0A6vII2"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Bloomberg U.S. Aggregate Bond Index&lt;sup id="xdx_F41_zefpaPUAfCp4"&gt;(2)&lt;/sup&gt;&lt;br/&gt;
(&lt;span id="xdx_90F_eoef--IndexNoDeductionForFeesExpensesTaxes_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_za7z04HBw9Ve"&gt;reflects no deduction for fee, expenses or taxes&lt;/span&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.25%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;-0.33%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.35%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 0.25in; text-indent: -0.25in"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Ten Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40A_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023136Member_zb1oAHdAuPjh" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-align: justify; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_905_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000023136Member_zxjNd3fppRW6"&gt;Return Before Taxes&lt;/span&gt; - Class A Shares (APIUX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;-0.69%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;-1.14%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.98%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 0.25in; text-indent: -0.25in"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Ten Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_403_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000023135Member_zEOLYXGMujY6" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-align: justify; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_904_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member__oef--ClassAxis__custom--C000023135Member_zFTDVwV81uib"&gt;Return Before Taxes&lt;/span&gt; - Class L Shares (AFFIX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;4.61%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;-0.50%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.06%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F0D_zXMo42wdMWjk" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F10_zTfHeJLPyGE4" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;span id="xdx_906_eoef--PerformanceTableUsesHighestFederalRate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zANhENteWvLd"&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 id="xdx_90E_eoef--PerformanceTableNotRelevantToTaxDeferred_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zs9LWPuliOP3"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.&lt;/span&gt; &lt;span id="xdx_903_eoef--PerformanceTableOneClassOfAfterTaxShown_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zuCJAqzyqYCg"&gt;After-Tax Returns are shown for only Institutional Class Shares. After-tax returns for Class A and Class L Shares will vary.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F04_z0mEMrMDl8R" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1A_zEp2l7wgnph" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The Bloomberg U.S. Aggregate Bond Index, is a broad base, market capitalization-weighted bond market index representing intermediate term investment grade bonds traded in the United States. Investors frequently use the index as a stand-in for measuring the performance of the U.S. bond market.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:PerformanceTableTextBlock>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000085545Member"
      id="Fact000427">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member"
      decimals="INF"
      id="Fact000424"
      unitRef="Ratio">0.0575</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member"
      decimals="INF"
      id="Fact000425"
      unitRef="Ratio">0.0053</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member"
      decimals="INF"
      id="Fact000426"
      unitRef="Ratio">0.0309</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000429"
      unitRef="Ratio">0.0388</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000430"
      unitRef="Ratio">-0.0119</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000431"
      unitRef="Ratio">0.0098</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000433"
      unitRef="Ratio">0.0338</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000434"
      unitRef="Ratio">-0.0034</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000435"
      unitRef="Ratio">0.0146</oef:AvgAnnlRtrPct>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000440">reflects no deduction for fee, expenses or taxes</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000437"
      unitRef="Ratio">0.0125</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000438"
      unitRef="Ratio">-0.0033</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000085545Member_custom_BloombergUSAggregateBondIndexreflectsNoDeductionsForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000439"
      unitRef="Ratio">0.0135</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023136Member"
      id="Fact000445">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023136Member"
      decimals="INF"
      id="Fact000442"
      unitRef="Ratio">-0.0069</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023136Member"
      decimals="INF"
      id="Fact000443"
      unitRef="Ratio">-0.0114</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023136Member"
      decimals="INF"
      id="Fact000444"
      unitRef="Ratio">0.0198</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member_custom_C000023135Member"
      id="Fact000450">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023135Member"
      decimals="INF"
      id="Fact000447"
      unitRef="Ratio">0.0461</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023135Member"
      decimals="INF"
      id="Fact000448"
      unitRef="Ratio">-0.0050</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2015-01-012024-12-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_C000023135Member"
      decimals="INF"
      id="Fact000449"
      unitRef="Ratio">0.0206</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000452">After-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000453">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000008428Member"
      id="Fact000454">After-Tax Returns are shown for only Institutional Class Shares. After-tax returns for Class A and Class L Shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000456">Yorktown Small Cap Fund</oef:RiskReturnHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000457">&lt;p id="xdx_A87_eoef--ObjectivePrimaryTextBlock_zlnYgAfSra94" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Investment
Objective &#x2013;&lt;/b&gt; The Fund seeks to achieve long term capital appreciation.&lt;/p&gt;

</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000458">Fees and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000459">&lt;p id="xdx_A8F_eoef--ExpenseNarrativeTextBlock_zu5eYooHO4dl" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;This table describes the fees and expenses
that you may pay if you buy, hold, and sell shares of the Fund. &lt;span id="xdx_901_eoef--ExpenseBreakpointDiscounts_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_z2MKAj4dQs21"&gt;You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $&lt;span id="xdx_90D_eoef--ExpenseBreakpointMinimumInvestmentRequiredAmount_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zReLuB5fVAxf"&gt;25,000&lt;/span&gt; in one or more Yorktown Funds.&lt;/span&gt; More information about these and other discounts is
available from your financial professional and in the &#x201c;How to Reduce Your Sales Charge&#x201d; Section on page 53 of the Fund&#x2019;s
prospectus. You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected
in the tables and examples below.&lt;/b&gt;&lt;/p&gt;

</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000460">You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $25,000 in one or more Yorktown Funds.</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      decimals="0"
      id="Fact000461"
      unitRef="USD">25000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000462">&lt;div id="xdx_A80_eoef--ShareholderFeesTableTextBlock_zaxxpuWwvLIi"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A57_dU_zztCXjuHmFva" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Shareholder Fees"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-align: center; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_498_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member__oef--ClassAxis__custom--C000169010Member_z6ZMhU0rwKT7" style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_496_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member__oef--ClassAxis__custom--C000169012Member_zziyPeRdBPUi" style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_497_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member__oef--ClassAxis__custom--C000169013Member_zUs8sggYVzch" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-align: center; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-bottom: 1pt; padding-left: 9pt; text-align: center; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;YOVAX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;YOVLX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;YOVIX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_402_eoef--MaximumSalesChargeImposedOnPurchasesOverOfferingPrice_dpn_zNk77qlYzN5j" style="vertical-align: bottom"&gt;
    &lt;td style="width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum sales charge (load) imposed on purchases&lt;br/&gt;
(as percentage of offering price)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5.75%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dn_zpc7UbhGyAki" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum deferred sales charges (load)&lt;br/&gt;
(as a percentage of the lesser of original purchase price or redemption proceeds)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.50%&lt;sup id="xdx_F2C_zSm3opc1GGNe"&gt;(1)&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--MaximumAccountFee_zKhKTUvMWSJb" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum Account fee (for accounts under $500)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:ShareholderFeesTableTextBlock>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000464"
      unitRef="Ratio">0.0575</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000465"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000466"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000468"
      unitRef="Ratio">0.0050</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000469"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000470"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="0"
      id="Fact000472"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="0"
      id="Fact000473"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="0"
      id="Fact000474"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000475">&lt;div id="xdx_A88_eoef--AnnualFundOperatingExpensesTableTextBlock_zQ3S1hnJNQV8"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A52_dU_zIA858Yb3dMc" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Annual Fund Operating Expenses"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-align: center; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_490_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member__oef--ClassAxis__custom--C000169010Member_zDb6LdxHyjz5" style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_490_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member__oef--ClassAxis__custom--C000169012Member_zeCD29huvxW4" style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_49B_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member__oef--ClassAxis__custom--C000169013Member_zHyDmGvuIlB5" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-align: center; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-left: 9pt; text-align: center; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;YOVAX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;YOVLX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;YOVIX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--ManagementFeesOverAssets_dpn_za0bhanmmSsl" style="vertical-align: bottom"&gt;
    &lt;td style="width: 55%; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Management Fee&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.90%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.90%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.90%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_400_eoef--DistributionAndService12b1FeesOverAssets_dpn_zcyvvsqfM2ye" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Distribution/Service (12b-1 Fees)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.25%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_405_eoef--OtherExpensesOverAssets_dpn_zoCtIWhKVcF6"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Other Expenses&lt;sup id="xdx_F41_zethODtSlRna"&gt;(2)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.93%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.93%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.93%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40E_eoef--AcquiredFundFeesAndExpensesOverAssets_dpn_zIpoWibY1z1e"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Acquired Fund Fees and Expenses&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.01%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.01%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.01%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_407_eoef--ExpensesOverAssets_dpn_z5fOSX6W1UIi"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;br/&gt;
(before fee waivers and/or expense reimbursements)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.09%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.84%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.84%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--FeeWaiverOrReimbursementOverAssets_zFEnG5SNehTl"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Fee Waivers and/or Expense Reimbursements&lt;sup id="xdx_F43_zYLiVnGRyBb4"&gt;(3)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.46)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.46)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.46)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40F_eoef--NetExpensesOverAssets_dpn_zhOEPMBqOai3"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;sup id="xdx_F40_zauEdkRH3zpj"&gt;(3),(4)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.63%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;2.38%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.38%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F02_zTfBzGbZUhI7" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F10_zpsdQxtjkCCk" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Large purchases of Class A shares (greater than $1 million) are generally subject to a CDSC of 0.25% if the shares are redeemed during the first 12 months after purchase, unless the dealer, at its discretion, has waived the commission advance paid by Ultimus Fund Distributors, LLC (the &#x201c;Distributor&#x201d;).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 11pt Calibri, Helvetica, Sans-Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F0A_zgb7FLs6yR3c" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F13_zg3m0106JQm6" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x201c;Other Expenses&#x201d; include 0.02% of interest expense.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;


&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center"&gt;24&lt;/p&gt;




&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F04_zRAVANHS5cE8" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(3)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F13_zECRUDk2pD0c" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;In the interest of limiting expenses of the Fund, the Adviser has entered into a contractual expense limitation agreement with the Trust, effective May&#160;31, 2025, so that the Fund&#x2019;s ratio of total annual operating expenses is limited to 1.60% for Class A Shares, 2.35% for Class L Shares, and 1.35% for Institutional Class Shares until at least &lt;span id="xdx_906_eoef--FeeWaiverOrReimbursementOverAssetsDateOfTermination_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zr05NuYq1FXj"&gt;May&#160;31, 2026&lt;/span&gt;. Pursuant to the expense limitation agreement, the Adviser has agreed to waive or limit its fees and assume other expenses of the Fund (excluding interest, taxes, brokerage commissions and other expenditures capitalized in accordance with generally accepted accounting principles or other extraordinary expenses not incurred in the ordinary course of business) so that the Fund&#x2019;s ratio of total annual operating expenses is limited to the limits listed above. The Adviser is entitled to the reimbursement of fees waived or reimbursed by the Adviser to the Fund subject to the limitations that the reimbursement is made only for fees and expenses incurred not more than three years prior to the date of reimbursement, and the reimbursement may not be made if it would cause the Fund&#x2019;s annual expense limitations to be exceeded. The reimbursement amount may not include any additional charges or fees, such as interest accruable on the reimbursement account. Further, any recoupments will be subject to any lower expenses limitations that have been later implemented by the Board. The expense limitation agreement may be terminated only by the Board by providing 60 days&#x2019; notice, or if the Adviser ceases to serve as adviser to the Fund.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F03_zNzQXXApXwoe" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(4)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F13_z4tkpw7riKy" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Total Annual Fund Operating Expenses do not correlate to the ratio of average net assets in the Financial Highlights Table, which reflects the operating expenses of the Fund and does not include Acquired Fund Fees and Expenses.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000477"
      unitRef="Ratio">0.0090</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000478"
      unitRef="Ratio">0.0090</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000479"
      unitRef="Ratio">0.0090</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000481"
      unitRef="Ratio">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000482"
      unitRef="Ratio">0.0100</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000483"
      unitRef="Ratio">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000485"
      unitRef="Ratio">0.0093</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000486"
      unitRef="Ratio">0.0093</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000487"
      unitRef="Ratio">0.0093</oef:OtherExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000489"
      unitRef="Ratio">0.0001</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000490"
      unitRef="Ratio">0.0001</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:AcquiredFundFeesAndExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000491"
      unitRef="Ratio">0.0001</oef:AcquiredFundFeesAndExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000493"
      unitRef="Ratio">0.0209</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000494"
      unitRef="Ratio">0.0284</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000495"
      unitRef="Ratio">0.0184</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000497"
      unitRef="Ratio">-0.0046</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000498"
      unitRef="Ratio">-0.0046</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000499"
      unitRef="Ratio">-0.0046</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="INF"
      id="Fact000501"
      unitRef="Ratio">0.0163</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="INF"
      id="Fact000502"
      unitRef="Ratio">0.0238</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="INF"
      id="Fact000503"
      unitRef="Ratio">0.0138</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000508">May&#160;31, 2026</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000510">Example:</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000511">&lt;p id="xdx_A8A_eoef--ExpenseExampleNarrativeTextBlock_z8iALwPKhGh7" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The following 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 id="xdx_901_eoef--ExpenseExampleByYearCaption_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zZphZ34NZ237"&gt;The Example assumes that you invest
$10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The Example also assumes
that your investment has a 5% return each year and the Fund&#x2019;s operating expenses remain the same (taking into account the expense
limitation agreement for the one-year period). Although your actual costs may be higher or lower, based on these assumptions your costs
would be:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleByYearCaption
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000512">The Example assumes that you invest
$10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The Example also assumes
that your investment has a 5% return each year and the Fund&#x2019;s operating expenses remain the same (taking into account the expense
limitation agreement for the one-year period). Although your actual costs may be higher or lower, based on these assumptions your costs
would be:</oef:ExpenseExampleByYearCaption>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000513">&lt;div id="xdx_A84_eoef--ExpenseExampleWithRedemptionTableTextBlock_zjdtbpzcITLl"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A5E_dU_zscEDuWoUto5" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Expense Example"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: black 1pt solid; width: 40%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_487_eoef--ExpenseExampleYear01_zjYtZqCM37F5" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_48F_eoef--ExpenseExampleYear03_zWqrKuJmKvM5" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_484_eoef--ExpenseExampleYear05_z5PWaUHmnOC" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_48D_eoef--ExpenseExampleYear10_zGFSo4vrmLxk" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_412_dei--DocumentInformationDocumentAxis_custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000053763Member_oef--ClassAxis_custom--C000169010Member_zyOkXTafQRwk" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class A (YOVAX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$731&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,150&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,594&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$2,822&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_414_dei--DocumentInformationDocumentAxis_custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000053763Member_oef--ClassAxis_custom--C000169012Member_z7VHDnZGqOob" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class L (YOVLX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$241&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$837&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$1,458&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$3,133&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_415_dei--DocumentInformationDocumentAxis_custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000053763Member_oef--ClassAxis_custom--C000169013Member_zq2L4XacBSIe" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional Class (YOVIX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$140&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$534&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$953&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$2,121&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="0"
      id="Fact000514"
      unitRef="USD">731</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="0"
      id="Fact000515"
      unitRef="USD">1150</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="0"
      id="Fact000516"
      unitRef="USD">1594</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169010Member"
      decimals="0"
      id="Fact000517"
      unitRef="USD">2822</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="0"
      id="Fact000518"
      unitRef="USD">241</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="0"
      id="Fact000519"
      unitRef="USD">837</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="0"
      id="Fact000520"
      unitRef="USD">1458</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169012Member"
      decimals="0"
      id="Fact000521"
      unitRef="USD">3133</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="0"
      id="Fact000522"
      unitRef="USD">140</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="0"
      id="Fact000523"
      unitRef="USD">534</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="0"
      id="Fact000524"
      unitRef="USD">953</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_C000169013Member"
      decimals="0"
      id="Fact000525"
      unitRef="USD">2121</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000526">Portfolio Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000527">&lt;p id="xdx_A8E_eoef--PortfolioTurnoverTextBlock_zSZqO9AAgVr5" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The Fund pays transaction costs, such
as commissions, when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate may indicate
higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected
in annual fund operating expenses or in the example, affect the Fund&#x2019;s performance. During the most recent fiscal year, the Fund&#x2019;s
portfolio turnover rate was &lt;span id="xdx_905_eoef--PortfolioTurnoverRate_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_znUZL8GmivE4"&gt;104%&lt;/span&gt; of the average value of its portfolio.&lt;/b&gt;&lt;/p&gt;

</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      decimals="INF"
      id="Fact000528"
      unitRef="Ratio">1.04</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000529">Principal Investment Strategies</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000530">&lt;p id="xdx_A8E_eoef--StrategyNarrativeTextBlock_zm24LPoIDL1e" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The
Fund seeks to achieve its investment objective by investing in U.S. listed securities with market capitalization within the range of the
targeted benchmark, the Russell 2000 Total Return Index. Under normal circumstances, the Fund invests at least 80% of its assets (plus
the amount of any borrowings for investment purposes) in small cap companies. At any given time, the Fund may hold up to 15% of its assets
in American Depositary Receipts (ADRs). Typically, the Fund invests in approximately 50-200 stocks that pass the Adviser&#x2019;s stringent
quantitative and fundamental criteria.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Adviser believes that the Fund is best able to
achieve long-term capital appreciation through investments in securities of a core group of businesses and to hold such securities for
the long term. The Fund will invest in listed marketable securities, generally, but not exclusively, equity and equity related securities
that are traded on U.S. exchanges.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;In selecting securities for the Fund, the Adviser
utilizes a quantitative fundamental approach combined with a robust risk/reward assessment to consistently identify securities with asymmetrically
favorable profiles, which it believes are inefficiently priced by the market relative to their potential upside.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;Generally, in determining whether to sell a security,
the Adviser uses the same type of analysis that it uses in buying securities. For example, the Adviser may sell a security if it deteriorates
in its multi factor fundamental model, drops out of the top tier reward/risk ratio rankings, or is believed to have excess risk. The Adviser
may also sell a security to reduce the Fund&#x2019;s holding in that security, take advantage of more attractive investment opportunities,
or to raise cash.&lt;/p&gt;

</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_GeneralRisksMember"
      id="Fact000532">&lt;p id="xdx_A89_eoef--RiskTextBlock_hoef--RiskAxis__custom--GeneralRisksMember_z5iHktzfcvug" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;General Risks.&lt;/b&gt;&#160;&lt;span id="xdx_903_eoef--RiskTextBlock_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member__oef--RiskAxis__oef--RiskLoseMoneyMember_zQNnIPRsAAPi"&gt;There is a
risk that you could lose all or a portion of your investment in the Fund.&lt;/span&gt; The value of your investment in the Fund will go up and down
with the prices of the securities in which the Fund invests.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;div style="display: none"&gt;&lt;span id="xdx_917_exdx--NextElement_zhKDB2GGqyL3"&gt;&lt;/span&gt;&lt;/div&gt;
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_oef_RiskLoseMoneyMember"
      id="Fact000533">There is a
risk that you could lose all or a portion of your investment in the Fund.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_EquitySecurityRiskMember"
      id="Fact000535">&lt;p id="xdx_A85_eoef--RiskTextBlock_hoef--RiskAxis__custom--EquitySecurityRiskMember_zsmLvd5mmYX5" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Equity
Security Risk.&lt;/b&gt;&#160;Prices of equity securities generally fluctuate more than those of other securities, such as debt securities.
Market risk, the risk that prices of securities will decrease because of the interplay of market forces, may affect a single issuer, industry
or sector of the economy or may affect the market as a whole.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;div style="display: none"&gt;&lt;span id="xdx_91F_exdx--NextElement_zUALzW9qdrl5"&gt;&lt;/span&gt;&lt;/div&gt;
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_CompanyRiskMember"
      id="Fact000537">&lt;p id="xdx_A84_eoef--RiskTextBlock_hoef--RiskAxis__custom--CompanyRiskMember_zdntewB73FHc" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Company
Risk.&lt;/b&gt;&#160;The Fund may invest in securities that involve certain special circumstances that the Adviser believes offer the opportunity
for long-term capital appreciation. These investments may involve greater risks of loss than investments in securities of well-established
companies with a history of consistent operating patterns.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;div style="display: none"&gt;&lt;span id="xdx_91B_exdx--NextElement_zSz3cXJ1BVK7"&gt;&lt;/span&gt;&lt;/div&gt;
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_SmallCompanyRiskMember"
      id="Fact000539">&lt;p id="xdx_A86_eoef--RiskTextBlock_hoef--RiskAxis__custom--SmallCompanyRiskMember_zAUjPugjLozj" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Small
Company Risk.&lt;/b&gt;&#160;Small company securities tend to be less liquid and more difficult to sell than those issued by larger companies.
Small company stocks can be more volatile and may underperform the market or become out of favor with investors. Small company securities
may be very sensitive to changing economic conditions and market downturns because the issuers often have narrow markets, fewer product
lines, and limited managerial and financial resources, resulting in volatile stock prices and a limited ability to sell them at a desirable
time or price.&lt;/p&gt;



&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center"&gt;26&lt;/p&gt;




&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;div style="display: none"&gt;&lt;span id="xdx_917_exdx--NextElement_zXbrVURUrWsf"&gt;&lt;/span&gt;&lt;/div&gt;
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_GrowthInvestmentRiskMember"
      id="Fact000542">&lt;p id="xdx_A8E_eoef--RiskTextBlock_hoef--RiskAxis__custom--GrowthInvestmentRiskMember_zSaK8p25jjKb" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Growth
Investment Risk.&lt;/b&gt;&#160;The Fund often invests in companies after assessing their growth potential. Securities of growth companies may
be more volatile than other stocks. If the Portfolio Manager&#x2019;s perception of a company&#x2019;s growth potential is not realized,
the securities purchased may not perform as expected, reducing the Fund&#x2019;s return. In addition, because different types of stocks
tend to shift in and out of favor depending on market and economic conditions, &#x201c;growth&#x201d; stocks may perform differently from
the market as a whole and other types of securities.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;div style="display: none"&gt;&lt;span id="xdx_912_exdx--NextElement_zLCs9lCuWo94"&gt;&lt;/span&gt;&lt;/div&gt;
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member_custom_ManagementRiskMember"
      id="Fact000544">&lt;p id="xdx_A80_eoef--RiskTextBlock_hoef--RiskAxis__custom--ManagementRiskMember_zgDF8Cl9aBhk" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Management
Risk.&lt;/b&gt;&#160;The investment strategies, practices and risk analysis used by the Adviser may not produce the desired results.&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000545">The Fund&#x2019;s Past Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000546">&lt;p id="xdx_A85_eoef--PerformanceNarrativeTextBlock_zhrv6gvfIRal" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;&lt;span id="xdx_908_eoef--PerformanceInformationIllustratesVariabilityOfReturns_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_z3BACbn8EoQd"&gt;The following bar chart and table below
provide some indication of the risks of investing in the Fund by showing changes in the Fund&#x2019;s performance from year to year and
by showing how the Fund&#x2019;s average annual returns for 1-year, 5-year and Since Inception periods compare with those of a broad measure
of market performance.&lt;/span&gt; &lt;span id="xdx_903_eoef--PerformancePastDoesNotIndicateFuture_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zdbjLOOJ91pd"&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; Updated performance information is available at &lt;span id="xdx_902_eoef--PerformanceAvailabilityWebSiteAddress_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zJdPR6WOqi6i"&gt;www.yorktownfunds.com&lt;/span&gt; and by calling toll-free &lt;span id="xdx_905_eoef--PerformanceAvailabilityPhone_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zY1AW7d4cFaj"&gt;888-933-8274&lt;/span&gt;.&lt;/b&gt;&lt;/p&gt;

</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000547">The following bar chart and table below
provide some indication of the risks of investing in the Fund by showing changes in the Fund&#x2019;s performance from year to year and
by showing how the Fund&#x2019;s average annual returns for 1-year, 5-year and Since Inception periods compare with those of a broad measure
of market performance.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000548">The Fund&#x2019;s past performance (before and after taxes) is not necessarily an indication of how the Fund will
perform in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000549">www.yorktownfunds.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000550">888-933-8274</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000551">Year-By-Year
Annual Returns &#x2013; Institutional Class Shares (YOVIX)

(for calendar years ending on December&#160;31)</oef:BarChartHeading>
    <oef:BarChartTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000552">&lt;p id="xdx_A88_eoef--BarChartTableTextBlock_z5RTJmONOnJ1" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 11pt Calibri, Helvetica, Sans-Serif; margin: 0; text-align: center"&gt;&lt;img alt="" src="img_004.jpg" style="height: 286px; width: 550px"/&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; border-collapse: collapse; width: 100%"&gt;
&lt;tr style="display: none; vertical-align: bottom; text-align: center"&gt;
  &lt;th style="display: none"&gt;Years&lt;/th&gt;
  &lt;th style="display: none"&gt;Returns&lt;/th&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center; width: 50%"&gt;2017&lt;/td&gt;
  &lt;td id="xdx_98E_eoef--AnnlRtrPct_c20170101__20171231__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zjQbbZM0z1s5" style="display: none; text-align: center; width: 50%"&gt;9.00%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2018&lt;/td&gt;
  &lt;td id="xdx_98E_eoef--AnnlRtrPct_c20180101__20181231__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zT6yCPQAipMh" style="display: none; text-align: center"&gt;-7.93%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2019&lt;/td&gt;
  &lt;td id="xdx_980_eoef--AnnlRtrPct_c20190101__20191231__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zjvKoheaoWa3" style="display: none; text-align: center"&gt;21.84%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2020&lt;/td&gt;
  &lt;td id="xdx_982_eoef--AnnlRtrPct_c20200101__20201231__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_z5AsUsuCsvf" style="display: none; text-align: center"&gt;30.31%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2021&lt;/td&gt;
  &lt;td id="xdx_98A_eoef--AnnlRtrPct_c20210101__20211231__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zHnGZhbbcL2" style="display: none; text-align: center"&gt;24.58%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2022&lt;/td&gt;
  &lt;td id="xdx_982_eoef--AnnlRtrPct_c20220101__20221231__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zJGUUgu8Kloj" style="display: none; text-align: center"&gt;-25.18%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2023&lt;/td&gt;
  &lt;td id="xdx_989_eoef--AnnlRtrPct_c20230101__20231231__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zIVlsR1IlaZ9" style="display: none; text-align: center"&gt;14.19%&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="display: none; vertical-align: top; text-align: left"&gt;
  &lt;td style="display: none; text-align: center"&gt;2024&lt;/td&gt;
  &lt;td id="xdx_98C_eoef--AnnlRtrPct_c20240101__20241231__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zu4qcVk99Raj" style="display: none; text-align: center"&gt;6.01%&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;/p&gt;

</oef:BarChartTableTextBlock>
    <oef:AnnlRtrPct
      contextRef="From2017-01-012017-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000553"
      unitRef="Ratio">0.0900</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2018-01-012018-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000554"
      unitRef="Ratio">-0.0793</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2019-01-012019-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000555"
      unitRef="Ratio">0.2184</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2020-01-012020-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000556"
      unitRef="Ratio">0.3031</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2021-01-012021-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000557"
      unitRef="Ratio">0.2458</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2022-01-012022-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000558"
      unitRef="Ratio">-0.2518</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2023-01-012023-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000559"
      unitRef="Ratio">0.1419</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000560"
      unitRef="Ratio">0.0601</oef:AnnlRtrPct>
    <oef:BarChartClosingTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000561">&lt;p id="xdx_A88_eoef--BarChartClosingTextBlock_zqX3Gz7qKBKg" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;During the period covered by the bar chart,
Institutional Class Shares&#x2019; &lt;span id="xdx_905_eoef--HighestQuarterlyReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zYEic14wo808"&gt;highest return for a quarter&lt;/span&gt; was &lt;span id="xdx_908_eoef--BarChartHighestQuarterlyReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zqCt8kuuiJEe"&gt;27.62%&lt;/span&gt; (quarter ended &lt;span id="xdx_902_eoef--BarChartHighestQuarterlyReturnDate_dd_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zmiccxyenyfe"&gt;June 30, 2020&lt;/span&gt;) and the &lt;span id="xdx_90B_eoef--LowestQuarterlyReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zL9BxK0KFJQk"&gt;lowest return for a quarter&lt;/span&gt;
was &lt;span id="xdx_905_eoef--BarChartLowestQuarterlyReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zyvdw5bH2BSc"&gt;(26.45)%&lt;/span&gt; (quarter ended &lt;span id="xdx_90C_eoef--BarChartLowestQuarterlyReturnDate_dd_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zYcpK2KBDEg5"&gt;March 31, 2020&lt;/span&gt;). Institutional Class Shares&#x2019; &lt;span id="xdx_904_eoef--YearToDateReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zfiZ0m36ArKb"&gt;year to date total return&lt;/span&gt; as of &lt;span id="xdx_905_eoef--BarChartYearToDateReturnDate_dd_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zDgEzDYxsw95"&gt;March 31, 2025&lt;/span&gt; was &lt;span id="xdx_90B_eoef--BarChartYearToDateReturn_dp_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zk6Jo8Sf3QR1"&gt;(7.12)%&lt;/span&gt;.&lt;/p&gt;

</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000562">highest return for a quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      decimals="INF"
      id="Fact000563"
      unitRef="Ratio">0.2762</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000564">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000565">lowest return for a quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      decimals="INF"
      id="Fact000566"
      unitRef="Ratio">-0.2645</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000567">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000568">year to date total return</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000569">2025-03-31</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      decimals="INF"
      id="Fact000570"
      unitRef="Ratio">-0.0712</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000571">Average
Annual Total Returns

(for periods ending on December&#160;31, 2024)

&#160;</oef:PerformanceTableHeading>
    <oef:PerformanceTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000572">&lt;div id="xdx_A8D_eoef--PerformanceTableTextBlock_za8uLykiBJKb"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A5D_dU_ztX4hoGFdc5k" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Average Annual Total Returns"&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; width: 61%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_491_20240101__20241231_zb3dI2xsPpE" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 13%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_491_20200101__20241231_zLnB5GvzSpl" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 13%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_497_20160509__20241231_zeLksUHEaVH2" style="border-bottom: black 1pt solid; vertical-align: bottom; width: 13%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Since Inception&lt;br/&gt;
&lt;span id="xdx_903_eoef--PerfInceptionDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zjs4umgNQXSb"&gt;5/9/2016&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zH0edXHGeXs"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_90E_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member_zq8TdCelL4k9"&gt;Return Before Taxes&lt;/span&gt; - Institutional Class Shares (YOVIX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;6.01%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;8.02%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;9.34%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_405_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member__oef--PerformanceMeasureAxis__oef--AfterTaxesOnDistributionsMember_zDI1oGvD3tm2"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Return After-Taxes on Distributions&lt;sup id="xdx_F4E_zkrP6N06qIIk"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;6.01%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.40%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;8.39%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member__oef--PerformanceMeasureAxis__oef--AfterTaxesOnDistributionsAndSalesMember_zMpG0Bd5Oi19"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Return After-Taxes on Distributions and Sale of Fund Shares&lt;sup id="xdx_F43_zs74CmkDstH6"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3.56%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;6.29%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.36%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_409_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member__oef--PerformanceMeasureAxis__custom--MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember_zzoNWz9b7dUf"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;MSCI ACWI Total Return Index&lt;sup id="xdx_F47_zhrDa8zQ6K08"&gt;(2)(3)&lt;/sup&gt;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;(reflects no deduction for fee, expenses or taxes)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;18.02%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10.58%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;8.36%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member__oef--PerformanceMeasureAxis__custom--FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember_z3lR3cQ6Emg4"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;FT Wilshire 5000 Index&lt;sup id="xdx_F44_zAIpmrL7GO3i"&gt;SM(4)(5)&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;23.76%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;14.11%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;11.12%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_405_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member__oef--PerformanceMeasureAxis__custom--Russell2000TotalReturnIndexMember_zNeN4gYPBN7k" style="font-size: 10pt"&gt;
    &lt;td style="font: 10pt Times New Roman, Times, Serif; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Russell
    2000 Total Return Index&lt;sup id="xdx_F4E_zJyWq2XNaEH"&gt;(6)(7)&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="font-size: 10pt; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;11.54%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="font-size: 10pt; vertical-align: bottom; text-align: center"&gt;&lt;p style="font-size: 10pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;7.40%&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
    &lt;td style="font-size: 10pt; vertical-align: bottom; text-align: center"&gt;&lt;p style="font-size: 10pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;9.80%&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_408_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169013Member__oef--PerformanceMeasureAxis__custom--Russell2000GrowthTotalReturnIndexMember_zh7n8mbljDL" style="font: 10pt Times New Roman, Times, Serif"&gt;
    &lt;td style="font: 10pt Times New Roman, Times, Serif; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Russell
    2000 Growth Total Return Index&lt;sup id="xdx_F47_zH5FKLbRdF7i"&gt;(8)(9)&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="font: 10pt Times New Roman, Times, Serif; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;15.15%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="font: 10pt Times New Roman, Times, Serif; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;6.86%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="font: 10pt Times New Roman, Times, Serif; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;10.25%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Since Inception&lt;br/&gt;
&lt;span id="xdx_902_eoef--PerfInceptionDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169010Member_zl44nGkj615d"&gt;5/9/2016&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_403_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169010Member_z6wom6Qgxbz8"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_90B_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169010Member_zfB9uCRzgXJd"&gt;Return Before Taxes&lt;/span&gt; - Class A Shares (YOVAX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;-0.38%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;6.47%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;8.34%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;One Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Five Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; vertical-align: bottom"&gt;
    &lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center"&gt;&lt;b&gt;Since Inception&lt;/b&gt;&lt;/p&gt;
    &lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: center"&gt;&lt;b&gt;&lt;span id="xdx_903_eoef--PerfInceptionDate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169012Member_zhkrnTr82iE3"&gt;5/9/2016&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_404_eoef--AvgAnnlRtrPct_dp_hdei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169012Member_zwDrZxWUeSHf"&gt;
    &lt;td style="vertical-align: top; padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;&lt;span id="xdx_909_eoef--AverageAnnualReturnLabel_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__oef--ClassAxis__custom--C000169012Member_zzQecZnzKUvi"&gt;Return Before Taxes&lt;/span&gt; - Class L Shares (YOVLX)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;4.91%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;6.94%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="vertical-align: bottom; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;8.26%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F05_zoRQKRipotOa" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1A_z6kjj0wgkYic" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;span id="xdx_901_eoef--PerformanceTableUsesHighestFederalRate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zi5M6Be3txEl"&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 id="xdx_904_eoef--PerformanceTableNotRelevantToTaxDeferred_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zFAjwMj6f0i"&gt;Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.&lt;/span&gt; &lt;span id="xdx_90E_eoef--PerformanceTableOneClassOfAfterTaxShown_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_z01O2vk56DJ3"&gt;After-Tax Returns are shown for only Institutional Class Shares. After-tax returns for Class A and Class L Shares will vary.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F0A_zH1W0YXHq5mg" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F15_zHXyEyPxcWei" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;Effective March&#160;26, 2025, the Fund&#x2019;s primary benchmark Index was changed from FT Wilshire 5000 Index&lt;sup&gt;SM&lt;/sup&gt; to MSCI ACWI Total Return Index.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F0C_zbWIyJi15Sr2" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(3)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1B_zOBcIcYzF9x2" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The MSCI ACWI Total Return Index is a globally diversified market capitalization-weighted index that represents the performance of large- and mid-cap stocks across both developed and emerging markets. It is designed to capture approximately 85% of the global equity market capitalization. The &#x201c;Total Return&#x201d; aspect means it includes reinvested dividends.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F0C_zkUuqKxXWG8l" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(4)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1D_z4wwY3UkoYq7" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The prior benchmark, FT Wilshire 5000 Index&lt;sup&gt;SM&lt;/sup&gt; is shown for regulatory purposes only and will not be used for comparison going forward as it does not meet new regulatory requirements.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px"&gt;&lt;span id="xdx_F02_zTHXseEbBF2g" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(5)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F18_zd6cHmtgBMjb" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The FT Wilshire 5000 Index&lt;sup&gt;SM&lt;/sup&gt; is a broad-based market capitalization-weighted index that seeks to capture 100% of the United States investible market.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;

&lt;p style="margin-top: 0; margin-bottom: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font-size: 10pt; margin-top: 0pt; margin-bottom: 0pt; width: 100%"&gt;&lt;tr style="font: 10pt Times New Roman, Times, Serif; vertical-align: top; text-align: justify"&gt;
&lt;td style="font: 10pt Times New Roman, Times, Serif; width: 0in"&gt;&lt;/td&gt;&lt;td style="font: 10pt Times New Roman, Times, Serif; width: 0.25in; text-align: left"&gt;&lt;span id="xdx_F05_zyItYXY33rI2" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(6)&lt;/span&gt;&lt;/td&gt;&lt;td style="font: 10pt Times New Roman, Times, Serif; text-align: justify"&gt;&lt;span id="xdx_F11_zlbVdJMVPGd3" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The
                                            Russell 2000 Total Return Index tracks the performance of approximately 2,000 small-cap U.S.
                                            companies, including the reinvestment of dividends, offering a comprehensive view of this
                                            market segment's performance.&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;

&lt;p style="margin-top: 0; margin-bottom: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font-size: 10pt; margin-top: 0pt; margin-bottom: 0pt; width: 100%"&gt;&lt;tr style="font: 10pt Times New Roman, Times, Serif; vertical-align: top; text-align: justify"&gt;
&lt;td style="font: 10pt Times New Roman, Times, Serif; width: 0in"&gt;&lt;/td&gt;&lt;td style="font: 10pt Times New Roman, Times, Serif; width: 0.25in; text-align: left"&gt;&lt;span id="xdx_F00_zNTkSABQrY6a" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(7)&lt;/span&gt;&lt;/td&gt;&lt;td style="font: 10pt Times New Roman, Times, Serif; text-align: justify"&gt;&lt;span id="xdx_F1E_zWejC92DMTg4" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The
                                            prior benchmark, Russell 2000 Total Return Index, is shown for regulatory purposes only and
                                            will not be used for comparison going forward as it does not meet new regulatory requirements.&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;

&lt;p style="margin-top: 0; margin-bottom: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font-size: 10pt; margin-top: 0pt; margin-bottom: 0pt; width: 100%"&gt;&lt;tr style="vertical-align: top; text-align: justify"&gt;
&lt;td style="width: 0in"&gt;&lt;/td&gt;&lt;td style="width: 0.25in; text-align: left"&gt;&lt;span id="xdx_F02_zboor2pvMYEg" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(8)&lt;/span&gt;&lt;/td&gt;&lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1C_z6ADCxtjdHW3" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The
                                            Russell 2000 Growth Total Return Index measures the performance of the small-cap growth segment
                                            of the U.S. equity market. It includes companies within the Russell 2000 that exhibit higher
                                            price-to-book ratios and higher predicted and historical growth rates. This index serves
                                            as a benchmark for investors looking to track the performance of small-cap growth stocks.&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;

&lt;p style="margin-top: 0; margin-bottom: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font-size: 10pt; margin-top: 0pt; margin-bottom: 0pt; width: 100%"&gt;&lt;tr style="vertical-align: top; text-align: justify"&gt;
&lt;td style="width: 0in"&gt;&lt;/td&gt;&lt;td style="width: 0.25in; text-align: left"&gt;&lt;span id="xdx_F0D_zVbVbLMnaJAk" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(9)&lt;/span&gt;&lt;/td&gt;&lt;td style="text-align: justify"&gt;&lt;span id="xdx_F19_zkrLaPy79CK" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The
                                            prior benchmark, Russell 2000 Growth Total Return Index, is shown for regulatory purposes
                                            only and will not be used for comparison going forward as it does not meet new regulatory
                                            requirements.&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;
</oef:PerformanceTableTextBlock>
    <oef:PerfInceptionDate
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      id="Fact000573">2016-05-09</oef:PerfInceptionDate>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      id="Fact000578">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000575"
      unitRef="Ratio">0.0601</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000576"
      unitRef="Ratio">0.0802</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member"
      decimals="INF"
      id="Fact000577"
      unitRef="Ratio">0.0934</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000580"
      unitRef="Ratio">0.0601</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000581"
      unitRef="Ratio">0.0740</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsMember"
      decimals="INF"
      id="Fact000582"
      unitRef="Ratio">0.0839</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000584"
      unitRef="Ratio">0.0356</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000585"
      unitRef="Ratio">0.0629</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_oef_AfterTaxesOnDistributionsAndSalesMember"
      decimals="INF"
      id="Fact000586"
      unitRef="Ratio">0.0736</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000588"
      unitRef="Ratio">0.1802</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000589"
      unitRef="Ratio">0.1058</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_MSCIACWITotalReturnIndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000590"
      unitRef="Ratio">0.0836</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000592"
      unitRef="Ratio">0.2376</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000593"
      unitRef="Ratio">0.1411</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_FTWilshire5000IndexReflectsNoDeductionForFeesExpensesOrTaxesMember"
      decimals="INF"
      id="Fact000594"
      unitRef="Ratio">0.1112</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000TotalReturnIndexMember"
      decimals="INF"
      id="Fact000596"
      unitRef="Ratio">0.1154</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000TotalReturnIndexMember"
      decimals="INF"
      id="Fact000597"
      unitRef="Ratio">0.0740</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000TotalReturnIndexMember"
      decimals="INF"
      id="Fact000598"
      unitRef="Ratio">0.0980</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000GrowthTotalReturnIndexMember"
      decimals="INF"
      id="Fact000600"
      unitRef="Ratio">0.1515</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000GrowthTotalReturnIndexMember"
      decimals="INF"
      id="Fact000601"
      unitRef="Ratio">0.0686</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169013Member_custom_Russell2000GrowthTotalReturnIndexMember"
      decimals="INF"
      id="Fact000602"
      unitRef="Ratio">0.1025</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member"
      id="Fact000603">2016-05-09</oef:PerfInceptionDate>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member"
      id="Fact000608">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member"
      decimals="INF"
      id="Fact000605"
      unitRef="Ratio">-0.0038</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member"
      decimals="INF"
      id="Fact000606"
      unitRef="Ratio">0.0647</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169010Member"
      decimals="INF"
      id="Fact000607"
      unitRef="Ratio">0.0834</oef:AvgAnnlRtrPct>
    <oef:PerfInceptionDate
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member"
      id="Fact000609">2016-05-09</oef:PerfInceptionDate>
    <oef:AverageAnnualReturnLabel
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member"
      id="Fact000614">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="From2024-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member"
      decimals="INF"
      id="Fact000611"
      unitRef="Ratio">0.0491</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2020-01-012024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member"
      decimals="INF"
      id="Fact000612"
      unitRef="Ratio">0.0694</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-05-092024-12-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_C000169012Member"
      decimals="INF"
      id="Fact000613"
      unitRef="Ratio">0.0826</oef:AvgAnnlRtrPct>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000616">After-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000617">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableOneClassOfAfterTaxShown
      contextRef="From2025-07-312025-07-31_custom_YorktownSmallCapFundClassAClassLAndInstitutionalClassMember_custom_S000053763Member"
      id="Fact000618">After-Tax Returns are shown for only Institutional Class Shares. After-tax returns for Class A and Class L Shares will vary.</oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:RiskReturnHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000627">Yorktown Treasury Advanced Total Return Fund</oef:RiskReturnHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000628">&lt;p id="xdx_A89_eoef--ObjectivePrimaryTextBlock_zCSvf4p3qD1j" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Investment
Objective&lt;/b&gt;&#160;&#x2013; Current income, capital appreciation, while limiting credit risk to achieve a total return net of inflation.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000629">Fees and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000630">&lt;p id="xdx_A8D_eoef--ExpenseNarrativeTextBlock_zyOo964O9JEk" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;This table describes the fees and expenses
that you may pay if you buy, hold, and sell shares of the Fund. &lt;span id="xdx_90F_eoef--ExpenseBreakpointDiscounts_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member_zwkNhKoIzDq6"&gt;You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $&lt;span id="xdx_90A_eoef--ExpenseBreakpointMinimumInvestmentRequiredAmount_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member_zSnWLDYcLzY4"&gt;25,000&lt;/span&gt; in the Yorktown Treasury Advanced Total Return Fund.&lt;/span&gt; More information about these and
other discounts is available from your financial professional. You may pay other fees, such as brokerage commissions and other fees to
financial intermediaries, which are not reflected in the tables and examples below.&lt;/b&gt;&lt;/p&gt;

</oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000631">You may qualify for sales charge discounts if you and your family invest,
or agree to invest in the future, at least $25,000 in the Yorktown Treasury Advanced Total Return Fund.</oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      decimals="0"
      id="Fact000632"
      unitRef="USD">25000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000633">&lt;div id="xdx_A80_eoef--ShareholderFeesTableTextBlock_zBE1HI78anyh"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A5F_dU_zVdJvSm61F" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Shareholder Fees"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="width: 85%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_495_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member__oef--ClassAxis__custom--C000221013Member_z7pREzYimk47" style="width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;AATRX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_405_eoef--MaximumSalesChargeImposedOnPurchasesOverOfferingPrice_dn_zO8rC4McEyq1" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum sales charge (load) imposed on purchases&lt;br/&gt;
(as percentage of offering price)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_403_eoef--MaximumDeferredSalesChargeOverOfferingPrice_dn_zUOKly0iA2ri" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum deferred sales charges (load)&lt;br/&gt;
(as a percentage of the lesser of original purchase price or redemption proceeds)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;None&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_408_eoef--MaximumAccountFee_dn_z6KX8dBnWc8a" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Maximum Account fee (for accounts under $500)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$25/yr&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
</oef:ShareholderFeesTableTextBlock>
    <oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="INF"
      id="Fact000635"
      unitRef="Ratio">0</oef:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="INF"
      id="Fact000637"
      unitRef="Ratio">0</oef:MaximumDeferredSalesChargeOverOfferingPrice>
    <oef:MaximumAccountFee
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="0"
      id="Fact000639"
      unitRef="USD">25</oef:MaximumAccountFee>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000640">&lt;div id="xdx_A8F_eoef--AnnualFundOperatingExpensesTableTextBlock_zhRdqbGyz217"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A55_dU_ze14Es4tVju8" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Annual Fund Operating Expenses"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="width: 85%; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_490_20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member__oef--ClassAxis__custom--C000221013Member_zkOQCQLjNYw6" style="width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-left: 9pt; text-indent: -9pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;AATRX&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40C_eoef--ManagementFeesOverAssets_dpn_zYrvqhvGv0T3" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Management Fee&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.40%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_406_eoef--DistributionAndService12b1FeesOverAssets_dpn_zBbM20ZT3YQg" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Distribution/Service (12b-1 Fees)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.00%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40D_eoef--OtherExpensesOverAssets_dpn_zdZUZ1UA16m9" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Other Expenses&lt;sup id="xdx_F4F_z4K9ceD8BwUh"&gt;(1)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.68%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_403_eoef--ExpensesOverAssets_dpn_z7KbUmIw38pg" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;br/&gt;
(before fee waivers and/or expense reimbursements)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1.08%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_401_eoef--FeeWaiverOrReimbursementOverAssets_dpn_zo3SdMN25ED4" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Fee Waivers and/or Expense Reimbursements&lt;sup id="xdx_F4A_ze5KlSz0Tkeb"&gt;(2)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;(0.58)%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_40A_eoef--NetExpensesOverAssets_dpn_zKl3zrMYlHSf" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Total Annual Fund Operating Expenses&lt;sup id="xdx_F48_zvIlaoIOufY"&gt;(2)&lt;/sup&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;0.50%&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 24px; text-align: justify"&gt;&lt;span id="xdx_F0D_zC2eR3UGjfVi" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(1)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1D_zhTL9ntnGVl" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&#x201c;Other Expenses&#x201d; are based on estimated amounts for the current fiscal year.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;



&lt;p style="font: 11pt Calibri, Helvetica, Sans-Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F03_zn89dsdYqQni" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;(2)&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: justify"&gt;&lt;span id="xdx_F1B_z0ii4HYtPvNh" style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;In the interest of limiting expenses of the Fund, the Adviser has entered into a contractual expense limitation agreement with the Trust, effective May&#160;31, 2025, so that the Fund&#x2019;s ratio of total annual operating expenses is limited to 0.50% for Institutional Class Shares until at least &lt;span id="xdx_906_eoef--FeeWaiverOrReimbursementOverAssetsDateOfTermination_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member_zJdTQ83CaLgc"&gt;May&#160;31, 2026&lt;/span&gt;. Pursuant to the expense limitation agreement, the Adviser has agreed to waive or limit its fees and assume other expenses of the Fund (excluding acquired fund fees and expenses, brokerage fees, taxes, borrowing costs such as interest and dividend expenses on securities sold short, and other extraordinary expenses not incurred in the ordinary course of business) so that the Fund&#x2019;s ratio of total annual operating expenses is limited to the limit listed above. The Adviser is entitled to the reimbursement of fees waived or reimbursed by the Adviser to the Fund subject to the limitations that the reimbursement is made only for fees and expenses incurred not more than three years prior to the date of reimbursement, and the reimbursement may not be made if it would cause the Fund&#x2019;s annual expense limitations to be exceeded. The reimbursement amount may not include any additional charges or fees, such as interest accruable on the reimbursement account. Further, any recoupments will be subject to any lower expenses limitations that have been later implemented by the Board. The expense limitation agreement may be terminated only by the Board of Trustees of the Trust (the &#x201c;Board&#x201d;) by providing 60 days&#x2019; notice, or if the Adviser ceases to serve as adviser to the Fund.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;






&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;



&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ManagementFeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="INF"
      id="Fact000642"
      unitRef="Ratio">0.0040</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="INF"
      id="Fact000644"
      unitRef="Ratio">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="INF"
      id="Fact000646"
      unitRef="Ratio">0.0068</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="INF"
      id="Fact000648"
      unitRef="Ratio">0.0108</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="INF"
      id="Fact000650"
      unitRef="Ratio">-0.0058</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="INF"
      id="Fact000652"
      unitRef="Ratio">0.0050</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000655">May&#160;31, 2026</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000658">Example:</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000659">&lt;p id="xdx_A87_eoef--ExpenseExampleNarrativeTextBlock_zdUBsArgtaMg" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The following example is intended to
help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The Example assumes that you invest
$10,000 in the Fund for the time periods indicated and then redeem all of your shares at the end of those periods. The Example also assumes
that your investment has a 5% return each year and the Fund&#x2019;s operating expenses remain the same (taking into account the expense
limitation agreement for the one-year period). Although your actual costs may be higher or lower, based on these assumptions your costs
would be:&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000660">&lt;div id="xdx_A8A_eoef--ExpenseExampleWithRedemptionTableTextBlock_zRJFV6Vgl4ig"&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" id="xdx_A55_dU_zqcd6a8Whik9" style="font: 11pt Calibri, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse" summary="xdx: Disclosure - Expense Example"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: black 1pt solid; width: 70%; text-align: justify"&gt;&#160;&lt;/td&gt;
    &lt;td id="xdx_489_eoef--ExpenseExampleYear01_zDIVUHs028kh" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td id="xdx_481_eoef--ExpenseExampleYear03_zCSnezLhfC28" style="border-bottom: black 1pt solid; width: 15%; text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_41A_dei--DocumentInformationDocumentAxis_custom--YorktownClassAClassLAndInstitutionalClassMember_dei--LegalEntityAxis_custom--S000069169Member_oef--ClassAxis_custom--C000221013Member_zAgNmXPwecwk" style="vertical-align: bottom"&gt;
    &lt;td style="padding-left: 9pt; text-indent: -9pt"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;Institutional Class (AATRX) Shares:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$51&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;&lt;b&gt;$286&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="0"
      id="Fact000661"
      unitRef="USD">51</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_C000221013Member"
      decimals="0"
      id="Fact000662"
      unitRef="USD">286</oef:ExpenseExampleYear03>
    <oef:PortfolioTurnoverHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000663">Portfolio Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000664">&lt;p id="xdx_A8C_eoef--PortfolioTurnoverTextBlock_z7CbSkHJFVE8" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;The Fund pays transaction costs, such
as commissions, when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate may indicate
higher transaction costs and may result in higher taxes when Fund shares are held in a taxable account. These costs, which are not reflected
in annual fund operating expenses or in the expense example, reduce the Fund&#x2019;s performance. This is a new Fund without an operating
history, so portfolio turnover information is not yet available. Expected annual turnover may be well over 100% of the average value of
the portfolio on an annual basis. Transaction frequency varies but once every two to eight months is a reasonable estimate.&lt;/b&gt;&lt;/p&gt;

</oef:PortfolioTurnoverTextBlock>
    <oef:StrategyHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000665">Principal Investment Strategies</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000666">&lt;p id="xdx_A80_eoef--StrategyNarrativeTextBlock_zIrdKTdOobm7" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The
Fund seeks to achieve its objective by investing under normal conditions in U.S. Treasury securities (bills, notes, and bonds) and other
direct obligations of the U.S. Treasury that are guaranteed as to payment of principal and interest by the full faith and credit of the
U.S. government. Dividends paid by the Fund that are attributable to interest on such obligations are generally exempt from state and
local income tax. The Fund may invest in certain zero coupon securities that are U.S. Treasury notes and bonds that have been stripped
of their unmatured interest coupon receipts or interest in such U.S. Treasury securities or coupons. The Fund may purchase U.S. Treasury
STRIPS (&#x201c;Separate Trading of Registered Interest and Principal of Securities&#x201d;) that are created when coupon payments and the
principal payment are stripped from outstanding Treasury bond by a Federal Reserve bank.&lt;/p&gt;








&lt;p style="font: 4pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;





&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The Fund will implement its principal investment strategy
by investing 80%+ of its assets in interest-only and principal-only U.S. Treasury securities. The fund&#x2019;s dollar-weighted average
maturity will vary and be managed in a manner to take advantage of market conditions. The Fund will not change this investment policy
unless it gives shareholders at least 60 days&#x2019; advance written notice.&lt;/p&gt;

</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000671">&lt;p id="xdx_A82_eoef--RiskTextBlock_zcZCDL3Op00b" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;The
Fund&#x2019;s main risks are listed below in alphabetical order, not in order of importance.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_DebtSecurityRiskMember"
      id="Fact000672">&lt;p id="xdx_A82_eoef--RiskTextBlock_hoef--RiskAxis__custom--DebtSecurityRiskMember_z7Rw2nAAo1Tj" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Debt
Security Risk.&lt;/b&gt;&#160;The value of the debt securities held by the Fund are affected by rising and declining interest rates. In general,
debt securities with longer-term maturities tend to fall more in value when interest rates rise than debt securities with shorter terms.
A debt security is also subject to credit risk, which is the possibility that the credit strength of an issuer will weaken and/or an issuer
of a debt security will fail to make timely payments of principal or interest and the security will go into default, and therefore it
may lose value if the issuer is unable to pay interest or repay principal when it is due.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_GeneralRisksMember"
      id="Fact000673">&lt;p id="xdx_A87_eoef--RiskTextBlock_hoef--RiskAxis__custom--GeneralRisksMember_zk2aetmlOKZi" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;General Risks.&lt;/b&gt;&#160;&lt;span id="xdx_90B_eoef--RiskTextBlock_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member__oef--RiskAxis__oef--RiskLoseMoneyMember_zKg9VDvsktIk"&gt;There is a
risk that you could lose all or a portion of your investment in the Fund.&lt;/span&gt; The value of your investment in the Fund will go up and down
with the prices of the securities in which the Fund invests.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_oef_RiskLoseMoneyMember"
      id="Fact000674">There is a
risk that you could lose all or a portion of your investment in the Fund.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_IncomeRiskMember"
      id="Fact000675">&lt;p id="xdx_A88_eoef--RiskTextBlock_hoef--RiskAxis__custom--IncomeRiskMember_zCK0JEhPPsXj" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Income
Risk.&lt;/b&gt;&#160;There is a chance that the Fund&#x2019;s income will decline because of falling interest rates. Interest risk is generally
high for short-term bond funds, so investors should expect the Fund&#x2019;s monthly income to fluctuate.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_InterestRateRisksMember"
      id="Fact000676">&lt;p id="xdx_A8D_eoef--RiskTextBlock_hoef--RiskAxis__custom--InterestRateRisksMember_zjJTExinKT51" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Interest
Rate Risk.&lt;/b&gt;&#160;There is a risk that bond prices will decline due to rising interest rates. Interest rate risk is expected to be low
because the Fund invests primarily in short-term bonds whose prices are less sensitive to interest rate changes than are the prices of
longer-term bonds.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_ManagerRiskMember"
      id="Fact000677">&lt;p id="xdx_A8C_eoef--RiskTextBlock_hoef--RiskAxis__custom--ManagerRiskMember_z6xBqRmZ1zP9" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Manager
Risk.&lt;/b&gt;&#160;There is a risk that poor security section will cause the Fund to underperform relevant benchmarks or other funds with
a similar investment objective.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_NewFundRiskMember"
      id="Fact000678">&lt;p id="xdx_A83_eoef--RiskTextBlock_hoef--RiskAxis__custom--NewFundRiskMember_zbyURmMAAErc" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;New
Fund Risk.&lt;/b&gt;&#160;The Fund is new and has limited performance history for investors to review.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_PortfolioTurnoverRiskMember"
      id="Fact000679">&lt;p id="xdx_A8E_eoef--RiskTextBlock_hoef--RiskAxis__custom--PortfolioTurnoverRiskMember_zoEyntOgv8Ih" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Portfolio
Turnover Risk.&lt;/b&gt;&#160;Active and frequent trading of the Fund&#x2019;s portfolio securities may lead to higher transaction costs and
may result in a greater number of taxable transactions than would otherwise be the case, which could negatively affect the Fund&#x2019;s
performance. A high rate of portfolio turnover is 100% or more.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_TreasurySTRIPSRiskMember"
      id="Fact000680">&lt;p id="xdx_A8D_eoef--RiskTextBlock_hoef--RiskAxis__custom--TreasurySTRIPSRiskMember_zyHB6vgioN3f" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Treasury
STRIPS Risk.&lt;/b&gt;&#160;Treasury STRIPS are fixed income securities that are sold at a significant discount to face value and offer no interest
payments because they mature at par. These securities are more sensitive to changes in interest rates than coupon-bearing securities with
the same maturity date. We expect the Fund will be required to distribute income dividends to shareholders, however, because Treasury
STRIPS do not pay interest and are purchased at an &#x201c;original issue discount,&#x201d; the Fund does not receive cash interest payments
on the STRIPS in which it invests. As a result, the Fund may need to liquidate assets, at potentially inopportune times, to satisfy its
income dividend distribution requirements.&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member_custom_ZeroCouponUSTreasuryBondRiskMember"
      id="Fact000681">&lt;p id="xdx_A85_eoef--RiskTextBlock_hoef--RiskAxis__custom--ZeroCouponUSTreasuryBondRiskMember_zA7me9R8LTdf" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;Zero-Coupon
U.S. Treasury Bond Risk.&lt;/b&gt;&#160;Zero-coupon U.S. Treasury bonds often rise dramatically in price when stock prices fall. Zero-Coupon
U.S. Treasury bonds can move up significantly when the Fed cuts rates aggressively and can easily fall significantly if the Fed raises
interest rates. Because of their sensitivity to interest rates, Zero-Coupon U.S. Treasury bonds have incredibly high Interest Rate Risk.&lt;/p&gt;

</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000682">Performance Information</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000683">&lt;p id="xdx_A8E_eoef--PerformanceNarrativeTextBlock_z6sSjYLe4Yec" style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;span id="xdx_90C_eoef--PerformanceOneYearOrLess_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member_zzcQDP0P31Ug"&gt;As of the date of this Prospectus, the
Fund has not yet commenced operations.&lt;/span&gt; When the Fund has completed a full calendar year of investment operations, this section will include
charts that show annual total returns, highest and lowest quarterly returns, and average annual total returns (before and after taxes)
compared to a benchmark selected for the Fund. Updated performance information will be available on the Fund&#x2019;s website at &lt;b&gt;&lt;span id="xdx_90B_eoef--PerformanceAvailabilityWebSiteAddress_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member_zkLFeAGwF1Dd"&gt;www.yorktownfunds.com&lt;/span&gt;&lt;/b&gt;
or by calling shareholder services at &lt;span id="xdx_90C_eoef--PerformanceAvailabilityPhone_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member_zyMadahLeH29"&gt;(888) 933-8274&lt;/span&gt;.&lt;/p&gt;

</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceOneYearOrLess
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000684">As of the date of this Prospectus, the
Fund has not yet commenced operations.</oef:PerformanceOneYearOrLess>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000685">www.yorktownfunds.com</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="From2025-07-312025-07-31_custom_YorktownClassAClassLAndInstitutionalClassMember_custom_S000069169Member"
      id="Fact000686">(888) 933-8274</oef:PerformanceAvailabilityPhone>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#Fact000024"
          xlink:label="Fact000024"
          xlink:type="locator"/>
        <link:footnote id="Footnote000056" xlink:label="Footnote000056" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Large purchases of Class A shares (greater than $1 million) are generally subject to a CDSC of 0.25% if the shares are redeemed during the first 12 months after purchase, unless the dealer, at its discretion, has waived the commission advance paid by Ultimus Fund Distributors, LLC (the &#x201c;Distributor&#x201d;).</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000024"
          xlink:to="Footnote000056"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000041"
          xlink:label="Fact000041"
          xlink:type="locator"/>
        <link:footnote id="Footnote000059" xlink:label="Footnote000059" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">&#x201c;Other Expenses&#x201d; include 0.01% of interest expense.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000041"
          xlink:to="Footnote000059"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000042"
          xlink:label="Fact000042"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000042"
          xlink:to="Footnote000059"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000043"
          xlink:label="Fact000043"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000043"
          xlink:to="Footnote000059"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000049"
          xlink:label="Fact000049"
          xlink:type="locator"/>
        <link:footnote id="Footnote000060" xlink:label="Footnote000060" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">In the interest of limiting expenses of the Fund, the Adviser has entered into a contractual expense limitation agreement with the Trust, effective May 31, 2025, so that the Fund&#x2019;s ratio of total annual operating expenses is limited to 1.25% for Class A Shares, 2.25% for Class L Shares, and 1.25% for Institutional Class Shares until at least <xhtml:span id="xdx_902_eoef--FeeWaiverOrReimbursementOverAssetsDateOfTermination_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zNtXy11mX9Bc">May 31, 2026</xhtml:span>. Pursuant to the expense limitation agreement, the Adviser has agreed to waive or limit its fees and assume other expenses of the Fund (excluding acquired fund fees and expenses, brokerage fees, taxes, borrowing costs such as interest and dividend expenses on securities sold short, and other extraordinary expenses not incurred in the ordinary course of business) so that the Fund&#x2019;s ratio of total annual operating expenses is limited to the limits listed above. The Adviser is entitled to the reimbursement of fees waived or reimbursed by the Adviser to the Fund subject to the limitations that the reimbursement is made only for fees and expenses incurred not more than three years prior to the date of reimbursement, and the reimbursement may not be made if it would cause the Fund&#x2019;s annual expense limitations to be exceeded. The reimbursement amount may not include any additional charges or fees, such as interest accruable on the reimbursement account. Further, any recoupments will be subject to any lower expenses limitations that have been later implemented by the Board. The expense limitation agreement may be terminated only by the Board of Trustees of the Trust (the &#x201c;Board&#x201d;) by providing 60 days&#x2019; notice, or if the Adviser ceases to serve as adviser to the Fund.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000049"
          xlink:to="Footnote000060"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000050"
          xlink:label="Fact000050"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000050"
          xlink:to="Footnote000060"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000051"
          xlink:label="Fact000051"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000051"
          xlink:to="Footnote000060"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000053"
          xlink:label="Fact000053"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000053"
          xlink:to="Footnote000060"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000054"
          xlink:label="Fact000054"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000054"
          xlink:to="Footnote000060"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000055"
          xlink:label="Fact000055"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000055"
          xlink:to="Footnote000060"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000132"
          xlink:label="Fact000132"
          xlink:type="locator"/>
        <link:footnote id="Footnote000159" xlink:label="Footnote000159" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span id="xdx_900_eoef--PerformanceTableUsesHighestFederalRate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zS1ZLrYtMOI2">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.</xhtml:span><xhtml:span id="xdx_90B_eoef--PerformanceTableNotRelevantToTaxDeferred_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zzwqpnHMhRAd">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.</xhtml:span><xhtml:span id="xdx_905_eoef--PerformanceTableOneClassOfAfterTaxShown_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008424Member_zWfSX6MXBf3h">After-Tax Returns are shown for only Class L Shares. After-tax returns for Class A and Institutional Class Shares will vary.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000132"
          xlink:to="Footnote000159"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000133"
          xlink:label="Fact000133"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000133"
          xlink:to="Footnote000159"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000134"
          xlink:label="Fact000134"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000134"
          xlink:to="Footnote000159"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000136"
          xlink:label="Fact000136"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000136"
          xlink:to="Footnote000159"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000137"
          xlink:label="Fact000137"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000137"
          xlink:to="Footnote000159"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000138"
          xlink:label="Fact000138"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000138"
          xlink:to="Footnote000159"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000140"
          xlink:label="Fact000140"
          xlink:type="locator"/>
        <link:footnote id="Footnote000163" xlink:label="Footnote000163" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The MSCI ACWI Total Return Index is a globally diversified market capitalization-weighted index that represents the performance of large- and mid-cap stocks across both developed and emerging markets. It is designed to capture approximately 85% of the global equity market capitalization. The &#x201c;Total Return&#x201d; aspect means it includes reinvested dividends.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000140"
          xlink:to="Footnote000163"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000141"
          xlink:label="Fact000141"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000141"
          xlink:to="Footnote000163"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000142"
          xlink:label="Fact000142"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000142"
          xlink:to="Footnote000163"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000144"
          xlink:label="Fact000144"
          xlink:type="locator"/>
        <link:footnote id="Footnote000164" xlink:label="Footnote000164" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The MSCI ACWI SMID Cap Total Return Index is a free float-adjusted market capitalization index that is designed to measure mid- and small-cap equity performance across global developed and emerging markets. As of April&#160;30, 2025, the MSCI ACWI SMID Cap Total Return Index consisted of the following 23 developed market country indices: Australia, Austria, Belgium, Canada, Denmark, Finland, France, Germany, Hong Kong, Ireland, Israel, Italy, Japan, Netherlands, New Zealand, Norway, Portugal, Singapore, Spain, Sweden, Switzerland, the United Kingdom and the United States. As of April&#160;30, 2025, the MSCI ACWI SMID Cap Total Return Index consisted of the following 24 emerging market country indices: Brazil, Chile, China, Colombia, Czech Republic, Egypt, Greece, Hungary, India, Indonesia, Korea, Kuwait, Malaysia, Mexico, Peru, Philippines, Poland, Qatar, Saudi Arabia, South Africa, Taiwan, Thailand, Turkey and United Arab Emirates.</link:footnote>
        <link:footnote id="Footnote000165" xlink:label="Footnote000165" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The prior benchmark, MSCI ACWI SMID Cap Total Return Index is shown for regulatory purposes only and will not be used for comparison going forward as it does not meet new regulatory requirements.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000144"
          xlink:to="Footnote000164"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000144"
          xlink:to="Footnote000165"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000145"
          xlink:label="Fact000145"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000145"
          xlink:to="Footnote000164"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000145"
          xlink:to="Footnote000165"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000146"
          xlink:label="Fact000146"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000146"
          xlink:to="Footnote000164"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000146"
          xlink:to="Footnote000165"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000177"
          xlink:label="Fact000177"
          xlink:type="locator"/>
        <link:footnote id="Footnote000209" xlink:label="Footnote000209" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Large purchases of Class A shares (greater than $250,000) are generally subject to a CDSC of 0.25% if the shares are redeemed during the first 12 months after purchase, unless the dealer, at its discretion, has waived the commission advance paid by Ultimus Fund Distributors, LLC (the &#x201c;Distributor&#x201d;).</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000177"
          xlink:to="Footnote000209"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000194"
          xlink:label="Fact000194"
          xlink:type="locator"/>
        <link:footnote id="Footnote000210" xlink:label="Footnote000210" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">&#x201c;Other Expenses&#x201d; include 0.01% of interest expense.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000194"
          xlink:to="Footnote000210"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000195"
          xlink:label="Fact000195"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000195"
          xlink:to="Footnote000210"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000196"
          xlink:label="Fact000196"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000196"
          xlink:to="Footnote000210"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000202"
          xlink:label="Fact000202"
          xlink:type="locator"/>
        <link:footnote id="Footnote000214" xlink:label="Footnote000214" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">In the interest of limiting expenses of the Fund, the Adviser has entered into a contractual expense limitation agreement with the Trust, effective May&#160;31, 2025, so that the Fund&#x2019;s ratio of total annual operating expenses is limited to 0.79% for Class A Shares, 1.44% for Class L Shares, and 0.79% for Institutional Class Shares until at least <xhtml:span id="xdx_900_eoef--FeeWaiverOrReimbursementOverAssetsDateOfTermination_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_z5DkwTg5okfc">May&#160;31, 2026</xhtml:span>. Pursuant to each of these expense limitation agreements, the Adviser has agreed to waive or limit its fees and assume other expenses of the Fund (excluding interest, taxes, brokerage commissions and other expenditures capitalized in accordance with generally accepted accounting principles or other extraordinary expenses not incurred in the ordinary course of business) so that the Fund&#x2019;s ratio of total annual operating expenses is limited to the limits listed above. The Adviser is entitled to the reimbursement of fees waived or reimbursed by the Adviser to the Fund subject to the limitations that the reimbursement is made only for fees and expenses incurred not more than three years prior to the date of reimbursement, and the reimbursement may not be made if it would cause the Fund&#x2019;s annual expense limitations to be exceeded. The reimbursement amount may not include any additional charges or fees, such as interest accruable on the reimbursement account. Further, any recoupments will be subject to any lower expenses limitations that have been later implemented by the Board. The expense limitation agreement may be terminated only by the Board of Trustees of the Trust (the &#x201c;Board&#x201d;) by providing 60 days&#x2019; notice, or if the Adviser ceases to serve as adviser to the Fund.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000202"
          xlink:to="Footnote000214"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000203"
          xlink:label="Fact000203"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000203"
          xlink:to="Footnote000214"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000204"
          xlink:label="Fact000204"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000204"
          xlink:to="Footnote000214"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000206"
          xlink:label="Fact000206"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000206"
          xlink:to="Footnote000214"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000207"
          xlink:label="Fact000207"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000207"
          xlink:to="Footnote000214"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000208"
          xlink:label="Fact000208"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000208"
          xlink:to="Footnote000214"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000284"
          xlink:label="Fact000284"
          xlink:type="locator"/>
        <link:footnote id="Footnote000311" xlink:label="Footnote000311" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span id="xdx_907_eoef--PerformanceTableUsesHighestFederalRate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zJx8ElcKQlRj">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.</xhtml:span><xhtml:span id="xdx_90F_eoef--PerformanceTableNotRelevantToTaxDeferred_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zK2VDaHbbGv6">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.</xhtml:span><xhtml:span id="xdx_908_eoef--PerformanceTableOneClassOfAfterTaxShown_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008426Member_zdPvWilPRUu8">After-Tax Returns are shown for only Class A Shares. After-tax returns for Class L and Institutional Class Shares will vary.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000284"
          xlink:to="Footnote000311"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000285"
          xlink:label="Fact000285"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000285"
          xlink:to="Footnote000311"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000286"
          xlink:label="Fact000286"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000286"
          xlink:to="Footnote000311"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000288"
          xlink:label="Fact000288"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000288"
          xlink:to="Footnote000311"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000289"
          xlink:label="Fact000289"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000289"
          xlink:to="Footnote000311"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000290"
          xlink:label="Fact000290"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000290"
          xlink:to="Footnote000311"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000292"
          xlink:label="Fact000292"
          xlink:type="locator"/>
        <link:footnote id="Footnote000315" xlink:label="Footnote000315" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The Bloomberg U.S. Aggregate Bond Index is a broad base, market capitalization-weighted bond market index representing intermediate term investment grade bonds traded in the United States. Investors frequently use the index as a stand-in for measuring the performance of the U.S. bond market.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000292"
          xlink:to="Footnote000315"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000293"
          xlink:label="Fact000293"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000293"
          xlink:to="Footnote000315"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000294"
          xlink:label="Fact000294"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000294"
          xlink:to="Footnote000315"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000296"
          xlink:label="Fact000296"
          xlink:type="locator"/>
        <link:footnote id="Footnote000316" xlink:label="Footnote000316" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The prior benchmark, ICE BofA 1-3 Year U.S. Corporate &amp; Government Index is shown for regulatory purposes only and will not be used for comparison going forward as it does not meet new regulatory requirements.</link:footnote>
        <link:footnote id="Footnote000317" xlink:label="Footnote000317" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The ICE BofA 1-3 Year U.S. Corporate &amp; Government Index tracks the performance of U.S. dollar denominated investment grade debt publicly issued in the U.S. domestic market, including U.S. Treasury, U.S. agency, foreign government, supranational and corporate securities.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000296"
          xlink:to="Footnote000316"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000296"
          xlink:to="Footnote000317"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000297"
          xlink:label="Fact000297"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000297"
          xlink:to="Footnote000316"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000297"
          xlink:to="Footnote000317"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000298"
          xlink:label="Fact000298"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000298"
          xlink:to="Footnote000316"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000298"
          xlink:to="Footnote000317"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000329"
          xlink:label="Fact000329"
          xlink:type="locator"/>
        <link:footnote id="Footnote000353" xlink:label="Footnote000353" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Large purchases of Class A shares (greater than $1 million) are generally subject to a CDSC of 0.25% if the shares are redeemed during the first 12 months after purchase, unless the dealer, at its discretion, has waived the commission advance paid by Ultimus Fund Distributors, LLC (the &#x201c;Distributor&#x201d;).</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000329"
          xlink:to="Footnote000353"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000346"
          xlink:label="Fact000346"
          xlink:type="locator"/>
        <link:footnote id="Footnote000354" xlink:label="Footnote000354" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">&#x201c;Other Expenses&#x201d; include 0.01% of interest expense.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000346"
          xlink:to="Footnote000354"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000347"
          xlink:label="Fact000347"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000347"
          xlink:to="Footnote000354"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000348"
          xlink:label="Fact000348"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000348"
          xlink:to="Footnote000354"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000429"
          xlink:label="Fact000429"
          xlink:type="locator"/>
        <link:footnote id="Footnote000451" xlink:label="Footnote000451" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span id="xdx_906_eoef--PerformanceTableUsesHighestFederalRate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zANhENteWvLd">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.</xhtml:span><xhtml:span id="xdx_90E_eoef--PerformanceTableNotRelevantToTaxDeferred_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zs9LWPuliOP3">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.</xhtml:span><xhtml:span id="xdx_903_eoef--PerformanceTableOneClassOfAfterTaxShown_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000008428Member_zuCJAqzyqYCg">After-Tax Returns are shown for only Institutional Class Shares. After-tax returns for Class A and Class L Shares will vary.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000429"
          xlink:to="Footnote000451"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000430"
          xlink:label="Fact000430"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000430"
          xlink:to="Footnote000451"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000431"
          xlink:label="Fact000431"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000431"
          xlink:to="Footnote000451"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000433"
          xlink:label="Fact000433"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000433"
          xlink:to="Footnote000451"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000434"
          xlink:label="Fact000434"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000434"
          xlink:to="Footnote000451"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000435"
          xlink:label="Fact000435"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000435"
          xlink:to="Footnote000451"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000437"
          xlink:label="Fact000437"
          xlink:type="locator"/>
        <link:footnote id="Footnote000455" xlink:label="Footnote000455" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The Bloomberg U.S. Aggregate Bond Index, is a broad base, market capitalization-weighted bond market index representing intermediate term investment grade bonds traded in the United States. Investors frequently use the index as a stand-in for measuring the performance of the U.S. bond market.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000437"
          xlink:to="Footnote000455"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000438"
          xlink:label="Fact000438"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000438"
          xlink:to="Footnote000455"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000439"
          xlink:label="Fact000439"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000439"
          xlink:to="Footnote000455"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000468"
          xlink:label="Fact000468"
          xlink:type="locator"/>
        <link:footnote id="Footnote000504" xlink:label="Footnote000504" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Large purchases of Class A shares (greater than $1 million) are generally subject to a CDSC of 0.25% if the shares are redeemed during the first 12 months after purchase, unless the dealer, at its discretion, has waived the commission advance paid by Ultimus Fund Distributors, LLC (the &#x201c;Distributor&#x201d;).</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000468"
          xlink:to="Footnote000504"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000485"
          xlink:label="Fact000485"
          xlink:type="locator"/>
        <link:footnote id="Footnote000505" xlink:label="Footnote000505" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">&#x201c;Other Expenses&#x201d; include 0.02% of interest expense.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000485"
          xlink:to="Footnote000505"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000486"
          xlink:label="Fact000486"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000486"
          xlink:to="Footnote000505"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000487"
          xlink:label="Fact000487"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000487"
          xlink:to="Footnote000505"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000497"
          xlink:label="Fact000497"
          xlink:type="locator"/>
        <link:footnote id="Footnote000507" xlink:label="Footnote000507" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">In the interest of limiting expenses of the Fund, the Adviser has entered into a contractual expense limitation agreement with the Trust, effective May&#160;31, 2025, so that the Fund&#x2019;s ratio of total annual operating expenses is limited to 1.60% for Class A Shares, 2.35% for Class L Shares, and 1.35% for Institutional Class Shares until at least <xhtml:span id="xdx_906_eoef--FeeWaiverOrReimbursementOverAssetsDateOfTermination_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zr05NuYq1FXj">May&#160;31, 2026</xhtml:span>. Pursuant to the expense limitation agreement, the Adviser has agreed to waive or limit its fees and assume other expenses of the Fund (excluding interest, taxes, brokerage commissions and other expenditures capitalized in accordance with generally accepted accounting principles or other extraordinary expenses not incurred in the ordinary course of business) so that the Fund&#x2019;s ratio of total annual operating expenses is limited to the limits listed above. The Adviser is entitled to the reimbursement of fees waived or reimbursed by the Adviser to the Fund subject to the limitations that the reimbursement is made only for fees and expenses incurred not more than three years prior to the date of reimbursement, and the reimbursement may not be made if it would cause the Fund&#x2019;s annual expense limitations to be exceeded. The reimbursement amount may not include any additional charges or fees, such as interest accruable on the reimbursement account. Further, any recoupments will be subject to any lower expenses limitations that have been later implemented by the Board. The expense limitation agreement may be terminated only by the Board by providing 60 days&#x2019; notice, or if the Adviser ceases to serve as adviser to the Fund.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000497"
          xlink:to="Footnote000507"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000498"
          xlink:label="Fact000498"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000498"
          xlink:to="Footnote000507"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000499"
          xlink:label="Fact000499"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000499"
          xlink:to="Footnote000507"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000501"
          xlink:label="Fact000501"
          xlink:type="locator"/>
        <link:footnote id="Footnote000509" xlink:label="Footnote000509" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Total Annual Fund Operating Expenses do not correlate to the ratio of average net assets in the Financial Highlights Table, which reflects the operating expenses of the Fund and does not include Acquired Fund Fees and Expenses.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000501"
          xlink:to="Footnote000509"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000501"
          xlink:to="Footnote000507"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000502"
          xlink:label="Fact000502"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000502"
          xlink:to="Footnote000509"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000502"
          xlink:to="Footnote000507"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000503"
          xlink:label="Fact000503"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000503"
          xlink:to="Footnote000509"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000503"
          xlink:to="Footnote000507"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000580"
          xlink:label="Fact000580"
          xlink:type="locator"/>
        <link:footnote id="Footnote000615" xlink:label="Footnote000615" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span id="xdx_901_eoef--PerformanceTableUsesHighestFederalRate_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zi5M6Be3txEl">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.</xhtml:span><xhtml:span id="xdx_904_eoef--PerformanceTableNotRelevantToTaxDeferred_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_zFAjwMj6f0i">Actual after-tax returns depend on an investor&#x2019;s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold their Fund shares through tax-deferred arrangements, such as 401(k) plans or individual retirement accounts.</xhtml:span><xhtml:span id="xdx_90E_eoef--PerformanceTableOneClassOfAfterTaxShown_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownSmallCapFundClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000053763Member_z01O2vk56DJ3">After-Tax Returns are shown for only Institutional Class Shares. After-tax returns for Class A and Class L Shares will vary.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000580"
          xlink:to="Footnote000615"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000581"
          xlink:label="Fact000581"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000581"
          xlink:to="Footnote000615"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000582"
          xlink:label="Fact000582"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000582"
          xlink:to="Footnote000615"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000584"
          xlink:label="Fact000584"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000584"
          xlink:to="Footnote000615"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000585"
          xlink:label="Fact000585"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000585"
          xlink:to="Footnote000615"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000586"
          xlink:label="Fact000586"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000586"
          xlink:to="Footnote000615"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000588"
          xlink:label="Fact000588"
          xlink:type="locator"/>
        <link:footnote id="Footnote000619" xlink:label="Footnote000619" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Effective March&#160;26, 2025, the Fund&#x2019;s primary benchmark Index was changed from FT Wilshire 5000 Index<xhtml:sup>SM</xhtml:sup> to MSCI ACWI Total Return Index.</link:footnote>
        <link:footnote id="Footnote000620" xlink:label="Footnote000620" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The MSCI ACWI Total Return Index is a globally diversified market capitalization-weighted index that represents the performance of large- and mid-cap stocks across both developed and emerging markets. It is designed to capture approximately 85% of the global equity market capitalization. The &#x201c;Total Return&#x201d; aspect means it includes reinvested dividends.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000588"
          xlink:to="Footnote000619"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000588"
          xlink:to="Footnote000620"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000589"
          xlink:label="Fact000589"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000589"
          xlink:to="Footnote000619"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000589"
          xlink:to="Footnote000620"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000590"
          xlink:label="Fact000590"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000590"
          xlink:to="Footnote000619"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000590"
          xlink:to="Footnote000620"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000592"
          xlink:label="Fact000592"
          xlink:type="locator"/>
        <link:footnote id="Footnote000621" xlink:label="Footnote000621" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The prior benchmark, FT Wilshire 5000 Index<xhtml:sup>SM</xhtml:sup> is shown for regulatory purposes only and will not be used for comparison going forward as it does not meet new regulatory requirements.</link:footnote>
        <link:footnote id="Footnote000622" xlink:label="Footnote000622" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The FT Wilshire 5000 Index<xhtml:sup>SM</xhtml:sup> is a broad-based market capitalization-weighted index that seeks to capture 100% of the United States investible market.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000592"
          xlink:to="Footnote000622"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000592"
          xlink:to="Footnote000621"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000593"
          xlink:label="Fact000593"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000593"
          xlink:to="Footnote000622"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000593"
          xlink:to="Footnote000621"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000594"
          xlink:label="Fact000594"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000594"
          xlink:to="Footnote000622"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000594"
          xlink:to="Footnote000621"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000596"
          xlink:label="Fact000596"
          xlink:type="locator"/>
        <link:footnote id="Footnote000623" xlink:label="Footnote000623" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The
                                            Russell 2000 Total Return Index tracks the performance of approximately 2,000 small-cap U.S.
                                            companies, including the reinvestment of dividends, offering a comprehensive view of this
                                            market segment's performance.</link:footnote>
        <link:footnote id="Footnote000624" xlink:label="Footnote000624" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The
                                            prior benchmark, Russell 2000 Total Return Index, is shown for regulatory purposes only and
                                            will not be used for comparison going forward as it does not meet new regulatory requirements.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000596"
          xlink:to="Footnote000624"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000596"
          xlink:to="Footnote000623"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000597"
          xlink:label="Fact000597"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000597"
          xlink:to="Footnote000624"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000597"
          xlink:to="Footnote000623"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000598"
          xlink:label="Fact000598"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000598"
          xlink:to="Footnote000624"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000598"
          xlink:to="Footnote000623"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000600"
          xlink:label="Fact000600"
          xlink:type="locator"/>
        <link:footnote id="Footnote000625" xlink:label="Footnote000625" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The
                                            Russell 2000 Growth Total Return Index measures the performance of the small-cap growth segment
                                            of the U.S. equity market. It includes companies within the Russell 2000 that exhibit higher
                                            price-to-book ratios and higher predicted and historical growth rates. This index serves
                                            as a benchmark for investors looking to track the performance of small-cap growth stocks.</link:footnote>
        <link:footnote id="Footnote000626" xlink:label="Footnote000626" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The
                                            prior benchmark, Russell 2000 Growth Total Return Index, is shown for regulatory purposes
                                            only and will not be used for comparison going forward as it does not meet new regulatory
                                            requirements.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000600"
          xlink:to="Footnote000625"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000600"
          xlink:to="Footnote000626"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000601"
          xlink:label="Fact000601"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000601"
          xlink:to="Footnote000625"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000601"
          xlink:to="Footnote000626"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000602"
          xlink:label="Fact000602"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000602"
          xlink:to="Footnote000625"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000602"
          xlink:to="Footnote000626"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000646"
          xlink:label="Fact000646"
          xlink:type="locator"/>
        <link:footnote id="Footnote000653" xlink:label="Footnote000653" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">&#x201c;Other Expenses&#x201d; are based on estimated amounts for the current fiscal year.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000646"
          xlink:to="Footnote000653"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000650"
          xlink:label="Fact000650"
          xlink:type="locator"/>
        <link:footnote id="Footnote000654" xlink:label="Footnote000654" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">In the interest of limiting expenses of the Fund, the Adviser has entered into a contractual expense limitation agreement with the Trust, effective May&#160;31, 2025, so that the Fund&#x2019;s ratio of total annual operating expenses is limited to 0.50% for Institutional Class Shares until at least <xhtml:span id="xdx_906_eoef--FeeWaiverOrReimbursementOverAssetsDateOfTermination_c20250731__20250731__dei--DocumentInformationDocumentAxis__custom--YorktownClassAClassLAndInstitutionalClassMember__dei--LegalEntityAxis__custom--S000069169Member_zJdTQ83CaLgc">May&#160;31, 2026</xhtml:span>. Pursuant to the expense limitation agreement, the Adviser has agreed to waive or limit its fees and assume other expenses of the Fund (excluding acquired fund fees and expenses, brokerage fees, taxes, borrowing costs such as interest and dividend expenses on securities sold short, and other extraordinary expenses not incurred in the ordinary course of business) so that the Fund&#x2019;s ratio of total annual operating expenses is limited to the limit listed above. The Adviser is entitled to the reimbursement of fees waived or reimbursed by the Adviser to the Fund subject to the limitations that the reimbursement is made only for fees and expenses incurred not more than three years prior to the date of reimbursement, and the reimbursement may not be made if it would cause the Fund&#x2019;s annual expense limitations to be exceeded. The reimbursement amount may not include any additional charges or fees, such as interest accruable on the reimbursement account. Further, any recoupments will be subject to any lower expenses limitations that have been later implemented by the Board. The expense limitation agreement may be terminated only by the Board of Trustees of the Trust (the &#x201c;Board&#x201d;) by providing 60 days&#x2019; notice, or if the Adviser ceases to serve as adviser to the Fund.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000650"
          xlink:to="Footnote000654"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact000652"
          xlink:label="Fact000652"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact000652"
          xlink:to="Footnote000654"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
