XML 14 R1.htm IDEA: XBRL DOCUMENT v3.20.2
Document and Entity Information - shares
3 Months Ended
Jun. 30, 2020
Jul. 16, 2020
Document and Entity Information    
Document Type 10-Q  
Document Quarterly Report true  
Document Transition Report false  
Document Period End Date Jun. 30, 2020  
Entity File Number 001-09463  
Entity Registrant Name RLI Corp  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 37-0889946  
Entity Address, Address Line One 9025 North Lindbergh Drive  
Entity Address, City or Town Peoria  
Entity Address, State or Province IL  
Entity Address, Postal Zip Code 61615  
City Area Code 309  
Local Phone Number 692-1000  
Title of 12(b) Security Common Stock $0.01 par value  
Trading Symbol RLI  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   44,952,602
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2020  
Document Fiscal Period Focus Q2  
Entity Central Index Key 0000084246  
Amendment Flag false