XML 90 R75.htm IDEA: XBRL DOCUMENT
v3.8.0.1

SUBSEQUENT EVENT (Details) | Mar. 20, 2018 shares
--- | ---
Subsequent Event [Member] |
SUBSEQUENT EVENT (Details) [Line Items] |
Stock Repurchase Program, Number Of Shares Authorized To Be Repurchased, Increase (Decrease) | 500,000

X
- References No definition available. + Details
Name: | rex_SUBSEQUENTEVENTDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | rex_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchasedIncreaseDecrease
Namespace Prefix: | rex_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |