XML 88 R73.htm IDEA: XBRL DOCUMENT
v3.21.1

Short Term Debt (Details) - Schedule of short term debt - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2020 | Dec. 31, 2019
Short-term Debt [Line Items] |  |
Total short term borrowings | $ 11,529 | $ 7,079
Short-term credit from banks [Member] |  |
Short-term Debt [Line Items] |  |
Linkage basis | USD |
Interest rate % | 0.20% |
Total short term borrowings |  | 688
Short-term credit from banks one [Member] |  |
Short-term Debt [Line Items] |  |
Linkage basis | NIS |
Interest rate % | 2.50% |
Total short term borrowings | $ 1,259 | 868
Current maturities of long-term loans from financial institution [Member] |  |
Short-term Debt [Line Items] |  |
Linkage basis | NIS |
Total short term borrowings | $ 10,270 | $ 5,523
Current maturities of long-term loans from financial institution [Member] | Minimum [Member] |  |
Short-term Debt [Line Items] |  |
Interest rate % | 0.20% |
Current maturities of long-term loans from financial institution [Member] | Maximum [Member] |  |
Short-term Debt [Line Items] |  |
Interest rate % | 3.10% |

X
- Definition Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer. + References No definition available. + Details
Name: | mgic_TotalShortTermBorrowings
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Identification of the specific currency to be purchased upon settlement or exercise of the foreign currency derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeCurrencyBought
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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_ShortTermDebtLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=mgic_ShorttermCreditFromBanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=mgic_ShorttermCreditFromBanksOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=mgic_CurrentMaturitiesOfLongtermLoansFromFinancialInstitutionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |