2.4.0.82401403 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Textuals (Details)truefalsefalse1falseUSDfalsefalse$D2013Q2QTDhttp://www.sec.gov/CIK0001284807duration2013-03-31T00:00:002013-06-29T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$D2012Q2QTDhttp://www.sec.gov/CIK0001284807duration2012-04-01T00:00:002012-06-30T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$D2013Q2YTDhttp://www.sec.gov/CIK0001284807duration2013-01-01T00:00:002013-06-29T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$D2012Q2YTDhttp://www.sec.gov/CIK0001284807duration2012-01-01T00:00:002012-06-30T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDfalsefalse$D2013Q1Apr01Mar30http://www.sec.gov/CIK0001284807duration2012-04-01T00:00:002013-03-30T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6falseUSDfalsefalse$D2012Q4YTDhttp://www.sec.gov/CIK0001284807duration2012-01-01T00:00:002012-12-31T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$7falseUSDfalsefalse$I2013Q2IPOhttp://www.sec.gov/CIK0001284807instant2013-05-23T00:00:000001-01-01T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_SharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse4896249448962494falsefalsefalsexbrli:sharesItemTypesharesNumber of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
false13false4us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6712038967120389falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse6712038967120389falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse100100falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-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.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=6959260&loc=d3e187085-122770
Reference 5: 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.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false14false4pgem_Initialpublicofferingcostspgem_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2352700023527000USD$falsetruefalse2truefalsefalse00USD$falsetruefalse3truefalsefalse2352700023527000USD$falsetruefalse4truefalsefalse00USD$falsetruefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryinitial public offering costsNo definition available.false25false4pgem_Sharesissuedinintitialpublicofferingpgem_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse4896249448962494USD$falsefalsefalsexbrli:monetaryItemTypemonetaryshares issued in intitial public offeringNo definition available.false26false4pgem_Mergerofparentequitypgem_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse9210000092100000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryMerger of parent equityNo definition available.false27false4us-gaap_ProceedsFromIssuanceOfCommonStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse353407000353407000USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the additional capital contribution to the entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-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 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3255-108585
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 19
-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.
false28false2us-gaap_AllowanceForDoubtfulAccountsReceivableCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse48490004849000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse48490004849000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse35840003584000USD$falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryA valuation allowance for trade and other receivables due to an Entity within one year (or the normal operating cycle, whichever is longer) that are expected to be uncollectible.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 4
-Article 5
Reference 3: 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.4)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false29false2us-gaap_SaleOfStockPricePerShareus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse21.0021.00USD$falsetruefalsenum:perShareItemTypedecimalPer share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 5
-Section H
false310false2us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse14000001400000falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse700000700000falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesSecurities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Antidilution
-URI http://asc.fasb.org/extlink&oid=6505113
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Diluted Earnings Per Share
-URI http://asc.fasb.org/extlink&oid=6510752
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Contingent Stock Agreement
-URI http://asc.fasb.org/extlink&oid=6508534
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph c
-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 128
-Paragraph 13, 14
-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 Emerging Issues Task Force (EITF)
-Number 07-4
-Paragraph 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 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
-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.
false111false2us-gaap_SignificantPurchaseCommitmentRemainingMinimumAmountCommittedus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2470000024700000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse2470000024700000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe floor amount as of the balance sheet date that the entity must expend to satisfy the terms of disclosed arrangements (excluding long-term commitments) in which the entity has agreed to expend funds to procure goods or services from one or more suppliers, other than under a long-term purchase commitment or an unconditional purchase obligation.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.25)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 25
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 7
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 17
-Article 9
Reference 5: 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.17)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.(a)(19))
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
false212false2us-gaap_InventoryValuationReservesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse76000007600000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse76000007600000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse65000006500000USD$falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the valuation account as of the balance sheet date which reduces the carrying amount of inventory to net realizable value; takes into consideration such factors as market value, excessive quantities based on expected sales, technological obsolescence, and shrinkage. May also provide for estimated product returns or price concessions pertaining to product cost.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.6(a))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 6
-Subparagraph a
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Section A
-Paragraph 9
-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 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 330
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 5.BB)
-URI http://asc.fasb.org/extlink&oid=6386940&loc=d3e100047-122729
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 235
-SubTopic 10
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-09)
-URI http://asc.fasb.org/extlink&oid=6881521&loc=d3e24092-122690
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 330
-SubTopic 10
-Section 35
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6386567&loc=d3e3927-108312
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Paragraph 14
-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 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Paragraph 8, 9, 14
-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 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 09
-Article 12
false213false2us-gaap_InventoryWriteDownus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse11000001100000USD$falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCharge to cost of goods sold that represents the reduction of the carrying amount of inventory, generally attributable to obsolescence or market conditions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 28
-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 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.2)
-URI http://asc.fasb.org/extlink&oid=6880815&loc=d3e20235-122688
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 330
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6386783&loc=d3e4542-108314
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Concepts (CON)
-Number 6
-Paragraph 86
-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 Accounting Research Bulletin (ARB)
-Number 43
-Section 7
-Paragraph 14
-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.
false214false2pgem_DebtIssuanceCostNetOfAccumulatedAmortizationpgem_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1880000018800000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1880000018800000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse2360000023600000USD$falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of debt issuance costs including tender premium.No definition available.false215false2us-gaap_AmortizationOfFinancingCostsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10000001000000USD$falsefalsefalse2truefalsefalse13000001300000USD$falsefalsefalse3truefalsefalse19000001900000USD$falsefalsefalse4truefalsefalse25000002500000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of noncash expense included in interest expense to issue debt and obtain financing associated with the related debt instruments. Alternate captions include noncash interest expense.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3602-108585
Reference 2: 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.8)
-URI http://asc.fasb.org/extlink&oid=6880815&loc=d3e20235-122688
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 8
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 8
-Article 9
false216false2us-gaap_ForeignCurrencyTransactionGainLossRealizedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-300000-300000USD$falsefalsefalse2truefalsefalse100000100000USD$falsefalsefalse3truefalsefalse-379000-379000USD$falsefalsefalse4truefalsefalse164000164000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe net realized foreign currency transaction gain (loss) (pretax) included in determining net income from transactions that were settled as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 20
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450189&loc=d3e30690-110894
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 20
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450222&loc=d3e30840-110895
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 20
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6450189&loc=d3e30700-110894
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 52
-Paragraph 30
-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.
false217false2us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-2215000-2215000USD$falsefalsefalse2truefalsefalse-693000-693000USD$falsefalsefalse3truefalsefalse-2983000-2983000USD$falsefalsefalse4truefalsefalse-29000-29000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse800000800000USD$falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNet of tax and reclassification adjustments of the change in the balance sheet adjustment that results from the process of translating subsidiary financial statements and foreign equity investments into the reporting currency of the reporting entity. Also includes the following: gain (loss) on foreign currency forward exchange contracts; foreign currency transactions designated as hedges of net investment in a foreign entity and intercompany foreign currency transactions that are of a long-term nature, when the entities to the transaction are consolidated, combined, or accounted for by the equity method in the reporting enterprise's financial statements; and gain (loss) on a derivative instrument or nonderivative financial instrument that may give rise to a foreign currency transaction gain (loss) that has been designated and qualified as a hedging instrument for hedging of the foreign currency exposure of a net investment in a foreign operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 10A
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=20435746&loc=SL7669646-108580
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 30
-Section 45
-Paragraph 20
-Subparagraph (b,c)
-URI http://asc.fasb.org/extlink&oid=6915805&loc=d3e32211-110900
false218false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falseUSDtruefalse$D2013Q2QTD_pgem_IPOcostsAxis_pgem_AdvisoryterminationfeeipoMemberhttp://www.sec.gov/CIK0001284807duration2013-03-31T00:00:002013-06-29T00:00:00falsefalseadvisory termination fee-ipo [Member]pgem_IPOcostsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_AdvisoryterminationfeeipoMemberpgem_IPOcostsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse019true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse020false4pgem_Initialpublicofferingcostspgem_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1885200018852000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1885200018852000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryinitial public offering costsNo definition available.false221false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse10falseUSDtruefalse$D2013Q2QTD_pgem_IPOcostsAxis_pgem_ManagementfeesubsequentlyexpensedinconnectionwithIPOMemberhttp://www.sec.gov/CIK0001284807duration2013-03-31T00:00:002013-06-29T00:00:00falsefalsemanagement fee subsequently expensed in connection with IPO [Member]pgem_IPOcostsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_ManagementfeesubsequentlyexpensedinconnectionwithIPOMemberpgem_IPOcostsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse022true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse023false4pgem_Initialpublicofferingcostspgem_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse26820002682000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse26820002682000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryinitial public offering costsNo definition available.false224false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse12falseUSDtruefalse$D2013Q2QTD_pgem_IPOcostsAxis_pgem_TransactionexpensesforIPOMemberhttp://www.sec.gov/CIK0001284807duration2013-03-31T00:00:002013-06-29T00:00:00falsefalsetransaction expenses for IPO [Member]pgem_IPOcostsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_TransactionexpensesforIPOMemberpgem_IPOcostsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse025true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse026false4pgem_Initialpublicofferingcostspgem_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse19930001993000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryinitial public offering costsNo definition available.false227false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse13falseUSDtruefalse$D2013Q2QTD_pgem_IPOcostsAxis_pgem_UnderwritingMemberhttp://www.sec.gov/CIK0001284807duration2013-03-31T00:00:002013-06-29T00:00:00falsefalseunderwriting [Member]pgem_IPOcostsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_UnderwritingMemberpgem_IPOcostsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse028true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse029false4pgem_Initialpublicofferingcostspgem_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2540000025400000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryinitial public offering costsNo definition available.false230false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse14falseUSDtruefalse$D2013Q2QTD_pgem_IPOcostsAxis_pgem_IPOissuancecostsMemberhttp://www.sec.gov/CIK0001284807duration2013-03-31T00:00:002013-06-29T00:00:00falsefalseIPO issuance costs [Member]pgem_IPOcostsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_IPOissuancecostsMemberpgem_IPOcostsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse031true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse032false4pgem_Initialpublicofferingcostspgem_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse25000002500000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryinitial public offering costsNo definition available.false233false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse15falseUSDtruefalse$D2013Q2QTD_pgem_IPOcostsAxis_pgem_IPOcostsexpensedinoperatingMemberhttp://www.sec.gov/CIK0001284807duration2013-03-31T00:00:002013-06-29T00:00:00falsefalseIPO costs-expensed in operating [Member]pgem_IPOcostsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_IPOcostsexpensedinoperatingMemberpgem_IPOcostsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse034true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse035false4pgem_Initialpublicofferingcostspgem_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2352700023527000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryinitial public offering costsNo definition available.false236false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse16falseUSDtruefalse$D2013Q2QTD_pgem_IPOcostsAxis_pgem_TotalcapitalizedIPOcostsMemberhttp://www.sec.gov/CIK0001284807duration2013-03-31T00:00:002013-06-29T00:00:00falsefalsetotal capitalized IPO costs [Member]pgem_IPOcostsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_TotalcapitalizedIPOcostsMemberpgem_IPOcostsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse037true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse038false4pgem_Initialpublicofferingcostspgem_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2790000027900000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryinitial public offering costsNo definition available.false239false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse17falsetruefalseI2013Q2IPO_pgem_IPOsharesAxis_pgem_IPOissuedsharesMemberhttp://www.sec.gov/CIK0001284807instant2013-05-23T00:00:000001-01-01T00:00:00falsefalseIPO issued shares [Member]pgem_IPOsharesAxisxbrldihttp://xbrl.org/2006/xbrldipgem_IPOissuedsharesMemberpgem_IPOsharesAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse040true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse041false4us-gaap_SharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse1815789518157895falsefalsefalsexbrli:sharesItemTypesharesNumber of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
false142false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse18falseUSDtruefalse$D2013Q2YTD_pgem_IPOproceedsAxis_pgem_IPOnetproceedsMemberhttp://www.sec.gov/CIK0001284807duration2013-01-01T00:00:002013-06-29T00:00:00falsefalseIPO net proceeds [Member]pgem_IPOproceedsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_IPOnetproceedsMemberpgem_IPOproceedsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse043true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse044false4us-gaap_ProceedsFromIssuanceOfCommonStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse353407000353407000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the additional capital contribution to the entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-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 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3255-108585
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 19
-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.
false245false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse19falseUSDtruefalse$D2013Q2YTD_pgem_IPOproceedsAxis_pgem_IPOgrossproceedsMemberhttp://www.sec.gov/CIK0001284807duration2013-01-01T00:00:002013-06-29T00:00:00falsefalseIPO gross proceeds [Member]pgem_IPOproceedsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_IPOgrossproceedsMemberpgem_IPOproceedsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse046true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse047false4us-gaap_ProceedsFromIssuanceOfCommonStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse381300000381300000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the additional capital contribution to the entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-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 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3255-108585
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 19
-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.
false248false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse20falseUSDtruefalse$I2013Q2IPO_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAxis_pgem_PrimemergerMemberhttp://www.sec.gov/CIK0001284807instant2013-05-23T00:00:000001-01-01T00:00:00falsefalsePrime merger [Member]us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAxisxbrldihttp://xbrl.org/2006/xbrldipgem_PrimemergerMemberus-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse049true3pgem_InitialPublicOfferingLineItemspgem_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse050false4us-gaap_DeferredTaxAssetsGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse3630000036300000USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 109
-Paragraph 43, 289
-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 740
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32537-109319
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Deferred Tax Asset
-URI http://asc.fasb.org/extlink&oid=6510090
false2falseSUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Textuals (Details) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.plygem.com/role/SummaryOfSignificantAccountingPoliciesTextualsDetails750