XML 82 R67.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Short Term Debt (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2017 | Dec. 31, 2016
Short term debt, Total | $ 9,771 | $ 5,645
Short-term credit from banks [Member] |  |
Linkage basis | USD |
Interest rate % | U.S Prime -0.2 |
Short term debt, Total | $ 2,125 | 996
Short-term credit from banks one [Member] |  |
Linkage basis | NIS |
Interest rate | 2.00% |
Short term debt, Total | $ 618 |
Short-term loans from banks [Member] |  |
Linkage basis | NIS |
Short term debt, Total | $ 259 | 155
Short-term loans from banks [Member] | Minimum [Member] |  |
Interest rate | 1.60% |
Short-term loans from banks [Member] | Maximum [Member] |  |
Interest rate | 2.00% |
Other [Member] |  |
Short term debt, Total |  | 36
Current maturities of long-term loans from financial institution [Member] |  |
Linkage basis | NIS |
Short term debt, Total | $ 6,769 | $ 4,458
Current maturities of long-term loans from financial institution [Member] | Minimum [Member] |  |
Interest rate | 2.60% |
Current maturities of long-term loans from financial institution [Member] | Maximum [Member] |  |
Interest rate | 3.00% |

X
- Definition Description of any adjustments made to the stated rate to determine the effective rate. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentInterestRateBasisForEffectiveRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&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 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 Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(a)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(1)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_ShortTermBorrowings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_ShortTermLoansFromBanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis=us-gaap_FinancialInstitutionsBorrowerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |