XML 171 R123.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Income Taxes - Additional Information (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Sep. 30, 2018 | Dec. 31, 2017 | Dec. 31, 2019 | Dec. 31, 2018
Schedule Of Income Taxes [Line Items] |  |  |  |
Income tax expense due to re-measurement of deferred tax assets and liabilities as result of changes in federal tax rate |  | $ 13,400 |  |
Income tax benefit | $ 3,000 |  |  |
Valuation allowance related to gross deferred tax assets |  |  | $ 5,134 | $ 4,573
Deferred tax assets, net operating loss carry forwards |  |  | $ 51,400 |
Minimum |  |  |  |
Schedule Of Income Taxes [Line Items] |  |  |  |
Deferred tax assets, net operating loss carry forwards, expiration date |  |  | 2020 |
Maximum |  |  |  |
Schedule Of Income Taxes [Line Items] |  |  |  |
Deferred tax assets, net operating loss carry forwards, expiration date |  |  | 2040 |
PENNSYLVANIA |  |  |  |
Schedule Of Income Taxes [Line Items] |  |  |  |
Valuation allowance related to gross deferred tax assets |  |  | $ 5,100 | $ 4,600

X
- Definition Operating loss carry forward expiration year. + References No definition available. + Details
Name: | stba_OperatingLossCarryForwardExpirationYear
Namespace Prefix: | stba_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule Of Income Taxes [Line Items] + References No definition available. + Details
Name: | stba_ScheduleOfIncomeTaxesLineItems
Namespace Prefix: | stba_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32621-109319 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32632-109319 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=117330534&loc=d3e28680-109314 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of reasonable estimate for income tax expense for which accounting for tax effect for remeasurement of deferred tax asset from change in tax rate is incomplete pursuant to Tax Cuts and Jobs Act. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 2A -Subparagraph (SAB Topic 5.EE.Q2(b)) -URI http://asc.fasb.org/extlink&oid=116825942&loc=SL116722634-122817 + Details
Name: | us-gaap_TaxCutsAndJobsActOf2017IncompleteAccountingChangeInTaxRateDeferredTaxAssetProvisionalIncomeTaxExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income tax expense (benefit) for measurement period adjustment from accounting for tax effect pursuant to Tax Cuts and Jobs Act. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 2A -Subparagraph (SAB Topic 5.EE.Q2(f)) -URI http://asc.fasb.org/extlink&oid=116825942&loc=SL116722634-122817 + Details
Name: | us-gaap_TaxCutsAndJobsActOf2017MeasurementPeriodAdjustmentIncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=stpr_PA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |