XML 35 R43.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Stockholders' Equity - Additional Information (Detail) (USD $) | 0 Months Ended | 12 Months Ended | 3 Months Ended | 2 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
May 07, 2014 | Dec. 31, 2014 | Dec. 31, 2013 | Feb. 10, 2014 | Jun. 30, 2014 | Dec. 31, 2014 | Apr. 30, 2014 | Feb. 28, 2014 | Oct. 24, 2013 | Feb. 19, 2014 | Oct. 23, 2014
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Stock split description |  | Each stockholder to receive one additional share of common stock, par value $0.01, for each share they held as of the record date. All common stock share and per share data for all periods presented in the accompanying consolidated financial statements and related notes are presented on a post-split basis. |  |  |  |  |  |  |  |  |
Common stock, par value | $ 0.01 us-gaap_CommonStockParOrStatedValuePerShare | $ 0.01 us-gaap_CommonStockParOrStatedValuePerShare | $ 0.01 us-gaap_CommonStockParOrStatedValuePerShare |  |  | 0.01 us-gaap_CommonStockParOrStatedValuePerShare |  | $ 0.01 us-gaap_CommonStockParOrStatedValuePerShare |  |  |
Stock split conversion ratio | 2 us-gaap_StockholdersEquityNoteStockSplitConversionRatio1 |  |  |  |  |  |  |  |  |  |
Number of authorized shares of common stock |  | 80,000,000 us-gaap_CommonStockSharesAuthorized | 80,000,000 us-gaap_CommonStockSharesAuthorized |  |  | 80,000,000 us-gaap_CommonStockSharesAuthorized | 80,000,000 us-gaap_CommonStockSharesAuthorized |  |  |  |
Value of shares repurchased by the Company |  | $ 50,000,000 us-gaap_TreasuryStockValueAcquiredCostMethod | $ 25,000,000 us-gaap_TreasuryStockValueAcquiredCostMethod |  |  |  |  |  |  |  |
October 2013 Stock Repurchase Program [Member] |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Common stock repurchase program, authorized amount |  |  |  |  |  |  |  |  | 30,000,000 us-gaap_StockRepurchaseProgramAuthorizedAmount1 / us-gaap_ShareRepurchaseProgramAxis = trex_OctoberTwoThousandThirteenStockRepurchaseProgramMember |  |
Number of shares repurchased by the Company |  |  |  | 0 us-gaap_TreasuryStockSharesAcquired / us-gaap_ShareRepurchaseProgramAxis = trex_OctoberTwoThousandThirteenStockRepurchaseProgramMember |  |  |  |  |  |  |
Common stock repurchase program, expiration date |  | Feb. 10, 2014 |  |  |  |  |  |  |  |  |
February 2014 Stock Repurchase Program [Member] |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Common stock repurchase program, authorized amount |  |  |  |  |  |  |  |  |  | 50,000,000 us-gaap_StockRepurchaseProgramAuthorizedAmount1 / us-gaap_ShareRepurchaseProgramAxis = trex_FebruaryTwoThousandFourteenStockRepurchaseProgramMember |
Number of shares repurchased by the Company |  |  |  |  | 1,657,919 us-gaap_TreasuryStockSharesAcquired / us-gaap_ShareRepurchaseProgramAxis = trex_FebruaryTwoThousandFourteenStockRepurchaseProgramMember |  |  |  |  |  |
Value of shares repurchased by the Company |  |  |  |  | $ 50,000,000 us-gaap_TreasuryStockValueAcquiredCostMethod / us-gaap_ShareRepurchaseProgramAxis = trex_FebruaryTwoThousandFourteenStockRepurchaseProgramMember |  |  |  |  |  |
Shares repurchased by the Company, Average price per share |  |  |  |  | $ 30.16 us-gaap_TreasuryStockAcquiredAverageCostPerShare / us-gaap_ShareRepurchaseProgramAxis = trex_FebruaryTwoThousandFourteenStockRepurchaseProgramMember |  |  |  |  |  |
October 2014 Stock Repurchase Program [Member] |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares repurchased by the Company |  |  |  |  |  | 0 us-gaap_TreasuryStockSharesAcquired / us-gaap_ShareRepurchaseProgramAxis = trex_OctoberTwoThousandFourteenStockRepurchaseProgramMember |  |  |  |  |
Common stock repurchase program, authorized shares |  |  |  |  |  |  |  |  |  |  | 2,000,000 us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased / us-gaap_ShareRepurchaseProgramAxis = trex_OctoberTwoThousandFourteenStockRepurchaseProgramMember
Scenario, Previously Reported [Member] |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of authorized shares of common stock |  |  |  |  |  |  | 40,000,000 us-gaap_CommonStockSharesAuthorized / us-gaap_StatementScenarioAxis = us-gaap_ScenarioPreviouslyReportedMember |  |  |  |

X
- Definition Face amount or stated value per share of common stock. + 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.29) -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 30 -Article 5 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + 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.29) -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 30 -Article 5 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Description of the stock split arrangement. Also provide the retroactive effect given by a stock split that occurs after the balance date but before the release of financial statements. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Stock Split -URI http://asc.fasb.org/extlink&oid=6525746 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SAB TOPIC 4.C) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187143-122770 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 4 -Section C + Details
Name: | us-gaap_StockholdersEquityNoteStockSplit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Stock Split -URI http://asc.fasb.org/extlink&oid=6525746 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SAB TOPIC 4.C) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187143-122770 + Details
Name: | us-gaap_StockholdersEquityNoteStockSplitConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Expiration date for the purchase of an entity's own shares under a stock repurchase plan, in the CCYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramExpirationDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 + Details
Name: | us-gaap_TreasuryStockAcquiredAverageCostPerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 2: 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 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 2: 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 3: 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=27012166&loc=d3e187085-122770 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 + Details
Name: | us-gaap_TreasuryStockValueAcquiredCostMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=trex_FebruaryTwoThousandFourteenStockRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=trex_OctoberTwoThousandFourteenStockRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=trex_OctoberTwoThousandThirteenStockRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=us-gaap_ScenarioPreviouslyReportedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |