XML 59 R49.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Allowance for Loan Losses - Additional Information (Details) - USD ($) | 9 Months Ended |
--- | --- | ---
Sep. 30, 2017 | Dec. 31, 2016
Financing Receivable, Impaired [Line Items] |  |
Loans considered nonperforming (in days) | 90 days |
Evaluation for impairment of substandard and nonaccrual commercial loans | $ 500,000.0 |
Impaired fiinancing receivables | 31,988,000 | $ 41,935,000
Integrity Bancshares, Inc. |  |
Financing Receivable, Impaired [Line Items] |  |
Acquired loans that experienced credit deterioration since acquisition | $ 6,500,000 | $ 18,400,000

X
- Definition Minimum amount over which evaluation for impairment of substandard and nonaccrual commercial loans are made. + References No definition available. + Details
Name: | stba_MinimumAmountOverWhichEvaluationForImpairmentOfSubstandardAndNonaccrualCommercialLoansAreMade
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Period interest and principal of loan due treated as loans considered nonperforming. + References No definition available. + Details
Name: | stba_PeriodInterestAndPrincipalOfLoanDueTreatedAsLoansConsideredNonperforming
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The recorded amount of loans and debt securities, with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it was probable, at acquisition, that the investor would be unable to collect all contractually required payments receivable. They are deemed to be impaired since the acquisition and an allowance for credit losses has been recorded. Disclosure is gross of the allowance. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5275-111524 + Details
Name: | us-gaap_CertainLoansAndDebtSecuritiesAcquiredInTransferWithRelatedAllowanceForCreditLossesDueToSubsequentImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableImpairedLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 14A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953550-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=stba_IntegrityBancsharesInc.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |