2.4.0.8164 - Disclosure - Borrowings - Additional Information (Detail)truefalsefalse1false USDfalsefalse$eol_PE4250----1310-Q0011_STD_0_20130630_0http://www.sec.gov/CIK0000719220instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE4250----1310-Q0011_STD_0_20121231_0http://www.sec.gov/CIK0000719220instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false 4us-gaap_LongtermDebtPercentageBearingFixedInterestAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1960000019600000USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate.No definition available.false22false 4us-gaap_LongtermDebtPercentageBearingVariableInterestAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4870000048700000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a rate subject to change from time to time.No definition available.false23false 4stba_CapitalizedLeaseLiabilitiesstba_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse200000200000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCapitalized Lease LiabilitiesNo definition available.false24false 4stba_AggregateBorrowingInFederalHomeLoanBankstba_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse147700000147700000USD$falsefalsefalse2truefalsefalse108900000108900000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate borrowing in federal home loan bank.No definition available.false25false 4us-gaap_FederalHomeLoanBankAdvancesLongTermus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2270000022700000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncluding both current and noncurrent portions, Federal Home Loan Bank borrowings initially due beyond one year or beyond the normal operating cycle if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64702-112823 false26false 4us-gaap_FederalHomeLoanBankAdvancesShortTermus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse125000000125000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFederal Home Loan Bank borrowings due within one year of the latest balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.13) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 13 -Article 9 false27false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$eol_PE4250----1310-Q0011_STD_0_20130630_0_924420x928702http://www.sec.gov/CIK0000719220instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseFederal Home Loan Bank advances [Member]us-gaap_CreditFacilityAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FederalHomeLoanBankAdvancesMemberus-gaap_CreditFacilityAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse08false 4us-gaap_LineOfCreditFacilityMaximumBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse13000000001300000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryMaximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 false29false 4us-gaap_LineOfCreditFacilityRemainingBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse12000000001200000000USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 false2falseBorrowings - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.stbank.com/taxonomy/role/DisclosureBorrowingsAdditionalInformation29