XML 75 R59.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Summary of Significant Accounting Policies - Additional Information (Details) | 12 Months Ended |  |  |
--- | --- | --- | --- | ---
Dec. 31, 2016 USD ($) segment entity subsidiary | Mar. 04, 2016 USD ($) | Dec. 31, 2015 USD ($) | Mar. 04, 2015 USD ($)
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Number of subsidiary | subsidiary | 3 |  |  |
Percentage of outstanding common stock of investees accounted for using equity method of accounting | 100.00% |  |  |
Prior period reclassification adjustment | $ 0 |  |  |
Number of entities non-banking activities | entity | 5 |  |  |
Period for satisfactory payment of TDRs | 6 months |  |  |
Evaluation for impairment of substandard and nonaccrual commercial loans | $ 500,000 |  |  |
Number of reporting units | segment | 3 |  |  |
Goodwill | $ 291,670,000 |  | $ 291,764,000 |
Amortization period of intangible assets | 10 years |  |  |
Percentage of amount recognized of tax benefit | 50.00% |  |  |
Community Banking |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Goodwill | $ 287,400,000 |  |  |
Percentage of goodwill to reporting units | 99.00% |  |  |
Insurance |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Goodwill | $ 4,200,000 |  |  |
Percentage of goodwill to reporting units | 1.00% |  |  |
Interest Rate Lock Commitments |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Period for interest rate lock commitment | 60 days |  |  |
Integrity Bancshares, Inc. |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Goodwill |  | $ 115,850,000 |  | $ 115,900,000
Common Wealth Trust Life Insurance Company |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Percentage of outstanding common stock of investees accounted for using equity method of accounting | 50.00% |  |  |
Minimum |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Percentage of outstanding common stock of investees accounted for using equity method of accounting | 20.00% |  |  |
Maximum |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Percentage of outstanding common stock of investees accounted for using equity method of accounting | 50.00% |  |  |
Core Deposits And Customers Lists | Minimum |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Acquired finite-lived intangibles, weighted average life | 10 years |  |  |
Core Deposits And Customers Lists | Maximum |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Acquired finite-lived intangibles, weighted average life | 20 years |  |  |
Corporate Joint Venture [Member] |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Percentage of outstanding common stock of investees accounted for using equity method of accounting | 50.00% |  |  |

X
- Definition Goodwill allocated percentage. + References No definition available. + Details
Name: | stba_GoodwillAllocatedPercentage
Namespace Prefix: | stba_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum amount over which evaluation for impairment of substandard and nonaccrual commercial loans are made. + References No definition available. + Details
Name: | stba_MinimumAmountOverWhichEvaluationForImpairmentOfSubstandardAndNonaccrualCommercialLoansAreMade
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Minimum period used for satisfactory payment performance under condition. + References No definition available. + Details
Name: | stba_MinimumPeriodUsedForSatisfactoryPaymentPerformanceUnderCondition
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of subsidiaries acquired through business combination. + References No definition available. + Details
Name: | stba_NumberOfSubsidiaries
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Entities Non-Banking Activities + References No definition available. + Details
Name: | stba_NumberofEntitiesNonBankingActivities
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage greater than threshold of income tax examination minimum likelihood of tax benefits being realized upon settlement. + References No definition available. + Details
Name: | stba_PercentageGreaterThanThresholdOfIncomeTaxExaminationMinimumLikelihoodOfTaxBenefitsBeingRealizedUponSettlement
Namespace Prefix: | stba_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Summary Of Significant Accounting Policies [Line Items] + References No definition available. + Details
Name: | stba_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66011266&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13770-109266 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=64834752&loc=SL49117168-202975 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Period covered by the long-term purchase commitment, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LongtermPurchaseCommitmentPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of reporting units tested for impairment of goodwill. A reporting unit is an operating segment or one level below an operating segment. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Reporting Unit -URI http://asc.fasb.org/extlink&oid=6523643 + Details
Name: | us-gaap_NumberOfReportingUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of a reclassification adjustment made to prior period financial statement amounts. + References No definition available. + Details
Name: | us-gaap_PriorPeriodReclassificationAdjustment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=stba_CommunityBankingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=stba_InsuranceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_InterestRateLockCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=stba_IntegrityBancsharesInc.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=stba_CommonWealthTrustLifeInsuranceCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=stba_CoreDepositsAndCustomersListsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateJointVentureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |