v2.4.0.6

Investments - Additional Information (Details) (USD $) In Thousands, unless otherwise specified | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2012 Investment Derivative | Sep. 30, 2011 | Sep. 30, 2012 Investment Derivative | Sep. 30, 2011 | Dec. 31, 2011
Investment [Line Items] |  |  |  |  |
Proceeds from the sale of investments in available-for-sale securities |  |  | $ 761,757 | $ 1,827,485 |
Number of securities account for gross unrealized loss | 96 |  | 96 |  |
Number of interest rate swaps | 2 |  | 2 |  |
Interest rate swaps liability | 4,973 |  | 4,973 |  |
Fair value of securities sold but not yet purchased | 57,198 |  | 57,198 |  | 55,942
Securities sold under agreements to repurchase, principal amount | 226,098 |  | 226,098 |  | 191,718
Securities sold under agreements to repurchase, interest expense | 341 | 361 | 676 | 836 |
Collateral pledged in support of the repurchase agreements | 244,064 |  | 244,064 |  |
Reverse repurchase agreement | 57,000 |  | 57,000 |  |
Securities received as collateral | 57,000 |  | 57,000 |  |
Minimum |  |  |  |  |
Investment [Line Items] |  |  |  |  |
Securities sold under agreements to repurchase, interest rates |  |  | 0.40% |  |
Maximum |  |  |  |  |
Investment [Line Items] |  |  |  |  |
Securities sold under agreements to repurchase, interest rates |  |  | 0.45% |  |
Securities sold under agreements to repurchase, at contract value |  |  |  |  |
Investment [Line Items] |  |  |  |  |
Securities sold under agreements to repurchase, accrued interest | 0 |  | 0 |  |
Corporate Bonds |  |  |  |  |
Investment [Line Items] |  |  |  |  |
Fair value of securities sold but not yet purchased | 57,155 |  | 57,155 |  |
Equity securities |  |  |  |  |
Investment [Line Items] |  |  |  |  |
Fair value of securities sold but not yet purchased | $ 43 |  | $ 43 |  |

X
- Definition Investments in Reverse Repurchase Agreements + References No definition available. + Details
Name: | afsi_InvestmentsInReverseRepurchaseAgreements
Namespace Prefix: | afsi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Securities Sold under Agreements to Repurchase, Interest Rate + References No definition available. + Details
Name: | afsi_SecuritiesSoldUnderAgreementsToRepurchaseInterestRate
Namespace Prefix: | afsi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | invest_InvestmentLineItems
Namespace Prefix: | invest_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure regarding factors used to determine that the impairment of securities not categorized as either held-to-maturity securities or trading securities (hence equal to available for sale securities) where cost exceeds fair value is not an other than temporary impairment (OTTI). This item contains disclosure of the number of investment positions in the available-for-sale investments determined to be temporarily impaired. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=6872113&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph b(3) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph b(3) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value of obligations incurred from short sales. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-BRD -Paragraph 38 -IssueDate 2006-05-01 -Chapter 4 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-BRD -Paragraph 19 -IssueDate 2006-05-01 -Chapter 7 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -Section 35 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6475908&loc=d3e42429-110968 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-BRD -Paragraph 2 -IssueDate 2006-05-01 -Chapter 7 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-BRD -Paragraph 40 -IssueDate 2006-05-01 -Chapter 7 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_FinancialInstrumentsSoldNotYetPurchasedAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Gross expenses on securities sold coupled with an agreement to repurchase the same from the same counterparty at a fixed or determinable price within a fixed or variable time period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.7) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher OTS -Name Federal Regulation (FR) -Number Title 12 -Section 563c.102 -Paragraph 7 -Chapter V -Subsection II -LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_InterestExpenseSecuritiesSoldUnderAgreementsToRepurchase
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 43 -Section A -Paragraph 7 -Chapter 3 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 20 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=6361293&loc=d3e7018-107765 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6361293&loc=d3e6935-107765 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Current Liabilities -URI http://asc.fasb.org/extlink&oid=6509677 + Details
Name: | us-gaap_InterestPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value as of the balance sheet date of interest rate derivative liabilities, which includes all such derivative instruments in hedging and nonhedging relationships that are recognized as liabilities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 107 -Paragraph 10 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_InterestRateDerivativeLiabilitiesAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of interest rate derivative instruments held by the entity at the reporting date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5579245-113959 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5580258-113959 + Details
Name: | us-gaap_NumberOfInterestRateDerivativesHeld
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow associated with the sale of debt and equity securities classified as available-for-sale securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 16 -Subparagraph b -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26853-111562 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 16 -Subparagraph a -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 18 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 15 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the assets received as collateral against securities loaned to other broker-dealers. Borrowers of securities generally are required to provide collateral to the lenders of securities, commonly cash but sometimes other securities or standby letters of credit, with a value slightly higher than that of the securities borrowed. In instances where the entity is permitted to sell or re-pledge these securities, the entity reports the fair value of the collateral received and the related obligation to return the collateral as a liability. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=7523297&loc=d3e113969-111729 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-BRD -Paragraph 49 -IssueDate 2006-05-01 -Chapter 4 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 140 -Paragraph 17 -Subparagraph a(3) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 140 -Paragraph 91 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 140 -Paragraph 15 -Subparagraph a, b, c, d -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 10 -Section 05 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=7517284&loc=d3e93645-111703 + Details
Name: | us-gaap_SecuritiesReceivedAsCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of securities that an institution sells and agrees to repurchase (the identical or substantially the same securities) as a seller-borrower at a specified date for a specified price, also known as a repurchase agreement, or repo. Most repos involve obligations of the federal government or its agencies, but other financial instruments, such as commercial paper, banker's acceptances, and negotiable certificates of deposit, are sometimes used in repos. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 140 -Paragraph 100 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(m)(1)(a)(i)) -URI http://asc.fasb.org/extlink&oid=6881521&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.13(1)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-BRD -Paragraph 36 -IssueDate 2006-05-01 -Chapter 4 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 13 -Subparagraph 1 -Article 9 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=7472769&loc=d3e9760-107771 + Details
Name: | us-gaap_SecuritiesSoldUnderAgreementsToRepurchase
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value of financial instrument held by the entity for its own account (proprietary securities) for trading or investment purposes that are carried at fair value and pledged to counterparties as collateral for financing transactions. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6467456&loc=d3e113888-111728 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -URI http://asc.fasb.org/extlink&oid=7523297&loc=SL6224234-111729 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS140-4/FIN46(R)-8 -Paragraph B6 -Subparagraph b -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 140 -Paragraph 17 -Subparagraph a(2) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. + Details
Name: | us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant