XML 54 R40.htm IDEA: XBRL DOCUMENT
v3.21.1

Impairments and (Gain) Loss on Assets Held for Sale - Summary of Assets Held for Sale (Details) - Disposal Group, Held-for-sale, Not Discontinued Operations - USD ($) $ in Thousands | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | --- | ---
Long Lived Assets Held-for-sale [Line Items] |  |  |
Machinery and equipment | $ 16,399 | $ 17,618 |
Accumulated depreciation | (8,185) | (8,612) |
Total assets held for sale | 8,214 | 9,006 | $ 18,000
Shipyard |  |  |
Long Lived Assets Held-for-sale [Line Items] |  |  |
Machinery and equipment | 3,619 |  |
Accumulated depreciation | (1,605) |  |
Total assets held for sale | 2,014 |  |
F&S |  |  |
Long Lived Assets Held-for-sale [Line Items] |  |  |
Machinery and equipment | 12,780 | 17,618 |
Accumulated depreciation | (6,580) | (8,612) |
Total assets held for sale | $ 6,200 | $ 9,006 |

X
- Definition Disposal Group, Including Discontinued Operation, Accumulated Depreciation + References No definition available. + Details
Name: | gifi_DisposalGroupIncludingDiscontinuedOperationAccumulatedDepreciation
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disposal Group, Including Discontinued Operation, Property, Plant and Equipment, Gross + References No definition available. + Details
Name: | gifi_DisposalGroupIncludingDiscontinuedOperationPropertyPlantandEquipmentGross
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as property, plant and equipment attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=109226348&loc=d3e2473-110228 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LongLivedAssetsHeldForSaleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=us-gaap_DisposalGroupHeldforsaleNotDiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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