XML 36 R42.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Summary of Significant Accounting Policies - Additional Information (Detail) (USD $) | 3 Months Ended | 12 Months Ended | 0 Months Ended |
--- | --- | --- | --- | ---
Dec. 31, 2014 | Sep. 30, 2014 | Dec. 31, 2013 | Dec. 31, 2014 | Dec. 31, 2013 | Dec. 31, 2012 | Dec. 06, 2013 | Dec. 31, 2011
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Cash and cash equivalents | $ 190,515,000 us-gaap_CashAndCashEquivalentsAtCarryingValue |  | $ 488,777,000 us-gaap_CashAndCashEquivalentsAtCarryingValue | $ 190,515,000 us-gaap_CashAndCashEquivalentsAtCarryingValue | $ 488,777,000 us-gaap_CashAndCashEquivalentsAtCarryingValue | $ 394,701,000 us-gaap_CashAndCashEquivalentsAtCarryingValue |  | $ 315,349,000 us-gaap_CashAndCashEquivalentsAtCarryingValue
Cash equivalents | 107,600,000 us-gaap_CashEquivalentsAtCarryingValue |  | 247,800,000 us-gaap_CashEquivalentsAtCarryingValue | 107,600,000 us-gaap_CashEquivalentsAtCarryingValue | 247,800,000 us-gaap_CashEquivalentsAtCarryingValue |  |  |
Number of days after accounts receivable are treated as delinquent |  |  |  | 30 days | 30 days |  |  |
Number of days related to outstanding accounts receivable for analysis of the allowance for doubtful accounts |  |  |  | At least 90 days |  |  |  |
Allowances for doubtful accounts on current receivable | 6,174,000 us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent |  | 5,215,000 us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent | 6,174,000 us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent | 5,215,000 us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent |  |  |
Revenue associated with change order |  |  |  |  |  | 165,000,000 pwr_RevenueAssociatedWithChangeOrder |  |
Provision for long-term contract receivable | 49,900,000 pwr_ProvisionForLongtermContractReceivable | 52,500,000 pwr_ProvisionForLongtermContractReceivable |  | 102,460,000 pwr_ProvisionForLongtermContractReceivable |  |  |  |
Current retainage balances | 307,300,000 us-gaap_ContractReceivableRetainageDueOneYearOrLess |  | 194,500,000 us-gaap_ContractReceivableRetainageDueOneYearOrLess | 307,300,000 us-gaap_ContractReceivableRetainageDueOneYearOrLess | 194,500,000 us-gaap_ContractReceivableRetainageDueOneYearOrLess |  |  |
Non-current retainage balances | 19,600,000 us-gaap_ContractReceivableRetainageDueAfterOneYear |  | 50,800,000 us-gaap_ContractReceivableRetainageDueAfterOneYear | 19,600,000 us-gaap_ContractReceivableRetainageDueAfterOneYear | 50,800,000 us-gaap_ContractReceivableRetainageDueAfterOneYear |  |  |
Unbilled receivables | 165,500,000 us-gaap_UnbilledContractsReceivable |  | 179,200,000 us-gaap_UnbilledContractsReceivable | 165,500,000 us-gaap_UnbilledContractsReceivable | 179,200,000 us-gaap_UnbilledContractsReceivable |  |  |
Depreciation expense related to property and equipment |  |  |  | 158,110,000 us-gaap_Depreciation | 134,110,000 us-gaap_Depreciation | 120,303,000 us-gaap_Depreciation |  |
Construction work-in-progress | 69,233,000 us-gaap_ConstructionInProgressGross |  | 44,030,000 us-gaap_ConstructionInProgressGross | 69,233,000 us-gaap_ConstructionInProgressGross | 44,030,000 us-gaap_ConstructionInProgressGross |  |  |
Accrued capital expenditures |  |  |  | 11,800,000 us-gaap_CapitalExpendituresIncurredButNotYetPaid | 600,000 us-gaap_CapitalExpendituresIncurredButNotYetPaid |  |  |
Debt issuance costs related to amendment |  |  |  |  | 3,244,000 us-gaap_PaymentsOfDebtIssuanceCosts |  |  |
Debt issuance cost write off |  |  |  |  | 200,000 us-gaap_WriteOffOfDeferredDebtIssuanceCost |  |  |
Capitalized debt issuance costs | 7,600,000 us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsGross |  | 7,600,000 us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsGross | 7,600,000 us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsGross | 7,600,000 us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsGross |  |  |
Accumulated amortization of debt issuance costs | 3,500,000 us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsAccumulatedAmortization |  | 2,400,000 us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsAccumulatedAmortization | 3,500,000 us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsAccumulatedAmortization | 2,400,000 us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsAccumulatedAmortization |  |  |
Amortization expense related to capitalized debt issuance costs |  |  |  | 1,094,000 us-gaap_AmortizationOfFinancingCosts | 1,081,000 us-gaap_AmortizationOfFinancingCosts | 904,000 us-gaap_AmortizationOfFinancingCosts |  |
Decrease in fair value of reporting units considered for impairment calculation | 10.00%pwr_DecreaseInFairValueOfReportingUnitsConsideredForImpairmentCalculation |  |  | 10.00%pwr_DecreaseInFairValueOfReportingUnitsConsideredForImpairmentCalculation |  |  |  |
Gain on sale of equity ownership interest, Pre tax |  |  | 112,700,000 us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal |  |  |  |  |
Percent change in contract estimates impact on operating results is less than this percentage |  |  |  | 5.00%pwr_PercentChangeInContractEstimatesImpactOnOperatingResultsIsLessThanThisPercentage |  |  |  |
Change orders and/or claims | 106,800,000 us-gaap_UnapprovedChangeOrdersAmount |  | 75,500,000 us-gaap_UnapprovedChangeOrdersAmount | 106,800,000 us-gaap_UnapprovedChangeOrdersAmount | 75,500,000 us-gaap_UnapprovedChangeOrdersAmount |  |  |
Fiber Optic Licensing Terms, Minimum in years |  |  |  | 5 years | 5 years |  |  |
Fiber Optic Licensing Terms, Maximum in years |  |  |  | 25 years | 25 years |  |  |
Fiber optic deferred revenue | 56,500,000 us-gaap_DeferredRevenue |  | 48,800,000 us-gaap_DeferredRevenue | 56,500,000 us-gaap_DeferredRevenue | 48,800,000 us-gaap_DeferredRevenue |  |  |
Fiber optic non-current deferred revenue | 48,200,000 us-gaap_DeferredRevenueNoncurrent |  | 40,200,000 us-gaap_DeferredRevenueNoncurrent | 48,200,000 us-gaap_DeferredRevenueNoncurrent | 40,200,000 us-gaap_DeferredRevenueNoncurrent |  |  |
Total amount of unrecognized tax benefits relating to uncertain tax positions | 51,079,000 us-gaap_UnrecognizedTaxBenefits |  | 48,838,000 us-gaap_UnrecognizedTaxBenefits | 51,079,000 us-gaap_UnrecognizedTaxBenefits | 48,838,000 us-gaap_UnrecognizedTaxBenefits | 51,244,000 us-gaap_UnrecognizedTaxBenefits |  | 47,379,000 us-gaap_UnrecognizedTaxBenefits
Amount of unrecognized tax benefits change from year-end relating to uncertain tax positions |  |  |  | 2,200,000 us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease |  |  |  |
Unrecognized tax benefits increases resulting from current period tax positions |  |  |  | 9,179,000 us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions | 9,073,000 us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions | 15,411,000 us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions |  |
Unrecognized tax benefits increases resulting from prior period tax positions |  |  |  | 2,438,000 us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions |  | 1,607,000 us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions |  |
Unrecognized tax benefits decreases resulting from prior period tax positions |  |  |  | 9,376,000 us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations | 11,479,000 us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations | 11,965,000 us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations |  |
Reasonably possible reduction to the balance of unrecognized tax benefits in succeeding 12 months upper bound | 10,331,000 us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleEstimatedRangeOfChangeUpperBound |  | 6,722,000 us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleEstimatedRangeOfChangeUpperBound | 10,331,000 us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleEstimatedRangeOfChangeUpperBound | 6,722,000 us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleEstimatedRangeOfChangeUpperBound | 11,479,000 us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleEstimatedRangeOfChangeUpperBound |  |
Employer's liability claims subject to deductible per occurrence |  |  |  | 1,000,000 pwr_EmployersLiabilityInsuranceClaimsDeductible | 1,000,000 pwr_EmployersLiabilityInsuranceClaimsDeductible |  |  |
General liability insurance claims deductible |  |  |  | 10,000,000 pwr_GeneralLiabilityInsuranceClaimsDeductible | 10,000,000 pwr_GeneralLiabilityInsuranceClaimsDeductible |  |  |
Worker's compensation claims per occurrence |  |  |  | 5,000,000 pwr_WorkersCompensationInsuranceClaimsDeductible | 5,000,000 pwr_WorkersCompensationInsuranceClaimsDeductible |  |  |
Auto liability insurance claims deductible |  |  |  | 10,000,000 pwr_AutoLiabilityInsuranceClaimsDeductible | 10,000,000 pwr_AutoLiabilityInsuranceClaimsDeductible |  |  |
Employee health care benefit plans subject to deductible per claimant |  |  |  | 375,000 pwr_HealthCareDeductible |  |  |  |
Restricted Stock Units to be Settled in Cash [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Number of common stock shares that may be received by RSU holder |  |  |  | 1 pwr_NumberOfCommonStockSharesReceivedByRsuHolder / us-gaap_AwardTypeAxis = pwr_RestrictedStockUnitsToBeSettledInCashMember |  |  |  |
Investments in Joint Ventures [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Cash and cash equivalents | 19,100,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / invest_InvestmentAxis = pwr_InvestmentsInJointVenturesMember |  | 18,900,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / invest_InvestmentAxis = pwr_InvestmentsInJointVenturesMember | 19,100,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / invest_InvestmentAxis = pwr_InvestmentsInJointVenturesMember | 18,900,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / invest_InvestmentAxis = pwr_InvestmentsInJointVenturesMember |  |  |
Howard Midstream Energy Partners, LLC. [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Proceeds from sale of equity ownership interest |  |  |  |  |  |  | 220,900,000 us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets / dei_LegalEntityAxis = pwr_HowardMidstreamEnergyPartnersLlcMember |
Gain on sale of equity ownership interest, Pre tax |  |  |  |  |  |  | 112,700,000 us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal / dei_LegalEntityAxis = pwr_HowardMidstreamEnergyPartnersLlcMember |
Equity ownership percentage held |  |  |  |  |  |  | 31.00%us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions / dei_LegalEntityAxis = pwr_HowardMidstreamEnergyPartnersLlcMember |
Fiber Optic Licensing Division [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Construction work-in-progress | 30,600,000 us-gaap_ConstructionInProgressGross / us-gaap_StatementBusinessSegmentsAxis = pwr_FiberOpticLicensingMember |  | 32,400,000 us-gaap_ConstructionInProgressGross / us-gaap_StatementBusinessSegmentsAxis = pwr_FiberOpticLicensingMember | 30,600,000 us-gaap_ConstructionInProgressGross / us-gaap_StatementBusinessSegmentsAxis = pwr_FiberOpticLicensingMember | 32,400,000 us-gaap_ConstructionInProgressGross / us-gaap_StatementBusinessSegmentsAxis = pwr_FiberOpticLicensingMember |  |  |
Sunrise Powerlink Project [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Provision for long-term contract receivable | 49,900,000 pwr_ProvisionForLongtermContractReceivable / us-gaap_TypeOfArrangementAxis = pwr_SunrisePowerlinkProjectMember | 52,500,000 pwr_ProvisionForLongtermContractReceivable / us-gaap_TypeOfArrangementAxis = pwr_SunrisePowerlinkProjectMember |  | 102,500,000 pwr_ProvisionForLongtermContractReceivable / us-gaap_TypeOfArrangementAxis = pwr_SunrisePowerlinkProjectMember |  |  |  |
Contract receivable | 65,000,000 us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInRemainderOfFiscalYear / us-gaap_TypeOfArrangementAxis = pwr_SunrisePowerlinkProjectMember |  |  | 65,000,000 us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInRemainderOfFiscalYear / us-gaap_TypeOfArrangementAxis = pwr_SunrisePowerlinkProjectMember |  |  |  |
Long term receivable |  |  | 165,000,000 us-gaap_LongTermInvestmentsAndReceivablesNet / us-gaap_TypeOfArrangementAxis = pwr_SunrisePowerlinkProjectMember |  | 165,000,000 us-gaap_LongTermInvestmentsAndReceivablesNet / us-gaap_TypeOfArrangementAxis = pwr_SunrisePowerlinkProjectMember |  |  |
Domestic Bank Accounts [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Cash and cash equivalents | 127,200,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / us-gaap_CashAndCashEquivalentsAxis = pwr_DomesticBankAccountsMember |  | 236,700,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / us-gaap_CashAndCashEquivalentsAxis = pwr_DomesticBankAccountsMember | 127,200,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / us-gaap_CashAndCashEquivalentsAxis = pwr_DomesticBankAccountsMember | 236,700,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / us-gaap_CashAndCashEquivalentsAxis = pwr_DomesticBankAccountsMember |  |  |
Foreign Bank Accounts [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Cash and cash equivalents | $ 63,300,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / us-gaap_CashAndCashEquivalentsAxis = pwr_ForeignBankAccountsMember |  | $ 252,100,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / us-gaap_CashAndCashEquivalentsAxis = pwr_ForeignBankAccountsMember | $ 63,300,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / us-gaap_CashAndCashEquivalentsAxis = pwr_ForeignBankAccountsMember | $ 252,100,000 us-gaap_CashAndCashEquivalentsAtCarryingValue / us-gaap_CashAndCashEquivalentsAxis = pwr_ForeignBankAccountsMember |  |  |
Minimum [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Equity method investment ownership | 20.00%us-gaap_EquityMethodInvestmentOwnershipPercentage / us-gaap_RangeAxis = us-gaap_MinimumMember |  |  | 20.00%us-gaap_EquityMethodInvestmentOwnershipPercentage / us-gaap_RangeAxis = us-gaap_MinimumMember |  |  |  |
Minimum [Member] | Restricted Stock Units to be Settled in Cash [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Vesting period for restricted stock units to be settled in cash |  |  |  | 2 years |  |  |  |
Minimum [Member] | Fiber Optic Licensing Division [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Annual growth rates by reporting units |  |  |  | 4.00%pwr_GrowthRate / us-gaap_RangeAxis = us-gaap_MinimumMember / us-gaap_StatementBusinessSegmentsAxis = pwr_FiberOpticLicensingMember |  |  |  |
Minimum [Member] | Electric Power and Oil and Gas Services Divisions [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Annual growth rates by reporting units |  |  |  | 0.00%pwr_GrowthRate / us-gaap_RangeAxis = us-gaap_MinimumMember / us-gaap_StatementBusinessSegmentsAxis = pwr_ElectricPowerAndOilAndGasDivisionsMember |  |  |  |
Maximum [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Equity method investment ownership | 50.00%us-gaap_EquityMethodInvestmentOwnershipPercentage / us-gaap_RangeAxis = us-gaap_MaximumMember |  |  | 50.00%us-gaap_EquityMethodInvestmentOwnershipPercentage / us-gaap_RangeAxis = us-gaap_MaximumMember |  |  |  |
Maximum [Member] | Restricted Stock Units to be Settled in Cash [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Vesting period for restricted stock units to be settled in cash |  |  |  | 3 years |  |  |  |
Maximum [Member] | Fiber Optic Licensing Division [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Annual growth rates by reporting units |  |  |  | 12.00%pwr_GrowthRate / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_StatementBusinessSegmentsAxis = pwr_FiberOpticLicensingMember |  |  |  |
Maximum [Member] | Electric Power and Oil and Gas Services Divisions [Member] |  |  |  |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |  |  |  |
Annual growth rates by reporting units |  |  |  | 71.00%pwr_GrowthRate / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_StatementBusinessSegmentsAxis = pwr_ElectricPowerAndOilAndGasDivisionsMember |  |  |  |

X
- Definition Auto liability insurance claims deductible amount per occurrence. + References No definition available. + Details
Name: | pwr_AutoLiabilityInsuranceClaimsDeductible
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Decrease in fair value of Reporting units considered, for impairment calculation. + References No definition available. + Details
Name: | pwr_DecreaseInFairValueOfReportingUnitsConsideredForImpairmentCalculation
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Employer's liability claims deductible amount per occurrence. + References No definition available. + Details
Name: | pwr_EmployersLiabilityInsuranceClaimsDeductible
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition General liability insurance claims deductible amount per occurrence. + References No definition available. + Details
Name: | pwr_GeneralLiabilityInsuranceClaimsDeductible
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Growth rate. + References No definition available. + Details
Name: | pwr_GrowthRate
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Health care deductible. + References No definition available. + Details
Name: | pwr_HealthCareDeductible
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum licensing terms. + References No definition available. + Details
Name: | pwr_MaximumLicensingTerms
Namespace Prefix: | pwr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum licensing terms. + References No definition available. + Details
Name: | pwr_MinimumLicensingTerms
Namespace Prefix: | pwr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of common stock shares received by RSU holder. + References No definition available. + Details
Name: | pwr_NumberOfCommonStockSharesReceivedByRsuHolder
Namespace Prefix: | pwr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percent change in contract estimates impact on operating results is less than this percentage. + References No definition available. + Details
Name: | pwr_PercentChangeInContractEstimatesImpactOnOperatingResultsIsLessThanThisPercentage
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period after accounts receivable are treated as delinquent. + References No definition available. + Details
Name: | pwr_PeriodAfterAccountsReceivableAreTreatedAsDelinquent
Namespace Prefix: | pwr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of days related to outstanding accounts receivable for analysis of the allowance for doubtful accounts. + References No definition available. + Details
Name: | pwr_PeriodRelatedToOutstandingAccountsReceivableForAnalysisOfAllowanceForDoubtfulAccounts
Namespace Prefix: | pwr_
Data Type: | us-types:durationStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Provision for longterm contract receivable. + References No definition available. + Details
Name: | pwr_ProvisionForLongtermContractReceivable
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate revenue during the period from change order. + References No definition available. + Details
Name: | pwr_RevenueAssociatedWithChangeOrder
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | pwr_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | pwr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Workers' compensation insurance claims deductible. + References No definition available. + Details
Name: | pwr_WorkersCompensationInsuranceClaimsDeductible
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A valuation allowance for trade and other receivables due to an Entity within one year (or the normal operating cycle, whichever is longer) that are expected to be uncollectible. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 4 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=35738203&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.4) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of noncash expense included in interest expense to issue debt and obtain financing associated with the related debt instruments. Alternate captions include noncash interest expense. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 8 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 8 -Article 9 + Details
Name: | us-gaap_AmortizationOfFinancingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Future cash outflow to pay for purchases of fixed assets that have occurred. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_CapitalExpendituresIncurredButNotYetPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 + Details
Name: | us-gaap_ConstructionInProgressGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount billed to customers under long-term contracts or programs that have been withheld because of retainage provisions in a contract to be collected after the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3(c)(4)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 3 -Subparagraph c(4) -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 910 -SubTopic 310 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6471494&loc=d3e49370-109356 + Details
Name: | us-gaap_ContractReceivableRetainageDueAfterOneYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount billed to customers under long-term contracts or programs that have been withheld because of retainage provisions in a contract to be collected in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 3 -Subparagraph c -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 910 -SubTopic 310 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6471494&loc=d3e49370-109356 + Details
Name: | us-gaap_ContractReceivableRetainageDueOneYearOrLess
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of billed or unbilled claims or similar items subject to uncertainty concerning their determination or ultimate realization under long-term contracts that are expected to be collected in the remainder of the fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References No definition available. + Details
Name: | us-gaap_ContractsReceivableClaimsAndUncertainAmountsExpectedToBeCollectedInRemainderOfFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cumulative amount of amortization of deferred issuance costs associated with an own-share lending arrangement which has been periodically charged to earnings, generally as a component of interest expense, during the term of the arrangement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 2A -URI http://asc.fasb.org/extlink&oid=7656903&loc=SL6757479-112611 + Details
Name: | us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsAccumulatedAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of issuance costs recognized in a share-lending arrangement entered into by the entity, in contemplation of a convertible debt offering or other financing, before deduction of accumulated amortization or effects of subsequent adjustments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 2A -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=7656903&loc=SL6757479-112611 + Details
Name: | us-gaap_DeferredFinanceCostsOwnshareLendingArrangementIssuanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of deferred revenue as of balance sheet date. Deferred revenue represents collections of cash or other assets related to a revenue producing activity for which revenue has not yet been recognized. Generally, an entity records deferred revenue when it receives consideration from a customer before achieving certain criteria that must be met for revenue to be recognized in conformity with GAAP. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 13 -Section A Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 13.A.4(a).Q1 Response) -URI http://asc.fasb.org/extlink&oid=27012821&loc=d3e214044-122780 + Details
Name: | us-gaap_DeferredRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The noncurrent portion of deferred revenue amount as of balance sheet date. Deferred revenue is a liability related to a revenue producing activity for which revenue has not yet been recognized, and is not expected to be recognized in the next twelve months. Generally, an entity records deferred revenue when it receives consideration from a customer before achieving certain criteria that must be met for revenue to be recognized in conformity with GAAP. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 13.A.4(a).Q1) -URI http://asc.fasb.org/extlink&oid=27012821&loc=d3e214044-122780 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6935-107765 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 13 -Section A + Details
Name: | us-gaap_DeferredRevenueNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation. + References Reference 1: 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=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_Depreciation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of gain (loss) on sale or disposal of an equity method investment. + References No definition available. + Details
Name: | us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle) and amount due to the Entity from outside sources, including trade accounts receivable, notes and loans receivable, as well as any other types of receivables, net of allowances established for the purpose of reducing such investments and receivables to an amount that approximates their net realizable value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermInvestmentsAndReceivablesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDebtIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate cash proceeds received from a combination of transactions in which noncurrent assets are sold, which may include the sale of a business, an investment in an affiliate (including an equity method investee), property, plant and equipment and intangible assets. Excludes sales of trading, available-for-sale, and held-to-maturity securities. + References No definition available. + Details
Name: | us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of (increase) decrease reasonably possible in the estimated upper bound of the unrecognized tax benefit for a tax position taken or expected to be taken. + 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 (d) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32718-109319 + Details
Name: | us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleEstimatedRangeOfChangeUpperBound
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of subsidiary's or equity method investee's stock owned by parent immediately after all stock transactions. + References No definition available. + Details
Name: | us-gaap_SubsidiaryOrEquityMethodInvesteeCumulativePercentageOwnershipAfterAllTransactions
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of costs incurred on unapproved change orders when it is probable that the cost will be recovered through a change in the contract price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 3 -Subparagraph c(3) -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 910 -SubTopic 340 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6471523&loc=d3e50000-109363 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 910 -SubTopic 310 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6471494&loc=d3e49324-109356 + Details
Name: | us-gaap_UnapprovedChangeOrdersAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unbilled amounts due for services rendered or to be rendered, actions taken or to be taken, or a promise to refrain from taking certain actions in accordance with the terms of a legally binding agreement between the entity and, at a minimum, one other party. An example would be amounts associated with contracts or programs where the recognized revenue for performance thereunder exceeds the amounts billed under the terms thereof as of the date of the balance sheet. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3(c)(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 3 -Subparagraph c(3) -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 912 -SubTopic 310 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6471842&loc=d3e55302-109406 + Details
Name: | us-gaap_UnbilledContractsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrecognized tax benefits pertaining to uncertain tax positions taken in tax returns. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Unrecognized Tax Benefit -URI http://asc.fasb.org/extlink&oid=6527854 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. + 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)(2) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. + 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)(1) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The net amount of all increases and decreases in unrecognized tax benefits for the period. + 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) -URI http://asc.fasb.org/extlink&oid=6907707&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

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=6907707&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Write-off of amounts previously capitalized as debt issuance cost in an extinguishment of debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_WriteOffOfDeferredDebtIssuanceCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=pwr_HowardMidstreamEnergyPartnersLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | invest_InvestmentAxis=pwr_InvestmentsInJointVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=pwr_RestrictedStockUnitsToBeSettledInCashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_DomesticBankAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_ForeignBankAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=pwr_FiberOpticLicensingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=pwr_SunrisePowerlinkProjectMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |