Quarterly report pursuant to Section 13 or 15(d)

Contract Costs - Additional Information (Detail)

v2.4.1.9
Contract Costs - Additional Information (Detail) (USD $)
3 Months Ended
Mar. 31, 2015
Project
Mar. 31, 2014
Project
Dec. 31, 2014
Long-term Contracts or Programs Disclosure [Line Items]      
Pass-through costs as a percentage of revenue 44.70%gifi_PassThroughCostsAsPercentOfRevenue 68.90%gifi_PassThroughCostsAsPercentOfRevenue  
Costs and estimated earnings in excess of billings on uncompleted contracts, unbilled costs $ 26,194,000us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear   $ 26,989,000us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear
Billings in excess of costs and estimated earnings, advances 13,208,000us-gaap_BillingsInExcessOfCostCurrent   18,766,000us-gaap_BillingsInExcessOfCostCurrent
Estimate to complete projects   5,000,000gifi_EstimatedCostsToCompleteProjects  
Number of projects orders changed 2gifi_NumberOfProjects 7gifi_NumberOfProjects  
Project One [Member]      
Long-term Contracts or Programs Disclosure [Line Items]      
Estimate to complete projects 21,600,000gifi_EstimatedCostsToCompleteProjects
/ us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis
= gifi_ProjectOneMember
   
Percentage of complete projects 76.00%gifi_PercentageOfProjectCompletion
/ us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis
= gifi_ProjectOneMember
   
Project Two [Member]      
Long-term Contracts or Programs Disclosure [Line Items]      
Estimate to complete projects 200,000gifi_EstimatedCostsToCompleteProjects
/ us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis
= gifi_ProjectTwoMember
   
Percentage of complete projects 88.00%gifi_PercentageOfProjectCompletion
/ us-gaap_CapitalizedCostsOfUnprovedPropertiesExcludedFromAmortizationByPropertyOrProjectAxis
= gifi_ProjectTwoMember
   
Unbilled Contract Costs [Member]      
Long-term Contracts or Programs Disclosure [Line Items]      
Costs and estimated earnings in excess of billings on uncompleted contracts, unbilled costs 17,300,000us-gaap_CostsInExcessOfBillingsOnUncompletedContractsOrProgramsExpectedToBeCollectedWithinOneYear
/ us-gaap_AccountsNotesLoansAndFinancingReceivablesByBillingStatusTypeAxis
= gifi_UnbilledContractCostsMember
   
Number of major customers 3gifi_NumberOfMajorCustomers
/ us-gaap_AccountsNotesLoansAndFinancingReceivablesByBillingStatusTypeAxis
= gifi_UnbilledContractCostsMember
   
Contract Advances [Member]      
Long-term Contracts or Programs Disclosure [Line Items]      
Number of major customers 3gifi_NumberOfMajorCustomers
/ us-gaap_AccountsNotesLoansAndFinancingReceivablesByBillingStatusTypeAxis
= gifi_ContractAdvancesMember
   
Billings in excess of costs and estimated earnings, advances $ 7,600,000us-gaap_BillingsInExcessOfCostCurrent
/ us-gaap_AccountsNotesLoansAndFinancingReceivablesByBillingStatusTypeAxis
= gifi_ContractAdvancesMember