XML 37 R27.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Derivative Instruments and Hedging Activities (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2017
Derivative Instruments and Hedging Activities Disclosure [Abstract] |
Value of Derivative Assets and Derivative Liabilities | The following table indicates the amounts representing the value of derivative assets and derivative liabilities as of the dates presented:
| Derivatives (included in Other Assets) |  | Derivatives (included in Other Liabilities)
(dollars in thousands) | March 31, 2017 |  | December 31, 2016 |  | March 31, 2017 |  | December 31, 2016
Derivatives not Designated as Hedging Instruments: |  |  |  |  |  |  |
Interest Rate Swap Contracts- Commercial Loans |  |  |  |  |  |  |
Fair value | $ | 5,379 |  |  | $ | 6,960 |  |  | $ | 5,352 |  |  | $ | 6,958 |
Notional amount | 226,217 |  |  | 232,396 |  |  | 226,217 |  |  | 232,396 |
Collateral posted | — |  |  | — |  |  | 2,454 |  |  | 14,340 |
Interest Rate Lock Commitments- Mortgage Loans |  |  |  |  |  |  |
Fair value | 469 |  |  | 236 |  |  | — |  |  | — |
Notional amount | 13,795 |  |  | 8,490 |  |  | — |  |  | — |
Forward Sale Contracts- Mortgage Loans |  |  |  |  |  |  |
Fair value | — |  |  | — |  |  | 63 |  |  | 27 |
Notional amount | $ | — |  |  | $ | — |  |  | $ | 11,370 |  |  | $ | 8,216 |
Schedule of Gross Amounts of Derivative Assets and Derivative Liabilities | The following table indicates the gross amounts of commercial loan swap derivative assets and derivative liabilities, the amounts offset and the carrying values in the Consolidated Balance Sheets as of the dates presented:
| Derivatives (included in Other Assets) |  | Derivatives (included in Other Liabilities)
(dollars in thousands) | March 31, 2017 |  | December 31, 2016 |  | March 31, 2017 |  | December 31, 2016
Derivatives not Designated as Hedging Instruments: |  |  |  |  |  |  |
Gross amounts recognized | $ | 7,132 |  |  | $ | 8,590 |  |  | $ | 7,105 |  |  | $ | 8,588 |
Gross amounts offset | (1,753 | ) |  | (1,630 | ) |  | (1,753 | ) |  | (1,630 | )
Net amounts presented in the Consolidated Balance Sheets | 5,379 |  |  | 6,960 |  |  | 5,352 |  |  | 6,958 |
Gross amounts not offset(1) | — |  |  | — |  |  | (2,454 | ) |  | (14,340 | )
Net Amount | $ | 5,379 |  |  | $ | 6,960 |  |  | $ | 2,898 |  |  | $ | (7,382 | )
(1) Amounts represent posted collateral.
Amount of Gain or Loss Recognized in Income on Derivatives | The following table indicates the gain or loss recognized in income on derivatives for the periods presented:
| Three Months Ended March 31,
(dollars in thousands) | 2017 |  | 2016
Derivatives not Designated as Hedging Instruments |  |  |
Interest rate swap contracts—commercial loans | $ | 24 |  |  | $ | 97 |
Interest rate lock commitments—mortgage loans | 233 |  |  | 265 |
Forward sale contracts—mortgage loans | (36 | ) |  | (67 | )
Total Derivatives Gain | $ | 221 |  |  | $ | 295 |

X
- Definition Schedule Of Derivative Assets And Liabilities Table [Text Block] + References No definition available. + Details
Name: | stba_ScheduleOfDerivativeAssetsAndLiabilitiesTableTableTextBlock
Namespace Prefix: | stba_
Data Type: | nonnum:textBlockItemType
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

X
- Definition Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5624171-113959 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5618551-113959 + Details
Name: | us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -URI http://asc.fasb.org/extlink&oid=64837297&loc=SL5624163-113959 + Details
Name: | us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration