XML 79 R63.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Dividend and Loan Restrictions (Details) | 12 Months Ended
--- | ---
Dec. 31, 2017
Equity [Abstract] |
Percentage of collateralized loans | 10.00%

X
- Definition Percentage of loan collateral balance. + References No definition available. + Details
Name: | stba_PercentageOfLoanCollateralBalance
Namespace Prefix: | stba_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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