<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:fmr="http://www.fidelity.com/20240614"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2023"
  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="fmr-20240614.xsd" xlink:type="simple"/>
    <context id="Trust">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491BSO-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491BSO-PRO_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491BSO-PRO_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491BSO-PRO_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491BSO-PRO_EnterpriseTechnologyServicesIndustryConcentrationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">fmr:EnterpriseTechnologyServicesIndustryConcentrationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491BSO-PRO_ForeignExposureMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">fmr:ForeignExposureMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491BSO-PRO_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491BSO-PRO_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491C000020465">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">fmr:C000020465Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491C000020465ReturnBeforeTaxes">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">fmr:ReturnBeforeTaxesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">fmr:C000020465Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491C000020465AfterTaxesOnDistributions">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">fmr:C000020465Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491C000020465AfterTaxesOnDistributionsAndSales">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">fmr:C000020465Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491IndexSP001BSO-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <context id="S000007491IndexF1517BSO-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007491Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">fmr:IndexF1517Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-14</startDate>
            <endDate>2024-06-14</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:DocumentType contextRef="Trust" id="ixv-9126">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Trust" id="ixv-9127">2024-02-29</dei:DocumentPeriodEndDate>
    <dei:AmendmentFlag contextRef="Trust" id="ixv-9128">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="Trust" id="ixv-9129">0000320351</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType contextRef="Trust" id="ixv-9130">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Trust" id="ixv-9131">Fidelity Select Portfolios</dei:EntityRegistrantName>
    <rr:RiskReturnHeading contextRef="S000007491BSO-PRO" id="ixv-214">


     Fund Summary

     Fund:
     Enterprise Technology Services Portfolio


   </rr:RiskReturnHeading>
    <rr:ObjectiveHeading contextRef="S000007491BSO-PRO" id="ixv-228">


     Investment Objective


   </rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock contextRef="S000007491BSO-PRO" id="ixv-236">


     Enterprise Technology Services Portfolio seeks capital appreciation.


   </rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading contextRef="S000007491BSO-PRO" id="ixv-241">


     Fee Table


   </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock contextRef="S000007491BSO-PRO" id="ixv-247">


     The following table describes the fees and expenses that may be incurred when you buy, hold, and sell shares of the fund. In addition to the fees and expenses described below, your broker may also require you to pay brokerage commissions on purchases and sales of the fund, which are not reflected in the table and example below.

   </rr:ExpenseNarrativeTextBlock>
    <rr:ShareholderFeesCaption contextRef="S000007491BSO-PRO" id="ixv-258">


     Shareholder fees


   </rr:ShareholderFeesCaption>
    <rr:ShareholderFeeOther
      contextRef="S000007491BSO-PRO"
      decimals="0"
      id="ixv-9290"
      unitRef="usd">0</rr:ShareholderFeeOther>
    <rr:OperatingExpensesCaption contextRef="S000007491BSO-PRO" id="ixv-274">


     Annual Operating Expenses


   </rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="S000007491C000020465"
      decimals="6"
      id="footnoteS000007491BSO-PROAOE_AC000020465_MF_footnoteS000007491BSO-PROAOE_BC000020465_MF"
      unitRef="pure">0.0067</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="S000007491C000020465"
      decimals="6"
      id="ixv-9292"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="S000007491C000020465"
      decimals="6"
      id="footnoteS000007491BSO-PROAOE_BC000020465_OE"
      unitRef="pure">0.0001</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="S000007491C000020465"
      decimals="6"
      id="ixv-9294"
      unitRef="pure">0.0068</rr:ExpensesOverAssets>
    <rr:ExpensesRestatedToReflectCurrent contextRef="S000007491BSO-PRO" id="ixv-335">

      Adjusted to reflect current fees.

     </rr:ExpensesRestatedToReflectCurrent>
    <rr:ExpenseExampleNarrativeTextBlock contextRef="S000007491BSO-PRO" id="ixv-340">


     This
     example

     helps compare the cost of investing in the fund with the cost of investing in other funds.

     Let's say, hypothetically, that the annual return for shares of the fund is 5% and that the fees and the annual operating expenses for shares of the fund are exactly as described in the fee table. This example illustrates the effect of fees and expenses, but is not meant to suggest actual or expected fees and expenses or returns, all of which may vary. For every $10,000 you invested, here's how much you would pay in total expenses if you sell all of your shares at the end of each time period indicated:

   </rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleYear01
      contextRef="S000007491C000020465"
      decimals="0"
      id="ixv-9295"
      unitRef="usd">69</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="S000007491C000020465"
      decimals="0"
      id="ixv-9296"
      unitRef="usd">218</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="S000007491C000020465"
      decimals="0"
      id="ixv-9297"
      unitRef="usd">379</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="S000007491C000020465"
      decimals="0"
      id="ixv-9298"
      unitRef="usd">847</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading contextRef="S000007491BSO-PRO" id="ixv-397">


     Portfolio Turnover


   </rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock contextRef="S000007491BSO-PRO" id="ixv-405">


     The fund pays transaction costs, such as commissions, when it buys and sells securities (or "turns over" 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 operating expenses or in the example, affect the fund's performance. During the most recent fiscal year, the fund's portfolio turnover rate was





       35


     % of the average value of its portfolio.


   </rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="S000007491BSO-PRO"
      decimals="4"
      id="ixv-9299"
      unitRef="pure">0.35</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading contextRef="S000007491BSO-PRO" id="ixv-415">


     Principal Investment Strategies


   </rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock contextRef="S000007491BSO-PRO" id="ixv-420">



      Normally investing primarily in common stocks.



        Normally investing at least 80% of assets in securities of companies principally engaged in providing enterprise technology services.


      Investing in domestic and foreign issuers.
      Using fundamental analysis of factors such as each issuer's financial condition and industry position, as well as market and economic conditions, to select investments.


   </rr:StrategyNarrativeTextBlock>
    <rr:StrategyPortfolioConcentration contextRef="S000007491BSO-PRO" id="ixv-427">

        Normally investing at least 80% of assets in securities of companies principally engaged in providing enterprise technology services.

       </rr:StrategyPortfolioConcentration>
    <rr:RiskHeading contextRef="S000007491BSO-PRO" id="ixv-435">


     Principal Investment Risks


   </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="S000007491BSO-PRO_StockMarketVolatilityMember"
      id="ixv-440">



      Stock Market Volatility.

     Stock markets are volatile and can decline significantly in response to adverse issuer, political, regulatory, market, or economic developments. Different parts of the market, including different market sectors, and different types of securities can react differently to these developments.

   </rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000007491BSO-PRO_ForeignExposureMember"
      id="ixv-449">



      Foreign Exposure.

     Foreign markets can be more volatile than the U.S. market due to increased risks of adverse issuer, political, regulatory, market, or economic developments and can perform differently from the U.S. market.

   </rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000007491BSO-PRO_EnterpriseTechnologyServicesIndustryConcentrationMember"
      id="ixv-458">



      Enterprise Technology Services Industry Concentration.

     The enterprise technology services industry can be significantly affected by competitive pressures, such as technological developments, fixed-rate pricing, and the ability to attract and retain skilled employees, and the success of companies in the industry is subject to continued demand for enterprise technology services.

   </rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000007491BSO-PRO_IssuerSpecificChangesMember"
      id="ixv-467">



      Issuer-Specific Changes.

     The value of an individual security or particular type of security can be more volatile than, and can perform differently from, the market as a whole.
     The value of securities of smaller issuers can be more volatile than that of larger issuers.

   </rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000007491BSO-PRO_RiskNondiversifiedStatusMember"
      id="ixv-478">


     In addition, the fund is classified as non-diversified under the Investment Company Act of 1940 (1940 Act), which means that it has the ability to invest a greater portion of assets in securities of a smaller number of individual issuers than a diversified fund. As a result, changes in the market value of a single investment could cause greater fluctuations in share price than would occur in a more diversified fund.


   </rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000007491BSO-PRO_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-483">


     An investment in the fund is not a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency

     .


   </rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="S000007491BSO-PRO_RiskLoseMoneyMember"
      id="ixv-491">


     &#160;

     You could lose money by investing in the fund.


   </rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading contextRef="S000007491BSO-PRO" id="ixv-498">


     Performance


   </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock contextRef="S000007491BSO-PRO" id="ixv-503">


     The following information is intended to help you understand the risks of investing in the fund.


      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time.



     The indexes have characteristics relevant to the fund's investment strategies. Index descriptions appear in the "Additional Index Information" section of the prospectus.



      Past performance (before and after taxes) is not an indication of future performance.


     Prior to June 1, 2023, the fund was named
       IT Services Portfolio and operated under certain different investment policies. The fund's historical performance may not represent its current investment policies.
     Visit



      www.fidelity.com


     for more recent performance information.

   </rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns contextRef="S000007491BSO-PRO" id="ixv-508">

      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time.

     </rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture contextRef="S000007491BSO-PRO" id="ixv-515">

      Past performance (before and after taxes) is not an indication of future performance.

     </rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress contextRef="S000007491BSO-PRO" id="ixv-525">

      www.fidelity.com
     </rr:PerformanceAvailabilityWebSiteAddress>
    <rr:BarChartHeading contextRef="S000007491BSO-PRO" id="ixv-533">


     Year-by-Year Returns

   </rr:BarChartHeading>
    <rr:AnnualReturn2014
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9300"
      unitRef="pure">0.0628</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9301"
      unitRef="pure">0.1313</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9302"
      unitRef="pure">0.0519</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9303"
      unitRef="pure">0.3425</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9304"
      unitRef="pure">0.0419</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9305"
      unitRef="pure">0.4223</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9306"
      unitRef="pure">0.3141</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9307"
      unitRef="pure">0.0254</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9308"
      unitRef="pure">-0.2883</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="S000007491C000020465"
      decimals="INF"
      id="ixv-9309"
      unitRef="pure">0.2317</rr:AnnualReturn2023>
    <rr:HighestQuarterlyReturnLabel contextRef="S000007491BSO-PRO" id="ixv-656">
          &#160;&#160;&#160;Highest Quarter Return
        </rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="S000007491BSO-PRO"
      decimals="4"
      id="ixv-9310"
      unitRef="pure">0.2549</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate contextRef="S000007491BSO-PRO" id="ixv-666">2019-03-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel contextRef="S000007491BSO-PRO" id="ixv-671">
          &#160;&#160;&#160;Lowest Quarter Return
        </rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="S000007491BSO-PRO"
      decimals="4"
      id="ixv-9311"
      unitRef="pure">-0.1972</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate contextRef="S000007491BSO-PRO" id="ixv-682">2022-06-30</rr:BarChartLowestQuarterlyReturnDate>
    <rr:YearToDateReturnLabel contextRef="S000007491BSO-PRO" id="ixv-687">
          &#160;&#160;&#160;Year-to-Date Return
        </rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturn
      contextRef="S000007491BSO-PRO"
      decimals="4"
      id="ixv-9312"
      unitRef="pure">0.0555</rr:BarChartYearToDateReturn>
    <rr:BarChartYearToDateReturnDate contextRef="S000007491BSO-PRO" id="ixv-697">2024-03-31</rr:BarChartYearToDateReturnDate>
    <rr:PerformanceTableHeading contextRef="S000007491BSO-PRO" id="ixv-703">


     Average Annual Returns


   </rr:PerformanceTableHeading>
    <rr:PerformanceTableNarrativeTextBlock contextRef="S000007491BSO-PRO" id="ixv-711">




      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes.



     Actual after-tax returns may differ depending on your individual circumstances.



      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan).





      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares.






   </rr:PerformanceTableNarrativeTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate contextRef="S000007491BSO-PRO" id="ixv-714">

      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes.

     </rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred contextRef="S000007491BSO-PRO" id="ixv-721">

      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan).

     </rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableExplanationAfterTaxHigher contextRef="S000007491BSO-PRO" id="ixv-726">

      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares.



     </rr:PerformanceTableExplanationAfterTaxHigher>
    <rr:AverageAnnualReturnLabel
      contextRef="S000007491C000020465ReturnBeforeTaxes"
      id="ixv-772">
         Return Before Taxes
        </rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="S000007491C000020465ReturnBeforeTaxes"
      decimals="4"
      id="ixv-9313"
      unitRef="pure">0.2317</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000007491C000020465ReturnBeforeTaxes"
      decimals="4"
      id="ixv-9314"
      unitRef="pure">0.1093</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000007491C000020465ReturnBeforeTaxes"
      decimals="4"
      id="ixv-9315"
      unitRef="pure">0.1151</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="S000007491C000020465AfterTaxesOnDistributions"
      id="ixv-787">
         Return After Taxes on Distributions
        </rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="S000007491C000020465AfterTaxesOnDistributions"
      decimals="4"
      id="ixv-9316"
      unitRef="pure">0.2209</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000007491C000020465AfterTaxesOnDistributions"
      decimals="4"
      id="ixv-9317"
      unitRef="pure">0.0895</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000007491C000020465AfterTaxesOnDistributions"
      decimals="4"
      id="ixv-9318"
      unitRef="pure">0.0997</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="S000007491C000020465AfterTaxesOnDistributionsAndSales"
      id="ixv-802">
         Return After Taxes on Distributions and Sale of Fund Shares
        </rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="S000007491C000020465AfterTaxesOnDistributionsAndSales"
      decimals="4"
      id="ixv-9319"
      unitRef="pure">0.1448</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000007491C000020465AfterTaxesOnDistributionsAndSales"
      decimals="4"
      id="ixv-9320"
      unitRef="pure">0.0868</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000007491C000020465AfterTaxesOnDistributionsAndSales"
      decimals="4"
      id="ixv-9321"
      unitRef="pure">0.0933</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel contextRef="S000007491IndexSP001BSO-PRO" id="ixv-819">
         S&amp;P 500&#xae; Index
        </rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="S000007491IndexSP001BSO-PRO"
      decimals="4"
      id="ixv-9322"
      unitRef="pure">0.2629</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000007491IndexSP001BSO-PRO"
      decimals="4"
      id="ixv-9323"
      unitRef="pure">0.1569</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000007491IndexSP001BSO-PRO"
      decimals="4"
      id="ixv-9324"
      unitRef="pure">0.1203</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel contextRef="S000007491IndexF1517BSO-PRO" id="ixv-841">
         MSCI U.S. IMI Enterprise Technology Services 25/50 Linked Index
        </rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="S000007491IndexF1517BSO-PRO"
      decimals="4"
      id="ixv-9325"
      unitRef="pure">0.2288</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="S000007491IndexF1517BSO-PRO"
      decimals="4"
      id="ixv-9326"
      unitRef="pure">0.1098</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="S000007491IndexF1517BSO-PRO"
      decimals="4"
      id="ixv-9327"
      unitRef="pure">0.1095</rr:AverageAnnualReturnYear10>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#footnoteS000007491BSO-PROAOE_AC000020465_MF_footnoteS000007491BSO-PROAOE_BC000020465_MF"
          xlink:label="footnoteS000007491BSO-PROAOE_AC000020465_MF_footnoteS000007491BSO-PROAOE_BC000020465_MF"
          xlink:type="locator"/>
        <link:footnote id="footnoteS000007491BSO-PROAOE_A" xlink:label="footnoteS000007491BSO-PROAOE_A" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="padding:2px"><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:4.67pt; vertical-align:super; ">A</xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">The management fee covers administrative services previously provided under separate services agreements with the fund, for which 0.20% was previously charged under the services agreements.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007491BSO-PROAOE_AC000020465_MF_footnoteS000007491BSO-PROAOE_BC000020465_MF"
          xlink:to="footnoteS000007491BSO-PROAOE_A"
          xlink:type="arc"/>
        <link:footnote id="footnoteS000007491BSO-PROAOE_B" xlink:label="footnoteS000007491BSO-PROAOE_B" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="padding:2px"><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:4.67pt; vertical-align:super; ">B</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">Adjusted to reflect current fees.</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007491BSO-PROAOE_AC000020465_MF_footnoteS000007491BSO-PROAOE_BC000020465_MF"
          xlink:to="footnoteS000007491BSO-PROAOE_B"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000007491BSO-PROAOE_BC000020465_OE"
          xlink:label="footnoteS000007491BSO-PROAOE_BC000020465_OE"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007491BSO-PROAOE_BC000020465_OE"
          xlink:to="footnoteS000007491BSO-PROAOE_B"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
