XML 128 R116.htm IDEA: XBRL DOCUMENT
v3.22.4

Commitments and Contingencies - Significant Fixed and Determinable Contractual Obligation (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Deposits Without A Stated Maturity |  |  |
2023 | $ 6,285,377 |  |
2024-2025 | 0 |  |
2026-2027 | 0 |  |
Later Years | 0 |  |
Total | 6,285,377 |  |
Certificates of Deposit |  |  |
2023 | 733,285 |  |
2024-2025 | 161,343 |  |
2026-2027 | 38,711 |  |
Later Years | 1,254 |  |
Total | 934,593 | $ 1,088,071 |
Short-term Borrowings |  |  |
2023 | 370,000 |  |
2024-2025 | 0 |  |
2026-2027 | 0 |  |
Later Years | 0 |  |
Total | 370,000 | 84,491 |
Long-term Borrowings |  |  |
2023 | 464 |  |
2024-2025 | 13,461 |  |
2026-2027 | 180 |  |
Later Years | 636 |  |
Total | 14,741 | $ 22,430 | $ 23,681
Junior Subordinated Debt Securities |  |  |
2023 | 0 |  |
2024-2025 | 0 |  |
2026-2027 | 0 |  |
Later Years | 54,453 |  |
Total | 54,453 |  |
Operating and Capital Leases |  |  |
2023 | 5,053 |  |
2024-2025 | 9,984 |  |
2026-2027 | 9,587 |  |
Later Years | 60,837 |  |
Total | 85,461 |  |
Purchase Obligation |  |  |
2023 | 32,555 |  |
2024-2025 | 62,656 |  |
2026-2027 | 53,190 |  |
Later Years | 0 |  |
Total | 148,401 |  |
Contractual Obligation, Fiscal Year Maturity [Abstract] |  |  |
2023 | 7,426,734 |  |
2024-2025 | 247,444 |  |
2026-2027 | 101,668 |  |
Later Years | 117,180 |  |
Total | $ 7,893,026 |  |

X
- Definition Deposits Without A Stated Maturity + References No definition available. + Details
Name: | stba_DepositsWithoutAStatedMaturityAbstract
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Deposits Without A Stated Maturity, To Be Paid + References No definition available. + Details
Name: | stba_DepositsWithoutAStatedMaturityToBePaid
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Deposits Without A Stated Maturity, To Be Paid, After Year Five + References No definition available. + Details
Name: | stba_DepositsWithoutAStatedMaturityToBePaidAfterYearFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Deposits Without A Stated Maturity, To Be Paid, Year Four And Five + References No definition available. + Details
Name: | stba_DepositsWithoutAStatedMaturityToBePaidYearFourAndFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Deposits Without A Stated Maturity, To Be Paid, Year One + References No definition available. + Details
Name: | stba_DepositsWithoutAStatedMaturityToBePaidYearOne
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Deposits Without A Stated Maturity, To Be Paid, Year Two And Three + References No definition available. + Details
Name: | stba_DepositsWithoutAStatedMaturityToBePaidYearTwoAndThree
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Junior Subordinated Notes + References No definition available. + Details
Name: | stba_JuniorSubordinatedNotesAbstract
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Junior Subordinated Notes, Maturity, After Year Five + References No definition available. + Details
Name: | stba_JuniorSubordinatedNotesMaturityAfterYearFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Junior Subordinated Notes, Maturity, Year Four And Five + References No definition available. + Details
Name: | stba_JuniorSubordinatedNotesMaturityYearFourAndFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Junior Subordinated Notes, Maturity, Year One + References No definition available. + Details
Name: | stba_JuniorSubordinatedNotesMaturityYearOne
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Junior Subordinated Notes, Maturity, Year Two And Three + References No definition available. + Details
Name: | stba_JuniorSubordinatedNotesMaturityYearTwoAndThree
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Junior Subordinated Notes, To Be Paid + References No definition available. + Details
Name: | stba_JuniorSubordinatedNotesToBePaid
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee, Liability, To Be Paid + References No definition available. + Details
Name: | stba_LesseeLiabilityToBePaid
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee, Liability, To Be Paid, After Year Five + References No definition available. + Details
Name: | stba_LesseeLiabilityToBePaidAfterYearFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee, Liability, To Be Paid, Year Four And Five + References No definition available. + Details
Name: | stba_LesseeLiabilityToBePaidYearFourAndFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee, Liability, To Be Paid, Year One + References No definition available. + Details
Name: | stba_LesseeLiabilityToBePaidYearOne
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee, Liability, To Be Paid, Year Two And Three + References No definition available. + Details
Name: | stba_LesseeLiabilityToBePaidYearTwoAndThree
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Operating And Capital Leases + References No definition available. + Details
Name: | stba_OperatingAndCapitalLeasesAbstract
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Short-Term Debt, Maturity, After Year Five + References No definition available. + Details
Name: | stba_ShortTermDebtMaturityAfterYearFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Short-Term Debt, Maturity, Year Four And Five + References No definition available. + Details
Name: | stba_ShortTermDebtMaturityYearFourAndFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Short-Term Debt, Maturity, Year One + References No definition available. + Details
Name: | stba_ShortTermDebtMaturityYearOne
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Short-Term Debt, Maturity, Year Two And Three + References No definition available. + Details
Name: | stba_ShortTermDebtMaturityYearTwoAndThree
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Time Deposit Maturities, Year Four And Five + References No definition available. + Details
Name: | stba_TimeDepositMaturitiesYearFourAndFive
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Time Deposit Maturities, Year Two And Three + References No definition available. + Details
Name: | stba_TimeDepositMaturitiesYearTwoAndThree
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of contractual obligation, including but not limited to, long-term debt, capital lease obligations, operating lease obligations, purchase obligations, and other commitments. + References No definition available. + Details
Name: | us-gaap_ContractualObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of contractual obligation to be paid after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_ContractualObligationDueAfterFifthYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of contractual obligation to be paid in fourth and fifth fiscal years following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_ContractualObligationDueInFourthAndFifthYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of contractual obligation to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_ContractualObligationDueInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of contractual obligation to be paid in second and third fiscal years following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_ContractualObligationDueInSecondAndThirdYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth and fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 + Details
Name: | us-gaap_LongTermDebtMaturingInYearsFourAndFive
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second and third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_LongTermDebtMaturingInYearsTwoAndThree
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_OtherLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowings classified as other, maturing within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(a)(7)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_OtherShortTermBorrowings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum amount of purchase arrangement in which the entity has agreed to expend funds to procure goods or services from a supplier. + References No definition available. + Details
Name: | us-gaap_PurchaseObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of purchase arrangement to be paid after fifth fiscal year following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_PurchaseObligationDueAfterFifthYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of purchase arrangement to be paid in fourth and fifth fiscal years following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_PurchaseObligationDueInFourthAndFifthYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of purchase arrangement to be paid in next fiscal year following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_PurchaseObligationDueInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of purchase arrangement to be paid in second and third fiscal years following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_PurchaseObligationDueInSecondAndThirdYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Definition Amount of time deposit maturing after fifth fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_TimeDepositMaturitiesAfterYearFive
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of time deposit maturing in next fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_TimeDepositMaturitiesYearOne
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of time deposit liabilities, including certificates of deposit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 405 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.12) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_TimeDeposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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