XML 52 R38.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Summary of Significant Accounting Policies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2024
Accounting Policies [Abstract] |
Estimated Useful Lives for Various Asset | The estimated useful lives for the various asset categories are as follows:
1) Land and Land Improvements |  | Non-depreciating assets
2) Buildings |  | 25 years
3) Furniture and Fixtures |  | 5 years
4) Computer Equipment and Software |  | 5 years or term of license
5) Other Equipment |  | 5 years
6) Vehicles |  | 5 years
7) Leasehold Improvements |  | Lesser of estimated useful life of the asset (generally 15 years unless established otherwise) or the remaining term of the lease, including renewal options in the lease that are reasonably assured of exercise

X
- Definition Property Plant And Equipment Estimated Useful Life Table [Text Block] + References No definition available. + Details
Name: | stba_PropertyPlantAndEquipmentEstimatedUsefulLifeTableTextBlock
Namespace Prefix: | stba_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

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