XML 47 R37.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Securities (Narrative) (Details) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2018 USD ($) security | Mar. 31, 2017 USD ($)
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 57 |
Available-for-sale Securities, Gross Realized Gains | $ | $ 0 | $ 10
Available-for-sale Securities, Gross Realized Losses | $ | $ 0 | $ 0
US Agency Obligations [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 33 |
Municipals [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 19 |
Corporates [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 5 |
S&P Rated AAA [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 12 |
S&P Rated AA [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 42 |
S&P Rated A [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 3 |

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 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 Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedGains
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the gross loss realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_USStatesAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditRatingStandardPoorsAxis=us-gaap_StandardPoorsAAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditRatingStandardPoorsAxis=us-gaap_StandardPoorsAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditRatingStandardPoorsAxis=us-gaap_StandardPoorsARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |