XML 159 R143.htm IDEA: XBRL DOCUMENT
v3.3.1.900

Sale of Merchant Card Servicing Business - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2013 | Dec. 31, 2015 | Dec. 31, 2014 | Dec. 31, 2013
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] |  |  |  |
Proceeds from sale of business |  | $ 0 | $ 0 | $ 4,750
Gain on sale of business |  | $ 0 | $ 0 | $ 3,093
Merchant Card Servicing Business |  |  |  |
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] |  |  |  |
Proceeds from sale of business | $ 4,800 |  |  |
Termination fee | 1,700 |  |  |
Gain on sale of business | $ 3,100 |  |  |
Initial term of agreement |  | 10 years |  |

X
- Definition Initial term of agreement. + References No definition available. + Details
Name: | stba_InitialTermOfAgreement
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Gain (loss) from sale or disposal of an organization or integrated set of activities (for example, but not limited to, a partnership or corporation) engaged in providing a product or service in a commercial, industrial, or professional environment. + References No definition available. + Details
Name: | us-gaap_GainLossOnSaleOfBusiness
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The loss recognized on termination of a contract. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 912 -SubTopic 275 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=51673126&loc=d3e54681-109401 + Details
Name: | us-gaap_LossOnContractTermination
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow associated with the amount received from the sale of a portion of the company's business, for example a segment, division, branch or other business, during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=56944662&loc=d3e3179-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 + Details
Name: | us-gaap_ProceedsFromDivestitureOfBusinesses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=stba_MerchantCardServicingBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |