2.4.0.84030 - Disclosure - Fair Value Measurements (Details)truefalsefalse1falseUSDfalsefalse$I2013Q2http://www.sec.gov/CIK0001035983instant2013-06-30T00:00:000001-01-01T00:00:00ItemStandardhttp://www.comfortsystemsusa.com/20130630itemfix0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$I2012http://www.sec.gov/CIK0001035983instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDtruefalse$D2013Q2YTD_ContingentConsiderationObligationsMemberhttp://www.sec.gov/CIK0001035983duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseContingent earn-out obligationsus-gaap_FairValueByLiabilityClassAxisxbrldihttp://xbrl.org/2006/xbrldifix_ContingentConsiderationObligationsMemberus-gaap_FairValueByLiabilityClassAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDtruefalse$I2013Q2_FairValueMeasurementsRecurringMember_EstimateOfFairValueFairValueDisclosureMemberhttp://www.sec.gov/CIK0001035983instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRecurring basisus-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsRecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseTotalus-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EstimateOfFairValueFairValueDisclosureMemberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDtruefalse$I2013Q2_FairValueMeasurementsRecurringMember_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0001035983instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRecurring basisus-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsRecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseQuoted Market Prices In Active Markets for Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6falseUSDtruefalse$I2013Q2_FairValueMeasurementsRecurringMember_FairValueInputsLevel2Memberhttp://www.sec.gov/CIK0001035983instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRecurring basisus-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsRecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$7falseUSDtruefalse$I2013Q2_FairValueMeasurementsRecurringMember_FairValueInputsLevel3Memberhttp://www.sec.gov/CIK0001035983instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRecurring basisus-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsRecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse2334600023346000USD$falsetruefalse5truefalsefalse2334600023346000USD$falsetruefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Company may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months.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 FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8
-Footnote 2
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 8, 9, 10
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false23false4us-gaap_CashSurrenderValueFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse25870002587000falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse25870002587000falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This element represents the portion of a balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents the amount that could be realized under a life insurance contract or contracts owned by the Company as of the date of the statement of financial position. Such Company-owned life insurance policies are commonly known as corporate-owned life insurance (COLI) or bank-owned life insurance (BOLI).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Surrender Value
-URI http://asc.fasb.org/extlink&oid=6507153
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 88-5
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Technical Bulletin (FTB)
-Number 85-4
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false24false4fix_BusinessAcquisitionContingentConsiderationFairValueAtBalanceSheetDatefix_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse20200002020000falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse20200002020000falsefalsefalsexbrli:monetaryItemTypemonetaryFair value, as of the balance sheet date, of potential cash payments under the contingent consideration arrangement.No definition available.false25false4fix_LifeInsuranceContractsNumberOfEmployeesCoveredfix_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3939falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:integerItemTypeintegerRepresents the number of employees covered under life insurance policy contracts.No definition available.false2566false4fix_LifeInsuranceContractsFaceAmountfix_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4050000040500000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRepresents the face amount of life insurance policies taken by the entity for their employees.No definition available.false27false4us-gaap_CashSurrenderValueOfLifeInsuranceus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse26000002600000falsefalsefalse2truefalsefalse25000002500000falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of amounts which could be received based on the terms of the insurance contract upon surrendering life policies owned by the entity.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.17)
-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 17
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 4
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=6361293&loc=d3e6812-107765
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Technical Bulletin (FTB)
-Number 85-4
-Paragraph 2
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false28true4us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse19660001966000falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents a liability measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
false210false5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarningsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse5400054000falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of gain (loss) recognized in earnings, arising from liabilities measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c(1)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false211false5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse20200002020000USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents a liability measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
false2falseFair Value Measurements (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.comfortsystemsusa.com/role/DisclosureFairValueMeasurementsDetails711