XML 57 R45.htm IDEA: XBRL DOCUMENT
v3.21.2

Stockholders' Equity - Additional Information (Detail) - $ / shares |  | 3 Months Ended | 6 Months Ended |
--- | --- | --- | --- | ---
Sep. 14, 2020 | Jun. 30, 2021 | Mar. 31, 2021 | Mar. 31, 2020 | Jun. 30, 2021 | Jul. 29, 2020
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |
Common stock, par value |  |  |  |  |  | $ 0.01
Common Stock [Member] |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |
Number of shares repurchased by the Company |  | 40,751 | 504,275 | 884,018 |  |
Description of stock split | two-for-one stock split |  |  |  |  |
Stock Repurchase Programs [Member] |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |
Common stock repurchase program, authorized shares |  | 11,600,000 |  |  | 11,600,000 |
Number of shares repurchased by the Company |  |  |  |  | 3,300,000 |

X
- Definition Face amount per share of no-par value common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockNoParValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
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 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://fasb.org/us-gaap/role/ref/legacyRef -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=120397183&loc=d3e187143-122770 + Details
Name: | us-gaap_StockholdersEquityNoteStockSplit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -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=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -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=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
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_ShareRepurchaseProgramAxis=trex_StockRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |