<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>19</ContextCount>
  <ElementCount>75</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>18</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="abfis-20230901.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000000 - Document - Document and Entity Information {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.abfunds.com/role/DocumentDocumentandEntityInformationElements000000</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="abfis-20230901.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000021 - Disclosure - Risk/Return Detail Data {Elements} - AB Government Money Market Portfolio</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.abfunds.com/role/DisclosureRiskReturnDetailDataElementsABGovernmentMoneyMarketPortfolio000021</Role>
      <ShortName>Risk/Return Detail Data- AB Government Money Market Portfolio</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="497" original="abfis-20230901.htm">abfis-20230901.htm</File>
    <File>abfis-20230901.xsd</File>
    <File>abfis-20230901_cal.xml</File>
    <File>abfis-20230901_def.xml</File>
    <File>abfis-20230901_lab.xml</File>
    <File>abfis-20230901_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g1g22c48.jpg</File>
    <File>g1g67z55.jpg</File>
    <File>g1g92u09.jpg</File>
    <File>image_003.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="8">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="192">http://xbrl.sec.gov/rr/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
