XML 41 R31.htm IDEA: XBRL DOCUMENT
v3.22.2

Investments - Disposition of Fixed Income and Equity Securities (Details) - USD ($) $ in Thousands | 6 Months Ended
--- | ---
Jun. 30, 2022 | Jun. 30, 2021
SALES | Equity Securities |  |
Summary of the disposition of fixed income and equity securities |  |
Proceeds From Sales | $ 53,525 | $ 152,170
Gross Realized Gains | 19,244 | 50,656
Gross Realized Losses | (15) | (1,784)
Net Realized Gain (Loss) | 19,229 | 48,872
SALES | Fixed Income Securities | Available for sale securities |  |
Summary of the disposition of fixed income and equity securities |  |
Proceeds From Sales | 19,390 | 31,928
Gross Realized Gains | 215 | 1,252
Gross Realized Losses | (432) | (46)
Net Realized Gain (Loss) | (217) | 1,206
Calls And Maturities Of Marketable Securities | Fixed Income Securities | Available for sale securities |  |
Summary of the disposition of fixed income and equity securities |  |
Proceeds From Sales | 137,499 | 204,960
Gross Realized Gains | 76 | 406
Gross Realized Losses | (55) | (63)
Net Realized Gain (Loss) | $ 21 | $ 343

X
- Definition The difference between the carrying value and the sale price of an investment. A gain would be recognized when the sale price of the investment is greater than the carrying value of the investment. This element refers to the Gain included in earnings and not to the cash proceeds of the sale. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(a)) -URI http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(9)(a)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(7)(c)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_GainOnSaleOfInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The difference between the carrying value and the sale price of an investment. A loss would be recognized when the sale price of the investment is less than the carrying value of the investment. This element refers to the Loss included in earnings and not to the cash proceeds of the sale. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(9)(a)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(a)) -URI http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(b)(7)(c)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_LossOnSaleOfInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized gain (loss) on investment in marketable security, excluding other-than-temporary impairment (OTTI). + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow associated with the sale, maturity and collection of all investments such as debt, security and so forth during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | rli_TypeOfTransactionAxis=rli_SalesOfMarketableSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_EquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=us-gaap_AvailableforsaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | rli_TypeOfTransactionAxis=rli_CallsAndMaturitiesOfMarketableSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |