<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:fmr="http://www.fidelity.com/20251030"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2024q3"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="fmr-20251030.xsd" xlink:type="simple"/>
    <context id="Trust">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_SustainabilityRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:SustainabilityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_ForeignExposureMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ForeignExposureMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_EnvironmentAndAlternativeEnergyIndustryConcentrationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:EnvironmentAndAlternativeEnergyIndustryConcentrationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2015">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2015-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_ReturnBeforeTaxes_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributions_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributions_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributions_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributionsAndSales_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributionsAndSales_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributionsAndSales_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020435Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Indexid_FT128_contentCd_EAE-NRF-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexFT128Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Indexid_FT128_contentCd_EAE-NRF-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexFT128Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Indexid_FT128_contentCd_EAE-NRF-PRO_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexFT128Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Indexid_SP001_contentCd_EAE-NRF-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Indexid_SP001_contentCd_EAE-NRF-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007461_Indexid_SP001_contentCd_EAE-NRF-PRO_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007461Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_ForeignExposureMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ForeignExposureMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_GeographicExposureToCanadaMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:GeographicExposureToCanadaMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_NaturalResourcesIndustryConcentrationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:NaturalResourcesIndustryConcentrationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2015">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2015-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_ReturnBeforeTaxes_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributions_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributions_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributions_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributionsAndSales_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributionsAndSales_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributionsAndSales_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000020452Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Indexid_GS006_contentCd_EAE-NRF-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexGS006Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Indexid_GS006_contentCd_EAE-NRF-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexGS006Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Indexid_GS006_contentCd_EAE-NRF-PRO_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexGS006Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Indexid_SP001_contentCd_EAE-NRF-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Indexid_SP001_contentCd_EAE-NRF-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007478_Indexid_SP001_contentCd_EAE-NRF-PRO_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityEnvironmentandAlternativeEnergyNaturalResourcesFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007478Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-10-30</startDate>
            <endDate>2025-10-30</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="holding">
        <measure>shares</measure>
    </unit>
    <dei:DocumentType contextRef="Trust" id="ixv-3986">497</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Trust" id="ixv-3987">2025-10-30</dei:DocumentPeriodEndDate>
    <dei:AmendmentFlag contextRef="Trust" id="ixv-3988">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="Trust" id="ixv-3989">0000320351</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType contextRef="Trust" id="ixv-3990">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Trust" id="ixv-3991">Fidelity Select Portfolios</dei:EntityRegistrantName>
    <oef:RiskReturnHeading
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-150">Fund Summary
Fund:
Fidelity&#xae; Environment and Alternative Energy Fund
</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-160">Investment Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-164">Fidelity&#xae; Environment and Alternative Energy Fund seeks capital appreciation.</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-168">Fee Table</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-170">
The following table describes the fees and expenses that may be incurred when you buy, hold, and sell shares of the fund. You may pay other fees, such as brokerage commissions, which are not reflected in the tables and examples below.
</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-180">Shareholder fees</oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      decimals="0"
      id="ixv-4717"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-192">Annual Operating Expenses</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007461_Cid_C000020435"
      decimals="6"
      id="ixv-4718"
      unitRef="pure">0.0067</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007461_Cid_C000020435"
      decimals="6"
      id="ixv-4719"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007461_Cid_C000020435"
      decimals="6"
      id="ixv-4720"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007461_Cid_C000020435"
      decimals="6"
      id="ixv-4721"
      unitRef="pure">0.0069</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-238">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:</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000007461_Cid_C000020435"
      decimals="0"
      id="ixv-4722"
      unitRef="usd">70</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007461_Cid_C000020435"
      decimals="0"
      id="ixv-4723"
      unitRef="usd">221</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007461_Cid_C000020435"
      decimals="0"
      id="ixv-4724"
      unitRef="usd">384</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007461_Cid_C000020435"
      decimals="0"
      id="ixv-4725"
      unitRef="usd">859</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-297">Portfolio Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-301">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 38% of the average value of its portfolio.</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      decimals="4"
      id="ixv-4726"
      unitRef="pure">0.38</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-305">Principal Investment Strategies</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-308">
Normally investing primarily in common stocks.Normally investing at least 80% of assets in securities of companies principally engaged in business activities related to alternative and renewable energy, energy efficiency, pollution control, water infrastructure, waste and recycling technologies, or other environmental support services.
These companies may include, for example, companies involved in alternative and renewable energy such as solar, wind, biofuels, hydropower, geothermal power, or power storage; energy management &amp; efficiency and energy conservation products and services such as energy-efficient home or building design and insulation, including heating and cooling, lighting, or appliances, as well as fuel efficient vehicles transportation such as hybrid and electric car vehicles, railways, or other alternative energy transportation equipment and solutions; pollution reduction and prevention activities to control emissions; water infrastructure related to water distribution, water purification, the collection, treatment, or reclamation of wastewater, and other water storage and maintenance; companies involved in food, agriculture, and aquaculture production or distribution; and waste management and recycling activities such as the transportation, treatment, and disposal of hazardous or other wastes, transforming waste into energy and other recycling, and sanitation or filtration equipment or services.
For purposes of the fund's policy to normally invest at least 80% of its assets in securities of companies principally engaged in the business activity or activities identified for the fund, Fidelity may consider a company to be principally engaged in the designated business activity or activities based on: (i) the level of a company's assets, income, sales, or profits that are committed to, derived from, or related to the designated business activity or activities, or (ii) whether a third party has given the company an industry or sector classification consistent with the designated business activity or activities. Whether a company is principally engaged in the designated business activity or activities can be determined under any of these factors.
Effective December 11, 2025, derivative instruments that provide investment exposure to the investments above or exposure to one or more market risk factors associated with such investments are included in the fund's 80% policy, consistent with the fund's investment policies and limitations with respect to investments in derivatives.
&#160;
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.Employing sustainable investing exclusion criteria to avoid investments in issuers that are directly engaged in, and/or derive significant revenue from, certain industries. Please see "Fund Basics - Investment Details - Sustainable Investing Exclusions" for additional information.
</oef:StrategyNarrativeTextBlock>
    <oef:StrategyPortfolioConcentration
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-313">Normally investing at least 80% of assets in securities of companies principally engaged in business activities related to alternative and renewable energy, energy efficiency, pollution control, water infrastructure, waste and recycling technologies, or other environmental support services.</oef:StrategyPortfolioConcentration>
    <oef:RiskTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-335">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.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_SustainabilityRiskMember"
      id="ixv-341">Sustainability Risk.
Application of Fidelity Management &amp; Research Company LLC's (FMR) (the Adviser) environmental, social and governance (ESG) ratings process and/or its sustainable investing exclusion criteria may affect the fund's exposure to certain issuers, sectors, regions, and countries and may affect the fund's performance depending on whether certain investments are in or out of favor. The criteria related to the fund's ESG ratings process and/or adherence to its sustainable investing exclusion criteria may result in the fund forgoing opportunities to buy certain securities when it might otherwise be advantageous to do so, or selling securities for ESG reasons when it might be otherwise disadvantageous for it to do so. As a result, the fund's performance may at times be better or worse than the performance of funds that do not use ESG or sustainability criteria. There are significant differences in interpretations of what it means for an issuer to have positive ESG factors. While the Adviser believes its definitions are reasonable, the portfolio decisions it makes may differ with other investors' or advisers' views. When evaluating an issuer, the Adviser is dependent on information or data obtained through voluntary or third-party reporting that may be incomplete, inaccurate, or unavailable, which could cause the Adviser to incorrectly assess an issuer's business practices.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_ForeignExposureMember"
      id="ixv-347">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.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_EnvironmentAndAlternativeEnergyIndustryConcentrationMember"
      id="ixv-353">Environment and Alternative Energy Industry Concentration.
The environment and alternative energy industries can be significantly affected by government regulations and subsidies, changing supply and demand for traditional energy sources, and availability of funding for remedial cleanup or development of new technologies, and can be subject to risks associated with hazardous materials.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-359">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.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_RiskNondiversifiedStatusMember"
      id="ixv-368">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.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-371">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.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-374">&#160;You could lose money by investing in the fund.</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-378">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-381">
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 additional index has 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.
Visit www.fidelity.com for more recent performance information.
</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-385">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.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-388"> Past performance (before and after taxes) is not an indication of future performance.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-392"> www.fidelity.com </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-399">Year-by-Year Returns </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2015"
      decimals="INF"
      id="ixv-4727"
      unitRef="pure">-0.0459</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2016"
      decimals="INF"
      id="ixv-4728"
      unitRef="pure">0.2072</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2017"
      decimals="INF"
      id="ixv-4729"
      unitRef="pure">0.2525</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2018"
      decimals="INF"
      id="ixv-4730"
      unitRef="pure">-0.1343</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2019"
      decimals="INF"
      id="ixv-4731"
      unitRef="pure">0.2683</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2020"
      decimals="INF"
      id="ixv-4732"
      unitRef="pure">0.2118</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2021"
      decimals="INF"
      id="ixv-4733"
      unitRef="pure">0.3042</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2022"
      decimals="INF"
      id="ixv-4734"
      unitRef="pure">-0.2604</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2023"
      decimals="INF"
      id="ixv-4735"
      unitRef="pure">0.2629</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_2024"
      decimals="INF"
      id="ixv-4736"
      unitRef="pure">0.2002</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-506"> &#160;&#160;&#160;Highest Quarter Return</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      decimals="4"
      id="ixv-4737"
      unitRef="pure">0.2272</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-516">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-521"> &#160;&#160;&#160;Lowest Quarter Return</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      decimals="4"
      id="ixv-4738"
      unitRef="pure">-0.2622</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-532">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-537"> &#160;&#160;&#160;Year-to-Date Return</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      decimals="4"
      id="ixv-4739"
      unitRef="pure">-0.0863</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-548">2025-03-31</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-552">Average Annual Returns</oef:PerformanceTableHeading>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-556">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.</oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-557">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.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-560"> 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).</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableExplanationAfterTaxHigher
      contextRef="Pid_S000007461_contentCd_EAE-NRF-PRO"
      id="ixv-562"> 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.</oef:PerformanceTableExplanationAfterTaxHigher>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007461_Cid_C000020435_ReturnBeforeTaxes_01"
      id="ixv-607">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-4740"
      unitRef="pure">0.2002</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-4741"
      unitRef="pure">0.1212</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_ReturnBeforeTaxes_10"
      decimals="4"
      id="ixv-4742"
      unitRef="pure">0.1087</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributions_01"
      id="ixv-622">Return After Taxes on Distributions</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributions_01"
      decimals="4"
      id="ixv-4743"
      unitRef="pure">0.1990</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributions_05"
      decimals="4"
      id="ixv-4744"
      unitRef="pure">0.1110</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributions_10"
      decimals="4"
      id="ixv-4745"
      unitRef="pure">0.0985</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributionsAndSales_01"
      id="ixv-637">Return After Taxes on Distributions and Sale of Fund Shares</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributionsAndSales_01"
      decimals="4"
      id="ixv-4746"
      unitRef="pure">0.1194</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributionsAndSales_05"
      decimals="4"
      id="ixv-4747"
      unitRef="pure">0.0936</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Cid_C000020435_AfterTaxesOnDistributionsAndSales_10"
      decimals="4"
      id="ixv-4748"
      unitRef="pure">0.0861</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007461_Indexid_FT128_contentCd_EAE-NRF-PRO_01"
      id="ixv-653">FTSE&#xae; Environmental Opportunities &amp; Alternative Energy Index</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Indexid_FT128_contentCd_EAE-NRF-PRO_01"
      decimals="4"
      id="ixv-4749"
      unitRef="pure">0.2160</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Indexid_FT128_contentCd_EAE-NRF-PRO_05"
      decimals="4"
      id="ixv-4750"
      unitRef="pure">0.1790</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Indexid_FT128_contentCd_EAE-NRF-PRO_10"
      decimals="4"
      id="ixv-4751"
      unitRef="pure">0.1465</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007461_Indexid_SP001_contentCd_EAE-NRF-PRO_01"
      id="ixv-678">S&amp;P 500&#xae; Index</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Indexid_SP001_contentCd_EAE-NRF-PRO_01"
      decimals="4"
      id="ixv-4752"
      unitRef="pure">0.2502</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Indexid_SP001_contentCd_EAE-NRF-PRO_05"
      decimals="4"
      id="ixv-4753"
      unitRef="pure">0.1453</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007461_Indexid_SP001_contentCd_EAE-NRF-PRO_10"
      decimals="4"
      id="ixv-4754"
      unitRef="pure">0.1310</oef:AvgAnnlRtrPct>
    <oef:RiskReturnHeading
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-797">Fund Summary
Fund:
Fidelity&#xae; Natural Resources Fund
</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-807">Investment Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-811">Fidelity&#xae; Natural Resources Fund seeks capital appreciation.</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-815">Fee Table</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-817">
The following table describes the fees and expenses that may be incurred when you buy, hold, and sell shares of the fund. You may pay other fees, such as brokerage commissions, which are not reflected in the tables and examples below.
</oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-827">Shareholder fees</oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      decimals="0"
      id="ixv-4755"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-839">Annual Operating Expenses</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007478_Cid_C000020452"
      decimals="6"
      id="ixv-4756"
      unitRef="pure">0.0067</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007478_Cid_C000020452"
      decimals="6"
      id="ixv-4757"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007478_Cid_C000020452"
      decimals="6"
      id="ixv-4758"
      unitRef="pure">0.0002</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007478_Cid_C000020452"
      decimals="6"
      id="ixv-4759"
      unitRef="pure">0.0069</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-885">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:</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000007478_Cid_C000020452"
      decimals="0"
      id="ixv-4760"
      unitRef="usd">70</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007478_Cid_C000020452"
      decimals="0"
      id="ixv-4761"
      unitRef="usd">221</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007478_Cid_C000020452"
      decimals="0"
      id="ixv-4762"
      unitRef="usd">384</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007478_Cid_C000020452"
      decimals="0"
      id="ixv-4763"
      unitRef="usd">859</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-944">Portfolio Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-948">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 68% of the average value of its portfolio.</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      decimals="4"
      id="ixv-4764"
      unitRef="pure">0.68</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-952">Principal Investment Strategies</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-955">
Normally investing primarily in common stocks and in certain precious metals.Normally investing at least 80% of assets in securities of companies principally engaged in owning or developing natural resources, or supplying goods and services to such companies, and in precious metals.
These companies may include, for example, companies involved either directly or through subsidiaries in exploring, mining, refining, processing, transporting, fabricating, dealing in, or owning natural resources. Natural resources include precious metals (e.g., gold, platinum, and silver), ferrous and nonferrous metals (e.g., iron, aluminum, and copper), strategic metals (e.g., uranium and titanium), hydrocarbons (e.g., coal, oil, and natural gases), chemicals, paper and forest products, real estate, food, textile and tobacco products, and other basic commodities. The Adviser treats investments in instruments whose value is linked to the price of precious metals as investments in precious metals.
For purposes of the fund's policy to normally invest at least 80% of its assets in securities of companies principally engaged in the business activity or activities identified for the fund, Fidelity may consider a company to be principally engaged in the designated business activity or activities based on: (i) the level of a company's assets, income, sales, or profits that are committed to, derived from, or related to the designated business activity or activities, or (ii) whether a third party has given the company an industry or sector classification consistent with the designated business activity or activities. Whether a company is principally engaged in the designated business activity or activities can be determined under any of these factors.
Effective December 11, 2025, derivative instruments that provide investment exposure to the investments above or exposure to one or more market risk factors associated with such investments are included in the fund's 80% policy, consistent with the fund's investment policies and limitations with respect to investments in derivatives.
&#160;
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.
</oef:StrategyNarrativeTextBlock>
    <oef:StrategyPortfolioConcentration
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-960">Normally investing at least 80% of assets in securities of companies principally engaged in owning or developing natural resources, or supplying goods and services to such companies, and in precious metals.</oef:StrategyPortfolioConcentration>
    <oef:RiskTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-980">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.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_ForeignExposureMember"
      id="ixv-986">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.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_GeographicExposureToCanadaMember"
      id="ixv-992">Geographic Exposure to Canada.
Because the fund invests a meaningful portion of its assets in Canada, the fund's performance is expected to be closely tied to social, political, and economic conditions within Canada and to be more volatile than the performance of more geographically diversified funds.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_NaturalResourcesIndustryConcentrationMember"
      id="ixv-998">Natural Resources Industry Concentration.
The natural resources industries can be significantly affected by events relating to international political and economic developments, energy conservation, the success of exploration projects, commodity prices, and tax and other government regulations.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-1004">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.
</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_RiskNondiversifiedStatusMember"
      id="ixv-1013">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.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-1016">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.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-1019">&#160;You could lose money by investing in the fund.</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1023">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1026">
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 additional index has 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.
Visit www.fidelity.com for more recent performance information.
</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1030">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.</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1033"> Past performance (before and after taxes) is not an indication of future performance.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1037"> www.fidelity.com </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1044">Year-by-Year Returns </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2015"
      decimals="INF"
      id="ixv-4765"
      unitRef="pure">-0.2164</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2016"
      decimals="INF"
      id="ixv-4766"
      unitRef="pure">0.3024</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2017"
      decimals="INF"
      id="ixv-4767"
      unitRef="pure">-0.0010</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2018"
      decimals="INF"
      id="ixv-4768"
      unitRef="pure">-0.2422</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2019"
      decimals="INF"
      id="ixv-4769"
      unitRef="pure">0.1908</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2020"
      decimals="INF"
      id="ixv-4770"
      unitRef="pure">-0.2085</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2021"
      decimals="INF"
      id="ixv-4771"
      unitRef="pure">0.3938</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2022"
      decimals="INF"
      id="ixv-4772"
      unitRef="pure">0.4103</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2023"
      decimals="INF"
      id="ixv-4773"
      unitRef="pure">0.0640</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_2024"
      decimals="INF"
      id="ixv-4774"
      unitRef="pure">0.0376</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1152"> &#160;&#160;&#160;Highest Quarter Return</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      decimals="4"
      id="ixv-4775"
      unitRef="pure">0.3481</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1162">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1167"> &#160;&#160;&#160;Lowest Quarter Return</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      decimals="4"
      id="ixv-4776"
      unitRef="pure">-0.4828</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1178">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1183"> &#160;&#160;&#160;Year-to-Date Return</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      decimals="4"
      id="ixv-4777"
      unitRef="pure">0.0962</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1193">2025-03-31</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1197">Average Annual Returns</oef:PerformanceTableHeading>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1201">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.</oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1202">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.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1205"> 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).</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableExplanationAfterTaxHigher
      contextRef="Pid_S000007478_contentCd_EAE-NRF-PRO"
      id="ixv-1207"> 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.</oef:PerformanceTableExplanationAfterTaxHigher>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007478_Cid_C000020452_ReturnBeforeTaxes_01"
      id="ixv-1252">Return Before Taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-4778"
      unitRef="pure">0.0376</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-4779"
      unitRef="pure">0.1143</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_ReturnBeforeTaxes_10"
      decimals="4"
      id="ixv-4780"
      unitRef="pure">0.0468</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributions_01"
      id="ixv-1267">Return After Taxes on Distributions</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributions_01"
      decimals="4"
      id="ixv-4781"
      unitRef="pure">0.0339</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributions_05"
      decimals="4"
      id="ixv-4782"
      unitRef="pure">0.1096</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributions_10"
      decimals="4"
      id="ixv-4783"
      unitRef="pure">0.0432</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributionsAndSales_01"
      id="ixv-1282">Return After Taxes on Distributions and Sale of Fund Shares</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributionsAndSales_01"
      decimals="4"
      id="ixv-4784"
      unitRef="pure">0.0249</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributionsAndSales_05"
      decimals="4"
      id="ixv-4785"
      unitRef="pure">0.0903</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Cid_C000020452_AfterTaxesOnDistributionsAndSales_10"
      decimals="4"
      id="ixv-4786"
      unitRef="pure">0.0364</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007478_Indexid_GS006_contentCd_EAE-NRF-PRO_01"
      id="ixv-1298">S&amp;P&#xae; North American Natural Resources Sector Index</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Indexid_GS006_contentCd_EAE-NRF-PRO_01"
      decimals="4"
      id="ixv-4787"
      unitRef="pure">0.0811</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Indexid_GS006_contentCd_EAE-NRF-PRO_05"
      decimals="4"
      id="ixv-4788"
      unitRef="pure">0.1123</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Indexid_GS006_contentCd_EAE-NRF-PRO_10"
      decimals="4"
      id="ixv-4789"
      unitRef="pure">0.0472</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007478_Indexid_SP001_contentCd_EAE-NRF-PRO_01"
      id="ixv-1323">S&amp;P 500&#xae; Index</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Indexid_SP001_contentCd_EAE-NRF-PRO_01"
      decimals="4"
      id="ixv-4790"
      unitRef="pure">0.2502</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Indexid_SP001_contentCd_EAE-NRF-PRO_05"
      decimals="4"
      id="ixv-4791"
      unitRef="pure">0.1453</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007478_Indexid_SP001_contentCd_EAE-NRF-PRO_10"
      decimals="4"
      id="ixv-4792"
      unitRef="pure">0.1310</oef:AvgAnnlRtrPct>
</xbrl>
