XML 57 R43.htm IDEA: XBRL DOCUMENT
v3.21.2

Loans and Loans Held for Sale - Nonperforming Assets (Details) - USD ($) $ in Thousands | Jun. 30, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | ---
Nonperforming Assets |  |  |
Nonaccrual loans | $ 91,969 | $ 117,485 |
Nonaccrual TDRs | 20,650 | 29,289 |
Total Nonperforming Loans | 112,619 | 146,774 | $ 54,057
OREO | 1,145 | 2,155 |
Total Nonperforming Assets | 113,764 | 148,929 |
Commercial | Commercial and industrial |  |  |
Nonperforming Assets |  |  |
Total Nonperforming Loans | $ 12,198 | $ 16,985 | $ 10,911

X
- Definition Financing receivable recorded investment non performing. + References No definition available. + Details
Name: | stba_FinancingReceivableRecordedInvestmentNonPerforming
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing receivable recorded investment nonaccrual trouble debt restructured. + References No definition available. + Details
Name: | stba_FinancingReceivableRecordedInvestmentNonaccrualTroubleDebtRestructured
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Net nonperforming assets. + References No definition available. + Details
Name: | stba_NetNonperformingAssets
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Nonperforming assets. + References No definition available. + Details
Name: | stba_NonperformingAssetsAbstract
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of financing receivable on nonaccrual status. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 16 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (3) Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (2) + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This does not include real estate assets taken in settlement of troubled loans through surrender or foreclosure. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.10(4)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_OtherRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_CommercialAndIndustrialMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |