XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Investments - Realized gains and losses (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2018 | Jun. 30, 2017 | Jun. 30, 2018 | Jun. 30, 2017
Available-for-sale Securities [Abstract] |  |  |  |
Proceeds from sales or calls | $ 62,301 | $ 50,085 | $ 131,617 | $ 75,007
Gross realized gains from sales or calls | 249 | 2,659 | 1,316 | 3,391
Gross realized losses from sales or calls | $ (167) | $ (502) | $ (419) | $ (752)

X
- References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesAbstract
Namespace Prefix: | us-gaap_
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=82897076&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedGains
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total amount of proceeds received for the sale of securities, categorized neither as held-to-maturity nor trading securities, during the reporting period. + 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=82897076&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedGainsLossesSaleProceeds
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=82897076&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration