XML 37 R28.htm IDEA: XBRL DOCUMENT
v3.23.2

Basis of Presentation (Narrative) (Details) | 6 Months Ended
--- | ---
Jun. 30, 2023 item
Basis of Presentation [Abstract] |
Number of jurisdictions | 7

X
- Definition Number of jurisdictions + References No definition available. + Details
Name: | botj_NumberOfJurisdictions
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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