XML 25 R13.htm IDEA: XBRL DOCUMENT
v3.22.4

Restrictions on Cash and Due from Bank Accounts | 12 Months Ended
--- | ---
Dec. 31, 2022
Cash and Cash Equivalents [Abstract] |
RESTRICTIONS ON CASH AND DUE FROM BANK ACCOUNTS | RESTRICTIONS ON CASH AND DUE FROM BANK ACCOUNTSThe Board of Governors of the Federal Reserve System, or the Federal Reserve, imposes certain reserve requirements on all depository institutions. These reserves are maintained in the form of vault cash or as an interest-bearing balance with the Federal Reserve. There were no required reserves for 2022 and 2021. The Federal Reserve reduced the reserve requirement ratio to zero percent effective March 26, 2020.

X
- Definition Cash reserve requirement of the Federal Reserve. + References No definition available. + Details
Name: | stba_RestrictionsOnCashAndDueFromBankAccountsTextBlock
Namespace Prefix: | stba_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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