XML 116 R103.htm IDEA: XBRL DOCUMENT
v3.20.4

Premises and Equipment - Additional Information (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 USD ($) right_of_use_asset | Dec. 31, 2019 USD ($) | Dec. 31, 2018 USD ($)
Property, Plant and Equipment [Line Items] |  |  |
Financing leases, ROU assets | $ 1,278 | $ 1,513 |
Depreciation expense | $ 6,700 | $ 5,400 | $ 5,000
Land |  |  |
Property, Plant and Equipment [Line Items] |  |  |
Number of right of use assets | right_of_use_asset | 1 |  |
Financing leases, ROU assets | $ 200 |  |
Buildings |  |  |
Property, Plant and Equipment [Line Items] |  |  |
Number of right of use assets | right_of_use_asset | 2 |  |
Financing leases, ROU assets | $ 1,100 |  |

X
- Definition Number Of Right-Of-Use Assets + References No definition available. + Details
Name: | stba_NumberOfRightOfUseAssets
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 + Details
Name: | us-gaap_Depreciation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of right-of-use asset from finance lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977 + Details
Name: | us-gaap_FinanceLeaseRightOfUseAsset
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_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LandMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |