XML 66 R51.htm IDEA: XBRL DOCUMENT
v3.3.1.900

Stockholders' Equity - Additional Information (Detail) |  |  | 3 Months Ended | 4 Months Ended | 12 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Oct. 22, 2015 shares | May. 07, 2014 | Sep. 30, 2015 USD ($) shares | Jun. 30, 2014 USD ($) $ / shares shares | Feb. 10, 2014 shares | Dec. 31, 2015 USD ($) $ / shares shares | Dec. 31, 2014 USD ($) $ / shares shares | Dec. 31, 2013 USD ($) shares | Oct. 23, 2014 shares | Apr. 30, 2014 shares | Apr. 19, 2014 USD ($) | Feb. 28, 2014 $ / shares | Oct. 24, 2013 USD ($) | Sep. 30, 2013 USD ($) | Aug. 01, 2013 USD ($)
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock split description |  |  |  |  |  | The stock split was in the form of a stock dividend distributed on May 7, 2014 to stockholders of record at the close of business on April 7, 2014. The stock split entitled 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 | $ / shares |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |  |  | $ 0.01 |  |  |
Stock split conversion ratio |  | 2 |  |  |  |  |  |  |  |  |  |  |  |  |
Number of authorized shares of common stock |  |  |  |  |  | 80,000,000 | 80,000,000 |  |  | 80,000,000 |  |  |  |  |
Value of shares repurchased by the Company | $ |  |  |  |  |  | $ 45,227,000 | $ 50,000,000 | $ 25,000,000 |  |  |  |  |  |  |
Common stock repurchase program, termination date | Oct. 22, 2015 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares repurchased by the Company |  |  |  |  |  | (1,134,300) | (1,657,919) | (1,122,510) |  |  |  |  |  |  |
Common stock repurchase program, authorized shares |  |  |  |  |  |  |  |  | 2,000,000 |  |  |  |  |  |
August 2013 Stock Repurchase Program [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock repurchase program, authorized amount | $ |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 25,000,000 | $ 25,000,000
October 2013 Stock Repurchase Program [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock repurchase program, authorized amount | $ |  |  |  |  |  |  |  |  |  |  |  |  | $ 30,000,000 |  |
Number of shares repurchased by the Company |  |  |  |  | 0 |  |  |  |  |  |  |  |  |  |
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 |  |  |  |
Number of shares repurchased by the Company |  |  |  | 1,657,919 |  |  |  |  |  |  |  |  |  |  |
Value of shares repurchased by the Company | $ |  |  |  | $ 50,000,000 |  |  |  |  |  |  |  |  |  |  |
Shares repurchased by the Company, Average price per share | $ / shares |  |  |  | $ 30.16 |  |  |  |  |  |  |  |  |  |  |
Stock Repurchase Program [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares repurchased by the Company |  |  | 1,134,000 |  |  |  |  |  |  |  |  |  |  |  |
Value of shares repurchased by the Company | $ |  |  | $ 45,200,000 |  |  |  |  |  |  |  |  |  |  |  |
October 2015 Stock Repurchase Program |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares repurchased by the Company |  |  |  |  |  | 0 |  |  |  |  |  |  |  |  |
Common stock repurchase program, termination date | Dec. 31, 2016 |  |  |  |  |  |  |  |  |  |  |  |  |  |
October 2015 Stock Repurchase Program | Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock repurchase program, authorized shares | 3,150,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Scenario, Previously Reported [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of authorized shares of common stock |  |  |  |  |  |  |  |  |  | 40,000,000 |  |  |  |  |

X
- Definition Stock repurchase program termination date. + References No definition available. + Details
Name: | trex_StockRepurchaseProgramTerminationDate
Namespace Prefix: | trex_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

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
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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 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 -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 2: 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 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 -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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Stock Split -URI http://asc.fasb.org/extlink&oid=6525746 + Details
Name: | us-gaap_StockholdersEquityNoteStockSplitConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
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 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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 + 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 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 2: 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 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 + Details
Name: | us-gaap_TreasuryStockValueAcquiredCostMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AcceleratedShareRepurchasesDateAxis=trex_AugustTwoThousandThirteenStockRepurchaseProgramMember
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_ShareRepurchaseProgramAxis=trex_FebruaryTwoThousandFourteenStockRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=trex_TwoThousandFifteenStockRepurchaseProgramMember
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: |