XML 72 R49.htm IDEA: XBRL DOCUMENT
v3.20.1

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Leases [Abstract] |
Schedule of weighted average remaining lease terms and discount rates |
December 31, |
|  | 2019 |
Weighted average remaining lease term (years) |  |  | 3.55 |
Weighted average discount rate |  |  | 2.05 | %
Schedule of future minimum lease commitments under non-cancelable operating leases |
2020 |  | $ | 4,407 |
2021 |  |  | 3,208 |
2022 |  |  | 2,070 |
2023 |  |  | 1,586 |
2024 |  |  | 1,086 |
2025 and thereafter |  |  | 3,746 |
Total undiscounted cash flows |  | $ | 16,103 |
Less imputed interest |  |  | (1,151 | )
Present value of lease liabilities |  |  | 14,952 |

X
- References No definition available. + Details
Name: | mgic_LeaseDisclosureAbstract
Namespace Prefix: | mgic_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the average discount rate in the country of origin applied to insurance contracts to determine future policy benefits to be paid to or on behalf of policyholders and the methodology and assumptions for calculating the discount rate. + References No definition available. + Details
Name: | mgic_ScheduleOrDescriptionOfWeightedAverageDiscountRatesTextBlock
Namespace Prefix: | mgic_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration