XML 79 R67.htm IDEA: XBRL DOCUMENT
v3.22.4

Dividend and Loan Restrictions (Details) | 12 Months Ended
--- | ---
Dec. 31, 2022
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