<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.4.0.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>451</ContextCount>
  <ElementCount>307</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>47</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>101 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>102 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>103 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>104 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>105 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>106 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>107 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>108 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/BasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>109 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>110 - Disclosure - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/InvestmentSecurities</Role>
      <ShortName>Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>111 - Disclosure - Loans and Allowance for Credit Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLosses</Role>
      <ShortName>Loans and Allowance for Credit Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>112 - Disclosure - Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/OtherAssets</Role>
      <ShortName>Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>113 - Disclosure - Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/OtherLiabilities</Role>
      <ShortName>Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>114 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/StockbasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>115 - Disclosure - Accumulated Other Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/AccumulatedOtherComprehensiveIncome</Role>
      <ShortName>Accumulated Other Comprehensive Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>116 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>117 - Disclosure - Financial Instruments with Off-Balance Sheet Risk</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/FinancialInstrumentsWithOffbalanceSheetRisk</Role>
      <ShortName>Financial Instruments with Off-Balance Sheet Risk</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>118 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/SegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>119 - Disclosure - Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/BasisOfPresentationPolicies</Role>
      <ShortName>Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>120 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/EarningsPerShare</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>121 - Disclosure - Investment Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/InvestmentSecuritiesTables</Role>
      <ShortName>Investment Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/InvestmentSecurities</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>122 - Disclosure - Loans and Allowance for Credit Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</Role>
      <ShortName>Loans and Allowance for Credit Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLosses</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>123 - Disclosure - Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/OtherAssetsTables</Role>
      <ShortName>Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/OtherAssets</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>124 - Disclosure - Other Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/OtherLiabilitiesTables</Role>
      <ShortName>Other Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/OtherLiabilities</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>125 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/StockbasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/StockbasedCompensation</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>126 - Disclosure - Accumulated Other Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/AccumulatedOtherComprehensiveIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/AccumulatedOtherComprehensiveIncome</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>127 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/FairValueMeasurements</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>128 - Disclosure - Financial Instruments with Off-Balance Sheet Risk (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/FinancialInstrumentsWithOffbalanceSheetRiskTables</Role>
      <ShortName>Financial Instruments with Off-Balance Sheet Risk (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/FinancialInstrumentsWithOffbalanceSheetRisk</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>129 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/SegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.shbi.com/role/SegmentReporting</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>130 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/EarningsPerShareTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>131 - Disclosure - Investment Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/InvestmentSecuritiesDetails</Role>
      <ShortName>Investment Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/InvestmentSecuritiesTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>132 - Disclosure - Investment Securities (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/InvestmentSecuritiesDetails1</Role>
      <ShortName>Investment Securities (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/InvestmentSecuritiesTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>133 - Disclosure - Investment Securities (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/InvestmentSecuritiesDetails2</Role>
      <ShortName>Investment Securities (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/InvestmentSecuritiesTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>134 - Disclosure - Loans and Allowance for Credit Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>135 - Disclosure - Loans and Allowance for Credit Losses (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails1</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>136 - Disclosure - Loans and Allowance for Credit Losses (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails2</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>137 - Disclosure - Loans and Allowance for Credit Losses (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails3</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>138 - Disclosure - Loans and Allowance for Credit Losses (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails4</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>139 - Disclosure - Loans and Allowance for Credit Losses (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails5</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details 5)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>140 - Disclosure - Loans and Allowance for Credit Losses (Details 6)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails6</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details 6)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>141 - Disclosure - Loans and Allowance for Credit Losses (Details 7)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails7</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details 7)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>142 - Disclosure - Loans and Allowance for Credit Losses (Details 8)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetails8</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details 8)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>143 - Disclosure - Loans and Allowance for Credit Losses (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesDetailsTextual</Role>
      <ShortName>Loans and Allowance for Credit Losses (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/LoansAndAllowanceForCreditLossesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>144 - Disclosure - Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/OtherAssetsDetails</Role>
      <ShortName>Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/OtherAssetsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>145 - Disclosure - Other Assets (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/OtherAssetsDetails1</Role>
      <ShortName>Other Assets (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/OtherAssetsTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>146 - Disclosure - Other Assets (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/OtherAssetsDetailsTextual</Role>
      <ShortName>Other Assets (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/OtherAssetsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>147 - Disclosure - Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/OtherLiabilitiesDetails</Role>
      <ShortName>Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/OtherLiabilitiesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>148 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/StockbasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/StockbasedCompensationTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>149 - Disclosure - Stock-Based Compensation (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/StockbasedCompensationDetails1</Role>
      <ShortName>Stock-Based Compensation (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/StockbasedCompensationTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>150 - Disclosure - Stock-Based Compensation (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/StockbasedCompensationDetails2</Role>
      <ShortName>Stock-Based Compensation (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/StockbasedCompensationTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>151 - Disclosure - Stock-Based Compensation (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/StockbasedCompensationDetails3</Role>
      <ShortName>Stock-Based Compensation (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/StockbasedCompensationTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>152 - Disclosure - Stock-Based Compensation (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/StockbasedCompensationDetailsTextual</Role>
      <ShortName>Stock-Based Compensation (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/StockbasedCompensationTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>153 - Disclosure - Accumulated Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/AccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/AccumulatedOtherComprehensiveIncomeTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>154 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>155 - Disclosure - Fair Value Measurements (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/FairValueMeasurementsDetails1</Role>
      <ShortName>Fair Value Measurements (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>156 - Disclosure - Fair Value Measurements (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/FairValueMeasurementsDetails2</Role>
      <ShortName>Fair Value Measurements (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>157 - Disclosure - Financial Instruments with Off-Balance Sheet Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/FinancialInstrumentsWithOffbalanceSheetRiskDetails</Role>
      <ShortName>Financial Instruments with Off-Balance Sheet Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/FinancialInstrumentsWithOffbalanceSheetRiskTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="shbi-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>158 - Disclosure - Segment Reporting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.shbi.com/role/SegmentReportingDetails</Role>
      <ShortName>Segment Reporting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.shbi.com/role/SegmentReportingTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>shbi-20160331.xml</File>
    <File>shbi-20160331.xsd</File>
    <File>shbi-20160331_cal.xml</File>
    <File>shbi-20160331_def.xml</File>
    <File>shbi-20160331_lab.xml</File>
    <File>shbi-20160331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
