XML 24 R32.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Comprehensive Income and Accumulated Other Comprehensive Income - Additional Information (Detail) (USD $) In Thousands, unless otherwise specified | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2014 | Sep. 30, 2013 | Sep. 30, 2014 | Sep. 30, 2013
Accumulated Other Comprehensive Income (Loss), Net of Tax [Abstract] |  |  |  |
Comprehensive income | $ 13,596 | $ 8,654 | $ 43,174 | $ 20,544
Comprehensive income tax rate |  |  | 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
- 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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Other Comprehensive Income -URI http://asc.fasb.org/extlink&oid=6519514 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Comprehensive Income -URI http://asc.fasb.org/extlink&oid=35737396 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=36458714&loc=d3e557-108580 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Net Income -URI http://asc.fasb.org/extlink&oid=6518256 + Details
Name: | us-gaap_ComprehensiveIncomeNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration