XML 67 R53.htm IDEA: XBRL DOCUMENT
v3.8.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, 2015 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Operating cycle |  |  |  |  |
Minimum liquidation period of assets in which significant working capital has been invested |  |  | 1 year |  |
Goodwill impairment | $ 2,716 |  | $ 0 | $ 2,716 | $ 401
Income tax |  |  |  |  |
Estimated net tax benefit of Tax Act |  |  | 9,400 |  |
Comprehensive income |  |  |  |  |
Other comprehensive income |  |  | $ 0 | $ 0 | $ 0
Cardinal Contractors |  |  |  |  |
Operating cycle |  |  |  |  |
Goodwill impairment |  | $ 400 |  |  |

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 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
- References No definition available. + Details
Name: | us-gaap_ComprehensiveIncomeNetOfTaxAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13854-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13777-109266 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after tax and reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669619-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669625-108580 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84158357&loc=d3e1436-108581 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=prim_CardinalContractorsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |