XML 86 R51.htm IDEA: XBRL DOCUMENT
v3.21.1

Derivative Instruments and Hedging Activities - Additional Information (Details) | 3 Months Ended
--- | ---
Mar. 31, 2021
Derivative Instruments and Hedging Activities Disclosure [Abstract] |
Period for commitments (in days) | 60 days

X
- Definition Period for commitments. + References No definition available. + Details
Name: | stba_PeriodForCommitments
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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