XML 54 R106.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Mortgage Servicing Rights - Additional Information (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Mortgage Loan Activity [Line Items] |  |  |
Sale of 1-4 family mortgage loans | $ 109,082 | $ 93,793 | $ 93,991
Total servicing portfolio | 509,200 | 473,700 | 441,000
Fannie Mae |  |  |
Mortgage Loan Activity [Line Items] |  |  |
Sale of 1-4 family mortgage loans | $ 94,500 | $ 79,300 | $ 78,800

X
- Definition Mortgage Loan Activity [Line Items] + References No definition available. + Details
Name: | stba_MortgageLoanActivityLineItems
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Portfolio loans fair value disclosure. + References No definition available. + Details
Name: | stba_PortfolioLoansFairValueDisclosure
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow from sales of loans that are secured with real estate mortgages and are held with the intention to resell in the near future. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 21 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3461-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |