v2.4.0.8

Investments in Non-Controlled Entities (Details) (USD $) | 3 Months Ended | 9 Months Ended |  | 3 Months Ended | 9 Months Ended |  | 9 Months Ended | 12 Months Ended | 3 Months Ended | 12 Months Ended | 9 Months Ended
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Sep. 30, 2014 | Sep. 30, 2013 | Sep. 30, 2014 | Sep. 30, 2013 | Sep. 30, 2014 Texas Frontera Llc [Member] bbl | Sep. 30, 2014 Osage Pipeline Co [Member] mi | Sep. 30, 2014 Double Eagle Pipeline Llc [Member] mi | Sep. 30, 2013 Double Eagle Pipeline Llc [Member] | Sep. 30, 2014 Double Eagle Pipeline Llc [Member] mi | Sep. 30, 2013 Double Eagle Pipeline Llc [Member] | Dec. 31, 2013 Double Eagle Pipeline Llc [Member] | Sep. 30, 2014 BridgeTex [Member] mi | Dec. 31, 2013 BridgeTex [Member] Sale of Emission Reduction Credits [Member] | Jun. 30, 2014 BridgeTex [Member] Sale of Emission Reduction Credits [Member] Income Statement [Member] | Jun. 30, 2014 BridgeTex [Member] Sale of Emission Reduction Credits [Member] Deferred Income [Member] | Dec. 31, 2013 BridgeTex [Member] Sale of Easement Rights [Member] | Dec. 31, 2013 BridgeTex [Member] Sale of Easement Rights [Member] Income Statement [Member] | Dec. 31, 2013 BridgeTex [Member] Sale of Easement Rights [Member] Deferred Income [Member] | Sep. 30, 2014 All Other Equity Investments [Member]
Schedule of Equity Method Investments [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest in equity method investment |  |  |  |  | 50.00% | 50.00% | 50.00% |  | 50.00% |  |  | 50.00% |  |  |  |  |  |  |
Storage Capacity |  |  |  |  | 1,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Pipeline Length |  |  |  |  |  | 135 | 195 |  | 195 |  |  | 450 |  |  |  |  |  |  |
Related Party Transaction, Other Revenues from Transactions with Related Party |  |  |  |  |  |  | $ 700,000 | $ 500,000 | $ 2,000,000 | $ 800,000 |  |  |  |  |  |  |  |  |
Accounts Receivable, Related Parties, Current |  |  |  |  |  |  | 300,000 |  | 300,000 |  | 200,000 |  |  |  |  |  |  |  |
Related Party Transaction, Amounts of Transaction |  |  |  |  |  |  |  |  |  |  |  |  | (4,800,000) | (2,400,000) | (2,400,000) | (1,400,000) | (700,000) | (700,000) |
Change in Equity Method Investments [Roll Forward] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Investments at December 31, 2013 |  |  | 360,852,000 |  |  |  |  |  |  |  |  | 246,875,000 |  |  |  |  |  |  | 113,977,000
Additional investment |  |  | 378,220,000 | 181,377,000 |  |  |  |  |  |  |  | 368,869,000 |  |  |  |  |  |  | 9,351,000
Other adjustment to investment |  |  | (650,000) |  |  |  |  |  |  |  |  | 0 |  |  |  |  |  |  | (650,000)
Proportionate share of earnings |  |  | 4,629,000 |  |  |  |  |  |  |  |  | 9,000 |  |  |  |  |  |  | 4,620,000
Amortization of excess investment and capitalized interest |  |  | (563,000) |  |  |  |  |  |  |  |  | 0 |  |  |  |  |  |  | (563,000)
Earnings of non-controlled entities | 1,645,000 | 2,375,000 | 4,066,000 | 5,162,000 |  |  |  |  |  |  |  | 9,000 |  |  |  |  |  |  | 4,057,000
Distributions of earnings from investments in non-controlled entities |  |  | 2,398,000 | 1,907,000 |  |  |  |  |  |  |  | 0 |  |  |  |  |  |  | 2,398,000
Distributions in excess of earnings of non-controlled entities |  |  | 3,918,000 | 604,000 |  |  |  |  |  |  |  | 0 |  |  |  |  |  |  | 3,918,000
Investments at September 30, 2014 | 736,172,000 |  | 736,172,000 |  |  |  |  |  |  |  |  | 615,753,000 |  |  |  |  |  |  | 120,419,000
Equity Method Investment, Summarized Financial Information, Current Assets | 86,446,000 |  | 86,446,000 |  |  |  |  |  |  |  |  | 67,027,000 |  |  |  |  |  |  | 19,419,000
Equity Method Investment, Summarized Financial Information, Noncurrent Assets | 1,241,788,000 |  | 1,241,788,000 |  |  |  |  |  |  |  |  | 1,043,761,000 |  |  |  |  |  |  | 198,027,000
Equity Method Investment, Summarized Financial Information, Assets | 1,328,234,000 |  | 1,328,234,000 |  |  |  |  |  |  |  |  | 1,110,788,000 |  |  |  |  |  |  | 217,446,000
Equity Method Investment, Summarized Financial Information, Current Liabilities | 110,547,000 |  | 110,547,000 |  |  |  |  |  |  |  |  | 99,808,000 |  |  |  |  |  |  | 10,739,000
Equity Method Investment, Summarized Financial Information, Noncurrent Liabilities | 99,000 |  | 99,000 |  |  |  |  |  |  |  |  | 0 |  |  |  |  |  |  | 99,000
Equity Method Investment, Summarized Financial Information, Liabilities | 110,646,000 |  | 110,646,000 |  |  |  |  |  |  |  |  | 99,808,000 |  |  |  |  |  |  | 10,838,000
Equity Method Investment Summarized Financial Information, Equity | 1,217,588,000 |  | 1,217,588,000 |  |  |  |  |  |  |  |  | 1,010,980,000 |  |  |  |  |  |  | 206,608,000
Equity Method Investment, Summarized Financial Information, Revenue |  |  | 27,774,000 |  |  |  |  |  |  |  |  | 428,000 |  |  |  |  |  |  | 27,346,000
Equity Method Investment, Summarized Financial Information, Net Income (Loss) |  |  | $ 9,258,000 |  |  |  |  |  |  |  |  | $ 17,000 |  |  |  |  |  |  | $ 9,241,000

X
- Definition Amortization of Excess Investment and Capitalized Interest + References No definition available. + Details
Name: | mmp_AmortizationofExcessInvestmentandCapitalizedInterest
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Other Adjustment to Equity Investment + References No definition available. + Details
Name: | mmp_OtherAdjustmenttoEquityInvestment
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Pipeline, length + References No definition available. + Details
Name: | mmp_PipelineLength
Namespace Prefix: | mmp_
Data Type: | num:lengthItemType
Balance Type: | na
Period Type: | instant

X
- Definition Proportionate Share of Equity Earnings + References No definition available. + Details
Name: | mmp_ProportionateShareOfEquityEarnings
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Storage Capacity + References No definition available. + Details
Name: | mmp_StorageCapacity
Namespace Prefix: | mmp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of receivables arising from transactions with related parties due within one year or the normal operating cycle, if longer. + References Reference 1: 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.(k)(1)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39622-107864 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 3 -Subparagraph a -Article 5 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph k -Subparagraph 1 -Article 4 Reference 7: 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.3(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AccountsReceivableRelatedPartiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents disclosure of the amount of dividends or other distributions received from unconsolidated subsidiaries, certain corporate joint ventures, and certain noncontrolled corporation; these investments are accounted for under the equity method of accounting. This element excludes distributions that constitute a return of investment, which are classified as investing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 13 -Article 5 + Details
Name: | us-gaap_EquityMethodInvestmentDividendsOrDistributions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized. + References Reference 1: 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.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=35755396&loc=d3e33749-111570 + Details
Name: | us-gaap_EquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of assets reported by an equity method investment of the entity. + References Reference 1: 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.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current assets reported by an equity method investment of the entity. + References Reference 1: 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.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current liabilities reported by an equity method investment of the entity. + References Reference 1: 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.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCurrentLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of equity, including noncontrolling interest, reported by an equity method investment of the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 4: 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.g) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of liabilities reported by an equity method investment of the entity. + References Reference 1: 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.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of net income (loss) reported by an equity method investment of the entity. + References Reference 1: 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.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of noncurrent assets reported by an equity method investment of the entity. + References Reference 1: 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.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of noncurrent liabilities reported by an equity method investment of the entity. + References Reference 1: 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.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNoncurrentLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of revenue from sale of goods and services reduced by sales returns, allowances, and discounts reported by an equity method investment of the entity. + References No definition available. + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 9 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=35755396&loc=d3e33749-111570 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.12) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 11 -Article 7 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Cash dividends or other distributions received from unconsolidated subsidiaries, certain corporate joint ventures, and certain noncontrolled corporations that are returns of capital. Excludes dividends or distributions from equity method investments classified as operating activities. + References No definition available. + Details
Name: | us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of transactions with related party during the financial reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39622-107864 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_RelatedPartyTransactionAmountsOfTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reflects the sum of all other revenue and income realized from sales and other transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party during the period. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration