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

Comprehensive Income and Accumulated Other Comprehensive Income - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017
Accumulated Other Comprehensive Income Loss Net Of Tax [Abstract] |  |  |  |
Comprehensive income | $ 17,583 | $ 17,194 | $ 45,013 | $ 49,107
Comprehensive income tax rate |  |  | 21.00% | 35.00%

X
- Definition Other comprehensive income loss available for sale securities tax rate. + References No definition available. + Details
Name: | amsf_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTaxRate
Namespace Prefix: | amsf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=114867106&loc=d3e557-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=114867106&loc=SL7669625-108580 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114867106&loc=SL7669619-108580 + Details
Name: | us-gaap_ComprehensiveIncomeNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration