XML 91 R80.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Employee Benefit Plans -401(k) (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Employee Benefit Plans |  |  |
Minimum percentage of annual contribution per employee | 1.00% |  |
Maximum percentage of annual contribution per employee | 25.00% |  |
Percentage of employer matching contribution | 50.00% | 50.00% |
Minimum number of service period for employees to be fully vested | 2 years |  |
Threshold limit percentage of employee compensation | 6.00% | 6.00% |
Percentage of matching contributions | 100.00% |  |
Annual compensation | $ 1.00 | $ 1.00 |
Employer contribution | $ 10,805,000 | $ 5,704,000 | $ 4,509,000

X
- Definition Minimum percentage of employee gross pay, by the terms of the plan, that the employer may contribute to a defined contribution plan. + References No definition available. + Details
Name: | res_DefinedContributionPlanMinimumAnnualContributionPerEmployeePercent
Namespace Prefix: | res_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents the threshold limit in percentage of employees' compensation. + References No definition available. + Details
Name: | res_DefinedContributionPlanThresholdLimitPercentageOfEmployeeCompensation
Namespace Prefix: | res_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of matching contributions. + References No definition available. + Details
Name: | res_PercentageOfMatchingContributions
Namespace Prefix: | res_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Minimum period the individual is required to perform services to be fully vested under the deferred compensation arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 710 -SubTopic 10 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6409961&loc=d3e20487-108367 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of discretionary contributions made by an employer to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for salary and wage arising from service rendered by nonofficer and officer employees. Excludes allocated cost, labor-related nonsalary expense, and direct and overhead labor cost included in cost of good and service sold. + References No definition available. + Details
Name: | us-gaap_SalariesWagesAndOfficersCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration