XML 78 R51.htm IDEA: XBRL DOCUMENT
v3.22.2

Derivative Instruments and Hedging Activities - Schedule of Gross Amounts of Derivative Assets and Derivative Liabilities (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Other Assets |  |
Derivative Assets (Included in Other Assets) |  |
Derivative financial assets | $ 51,521 | $ 33,933
Other Assets | Interest rate swaps - commercial loans |  |
Derivative Assets (Included in Other Assets) |  |
Derivative financial assets | 51,465 | 33,528
Other Liabilities |  |
Derivative Liabilities (Included in Other Liabilities) |  |
Derivative financial liabilities | 57,141 | 33,631
Other Liabilities | Interest rate swaps - commercial loans |  |
Derivative Liabilities (Included in Other Liabilities) |  |
Derivative financial liabilities | 57,139 | 33,631
Designated as Hedging Instruments | Cash Flow Hedge |  |
Derivative Assets (Included in Other Assets) |  |
Interest receivable, assets | 600 |
Derivative Liabilities (Included in Other Liabilities) |  |
Interest receivable, liabilities | 200 |
Designated as Hedging Instruments | Other Assets |  |
Derivative Assets (Included in Other Assets) |  |
Derivative financial assets | 368 | 0
Designated as Hedging Instruments | Other Assets | Cash Flow Hedge |  |
Derivative Assets (Included in Other Assets) |  |
Notional Amount | 50,000 |
Derivative financial assets | 368 | 0
Designated as Hedging Instruments | Other Liabilities |  |
Derivative Liabilities (Included in Other Liabilities) |  |
Derivative financial liabilities | 5,946 | 0
Designated as Hedging Instruments | Other Liabilities | Cash Flow Hedge |  |
Derivative Liabilities (Included in Other Liabilities) |  |
Notional Amount | 250,000 |
Derivative financial liabilities | 5,946 | 0
Not Designated as Hedging Instruments | Other Assets |  |
Derivative Assets (Included in Other Assets) |  |
Derivative financial assets | 51,153 | 33,933
Not Designated as Hedging Instruments | Other Assets | Interest rate swaps - commercial loans |  |
Derivative Assets (Included in Other Assets) |  |
Notional Amount | 1,039,932 | 1,017,178
Derivative financial assets | 51,097 | 33,528
Not Designated as Hedging Instruments | Other Assets | Interest rate lock commitments |  |
Derivative Assets (Included in Other Assets) |  |
Notional Amount | 2,062 | 12,148
Derivative financial assets | 56 | 401
Not Designated as Hedging Instruments | Other Assets | Forward sale contracts—mortgage loans |  |
Derivative Assets (Included in Other Assets) |  |
Notional Amount | 0 | 8,436
Derivative financial assets | 0 | 4
Not Designated as Hedging Instruments | Other Liabilities |  |
Derivative Liabilities (Included in Other Liabilities) |  |
Derivative financial liabilities | 51,195 | 33,361
Not Designated as Hedging Instruments | Other Liabilities | Interest rate swaps - commercial loans |  |
Derivative Liabilities (Included in Other Liabilities) |  |
Notional Amount | 1,039,932 | 1,017,178
Derivative financial liabilities | 51,193 | 33,361
Not Designated as Hedging Instruments | Other Liabilities | Interest rate lock commitments |  |
Derivative Liabilities (Included in Other Liabilities) |  |
Notional Amount | 0 |
Derivative financial liabilities | 0 | 0
Not Designated as Hedging Instruments | Other Liabilities | Forward sale contracts—mortgage loans |  |
Derivative Liabilities (Included in Other Liabilities) |  |
Notional Amount | 645 |
Derivative financial liabilities | $ 2 | $ 0

X
- Definition Derivative Asset, Interest Receivable + References No definition available. + Details
Name: | stba_DerivativeAssetInterestReceivable
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Derivative Liability, Interest Receivable + References No definition available. + Details
Name: | stba_DerivativeLiabilityInterestReceivable
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Nominal or face amount used to calculate payments on the derivative asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeAssetNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Nominal or face amount used to calculate payments on the derivative liability. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeLiabilityNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateLockCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |