XML 37 R43.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Stockholders' Equity - Additional Information (Detail) (USD $) | 12 Months Ended |  | 0 Months Ended | 12 Months Ended | 0 Months Ended | 3 Months Ended | 0 Months Ended
--- | --- | --- | --- | --- | --- | --- | ---
Dec. 31, 2013 | Dec. 31, 2012 | Feb. 19, 2014 Subsequent Event [Member] | Dec. 31, 2013 Common Stock [Member] | Feb. 19, 2014 Common Stock [Member] Subsequent Event [Member] | Aug. 01, 2013 August 2013 Stock Repurchase Program [Member] | Sep. 30, 2013 August 2013 Stock Repurchase Program [Member] | Oct. 24, 2013 October 2013 Stock Repurchase Program [Member]
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |
Stock repurchase authorized amount |  |  | $ 50,000,000 |  |  | $ 25,000,000 |  | $ 30,000,000
Number of shares repurchased by the Company |  |  |  | (561,255) |  |  | 561,255 | 0
Value of shares repurchased by the Company | $ 25,000,000 |  |  |  |  |  | $ 25,000,000 |
Average price per share of shares repurchased by the Company |  |  |  |  |  |  | $ 44.54 |
Expiration date of authorized additional common stock repurchase program |  |  |  |  |  |  |  | Feb. 10, 2014
Common Stock par value | $ 0.01 | $ 0.01 | $ 0.01 |  |  |  |  |
Stock split ratio |  |  |  |  | two-for-one stock split |  |  |

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: | trex_StockRepurchaseProgramExpirationDate1
Namespace Prefix: | trex_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | instant

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
- 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 Amount of a stock repurchase plan authorized by an entity's Board of Directors. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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