XML 49 R39.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Securities Available-for-Sale - Unrealized Gains (Losses) (Details) - USD ($) $ in Thousands | Mar. 31, 2017 | Dec. 31, 2016
--- | --- | ---
Investments, Debt and Equity Securities [Abstract] |  |
Total unrealized gains/(losses) on securities available for sale, Gross Unrealized Gains | $ 11,824 | $ 10,754
Total unrealized gains/(losses) on securities available for sale, Gross Unrealized Losses | (3,250) | (3,472)
Total unrealized gains/(losses) on securities available for sale, Net Unrealized Gains/(Losses) | 8,574 | 7,282
Income tax expense/(benefit), Gross Unrealized Gains | (4,152) | (3,776)
Income tax expense/(benefit), Gross Unrealized Losses | 1,141 | 1,219
Income tax expense/(benefit), Net Unrealized Gains/(Losses) | (3,011) | (2,557)
Net unrealized gains/(losses), net of tax included in accumulated other comprehensive income/(loss), Gross Unrealized Gains | 7,672 | 6,978
Net unrealized gains/(losses), net of tax included in accumulated other comprehensive income/(loss), Gross Unrealized Losses | (2,109) | (2,253)
Net unrealized gains/(losses), net of tax included in accumulated other comprehensive income/(loss), Net Unrealized Gains/(Losses) | $ 5,563 | $ 4,725

X
- Definition Accumulated Other Comprehensive Income Loss Available For Sale Securities Gross Unrealized Gain Adjustment Net Of Tax + References No definition available. + Details
Name: | stba_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesGrossUnrealizedGainAdjustmentNetOfTax
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Accumulated Other Comprehensive Income Loss Available For Sale Securities Gross Unrealized Gain Adjustment, Tax Expense (Benefit) + References No definition available. + Details
Name: | stba_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesGrossUnrealizedGainAdjustmentTaxExpenseBenefit
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Accumulated Other Comprehensive Income Loss Available For Sale Securities Gross Unrealized Loss Adjustment, Tax Expense (Benefit) + References No definition available. + Details
Name: | stba_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesGrossUnrealizedLossAdjustmentTaxExpenseBenefit
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Accumulated Other Comprehensive Income Loss Available For Sale Securities Gross Unrealized Losses Adjustment Net Of Tax + References No definition available. + Details
Name: | stba_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesGrossUnrealizedLossesAdjustmentNetOfTax
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Accumulated Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Tax Expense (Benefit) + References No definition available. + Details
Name: | stba_AccumulatedOtherComprehensiveIncomeLossAvailableforsaleSecuritiesAdjustmentTaxExpenseBenefit
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Accumulated appreciation or loss, net of tax, in value of the total of available-for-sale securities at the end of an accounting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=66004124&loc=SL7669686-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=66004124&loc=d3e637-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=66004124&loc=d3e681-108580 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=66004124&loc=SL7669646-108580 + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before tax of unrealized gain in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before tax of unrealized gain (loss) in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before tax of unrealized loss in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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