XML 110 R79.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Leases (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Leases [Abstract] |  |  |
Remaining term of operating leases (in years) | 5 years |  |
Total rental expense under operating leases | $ 2,100 | $ 2,200 | $ 2,800
Minimum future operating lease payments [Abstract] |  |  |
2017 | 665 |  |
2018 | 676 |  |
2019 | 688 |  |
2020 | 490 |  |
2021 and thereafter | 46 |  |
Total | $ 2,565 |  |

X
- Definition For leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due after the fourth year from the balance sheet date on leases defined as operating. + References No definition available. + Details
Name: | mtg_OperatingLeasesFutureMinimumPaymentsYearFiveandThereafter
Namespace Prefix: | mtg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Term of the lessee's leasing arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Rental expense for the reporting period incurred under operating leases, including minimum and any contingent rent expense, net of related sublease income. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41499-112717 + Details
Name: | us-gaap_OperatingLeasesRentExpenseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration