XML 46 R36.htm IDEA: XBRL DOCUMENT
v3.21.2

Securities (Narrative) (Details) | 6 Months Ended |
--- | --- | ---
Jun. 30, 2021 USD ($) security | Jun. 30, 2020 USD ($) | Mar. 31, 2021 USD ($)
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |
Securities evaluated for other than temporary impairment | 35 |  |
Available-for-sale Securities, Gross Realized Gains | $ |  | $ 644,000 |
Held-to-maturity securities sales | $ |  |  | $ 0
Sales of available for sale securities | $ | $ 0 | $ 17,813,000 |
US Agency Obligations [Member] |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |
Securities evaluated for other than temporary impairment | 19 |  |
S&P Rated AAA [Member] |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |
Securities evaluated for other than temporary impairment | 13 |  |
S&P Rated AA [Member] |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |
Securities evaluated for other than temporary impairment | 22 |  |

X
- Definition Number of securities evaluated for other than temporary impairment. + References No definition available. + Details
Name: | botj_NumberOfSecuritiesEvaluatedForOtherThanTemporaryImpairment
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] + References No definition available. + Details
Name: | botj_NumberOfSecuritiesEvaluatedForOtherThanTemporaryImpairmentLineItems
Namespace Prefix: | botj_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of debt and equity financial instruments classified as either held-to-maturity or available-for-sale. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedGains
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow associated with the sale of debt and equity securities classified as available-for-sale securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=121553693&loc=d3e26853-111562 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=srt_StandardPoorsAAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=srt_StandardPoorsAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |