0000101199 2018-01-01 2018-03-31 0000101199 2018-05-07 0000101199 2018-03-31 0000101199 2017-12-31 0000101199 2017-01-01 2017-03-31 0000101199 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2017-12-31 0000101199 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2018-01-01 2018-03-31 0000101199 us-gaap:RetainedEarningsMember 2018-01-01 2018-03-31 0000101199 us-gaap:RetainedEarningsMember 2018-03-31 0000101199 us-gaap:CommonStockMember 2018-03-31 0000101199 us-gaap:CommonStockMember 2018-01-01 2018-03-31 0000101199 us-gaap:AdditionalPaidInCapitalMember 2018-01-01 2018-03-31 0000101199 us-gaap:AdditionalPaidInCapitalMember 2017-12-31 0000101199 us-gaap:AdditionalPaidInCapitalMember 2018-03-31 0000101199 us-gaap:RetainedEarningsMember 2017-12-31 0000101199 us-gaap:CommonStockMember 2017-12-31 0000101199 us-gaap:AccumulatedOtherComprehensiveIncomeMember 2018-03-31 0000101199 2016-12-31 0000101199 2017-03-31 0000101199 us-gaap:LifeInsuranceSegmentMember us-gaap:SegmentDiscontinuedOperationsMember 2018-01-01 2018-03-31 0000101199 ufcs:ContinuingandDiscontinuingOperationsMember 2018-01-01 2018-03-31 0000101199 us-gaap:LifeInsuranceSegmentMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:PropertyLiabilityAndCasualtyInsuranceSegmentMember 2018-01-01 2018-03-31 0000101199 us-gaap:PropertyLiabilityAndCasualtyInsuranceSegmentMember 2018-03-31 0000101199 ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:LifeInsuranceSegmentMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:PropertyLiabilityAndCasualtyInsuranceSegmentMember 2017-12-31 0000101199 ufcs:ContinuingandDiscontinuingOperationsMember 2017-01-01 2017-03-31 0000101199 us-gaap:AccountingStandardsUpdate201601Member 2017-12-31 0000101199 2017-09-17 2017-09-17 0000101199 us-gaap:AccountingStandardsUpdate201601Member 2018-01-01 2018-03-31 0000101199 us-gaap:DebtSecuritiesMember 2018-03-31 0000101199 us-gaap:DebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:SegmentDiscontinuedOperationsMember 2018-01-01 2018-03-31 0000101199 us-gaap:SegmentDiscontinuedOperationsMember 2017-01-01 2017-03-31 0000101199 us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FixedMaturitiesMember ufcs:TradingAccountAssetsChangeInFairValueMember 2017-01-01 2017-03-31 0000101199 us-gaap:FixedMaturitiesMember us-gaap:AvailableforsaleSecuritiesMember 2018-01-01 2018-03-31 0000101199 us-gaap:EquitySecuritiesMember ufcs:TradingAccountAssetsChangeInFairValueMember 2017-01-01 2017-03-31 0000101199 us-gaap:FixedMaturitiesMember ufcs:TradingAccountAssetsChangeInFairValueMember 2018-01-01 2018-03-31 0000101199 us-gaap:EquitySecuritiesMember ufcs:TradingAccountAssetsSalesMember 2018-01-01 2018-03-31 0000101199 us-gaap:FixedMaturitiesMember ufcs:TradingAccountAssetsSalesMember 2018-01-01 2018-03-31 0000101199 us-gaap:EquitySecuritiesMember ufcs:TradingAccountAssetsChangeInFairValueMember 2018-01-01 2018-03-31 0000101199 us-gaap:FixedMaturitiesMember ufcs:TradingAccountAssetsSalesMember 2017-01-01 2017-03-31 0000101199 us-gaap:FixedMaturitiesMember us-gaap:AvailableforsaleSecuritiesMember 2017-01-01 2017-03-31 0000101199 us-gaap:EquitySecuritiesMember ufcs:TradingAccountAssetsSalesMember 2017-01-01 2017-03-31 0000101199 us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:EquitySecuritiesMember 2017-12-31 0000101199 us-gaap:DebtSecuritiesMember 2017-12-31 0000101199 us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:DebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:ForeignGovernmentDebtSecuritiesMember 2017-12-31 0000101199 us-gaap:CollateralizedMortgageObligationsMember 2018-03-31 0000101199 us-gaap:AssetBackedSecuritiesMember 2018-03-31 0000101199 us-gaap:MortgageBackedSecuritiesMember 2018-03-31 0000101199 us-gaap:OtherAssetsMember ufcs:RabbiTrustMember us-gaap:FairValueInputsLevel2Member 2018-03-31 0000101199 us-gaap:EstimateOfFairValueFairValueDisclosureMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:CarryingReportedAmountFairValueDisclosureMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:CarryingReportedAmountFairValueDisclosureMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:EstimateOfFairValueFairValueDisclosureMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:RedeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:RedeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:RedeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:RedeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:RedeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:RedeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:PublicUtilityBondsMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:RedeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:ForeignGovernmentDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:NortheastMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:MortgageBackedSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:MidwestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:FinancialServicesMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:WestMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:PublicUtilitiesMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:RedeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:GeneralObligationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:IndustrialMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:EnergyMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:TechnologyMediaAndTelecommunicationsMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:NonredeemablePreferredStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:SpecialRevenueMember us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember ufcs:SouthMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:HealthCareMember us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:USGovernmentAgenciesDebtSecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 ufcs:ConsumerGoodsAndServiceMember us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:CommonStockMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:USTreasurySecuritiesMember ufcs:ContinuingandDiscontinuingOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2017-12-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember 2017-12-31 0000101199 us-gaap:CarryingReportedAmountFairValueDisclosureMember 2017-12-31 0000101199 us-gaap:EstimateOfFairValueFairValueDisclosureMember 2017-12-31 0000101199 us-gaap:EstimateOfFairValueFairValueDisclosureMember 2018-03-31 0000101199 us-gaap:CarryingReportedAmountFairValueDisclosureMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2018-01-01 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember 2018-01-01 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember 2018-01-01 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:AssetBackedSecuritiesMember 2018-01-01 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember 2018-01-01 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:USStatesAndPoliticalSubdivisionsMember 2017-12-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:CorporateDebtSecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel1Member us-gaap:FairValueMeasurementsRecurringMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember us-gaap:SegmentDiscontinuedOperationsMember 2018-03-31 0000101199 us-gaap:FairValueMeasurementsRecurringMember us-gaap:DebtSecuritiesMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel2Member us-gaap:FairValueMeasurementsRecurringMember 2018-03-31 0000101199 us-gaap:FairValueInputsLevel3Member us-gaap:FairValueMeasurementsRecurringMember us-gaap:EquitySecuritiesMember 2018-03-31 0000101199 2017-01-01 2017-12-31 0000101199 us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember 2017-01-01 2017-03-31 0000101199 us-gaap:PensionPlansDefinedBenefitMember 2017-01-01 2017-03-31 0000101199 us-gaap:PensionPlansDefinedBenefitMember 2018-01-01 2018-03-31 0000101199 us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember 2018-01-01 2018-03-31 0000101199 us-gaap:PensionPlansDefinedBenefitMember 2017-12-31 0000101199 ufcs:EmployeeStockAwardPlan2008Member 2018-01-01 2018-03-31 0000101199 us-gaap:RestrictedStockMember ufcs:EmployeeStockAwardPlan2008Member 2009-01-01 2018-03-31 0000101199 us-gaap:EmployeeStockOptionMember ufcs:EmployeeStockAwardPlan2008Member 2009-01-01 2018-03-31 0000101199 ufcs:UnrestrictedStockAwardsMember ufcs:EmployeeStockAwardPlan2008Member 2018-01-01 2018-03-31 0000101199 us-gaap:RestrictedStockMember ufcs:EmployeeStockAwardPlan2008Member 2018-01-01 2018-03-31 0000101199 ufcs:EmployeeStockAwardPlan2008Member 2018-03-31 0000101199 ufcs:EmployeeStockAwardPlan2008Member 2017-12-31 0000101199 ufcs:EmployeeStockAwardPlan2008Member 2008-12-31 0000101199 ufcs:EmployeeStockAwardPlan2008Member 2009-01-01 2018-03-31 0000101199 us-gaap:EmployeeStockOptionMember ufcs:EmployeeStockAwardPlan2008Member 2018-01-01 2018-03-31 0000101199 ufcs:UnrestrictedStockAwardsMember ufcs:EmployeeStockAwardPlan2008Member 2009-01-01 2018-03-31 0000101199 ufcs:DirectorPlan2005Member 2005-01-01 2018-03-31 0000101199 ufcs:DirectorPlan2005Member 2018-03-31 0000101199 ufcs:DirectorPlan2005Member 2004-12-31 0000101199 us-gaap:EmployeeStockOptionMember ufcs:DirectorPlan2005Member 2018-01-01 2018-03-31 0000101199 ufcs:DirectorPlan2005Member 2018-01-01 2018-03-31 0000101199 ufcs:DirectorPlan2005Member 2017-12-31 0000101199 us-gaap:EmployeeStockOptionMember ufcs:DirectorPlan2005Member 2005-01-01 2018-03-31 0000101199 us-gaap:RestrictedStockMember ufcs:EmployeeStockAwardPlan2008Member us-gaap:ShareBasedCompensationAwardTrancheOneMember 2018-01-01 2018-03-31 0000101199 ufcs:EmployeeStockAwardPlan2008Member 2014-05-01 2014-05-31 0000101199 us-gaap:RestrictedStockMember ufcs:EmployeeStockAwardPlan2008Member us-gaap:ShareBasedCompensationAwardTrancheTwoMember 2018-01-01 2018-03-31 0000101199 us-gaap:EmployeeStockOptionMember 2018-01-01 2018-03-31 0000101199 us-gaap:EmployeeStockOptionMember 2017-01-01 2017-03-31 0000101199 us-gaap:RestrictedStockMember 2017-01-01 2017-03-31 0000101199 us-gaap:RestrictedStockMember 2018-01-01 2018-03-31 0000101199 us-gaap:RevolvingCreditFacilityMember 2016-02-02 0000101199 us-gaap:LetterOfCreditMember 2016-02-02 0000101199 ufcs:SwingLineOfCreditMember 2016-02-02 0000101199 us-gaap:RevolvingCreditFacilityMember 2016-02-02 2016-02-02 0000101199 2016-02-02 2016-02-02 0000101199 2016-02-02 0000101199 us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember 2018-03-31 0000101199 us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember 2017-12-31 0000101199 us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember 2018-01-01 2018-03-31 0000101199 us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember 2017-12-31 0000101199 us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember 2018-01-01 2018-03-31 0000101199 us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember 2018-03-31 0000101199 us-gaap:DiscontinuedOperationsDisposedOfBySaleMember ufcs:UnitedLifeInsuranceCompanyMember 2018-03-31 0000101199 us-gaap:DiscontinuedOperationsDisposedOfBySaleMember ufcs:UnitedLifeInsuranceCompanyMember 2017-12-31 0000101199 us-gaap:DiscontinuedOperationsDisposedOfBySaleMember ufcs:UnitedLifeInsuranceCompanyMember 2018-03-30 2018-03-30 0000101199 us-gaap:DiscontinuedOperationsDisposedOfBySaleMember ufcs:UnitedLifeInsuranceCompanyMember 2018-03-30 0000101199 us-gaap:DiscontinuedOperationsDisposedOfBySaleMember ufcs:UnitedLifeInsuranceCompanyMember 2017-09-18 2017-09-18 0000101199 us-gaap:DiscontinuedOperationsDisposedOfBySaleMember ufcs:UnitedLifeInsuranceCompanyMember 2017-01-01 2017-03-31 0000101199 us-gaap:DiscontinuedOperationsDisposedOfBySaleMember ufcs:UnitedLifeInsuranceCompanyMember 2018-01-01 2018-03-31 iso4217:USD xbrli:shares iso4217:USD ufcs:segment ufcs:state ufcs:issue xbrli:pure xbrli:shares ufcs:location false --12-31 Q1 2018 2018-03-31 10-Q 0000101199 24926648 Large Accelerated Filer UNITED FIRE GROUP INC UFCS 167396000 158811000 48439000 0.35 1254000 1046000 0 0 78000 0 0 0 50461000 49639000 -6294000 0 8018000 0 21000 1430025000 0 29698000 26104000 1673000 1895000 71151000 0 23653000 0 34000 0 4744000 4499000 1479399000 0 1320401000 0 8579000 5023000 5815000 0 3435000 0 12450000 12663000 16437000 0 3631000 3864000 11071000 10823000 17428000 13003000 1705000 -1057000 P24M 1412291000 0 5099000 0 34000 0 5795000 0 287344000 287344000 287344000 280362000 24414000 0 0 24414000 12782000 0 0 12782000 111761000 0 0 111761000 39025000 0 0 39025000 58724000 0 0 58724000 15095000 0 0 15095000 14410000 0 0 14410000 279542000 0 3331000 279542000 0 0 0 0 820000 0 820000 820000 280362000 280362000 280362000 0 4151000 280362000 63275000 65481000 -8100000 3614000 39000 3856000 552000 2397000 23971000 23783000 -9065000 -6925000 2623000 1734000 611866000 591702000 0 0 93560000 147038000 0 0 59794000 59871000 59994000 6 0.010 0 6714000 49352000 16437000 49352000 16437000 44998000 0 44998000 0 1590000 676000 5815000 5815000 0 0 279979000 0 0 480961 24003 0 12162 8470 3025180 262190 0 0 153209 175000 175000 0 0 0 0 0 0 0 175000 175000 175000 175000 0 175000 175000 0 0 0 0 0 0 0 175000 175000 175000 175000 0 1100000 965000 8750000 10497000 1020000 1288000 2359000 2629000 -2252000 -2178000 13841000 15083000 51603000 52693000 168314000 -191200000 -55867000 196334000 194504000 1281000 20623000 -24097000 1044000 1281000 0 0 4183431000 2845364000 329671000 2974417000 9874000 3313962000 569002000 1579566000 1552000 2150120000 1586134000 1586134000 0 0 27412000 3498000 1972000 5769000 2446000 1174000 2462000 2351000 1312000 3881000 3620000 1351000 5218000 2929000 2376000 362000 1879000 1703000 1441000 1921000 101000 3386000 1311000 4000 52467000 25055000 11219000 217000 157000 226000 1019000 468000 916000 976000 93000 200000 1495000 481000 1707000 1294000 74000 318000 73000 142000 156000 280000 71000 249000 606000 1000 11219000 0 8952000 494000 110000 442000 439000 10000 813000 463000 29000 241000 351000 619000 1851000 1198000 250000 8000 4047000 1174000 49000 2274000 238000 270000 717000 186000 16273000 7321000 24671000 291000 228000 1203000 1060000 196000 1993000 1516000 37000 427000 1188000 1443000 4404000 2757000 265000 45000 1822000 1100000 0 2086000 152000 632000 1556000 270000 24671000 0 1516610000 183253000 93191000 277824000 107689000 47477000 139870000 111123000 74125000 218067000 155475000 79028000 260145000 156576000 146853000 4282000 201320000 104903000 51361000 157836000 13828000 206028000 121574000 17073000 2928901000 1412291000 1577448000 31044000 22516000 55489000 105376000 46132000 134796000 112871000 12170000 33214000 143823000 64020000 250757000 149928000 15447000 3196000 56578000 47104000 10826000 74000000 8763000 48024000 135379000 15995000 1577448000 0 224065000 15742000 8171000 104985000 32340000 53522000 16075000 11556000 305000 242696000 18631000 539000 164000 120000 67000 0 120000 30000 115000 0 616000 77000 57387000 10110000 6514000 11529000 7763000 13117000 6394000 6067000 992000 62486000 5099000 303682000 2956105000 9874000 3269661000 3269661000 295163000 16889000 2991387000 7043000 -59126000 164000 246000 0 97000 12000 186000 431000 10000 781000 445000 0 107000 95000 30000 336000 582000 1744000 1182000 20000 128000 0 7161000 13067000 5906000 303000 333000 30000 3470000 832000 0 1645000 220000 191000 327000 119000 13400000 0 0 226000 916000 102000 1527000 1110000 0 0 854000 1281000 3538000 2426000 0 0 14400000 14400000 0 772000 378000 735000 82000 0 324000 129000 164000 494000 120000 110000 67000 442000 439000 10000 813000 463000 29000 120000 241000 30000 351000 619000 1851000 1198000 115000 250000 8000 8952000 16273000 7321000 539000 616000 77000 4047000 1174000 49000 2274000 238000 270000 717000 186000 16889000 291000 228000 1203000 1060000 196000 1993000 1516000 37000 427000 1188000 1443000 4404000 2757000 265000 45000 24671000 24671000 0 1822000 1100000 2086000 152000 632000 1556000 270000 151000 39594000 528000 3842000 202000 61533000 21906000 3644000 37504000 31699000 9947000 292000 32048000 278000 22616000 32947000 77666000 62177000 470000 45732000 992000 535304000 883820000 348516000 1514000 1921000 407000 113222000 52081000 857000 96733000 9099000 27632000 84214000 16135000 885741000 15823000 10567000 39991000 35126000 16760000 67402000 56306000 3694000 20349000 56198000 40188000 118727000 82318000 9745000 2837000 866630000 866630000 0 47714000 40478000 59985000 4951000 33171000 89326000 14974000 0 248000 120000 13000 55000 256000 8000 0 32000 18000 29000 13000 146000 0 15000 37000 107000 16000 95000 122000 8000 1791000 3206000 1415000 236000 283000 47000 577000 342000 49000 629000 18000 79000 390000 67000 3489000 291000 228000 977000 144000 94000 466000 406000 37000 427000 334000 162000 866000 331000 265000 45000 10271000 10271000 0 1050000 722000 1351000 70000 632000 1232000 141000 0 32781000 528000 2236000 193000 50144000 2177000 0 7959000 5944000 9947000 99000 27773000 0 3486000 4471000 7749000 5424000 466000 35319000 992000 232489000 413380000 180891000 1129000 1286000 157000 37543000 31958000 857000 49764000 2458000 19186000 64842000 10370000 414666000 15823000 10567000 34617000 15917000 13214000 38686000 31285000 3694000 20349000 37637000 12466000 50787000 30075000 9745000 2837000 572149000 572149000 0 35124000 33515000 47898000 2828000 33171000 81651000 10263000 151000 6813000 0 1606000 9000 11389000 19729000 3644000 29545000 25755000 0 193000 4275000 278000 19130000 28476000 69917000 56753000 4000 10413000 0 302815000 470440000 167625000 385000 635000 250000 75679000 20123000 0 46969000 6641000 8446000 19372000 5765000 471075000 0 0 5374000 19209000 3546000 28716000 25021000 0 0 18561000 27722000 67940000 52243000 0 0 294481000 294481000 0 12590000 6963000 12087000 2123000 0 7675000 4711000 447086000 447598000 187837000 189107000 704798000 693603000 48086000 48368000 3196000 177682000 8763000 3469000 173169000 8682000 1535070000 0 185589000 668000 186257000 186257000 0 95053000 0 95053000 95053000 0 275474000 7677000 283151000 283151000 0 0 0 0 109696000 48641000 141519000 113011000 0 0 0 0 109696000 48641000 141519000 113011000 109696000 48641000 141519000 113011000 0 75408000 0 75408000 75408000 0 221707000 0 221707000 221707000 0 0 0 0 158744000 79760000 263512000 158307000 0 0 0 0 158744000 79760000 263512000 158307000 158744000 79760000 263512000 158307000 0 148979000 0 148979000 148979000 0 0 0 0 0 0 0 0 0 0 0 0 3989000 1534323000 2956103000 1421780000 199152000 105432000 52753000 157483000 13691000 209144000 122168000 16891000 647000 747000 8992000 8245000 0 0 0 0 0 0 0 0 1535070000 1430025000 1535070000 1430025000 4636000 1535070000 2965095000 1430025000 199152000 105432000 52753000 157483000 13691000 209144000 122168000 16891000 4636000 199152000 105432000 52753000 157483000 13691000 209144000 122168000 16891000 2965095000 1430025000 1563996000 0 30970000 0 30970000 30970000 0 22445000 0 22445000 22445000 0 54412000 100000 54512000 54512000 0 0 0 0 105335000 46404000 133719000 112331000 0 0 0 0 105335000 46404000 133719000 112331000 105335000 46404000 133719000 112331000 0 12226000 0 12226000 12226000 0 32987000 0 32987000 32987000 0 0 0 0 144130000 63058000 248060000 148465000 0 0 0 0 144130000 63058000 248060000 148465000 144130000 63058000 248060000 148465000 0 15256000 0 15256000 15256000 0 0