XML 133 R117.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Employee Benefits - Accumulated Other Comprehensive Income (Loss) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016
Retirement Benefits [Abstract] |  |
Prior service credit | $ 0 | $ 0
Net actuarial loss | (27,825) | (26,013)
Total (Before Tax Effects) | $ (27,825) | $ (26,013)

X
- Definition Other comprehensive income loss qualified pension plan adjustment before tax. + References No definition available. + Details
Name: | stba_OtherComprehensiveIncomeLossQualifiedPensionPlanAdjustmentBeforeTax
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount, before tax, after reclassification adjustment, of increase (decrease) in accumulated other comprehensive income from gain (loss) of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=82843861&loc=d3e1928-114920 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669646-108580 Reference 3: 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=84228862&loc=d3e637-108580 + Details
Name: | us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, before tax, after reclassification adjustment, of (increase) decrease in accumulated other comprehensive income from prior service cost (credit) of defined benefit plan. + References Reference 1: 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=84228862&loc=d3e637-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (j) -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669646-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=82843861&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeNetPriorServiceCostCreditBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration