XML 68 R52.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Long-Term Debt (Detail Textuals) - Revolving credit facility - Option 2 - Eurodollar Borrowings | 12 Months Ended
--- | ---
Dec. 31, 2018 Interest_Rate
Line of Credit Facility [Line Items] |
Number of credit facility interest rate | 2
Description of reference rate basis | London Interbank Offering Rate ("LIBOR")
Minimum |
Line of Credit Facility [Line Items] |
Range of margin based on quarterly debt covenant calculation | 1.125%
Maximum |
Line of Credit Facility [Line Items] |
Range of margin based on quarterly debt covenant calculation | 2.125%

X
- Definition Represents as percentage range of line of credit facility minimum based on quarterly debt covenant calculation. + References No definition available. + Details
Name: | res_LineOfCreditFacilityMarginPercentage
Namespace Prefix: | res_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents number of credit facility interest rate. + References No definition available. + Details
Name: | res_NumberOfCreditFacilityInterestRate
Namespace Prefix: | res_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the interest rate for the amounts borrowed under the credit facility, including the terms and the method for determining the interest rate (for example, fixed or variable, LIBOR plus a percentage, increasing rate, timing of interest rate resets, remarketing provisions). + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | res_OptionAxis=res_OptionTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=res_EurodollarBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |