XML 80 R66.htm IDEA: XBRL DOCUMENT
v3.25.0.1

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