XML 65 R51.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Summary of Significant Accounting Policies - Short-term investments (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2016 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
Operating cycle |  |  |  |
Minimum liquidation period of assets in which significant working capital has been invested |  | 1 year |  |
Goodwill impairment | $ 2,700 | $ 0 | $ 0 | $ 2,716
Income tax |  |  |  |
Estimated net tax benefit of Tax Act |  |  | $ 9,400 |
Additional income tax related to complete accounting of Tax Act |  | 1,100 |  |
Additional income tax related to foreign tax credits |  | 600 |  |
Additional income tax related to depreciation |  | $ 500 |  |

X
- Definition N/A + References No definition available. + Details
Name: | prim_EffectOfTaxCutsAndJobsActOf2017AccountingIncompleteProvisionalAbstract
Namespace Prefix: | prim_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the minimum liquidation period of assets in which significant working capital has been invested. + References No definition available. + Details
Name: | prim_MinimumLiquidationPeriodOfAssetsInWhichSignificantWorkingCapitalInvested
Namespace Prefix: | prim_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of change in income tax expense (benefit) due to completed accounting pursuant to Tax Cuts and Jobs Act of 2017. + References No definition available. + Details
Name: | prim_TaxCutsAndJobsActOf2017ChangeInIncomeTaxExpenseBenefit
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income tax expense for related to depreciation from change in tax rate pursuant to Tax Cuts and Jobs Act of 2017. + References No definition available. + Details
Name: | prim_TaxCutsAndJobsActOf2017ChangeInTaxRateDepreciationIncomeTaxExpense
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income tax expense related to foreign tax credits from change in tax rate pursuant to Tax Cuts and Jobs Act of 2017. + References No definition available. + Details
Name: | prim_TaxCutsAndJobsActOf2017ChangeInTaxRateForeignTaxCreditsIncomeTaxExpense
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of reasonable estimate for income tax benefit for remeasurement of deferred tax liability from change in tax rate pursuant to Tax Cuts and Jobs Act of 2017 for which accounting for tax effect is incomplete. + References No definition available. + Details
Name: | prim_TaxCutsAndJobsActOf2017IncompleteAccountingChangeInTaxRateDeferredTaxLiabilityProvisionalIncomeTaxBenefit
Namespace Prefix: | prim_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=108376223&loc=d3e13854-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration