XML 47 R45.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail) (USD $) In Thousands, unless otherwise specified | 12 Months Ended
--- | ---
Dec. 31, 2014 | Dec. 31, 2013 | Dec. 31, 2012
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Stock-based compensation expense | $ 4,807 us-gaap_ShareBasedCompensation | $ 3,811 us-gaap_ShareBasedCompensation | $ 3,469 us-gaap_ShareBasedCompensation
Time-Based Restricted Stock [Member] |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Stock-based compensation expense | 2,974 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = trex_TimeBasedRestrictedStockMember | 2,461 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = trex_TimeBasedRestrictedStockMember | 2,035 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = trex_TimeBasedRestrictedStockMember
Performance-Based Restricted Stock [Member] |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Stock-based compensation expense | 727 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = trex_PerformanceBasedRestrictedStockMember |  |
Stock Appreciation Rights [Member] |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Stock-based compensation expense | 1,035 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = us-gaap_StockAppreciationRightsSARSMember | 1,251 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = us-gaap_StockAppreciationRightsSARSMember | 1,369 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = us-gaap_StockAppreciationRightsSARSMember
Employee Stock Purchase Plan [Member] |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Stock-based compensation expense | $ 71 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = trex_EmployeeStockPurchasePlanMember | $ 99 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = trex_EmployeeStockPurchasePlanMember | $ 65 us-gaap_ShareBasedCompensation / us-gaap_AwardTypeAxis = trex_EmployeeStockPurchasePlanMember

X
- Definition The aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method. + 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 (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_AwardTypeAxis=trex_EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=trex_TimeBasedRestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |