XML 55 R45.htm IDEA: XBRL DOCUMENT
v3.5.0.2

Securities Available-for-Sale - Unrealized Gains (Losses) (Details) - USD ($) $ in Thousands | Jun. 30, 2016 | Dec. 31, 2015
--- | --- | ---
Investments, Debt and Equity Securities [Abstract] |  |
Total unrealized gains/(losses) on securities available for sale, Gross Unrealized Gains | $ 23,851 | $ 11,897
Total unrealized gains/(losses) on securities available for sale, Gross Unrealized Losses | (1) | (1,716)
Total unrealized gains/(losses) on securities available for sale, Net Unrealized Gains/(Losses) | 23,850 | 10,181
Income tax expense/(benefit), Gross Unrealized Gains | 8,347 | 4,164
Income tax expense/(benefit), Gross Unrealized Losses | 0 | (601)
Income tax expense/(benefit), Net Unrealized Gains/(Losses) | 8,347 | 3,563
Net unrealized gains/(losses), net of tax included in accumulated other comprehensive income/(loss), Gross Unrealized Gains | 15,504 | 7,733
Net unrealized gains/(losses), net of tax included in accumulated other comprehensive income/(loss), Gross Unrealized Losses | (1) | (1,115)
Net unrealized gains/(losses), net of tax included in accumulated other comprehensive income/(loss), Net Unrealized Gains/(Losses) | $ 15,503 | $ 6,618

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