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_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1960000019600000USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli: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.false2
2false
4us-gaap_LongtermDebtPercentageBearingVariableInterestAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse4870000048700000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli: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.false2
3false
4stba_CapitalizedLeaseLiabilitiesstba_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse200000200000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryCapitalized Lease LiabilitiesNo definition available.false2
4false
4stba_AggregateBorrowingInFederalHomeLoanBankstba_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse147700000147700000USD$falsefalsefalse | 2truefalsefalse108900000108900000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate borrowing in federal home loan bank.No definition available.false2
5false
4us-gaap_FederalHomeLoanBankAdvancesLongTermus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2270000022700000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli: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
false2
6false
4us-gaap_FederalHomeLoanBankAdvancesShortTermus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse125000000125000000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli: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
false2
7false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3false
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$nanafalse0
8false
4us-gaap_LineOfCreditFacilityMaximumBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse13000000001300000000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli: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
false2
9false
4us-gaap_LineOfCreditFacilityRemainingBorrowingCapacityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse12000000001200000000USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli: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
false2
falseBorrowings - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.stbank.com/taxonomy/role/DisclosureBorrowingsAdditionalInformation29