XML 103 R86.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Income Taxes - Additional Information (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Income Taxes [Line Items] |  |  |
Valuation allowance for deferred income tax assets | $ 14,991 | $ 16,141 | $ 13,000
Change in total valuation allowance | (1,100) | 3,100 | (300)
Tax effect of state and foreign net operating loss carryforwards | 37,362 | 27,255 |
2017 | 700 |  |
2018 | 400 |  |
2019 | 800 |  |
2020 | 500 |  |
2021 | 500 |  |
Thereafter | 37,300 |  |
Valuation allowance foreign and state net operating loss carryforwards | 12,600 |  |
Not provided U.S. income taxes of unremitted foreign earnings | 298,800 |  |
Reduction due to expiration of certain federal and state statutes of limitations | 23,448 | 282 | 9,209
Interest and penalties expense (income) in the provision for income taxes | (3,200) | $ 2,400 | $ 500
Gross Amount Before Balance Sheet Presentation Netting [Member] |  |  |
Income Taxes [Line Items] |  |  |
Tax effect of state and foreign net operating loss carryforwards | $ 40,200 |  |
Tax Year 2010 [Member] | Internal Revenue Service (IRS) [Member] |  |  |
Income Taxes [Line Items] |  |  |
Income tax examination, year completed | 2010 |  |
Tax Year 2011 [Member] | Internal Revenue Service (IRS) [Member] |  |  |
Income Taxes [Line Items] |  |  |
Income tax examination, year completed | 2011 |  |
Tax Year 2012 [Member] | Internal Revenue Service (IRS) [Member] |  |  |
Income Taxes [Line Items] |  |  |
Income tax examination, year completed | 2012 |  |
Earliest Tax Year [Member] | Canada Revenue Agency [Member] |  |  |
Income Taxes [Line Items] |  |  |
Open tax year | 2010 |  |
Latest Tax Year [Member] | Canada Revenue Agency [Member] |  |  |
Income Taxes [Line Items] |  |  |
Open tax year | 2014 |  |

X
- Definition Expiration amount of state and foreign net operating loss carryforwards thereafter. + References No definition available. + Details
Name: | pwr_ExpirationAmountOfStateAndForeignNetOperatingLossCarryforwardsThereafter
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expiration amount of state and foreign net operating loss carryforwards year five. + References No definition available. + Details
Name: | pwr_ExpirationAmountOfStateAndForeignNetOperatingLossCarryforwardsYearFive
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expiration amount of state and foreign net operating loss carryforwards year four. + References No definition available. + Details
Name: | pwr_ExpirationAmountOfStateAndForeignNetOperatingLossCarryforwardsYearFour
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expiration amount of state and foreign net operating loss carryforwards year one. + References No definition available. + Details
Name: | pwr_ExpirationAmountOfStateAndForeignNetOperatingLossCarryforwardsYearOne
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expiration amount of state and foreign net operating loss carryforwards year three. + References No definition available. + Details
Name: | pwr_ExpirationAmountOfStateAndForeignNetOperatingLossCarryforwardsYearThree
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expiration amount of state and foreign net operating loss carryforwards year two. + References No definition available. + Details
Name: | pwr_ExpirationAmountOfStateAndForeignNetOperatingLossCarryforwardsYearTwo
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Income tax examination year of completion by IRS. + References No definition available. + Details
Name: | pwr_IncomeTaxExaminationYearOfCompletionByIRS
Namespace Prefix: | pwr_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Income Taxes [Line Items] + References No definition available. + Details
Name: | pwr_IncomeTaxesLineItems
Namespace Prefix: | pwr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Interest and penalties expense (income) in the provision for income taxes. + References No definition available. + Details
Name: | pwr_InterestAndPenaltiesExpenseIncomeInProvisionForIncomeTaxes
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 20 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=68052875&loc=d3e28680-109314 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32621-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32632-109319 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Tax year that remains open to examination under enacted tax laws, in CCYY format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32718-109319 + Details
Name: | us-gaap_OpenTaxYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion of the valuation allowance pertaining to the deferred tax asset representing potential future taxable deductions from net operating loss carryforwards for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32559-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 30 -Paragraph 5 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=64814285&loc=d3e30536-109315 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32537-109319 + Details
Name: | us-gaap_OperatingLossCarryforwardsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of undistributed earnings of foreign subsidiaries intended to be permanently reinvested outside the country of domicile. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 740 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6487024&loc=d3e29054-158556 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 740 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6479915&loc=d3e66715-112838 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 995 -SubTopic 740 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6503627&loc=d3e59836-110443 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 25 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=68052875&loc=d3e28200-109314 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (b)(c) -URI http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331 + Details
Name: | us-gaap_UndistributedEarningsOfForeignSubsidiaries
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a)(4) -URI http://asc.fasb.org/extlink&oid=65882285&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=75116654&loc=d3e32123-109318 + Details
Name: | us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=pwr_GrossAmountBeforeBalanceSheetPresentationNettingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_TaxYear2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=us-gaap_InternalRevenueServiceIRSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_TaxYear2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_TaxYear2012Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_EarliestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=us-gaap_CanadaRevenueAgencyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_LatestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |