XML 168 R119.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Commitments and Contingencies - Commitments and Letters of Credit (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018
Commitment And Contingencies [Line Items] |  |
Total Commitments | $ 1,990,845 | $ 1,542,026
Standby letters of credit |  |
Commitment And Contingencies [Line Items] |  |
Total Commitments | 80,040 | 77,134
Commitments to extend credit |  |
Commitment And Contingencies [Line Items] |  |
Total Commitments | $ 1,910,805 | $ 1,464,892

X
- Definition Commitment And Contingencies [Line Items] + References No definition available. + Details
Name: | stba_CommitmentAndContingenciesLineItems
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum amount of loss due to credit risk that, based on the gross fair value of the financial instrument, the entity would incur if parties to the financial instruments that make up the concentration failed completely to perform according to the terms of the contracts and the collateral or other security, if any, for the amount due proved to be of no value to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskCreditRiskFinancialInstrumentMaximumExposure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_StandbyLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommitmentsToExtendCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |