XML 89 R73.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Securities Available-for-Sale - Unrealized Gains (Losses) (Details) - USD ($) $ in Thousands | Dec. 31, 2016 | Dec. 31, 2015
--- | --- | ---
Investments, Debt and Equity Securities [Abstract] |  |
Total unrealized gains/(losses) on securities available for sale, Gross Unrealized Gains | $ 10,754 | $ 11,897
Total unrealized gains/(losses) on securities available for sale, Gross Unrealized Losses | (3,472) | (1,716)
Total unrealized gains/(losses) on securities available for sale, Net Unrealized Gains | 7,282 | 10,181
Income tax expense/(benefit), Gross Unrealized Gains | (3,776) | (4,164)
Income tax expense/(benefit), Gross Unrealized Losses | 1,219 | 601
Income tax expense/(benefit), Net Unrealized Gains | (2,557) | (3,563)
Net unrealized gains/(losses), net of tax included in accumulated other comprehensive income/(loss) | 6,978 | 7,733
Net unrealized gains/(losses), net of tax included in accumulated other comprehensive income/(loss) | (2,253) | (1,115)
Accumulated Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax | $ 4,725 | $ 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