XML 82 R70.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Dividend and Loan Restrictions (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021
Equity [Abstract] |
Percentage of collateralized loans | 10.00%

X
- Definition Percentage of loan collateral balance. + References No definition available. + Details
Name: | stba_PercentageOfLoanCollateralBalance
Namespace Prefix: | stba_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_EquityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration