{
 "instance": {
  "jhvit-html4616_485bpos.htm": {
   "axisCustom": 0,
   "axisStandard": 4,
   "contextCount": 286,
   "dts": {
    "definitionLink": {
     "local": [
      "jhf-20220425_def.xml"
     ]
    },
    "inline": {
     "local": [
      "jhvit-html4616_485bpos.htm"
     ]
    },
    "labelLink": {
     "local": [
      "jhf-20220425_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "jhf-20220425_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "jhf-20220425.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/2006/xbrldi-2006.xsd",
      "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd",
      "https://xbrl.sec.gov/rr/2018/rr-2018-01-31.xsd"
     ]
    }
   },
   "elementCount": 324,
   "entityCount": 1,
   "hidden": {
    "http://xbrl.sec.gov/dei/2020-01-31": 6,
    "http://xbrl.sec.gov/rr/2018-01-31": 499,
    "total": 505
   },
   "keyCustom": 0,
   "keyStandard": 68,
   "memberCustom": 240,
   "memberStandard": 0,
   "nsprefix": "jhf",
   "nsuri": "http://jhf/20220425",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "default",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "false",
     "longName": "010001 - Document - Document And Entity Information {Elements}",
     "role": "http://jhf/role/DocumentDocumentandEntityInformation",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_500IndexTrustMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "false",
     "longName": "010002 - Document - John Hancock Variable Insurance Trust {Elements}",
     "role": "http://jhf/role/Djhvitmasterfye_5950",
     "shortName": "John Hancock Variable Insurance Trust",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "default",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040000 - Disclosure - Risk/Return Detail Data {Elements}",
     "role": "http://xbrl.sec.gov/rr/role/RiskReturnDetailData",
     "shortName": "Risk/Return Detail Data",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "S1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "default",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentCreationDate",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "true",
     "longName": "000003605 - Disclosure - Document and Entity Information",
     "section": 0,
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "default",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentCreationDate",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_CapitalAppreciationTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000011424 - Disclosure - (John Hancock Variable Insurance Trust), (Capital Appreciation Trust)",
     "section": 9,
     "shortName": "(John Hancock Variable Insurance Trust), (Capital Appreciation Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_CapitalAppreciationTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_CapitalAppreciationValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000012373 - Disclosure - (John Hancock Variable Insurance Trust), (Capital Appreciation Value Trust)",
     "section": 10,
     "shortName": "(John Hancock Variable Insurance Trust), (Capital Appreciation Value Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_CapitalAppreciationValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_CoreBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000013236 - Disclosure - (John Hancock Variable Insurance Trust), (Core Bond Trust)",
     "section": 11,
     "shortName": "(John Hancock Variable Insurance Trust), (Core Bond Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_CoreBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_DisciplinedValueInternationalTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000013994 - Disclosure - (John Hancock Variable Insurance Trust), (Disciplined Value International Trust)",
     "section": 12,
     "shortName": "(John Hancock Variable Insurance Trust), (Disciplined Value International Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_DisciplinedValueInternationalTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_EmergingMarketsValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000014848 - Disclosure - (John Hancock Variable Insurance Trust), (Emerging Markets Value Trust)",
     "section": 13,
     "shortName": "(John Hancock Variable Insurance Trust), (Emerging Markets Value Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_EmergingMarketsValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_EquityIncomeTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000016033 - Disclosure - (John Hancock Variable Insurance Trust), (Equity Income Trust)",
     "section": 14,
     "shortName": "(John Hancock Variable Insurance Trust), (Equity Income Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_EquityIncomeTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_FinancialIndustriesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000017008 - Disclosure - (John Hancock Variable Insurance Trust), (Financial Industries Trust)",
     "section": 15,
     "shortName": "(John Hancock Variable Insurance Trust), (Financial Industries Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_FinancialIndustriesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_FundamentalAllCapCoreTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000017870 - Disclosure - (John Hancock Variable Insurance Trust), (Fundamental All Cap Core Trust)",
     "section": 16,
     "shortName": "(John Hancock Variable Insurance Trust), (Fundamental All Cap Core Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_FundamentalAllCapCoreTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_FundamentalLargeCapValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000018684 - Disclosure - (John Hancock Variable Insurance Trust), (Fundamental Large Cap Value Trust)",
     "section": 17,
     "shortName": "(John Hancock Variable Insurance Trust), (Fundamental Large Cap Value Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_FundamentalLargeCapValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_GlobalEquityTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000019502 - Disclosure - (John Hancock Variable Insurance Trust), (Global Equity Trust)",
     "section": 18,
     "shortName": "(John Hancock Variable Insurance Trust), (Global Equity Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_GlobalEquityTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S2": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_500IndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000004959 - Disclosure - (John Hancock Variable Insurance Trust), (500 Index Trust)",
     "section": 1,
     "shortName": "(John Hancock Variable Insurance Trust), (500 Index Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_500IndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_HealthSciencesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000020251 - Disclosure - (John Hancock Variable Insurance Trust), (Health Sciences Trust)",
     "section": 19,
     "shortName": "(John Hancock Variable Insurance Trust), (Health Sciences Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_HealthSciencesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_HighYieldTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000021088 - Disclosure - (John Hancock Variable Insurance Trust), (High Yield Trust)",
     "section": 20,
     "shortName": "(John Hancock Variable Insurance Trust), (High Yield Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_HighYieldTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_InternationalEquityIndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000021923 - Disclosure - (John Hancock Variable Insurance Trust), (International Equity Index Trust)",
     "section": 21,
     "shortName": "(John Hancock Variable Insurance Trust), (International Equity Index Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_InternationalEquityIndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_InternationalSmallCompanyTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000022698 - Disclosure - (John Hancock Variable Insurance Trust), (International Small Company Trust)",
     "section": 22,
     "shortName": "(John Hancock Variable Insurance Trust), (International Small Company Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_InternationalSmallCompanyTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_InvestmentQualityBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000023571 - Disclosure - (John Hancock Variable Insurance Trust), (Investment Quality Bond Trust)",
     "section": 23,
     "shortName": "(John Hancock Variable Insurance Trust), (Investment Quality Bond Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_InvestmentQualityBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_LifestyleBalancedPortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000024607 - Disclosure - (John Hancock Variable Insurance Trust), (Lifestyle Balanced Portfolio)",
     "section": 24,
     "shortName": "(John Hancock Variable Insurance Trust), (Lifestyle Balanced Portfolio)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_LifestyleBalancedPortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_LifestyleConservativePortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000025769 - Disclosure - (John Hancock Variable Insurance Trust), (Lifestyle Conservative Portfolio)",
     "section": 25,
     "shortName": "(John Hancock Variable Insurance Trust), (Lifestyle Conservative Portfolio)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_LifestyleConservativePortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_LifestyleGrowthPortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000026976 - Disclosure - (John Hancock Variable Insurance Trust), (Lifestyle Growth Portfolio)",
     "section": 26,
     "shortName": "(John Hancock Variable Insurance Trust), (Lifestyle Growth Portfolio)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_LifestyleGrowthPortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_LifestyleModeratePortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000028133 - Disclosure - (John Hancock Variable Insurance Trust), (Lifestyle Moderate Portfolio)",
     "section": 27,
     "shortName": "(John Hancock Variable Insurance Trust), (Lifestyle Moderate Portfolio)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_LifestyleModeratePortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ManagedVolatilityBalancedPortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000029292 - Disclosure - (John Hancock Variable Insurance Trust), (Managed Volatility Balanced Portfolio)",
     "section": 28,
     "shortName": "(John Hancock Variable Insurance Trust), (Managed Volatility Balanced Portfolio)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ManagedVolatilityBalancedPortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S3": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ActiveBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000005704 - Disclosure - (John Hancock Variable Insurance Trust), (Active Bond Trust)",
     "section": 2,
     "shortName": "(John Hancock Variable Insurance Trust), (Active Bond Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ActiveBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ManagedVolatilityConservativePortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000030576 - Disclosure - (John Hancock Variable Insurance Trust), (Managed Volatility Conservative Portfolio)",
     "section": 29,
     "shortName": "(John Hancock Variable Insurance Trust), (Managed Volatility Conservative Portfolio)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ManagedVolatilityConservativePortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ManagedVolatilityGrowthPortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000031862 - Disclosure - (John Hancock Variable Insurance Trust), (Managed Volatility Growth Portfolio)",
     "section": 30,
     "shortName": "(John Hancock Variable Insurance Trust), (Managed Volatility Growth Portfolio)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ManagedVolatilityGrowthPortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ManagedVolatilityModeratePortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000033144 - Disclosure - (John Hancock Variable Insurance Trust), (Managed Volatility Moderate Portfolio)",
     "section": 31,
     "shortName": "(John Hancock Variable Insurance Trust), (Managed Volatility Moderate Portfolio)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ManagedVolatilityModeratePortfolioMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_MidCapGrowthTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000034434 - Disclosure - (John Hancock Variable Insurance Trust), (Mid Cap Growth Trust)",
     "section": 32,
     "shortName": "(John Hancock Variable Insurance Trust), (Mid Cap Growth Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_MidCapGrowthTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_MidCapIndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000035189 - Disclosure - (John Hancock Variable Insurance Trust), (Mid Cap Index Trust)",
     "section": 33,
     "shortName": "(John Hancock Variable Insurance Trust), (Mid Cap Index Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_MidCapIndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_MidValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000035909 - Disclosure - (John Hancock Variable Insurance Trust), (Mid Value Trust)",
     "section": 34,
     "shortName": "(John Hancock Variable Insurance Trust), (Mid Value Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_MidValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_MoneyMarketTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000036816 - Disclosure - (John Hancock Variable Insurance Trust), (Money Market Trust)",
     "section": 35,
     "shortName": "(John Hancock Variable Insurance Trust), (Money Market Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_MoneyMarketTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_OpportunisticFixedIncomeTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000037594 - Disclosure - (John Hancock Variable Insurance Trust), (Opportunistic Fixed Income Trust)",
     "section": 36,
     "shortName": "(John Hancock Variable Insurance Trust), (Opportunistic Fixed Income Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_OpportunisticFixedIncomeTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_RealEstateSecuritiesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000038577 - Disclosure - (John Hancock Variable Insurance Trust), (Real Estate Securities Trust)",
     "section": 37,
     "shortName": "(John Hancock Variable Insurance Trust), (Real Estate Securities Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_RealEstateSecuritiesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ScienceTechnologyTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000039442 - Disclosure - (John Hancock Variable Insurance Trust), (Science &amp; Technology Trust)",
     "section": 38,
     "shortName": "(John Hancock Variable Insurance Trust), (Science &amp; Technology Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ScienceTechnologyTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S4": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanAssetAllocationTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000006651 - Disclosure - (John Hancock Variable Insurance Trust), (American Asset Allocation Trust)",
     "section": 3,
     "shortName": "(John Hancock Variable Insurance Trust), (American Asset Allocation Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanAssetAllocationTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SelectBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000040516 - Disclosure - (John Hancock Variable Insurance Trust), (Select Bond Trust)",
     "section": 39,
     "shortName": "(John Hancock Variable Insurance Trust), (Select Bond Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SelectBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ShortTermGovernmentIncomeTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000041321 - Disclosure - (John Hancock Variable Insurance Trust), (Short Term Government Income Trust)",
     "section": 40,
     "shortName": "(John Hancock Variable Insurance Trust), (Short Term Government Income Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_ShortTermGovernmentIncomeTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCapIndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000042120 - Disclosure - (John Hancock Variable Insurance Trust), (Small Cap Index Trust)",
     "section": 41,
     "shortName": "(John Hancock Variable Insurance Trust), (Small Cap Index Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCapIndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCapOpportunitiesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000042791 - Disclosure - (John Hancock Variable Insurance Trust), (Small Cap Opportunities Trust)",
     "section": 42,
     "shortName": "(John Hancock Variable Insurance Trust), (Small Cap Opportunities Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCapOpportunitiesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCapStockTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000043740 - Disclosure - (John Hancock Variable Insurance Trust), (Small Cap Stock Trust)",
     "section": 43,
     "shortName": "(John Hancock Variable Insurance Trust), (Small Cap Stock Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCapStockTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCapValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000044556 - Disclosure - (John Hancock Variable Insurance Trust), (Small Cap Value Trust)",
     "section": 44,
     "shortName": "(John Hancock Variable Insurance Trust), (Small Cap Value Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCapValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCompanyValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000045451 - Disclosure - (John Hancock Variable Insurance Trust), (Small Company Value Trust)",
     "section": 45,
     "shortName": "(John Hancock Variable Insurance Trust), (Small Company Value Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_SmallCompanyValueTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S47": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_StrategicEquityAllocationTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000046398 - Disclosure - (John Hancock Variable Insurance Trust), (Strategic Equity Allocation Trust)",
     "section": 46,
     "shortName": "(John Hancock Variable Insurance Trust), (Strategic Equity Allocation Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_StrategicEquityAllocationTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S48": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_StrategicIncomeOpportunitiesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000047336 - Disclosure - (John Hancock Variable Insurance Trust), (Strategic Income Opportunities Trust)",
     "section": 47,
     "shortName": "(John Hancock Variable Insurance Trust), (Strategic Income Opportunities Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_StrategicIncomeOpportunitiesTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S49": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_TotalBondMarketTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000048211 - Disclosure - (John Hancock Variable Insurance Trust), (Total Bond Market Trust)",
     "section": 48,
     "shortName": "(John Hancock Variable Insurance Trust), (Total Bond Market Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_TotalBondMarketTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S5": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanGlobalGrowthTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000007486 - Disclosure - (John Hancock Variable Insurance Trust), (American Global Growth Trust)",
     "section": 4,
     "shortName": "(John Hancock Variable Insurance Trust), (American Global Growth Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanGlobalGrowthTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S50": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_TotalStockMarketIndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000049076 - Disclosure - (John Hancock Variable Insurance Trust), (Total Stock Market Index Trust)",
     "section": 49,
     "shortName": "(John Hancock Variable Insurance Trust), (Total Stock Market Index Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_TotalStockMarketIndexTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S51": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_UltraShortTermBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000049798 - Disclosure - (John Hancock Variable Insurance Trust), (Ultra Short Term Bond Trust)",
     "section": 50,
     "shortName": "(John Hancock Variable Insurance Trust), (Ultra Short Term Bond Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_UltraShortTermBondTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S6": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanGrowthTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000008264 - Disclosure - (John Hancock Variable Insurance Trust), (American Growth Trust)",
     "section": 5,
     "shortName": "(John Hancock Variable Insurance Trust), (American Growth Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanGrowthTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S7": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanGrowth-IncomeTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000009012 - Disclosure - (John Hancock Variable Insurance Trust), (American Growth-Income Trust)",
     "section": 6,
     "shortName": "(John Hancock Variable Insurance Trust), (American Growth-Income Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanGrowth-IncomeTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S8": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanInternationalTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000009755 - Disclosure - (John Hancock Variable Insurance Trust), (American International Trust)",
     "section": 7,
     "shortName": "(John Hancock Variable Insurance Trust), (American International Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_AmericanInternationalTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_BlueChipGrowthTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000010474 - Disclosure - (John Hancock Variable Insurance Trust), (Blue Chip Growth Trust)",
     "section": 8,
     "shortName": "(John Hancock Variable Insurance Trust), (Blue Chip Growth Trust)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "jhvit-html4616_485bpos.htm",
      "contextRef": "c_5950_BlueChipGrowthTrustMember",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:ObjectiveHeading",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 240,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentCreationDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date the document was made available and submitted, in YYYY-MM-DD format. The date of submission, date of acceptance by the recipient, and the document effective date are all potentially different.",
        "label": "Document Creation Date"
       }
      }
     },
     "localname": "DocumentCreationDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of the document as assigned by the filer, corresponding to SEC document naming convention standards.",
        "label": "Prospectus"
       }
      }
     },
     "localname": "DocumentDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_DocumentEffectiveDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date when a document, upon receipt and acceptance, becomes officially effective, in YYYY-MM-DD format. Usually it is a system-assigned date time value, but it may be declared by the submitter in some cases.",
        "label": "Document Effective Date"
       }
      }
     },
     "localname": "DocumentEffectiveDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentInformationDocumentAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Document [Axis]"
       }
      }
     },
     "localname": "DocumentInformationDocumentAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Series"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityInvCompanyType": {
     "auth_ref": [
      "r36"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product).",
        "label": "Entity Inv Company Type"
       }
      }
     },
     "localname": "EntityInvCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "invCompanyType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r35"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Series [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "jhf_C000022342Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022342-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022342Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022347Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022347-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022347Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022348Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022348-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022348Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022349Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022349-III",
        "terseLabel": "Series III"
       }
      }
     },
     "localname": "C000022349Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022351Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022351-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022351Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022352Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022352-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022352Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022353Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022353-III",
        "terseLabel": "Series III"
       }
      }
     },
     "localname": "C000022353Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022354Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022354-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022354Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022355Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022355-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022355Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022356Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022356-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022356Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022362Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022362-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022362Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022366Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022366-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022366Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022367Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022367-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022367Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022368Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022368-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022368Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022369Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022369-III",
        "terseLabel": "Series III"
       }
      }
     },
     "localname": "C000022369Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022374Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022374-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022374Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022375Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022375-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022375Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022376Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022376-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022376Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022398Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022398-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022398Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022399Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022399-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022399Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022400Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022400-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022400Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022402Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022402-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022402Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022403Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022403-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022403Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022404Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022404-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022404Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022410Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022410-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022410Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022411Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022411-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022411Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022412Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022412-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022412Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022418Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022418-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022418Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022419Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022419-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022419Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022420Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022420-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022420Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022430Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022430-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022430Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022431Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022431-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022431Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022432Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022432-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022432Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022442Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022442-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022442Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022443Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022443-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022443Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022444Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022444-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022444Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022446Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022446-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022446Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022447Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022447-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022447Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022448Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022448-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022448Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022475Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022475-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022475Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022476Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022476-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022476Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022477Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022477-III",
        "terseLabel": "Series III"
       }
      }
     },
     "localname": "C000022477Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022567Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022567-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022567Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022568Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022568-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022568Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022569Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022569-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022569Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022588Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022588-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022588Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022589Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022589-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022589Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022590Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022590-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022590Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022593Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022593-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022593Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022594Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022594-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022594Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022595Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022595-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022595Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022598Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022598-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022598Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022599Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022599-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022599Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022600Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022600-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022600Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022603Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022603-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022603Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022604Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022604-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022604Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022605Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022605-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022605Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022620Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022620-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022620Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022621Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022621-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022621Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022622Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022622-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022622Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022624Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022624-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022624Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022625Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022625-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022625Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022626Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022626-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022626Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022636Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022636-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022636Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022637Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022637-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022637Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022638Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022638-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022638Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022640Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022640-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022640Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022641Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022641-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022641Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022642Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022642-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022642Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022664Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022664-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022664Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022665Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022665-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022665Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022666Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022666-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022666Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022668Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022668-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022668Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022684Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022684-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022684Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022685Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022685-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022685Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022686Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022686-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022686Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022688Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022688-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022688Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022689Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022689-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022689Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022690Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022690-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022690Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022703Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022703-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022703Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022704Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022704-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022704Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022705Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022705-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022705Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022707Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022707-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022707Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022708Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022708-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022708Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022709Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022709-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022709Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022711Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022711-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022711Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022712Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022712-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022712Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022713Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022713-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022713Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022723Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022723-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022723Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022724Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022724-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022724Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022725Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022725-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022725Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022739Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022739-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022739Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022740Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022740-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022740Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022741Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022741-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022741Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022743Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022743-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022743Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022744Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022744-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022744Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022745Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022745-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022745Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022759Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022759-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022759Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022760Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022760-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022760Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022761Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022761-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022761Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022811Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022811-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022811Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022812Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022812-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022812Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022813Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022813-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022813Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022819Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022819-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022819Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022820Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022820-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022820Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022821Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022821-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022821Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022831Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022831-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000022831Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022832Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022832-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000022832Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000022833Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000022833-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000022833Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047744Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047744-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000047744Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047745Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047745-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000047745Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047746Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047746-III",
        "terseLabel": "Series III"
       }
      }
     },
     "localname": "C000047746Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047759Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047759-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000047759Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047760Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047760-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000047760Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047761Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047761-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000047761Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047762Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047762-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000047762Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047763Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047763-III",
        "terseLabel": "Series III"
       }
      }
     },
     "localname": "C000047763Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000047764Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000047764-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000047764Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000063026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000063026-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000063026Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000063027Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000063027-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000063027Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000063028Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000063028-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000063028Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000073237Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000073237-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000073237Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000073238Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000073238-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000073238Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000073239Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000073239-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000073239Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000078285Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000078285-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000078285Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000078286Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000078286-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000078286Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000078287Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000078287-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000078287Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000090649Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000090649-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000090649Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000090650Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000090650-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000090650Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000090651Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000090651-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000090651Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099620Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099620-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000099620Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099621Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099621-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000099621Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099622Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099622-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000099622Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099623Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099623-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000099623Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099624Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099624-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000099624Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099625Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099625-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000099625Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099626Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099626-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000099626Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099627Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099627-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000099627Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099628Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099628-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000099628Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099629Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099629-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000099629Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099630Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099630-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000099630Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000099631Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000099631-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000099631Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000111802Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000111802-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000111802Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000111803Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000111803-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000111803Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000111804Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000111804-NAV",
        "terseLabel": "Series NAV"
       }
      }
     },
     "localname": "C000111804Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000117965Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000117965-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000117965Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000117966Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000117966-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000117966Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000117967Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000117967-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000117967Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000117968Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000117968-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000117968Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000117969Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000117969-I",
        "terseLabel": "Series I"
       }
      }
     },
     "localname": "C000117969Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_C000117970Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class C000117970-II",
        "terseLabel": "Series II"
       }
      }
     },
     "localname": "C000117970Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_Djhvitmasterfye_5950Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "jhvitmasterfye_5950",
        "terseLabel": "(John Hancock Variable Insurance Trust)",
        "verboseLabel": ""
       }
      }
     },
     "localname": "Djhvitmasterfye_5950Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_Djhvitsaiamericanfundsfye_5960Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "jhvitsaiamericanfundsfye_5960",
        "terseLabel": "(John Hancock Variable Insurance Trust - SAI (American Funds))",
        "verboseLabel": ""
       }
      }
     },
     "localname": "Djhvitsaiamericanfundsfye_5960Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_Djhvitsaimainfye_5961Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "jhvitsaimainfye_5961",
        "terseLabel": "(John Hancock Variable Insurance Trust - SAI (Main))",
        "verboseLabel": ""
       }
      }
     },
     "localname": "Djhvitsaimainfye_5961Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008214Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008214-Total Bond Market Trust",
        "terseLabel": "(Total Bond Market Trust)"
       }
      }
     },
     "localname": "S000008214Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008215Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008215-American Growth Trust",
        "terseLabel": "(American Growth Trust)"
       }
      }
     },
     "localname": "S000008215Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008216Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008216-American International Trust",
        "terseLabel": "(American International Trust)"
       }
      }
     },
     "localname": "S000008216Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008217Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008217-Blue Chip Growth Trust",
        "terseLabel": "(Blue Chip Growth Trust)"
       }
      }
     },
     "localname": "S000008217Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008219Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008219-500 Index Trust",
        "terseLabel": "(500 Index Trust)"
       }
      }
     },
     "localname": "S000008219Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008220Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008220-Capital Appreciation Trust",
        "terseLabel": "(Capital Appreciation Trust)"
       }
      }
     },
     "localname": "S000008220Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008222Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008222-Core Bond Trust",
        "terseLabel": "(Core Bond Trust)"
       }
      }
     },
     "localname": "S000008222Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008228Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008228-Equity Income Trust",
        "terseLabel": "(Equity Income Trust)"
       }
      }
     },
     "localname": "S000008228Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008229Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008229-Financial Industries Trust",
        "terseLabel": "(Financial Industries Trust)"
       }
      }
     },
     "localname": "S000008229Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008231Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008231-Global Equity Trust",
        "terseLabel": "(Global Equity Trust)"
       }
      }
     },
     "localname": "S000008231Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008233Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008233-Opportunistic Fixed Income Trust",
        "terseLabel": "(Opportunistic Fixed Income Trust)"
       }
      }
     },
     "localname": "S000008233Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008236Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008236-Active Bond Trust",
        "terseLabel": "(Active Bond Trust)"
       }
      }
     },
     "localname": "S000008236Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008239Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008239-Health Sciences Trust",
        "terseLabel": "(Health Sciences Trust)"
       }
      }
     },
     "localname": "S000008239Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008240Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008240-High Yield Trust",
        "terseLabel": "(High Yield Trust)"
       }
      }
     },
     "localname": "S000008240Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008247Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008247-American Growth-Income Trust",
        "terseLabel": "(American Growth-Income Trust)"
       }
      }
     },
     "localname": "S000008247Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008273Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008273-Investment Quality Bond Trust",
        "terseLabel": "(Investment Quality Bond Trust)"
       }
      }
     },
     "localname": "S000008273Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008278Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008278-Managed Volatility Growth Portfolio",
        "terseLabel": "(Managed Volatility Growth Portfolio)"
       }
      }
     },
     "localname": "S000008278Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008279Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008279-Managed Volatility Balanced Portfolio",
        "terseLabel": "(Managed Volatility Balanced Portfolio)"
       }
      }
     },
     "localname": "S000008279Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008280Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008280-Managed Volatility Moderate Portfolio",
        "terseLabel": "(Managed Volatility Moderate Portfolio)"
       }
      }
     },
     "localname": "S000008280Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008281Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008281-Managed Volatility Conservative Portfolio",
        "terseLabel": "(Managed Volatility Conservative Portfolio)"
       }
      }
     },
     "localname": "S000008281Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008285Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008285-Mid Cap Index Trust",
        "terseLabel": "(Mid Cap Index Trust)"
       }
      }
     },
     "localname": "S000008285Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008286Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008286-Mid Cap Growth Trust",
        "terseLabel": "(Mid Cap Growth Trust)"
       }
      }
     },
     "localname": "S000008286Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008289Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008289-Mid Value Trust",
        "terseLabel": "(Mid Value Trust)"
       }
      }
     },
     "localname": "S000008289Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008290Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008290-Money Market Trust",
        "terseLabel": "(Money Market Trust)"
       }
      }
     },
     "localname": "S000008290Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008296Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008296-Fundamental All Cap Core Trust",
        "terseLabel": "(Fundamental All Cap Core Trust)"
       }
      }
     },
     "localname": "S000008296Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008297Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008297-International Equity Index Trust",
        "terseLabel": "(International Equity Index Trust)"
       }
      }
     },
     "localname": "S000008297Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008301Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008301-International Small Company Trust",
        "terseLabel": "(International Small Company Trust)"
       }
      }
     },
     "localname": "S000008301Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008302Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008302-Disciplined Value International Trust",
        "terseLabel": "(Disciplined Value International Trust)"
       }
      }
     },
     "localname": "S000008302Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008311Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008311-Small Cap Index Trust",
        "terseLabel": "(Small Cap Index Trust)"
       }
      }
     },
     "localname": "S000008311Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008312Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008312-Small Cap Opportunities Trust",
        "terseLabel": "(Small Cap Opportunities Trust)"
       }
      }
     },
     "localname": "S000008312Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008313Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008313-Small Cap Value Trust",
        "terseLabel": "(Small Cap Value Trust)"
       }
      }
     },
     "localname": "S000008313Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008316Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008316-Small Company Value Trust",
        "terseLabel": "(Small Company Value Trust)"
       }
      }
     },
     "localname": "S000008316Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008320Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008320-Strategic Income Opportunities Trust",
        "terseLabel": "(Strategic Income Opportunities Trust)"
       }
      }
     },
     "localname": "S000008320Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008321Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008321-Fundamental Large Cap Value Trust",
        "terseLabel": "(Fundamental Large Cap Value Trust)"
       }
      }
     },
     "localname": "S000008321Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008325Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008325-Total Stock Market Index Trust",
        "terseLabel": "(Total Stock Market Index Trust)"
       }
      }
     },
     "localname": "S000008325Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008338Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008338-Real Estate Securities Trust",
        "terseLabel": "(Real Estate Securities Trust)"
       }
      }
     },
     "localname": "S000008338Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008340Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008340-Science &amp; Technology Trust",
        "terseLabel": "(Science &amp; Technology Trust)"
       }
      }
     },
     "localname": "S000008340Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000008343Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000008343-Small Cap Stock Trust",
        "terseLabel": "(Small Cap Stock Trust)"
       }
      }
     },
     "localname": "S000008343Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000017250Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000017250-American Asset Allocation Trust",
        "terseLabel": "(American Asset Allocation Trust)"
       }
      }
     },
     "localname": "S000017250Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000017255Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000017255-Emerging Markets Value Trust",
        "terseLabel": "(Emerging Markets Value Trust)"
       }
      }
     },
     "localname": "S000017255Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000017256Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000017256-American Global Growth Trust",
        "terseLabel": "(American Global Growth Trust)"
       }
      }
     },
     "localname": "S000017256Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000021933Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000021933-Capital Appreciation Value Trust",
        "terseLabel": "(Capital Appreciation Value Trust)"
       }
      }
     },
     "localname": "S000021933Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000024662Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000024662-Short Term Government Income Trust",
        "terseLabel": "(Short Term Government Income Trust)"
       }
      }
     },
     "localname": "S000024662Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000026132Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000026132-Select Bond Trust",
        "terseLabel": "(Select Bond Trust)"
       }
      }
     },
     "localname": "S000026132Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000029542Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000029542-Ultra Short Term Bond Trust",
        "terseLabel": "(Ultra Short Term Bond Trust)"
       }
      }
     },
     "localname": "S000029542Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000032004Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000032004-Lifestyle Balanced Portfolio",
        "terseLabel": "(Lifestyle Balanced Portfolio)"
       }
      }
     },
     "localname": "S000032004Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000032005Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000032005-Lifestyle Conservative Portfolio",
        "terseLabel": "(Lifestyle Conservative Portfolio)"
       }
      }
     },
     "localname": "S000032005Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000032006Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000032006-Lifestyle Growth Portfolio",
        "terseLabel": "(Lifestyle Growth Portfolio)"
       }
      }
     },
     "localname": "S000032006Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000032007Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000032007-Lifestyle Moderate Portfolio",
        "terseLabel": "(Lifestyle Moderate Portfolio)"
       }
      }
     },
     "localname": "S000032007Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_S000036499Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000036499-Strategic Equity Allocation Trust",
        "terseLabel": "(Strategic Equity Allocation Trust)"
       }
      }
     },
     "localname": "S000036499Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench2014042311Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench2014042311-Lipper Science and Technology Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Lipper Science and Technology Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "bench2014042311Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202109091360Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202109091360-Bloomberg U.S. Aggregate Bond Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Bloomberg U.S. Aggregate Bond Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "bench202109091360Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202112111377Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202112111377-Bloomberg U.S. High Yield 2% Issuer Capped Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Bloomberg U.S. High Yield 2% Issuer Capped Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "bench202112111377Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202112131378Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202112131378-Bloomberg U.S. Aggregate Bond Index (reflects no deduction for fees, expenses, or taxes)_1",
        "terseLabel": "Bloomberg U.S. Aggregate Bond Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "bench202112131378Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041385Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041385-MSCI EAFE Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "MSCI EAFE Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204041385Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041386Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041386-MSCI Emerging Markets Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "MSCI Emerging Markets Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204041386Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041387Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041387-MSCI World Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "MSCI World Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204041387Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041388Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041388-MSCI ACWI ex-USA Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "MSCI ACWI ex-USA Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204041388Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041389Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041389-MSCI World ex-USA Small Cap Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "MSCI World ex-USA Small Cap Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204041389Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041390Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041390-MSCI EAFE Small Cap Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "MSCI EAFE Small Cap Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204041390Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041391Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041391-Combined Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "Combined Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204041391Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041392Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041392-Bloomberg Global Aggregate Bond Index (USD Hedged) (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Bloomberg Global Aggregate Bond Index (USD Hedged) (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "bench202204041392Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204041393Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204041393-Bloomberg U.S. Government 1-5 Year Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Bloomberg U.S. Government 1-5 Year Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "bench202204041393Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204051394Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204051394-Combined Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)_1",
        "terseLabel": "Combined Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204051394Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204151395Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204151395-MSCI ACWI (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "MSCI ACWI (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204151395Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_bench202204151396Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "bench202204151396-MSCI ACWI ex USA Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)",
        "terseLabel": "MSCI ACWI ex USA Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends)"
       }
      }
     },
     "localname": "bench202204151396Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark010916Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark010916-Russell Midcap Growth Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Russell Midcap Growth Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark010916Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark010922Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark010922-Lipper Health/Biotechnology Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Lipper Health/Biotechnology Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark010922Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark010926Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark010926-Russell 2000 Value Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Russell 2000 Value Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark010926Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark1084Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark1084-S&amp;P 500 Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "S&amp;P 500 Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark1084Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark1121Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark1121-Russell 1000 Growth Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Russell 1000 Growth Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark1121Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark1122Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark1122-Russell 1000 Value Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Russell 1000 Value Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark1122Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark1123Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark1123-Russell 2000 Growth Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Russell 2000 Growth Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark1123Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark1124Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark1124-Russell 2000 Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Russell 2000 Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark1124Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark1125Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark1125-Russell 3000 Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Russell 3000 Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark1125Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark1126Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark1126-Russell Midcap Value Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Russell Midcap Value Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark1126Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015122918Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015122918-S&amp;P 500 Index (reflects no deduction for fees, expenses, or taxes)_1",
        "terseLabel": "S&amp;P 500 Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015122918Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015122991Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015122991-S&amp;P 500 Financials Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "S&amp;P 500 Financials Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015122991Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015122993Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015122993-Combined Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Combined Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015122993Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015122995Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015122995-Lipper Financial Services Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Lipper Financial Services Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015122995Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015122996Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015122996-S&amp;P Midcap 400 Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "S&amp;P Midcap 400 Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015122996Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015122997Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015122997-Dow Jones U.S. Select REIT Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Dow Jones U.S. Select REIT Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015122997Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015123000Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015123000-Wilshire 5000 Total Market Full Cap Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Wilshire 5000 Total Market Full Cap Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015123000Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015123001Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015123001-ICE Bank of America 6 Month U.S. Treasury Bill Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "ICE Bank of America 6 Month U.S. Treasury Bill Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015123001Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015123003Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015123003-Morningstar U.S. Moderate Target Allocation Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Morningstar U.S. Moderate Target Allocation Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015123003Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015123004Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015123004-Morningstar U.S. Conservative Target Allocation Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Morningstar U.S. Conservative Target Allocation Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015123004Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015123005Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015123005-Morningstar U.S. Moderately Aggressive Target Allocation Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Morningstar U.S. Moderately Aggressive Target Allocation Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015123005Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015123006Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015123006-Morningstar U.S. Moderately Conservative Target Allocation Index (reflects no deduction for fees, expenses, or taxes)",
        "terseLabel": "Morningstar U.S. Moderately Conservative Target Allocation Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015123006Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "jhf_benchmark2015123009Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "benchmark2015123009-S&amp;P 500 Index (reflects no deduction for fees, expenses, or taxes)_2",
        "terseLabel": "S&amp;P 500 Index (reflects no deduction for fees, expenses, or taxes)"
       }
      }
     },
     "localname": "benchmark2015123009Member",
     "nsuri": "http://jhf/20220425",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_AcquiredFundFeesAndExpensesOverAssets": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Annual Fund Operating Expenses.",
        "label": "Acquired Fund Fees and Expenses"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_AfterTaxesOnDistributionsAndSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law.",
        "label": "After Taxes on Distributions and Sales"
       }
      }
     },
     "localname": "AfterTaxesOnDistributionsAndSalesMember",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_AfterTaxesOnDistributionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law.",
        "label": "After Taxes on Distributions"
       }
      }
     },
     "localname": "AfterTaxesOnDistributionsMember",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_AnnualReturn2012": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2012"
       }
      }
     },
     "localname": "AnnualReturn2012",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2013": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2013"
       }
      }
     },
     "localname": "AnnualReturn2013",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2014": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2014"
       }
      }
     },
     "localname": "AnnualReturn2014",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2015": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2015"
       }
      }
     },
     "localname": "AnnualReturn2015",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2016": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2016"
       }
      }
     },
     "localname": "AnnualReturn2016",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2017": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2017"
       }
      }
     },
     "localname": "AnnualReturn2017",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2018": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2018"
       }
      }
     },
     "localname": "AnnualReturn2018",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2019": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2019"
       }
      }
     },
     "localname": "AnnualReturn2019",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2020": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2020"
       }
      }
     },
     "localname": "AnnualReturn2020",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AnnualReturn2021": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.  When a Multiple Class Fund offers more than one Class in the prospectus, provide annual total returns in the bar chart for only one of those Classes. The Fund can select which Class to include (e.g., the oldest Class, the Class with the greatest net assets).",
        "label": "Annual Return 2021"
       }
      }
     },
     "localname": "AnnualReturn2021",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AverageAnnualReturnInceptionDate": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "Date of inception"
       }
      }
     },
     "localname": "AverageAnnualReturnInceptionDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_AverageAnnualReturnSinceInception": {
     "auth_ref": [
      "r32"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "Inception"
       }
      }
     },
     "localname": "AverageAnnualReturnSinceInception",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AverageAnnualReturnYear01": {
     "auth_ref": [
      "r32"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "1 Year"
       }
      }
     },
     "localname": "AverageAnnualReturnYear01",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AverageAnnualReturnYear05": {
     "auth_ref": [
      "r32"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "5 Years"
       }
      }
     },
     "localname": "AverageAnnualReturnYear05",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_AverageAnnualReturnYear10": {
     "auth_ref": [
      "r32"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return Before Taxes.",
        "label": "10 Years"
       }
      }
     },
     "localname": "AverageAnnualReturnYear10",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_BarChartAndPerformanceTableHeading": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Bar Chart and Table.",
        "label": "Bar Chart and Performance Table [Heading]"
       }
      }
     },
     "localname": "BarChartAndPerformanceTableHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_BarChartClosingTextBlock": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Bar Chart Closing [Text Block]"
       }
      }
     },
     "localname": "BarChartClosingTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_BarChartHeading": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Bar Chart and Table.",
        "label": "Bar Chart [Heading]"
       }
      }
     },
     "localname": "BarChartHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_BarChartHighestQuarterlyReturn": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Highest Quarterly Return"
       }
      }
     },
     "localname": "BarChartHighestQuarterlyReturn",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_BarChartHighestQuarterlyReturnDate": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Highest Quarterly Return, Date"
       }
      }
     },
     "localname": "BarChartHighestQuarterlyReturnDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_BarChartLowestQuarterlyReturn": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Lowest Quarterly Return"
       }
      }
     },
     "localname": "BarChartLowestQuarterlyReturn",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_BarChartLowestQuarterlyReturnDate": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Lowest Quarterly Return, Date"
       }
      }
     },
     "localname": "BarChartLowestQuarterlyReturnDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_DistributionAndService12b1FeesOverAssets": {
     "auth_ref": [
      "r19"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distribution [and/or Service] (12b-1) Fees\" include all distribution or other expenses incurred during the most recent fiscal year under a plan adopted pursuant to rule 12b-1 [17 CFR 270.12b-1]. Under an appropriate caption or a subcaption of \"Other Expenses,\" disclose the amount of any distribution or similar expenses deducted from the Fund's assets other than pursuant to a rule 12b-1 plan.",
        "label": "Distribution and Service (12b-1) Fees"
       }
      }
     },
     "localname": "DistributionAndService12b1FeesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_ExpenseExampleHeading": {
     "auth_ref": [
      "r14"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Heading for Expense Example.",
        "label": "Expense Example [Heading]"
       }
      }
     },
     "localname": "ExpenseExampleHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ExpenseExampleNarrativeTextBlock": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds.",
        "label": "Expense Example Narrative [Text Block]"
       }
      }
     },
     "localname": "ExpenseExampleNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ExpenseExampleYear01": {
     "auth_ref": [
      "r14"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower.",
        "label": "Expense Example, with Redemption, 1 Year",
        "terseLabel": "1 Year"
       }
      }
     },
     "localname": "ExpenseExampleYear01",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativeMonetaryType"
    },
    "rr_ExpenseExampleYear03": {
     "auth_ref": [
      "r5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower.",
        "label": "Expense Example, with Redemption, 3 Years",
        "terseLabel": "3 Years"
       }
      }
     },
     "localname": "ExpenseExampleYear03",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativeMonetaryType"
    },
    "rr_ExpenseExampleYear05": {
     "auth_ref": [
      "r5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower.",
        "label": "Expense Example, with Redemption, 5 Years",
        "terseLabel": "5 Years"
       }
      }
     },
     "localname": "ExpenseExampleYear05",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativeMonetaryType"
    },
    "rr_ExpenseExampleYear10": {
     "auth_ref": [
      "r5"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower.",
        "label": "Expense Example, with Redemption, 10 Years",
        "terseLabel": "10 Years"
       }
      }
     },
     "localname": "ExpenseExampleYear10",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativeMonetaryType"
    },
    "rr_ExpenseHeading": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Summary Fee Table Includes the following information, in plain English under rule 421(d) under the Securities Act, after Item 2 Fees and expenses of the Fund This table describes the fees and expenses that you may pay if you buy and hold shared of the Fund. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $[_____] in [name of fund family] funds. Shareholder Fees (fees paid directly from your investment) Example This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The Example assumes that you invest $10,000 in the Fund for the time periods indicated and then you redeem all of your shares at the end of those periods. The Example also assumes that your investment has a 5% return per year and that the Fund's operating expenses remained the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be You would pay the following expenses if you did not redeem your shares The Example does not reflect sales charges (loads) on reinvested dividends [and other distributions]. If these sales charges (loads) were included, your costs would be higher. Portfolio Turnover The Fund pays transaction costs, such as commissions, when it buys and sells securities (or \"turns over\" its portfolio). A higher portfolio turnover may indicate higher transaction costs. These costs, which are not reflected in annual fund operating expenses or in the example, affect the Fund's performance. During the most recent fiscal year, the Fund's portfolio turnover rate was __% of the average value of its whole portfolio. Instructions.  A.3.instructions.6 New Funds. For purposes of this Item, a \"New Fund\" is a Fund that does not include in Form N-1A financial statements reporting operating results or that includes financial statements for the Fund's initial fiscal year reporting operating results for a period of 6 months or less. The following Instructions apply to New Funds.",
        "label": "Expense [Heading]"
       }
      }
     },
     "localname": "ExpenseHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ExpenseNarrativeTextBlock": {
     "auth_ref": [
      "r7"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This table describes the fees and expenses that you may pay if you buy and hold shared of the Fund. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $[_____] in [name of fund family] funds.  Include the narrative explanations in the order indicated. A Fund may modify the narrative explanations if the explanation contains comparable information to that shown. The narrative explanation regarding sales charge discounts is only required by a Fund that offers such discounts and should specify the minimum level of investment required to qualify for a discount. Modify the narrative explanation to state that Fund shares are sold on a national securities exchange at the end of the time periods indicated, and that brokerage commissions for buying and selling Fund shares through a broker are not reflected.",
        "label": "Expense Narrative [Text Block]"
       }
      }
     },
     "localname": "ExpenseNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Fund may clarify in a footnote to the fee table that the total annual fund operating expenses under Item 3 do not correlate to the ratio of expenses to average net assets given in response to Item 8, which reflects the operating expenses of the Fund and does not include Acquired Fund fees and expenses.",
        "label": "Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text]"
       }
      }
     },
     "localname": "ExpensesNotCorrelatedToRatioDueToAcquiredFundFees",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ExpensesOverAssets": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Annual Fund Operating Expenses. If the Fund is a Feeder Fund, reflect the aggregate expenses of the Feeder Fund and the Master Fund in a single fee table using the captions provided. In a footnote to the fee table, state that the table and Example reflect the expenses of both the Feeder and Master Funds. If the prospectus offers more than one Class of a Multiple Class Fund or more than one Feeder Fund that invests in the same Master Fund, provide a separate response for each Class or Feeder Fund.  Base the percentages of \"Annual Fund Operating Expenses\" on amounts incurred during the Fund's most recent fiscal year, but include in expenses amounts that would have been incurred absent expense reimbursement or fee waiver arrangements. If the Fund has changed its fiscal year and, as a result, the most recent fiscal year is less than three months, use the fiscal year prior to the most recent fiscal year as the basis for determining \"Annual Fund Operating Expenses.\"",
        "label": "Total Annual Fund Operating Expenses",
        "totalLabel": "Total Expenses"
       }
      }
     },
     "localname": "ExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_FeeWaiverOrReimbursementOverAssets": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Annual Fund Operating Expenses. If there were expense reimbursement or fee waiver arrangements that reduced any Fund operating expenses and will continue to reduce them for no less than one year from the effective date of the Fund's registration statement, a Fund may add two captions to the table one caption showing the amount of the expense reimbursement or fee waiver, and a second caption showing the Fund's net expenses after subtracting the fee reimbursement or expense waiver from the total fund operating expenses. The Fund should place these additional captions directly below the \"Total Annual Fund Operating Expenses\" caption of the table and should use appropriate descriptive captions, such as \"Fee Waiver [and/or Expense Reimbursement]\" and \"Total Annual Fund Operating Expenses After Fee Waiver [and/or Expense Reimbursement],\" respectively. If the Fund provides this disclosure, also disclose the period for which the expense reimbursement or fee waiver arrangement is expected to continue, and briefly describe who can terminate the arrangement and under what circumstances.",
        "label": "Fee Waiver or Reimbursement",
        "negatedLabel": "Fee Waiver or Reimbursement"
       }
      }
     },
     "localname": "FeeWaiverOrReimbursementOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonPositivePure4Type"
    },
    "rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the date of expected termination of any expense reimbursement or fee waiver arrangements that reduce any Fund operating expenses (SEC Form N-1A 2006-09-14 A.3.table.1.11 Total Annual Fund Operating Expenses A.3.instructions.3.e).",
        "label": "Fee Waiver or Reimbursement over Assets, Date of Termination"
       }
      }
     },
     "localname": "FeeWaiverOrReimbursementOverAssetsDateOfTermination",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_HighestQuarterlyReturnLabel": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Highest Quarterly Return, Label",
        "terseLabel": "Label"
       }
      }
     },
     "localname": "HighestQuarterlyReturnLabel",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_LowestQuarterlyReturnLabel": {
     "auth_ref": [
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund has annual returns for at least one calendar year, provide a bar chart showing the Fund's annual total returns for each of the last 10 calendar years (or for the life of the Fund if less than 10 years), but only for periods subsequent to the effective date of the Fund's registration statement. Present the corresponding numerical return adjacent to each bar. If the Fund's fiscal year is other than a calendar year, include the year-to-date return information as of the end of the most recent quarter in a footnote to the bar chart. Following the bar chart, disclose the Fund's highest and lowest return for a quarter during the 10 years or other period of the bar chart.",
        "label": "Lowest Quarterly Return, Label",
        "terseLabel": "Label"
       }
      }
     },
     "localname": "LowestQuarterlyReturnLabel",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ManagementFeesOverAssets": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management Fees include investment advisory fees (including any fees based on the Fund's performance), any other management fees payable to the investment adviser or its affiliates, and administrative fees payable to the investment adviser or its affiliates that are not included as \"Other Expenses.\"",
        "label": "Management Fees (as a percentage of Assets)"
       }
      }
     },
     "localname": "ManagementFeesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_NetExpensesOverAssets": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Annual Fund Operating Expenses.",
        "label": "Total Annual Fund Operating Expenses After Expense Reimbursement",
        "totalLabel": "Net Expenses"
       }
      }
     },
     "localname": "NetExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_ObjectiveHeading": {
     "auth_ref": [
      "r3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Objectives/Goals. Disclose the Fund's investment objectives or goals. A Fund also may identify its type or category (e.g., that it is a Money Market Fund or a balanced fund).",
        "label": "Objective [Heading]"
       }
      }
     },
     "localname": "ObjectiveHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ObjectivePrimaryTextBlock": {
     "auth_ref": [
      "r3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Objectives/Goals. Disclose the Fund's investment objectives or goals. A Fund also may identify its type or category (e.g., that it is a Money Market Fund or a balanced fund).",
        "label": "Objective, Primary [Text Block]"
       }
      }
     },
     "localname": "ObjectivePrimaryTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_OperatingExpensesCaption": {
     "auth_ref": [
      "r18"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual Fund Operating Expenses (ongoing expenses that you pay each year as a percentage of the value of your investment)",
        "label": "Operating Expenses Caption [Text]"
       }
      }
     },
     "localname": "OperatingExpensesCaption",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_OtherExpensesNewFundBasedOnEstimates": {
     "auth_ref": [
      "r16"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the disclosure for new funds that \"Other Expenses\" are based on estimated amounts for the current fiscal year.",
        "label": "Other Expenses, New Fund, Based on Estimates [Text]"
       }
      }
     },
     "localname": "OtherExpensesNewFundBasedOnEstimates",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_OtherExpensesOverAssets": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "\"Other Expenses\" include all expenses not otherwise disclosed in the table that are deducted from the Fund's assets or charged to all shareholder accounts. The amount of expenses deducted from the Fund's assets are the amounts shown as expenses in the Fund's statement of operations (including increases resulting from complying with paragraph 2(g) of rule 6-07 of Regulation S-X [17 CFR 210.6-07]).  \"Other Expenses\" do not include extraordinary expenses as determined under generally accepted accounting principles (see Accounting Principles Board Opinion No. 30). If extraordinary expenses were incurred that materially affected the Fund's \"Other Expenses,\" disclose in a footnote to the table what \"Other Expenses\" would have been had the extraordinary expenses been included.",
        "label": "Other Expenses (as a percentage of Assets):",
        "totalLabel": "Other Expenses"
       }
      }
     },
     "localname": "OtherExpensesOverAssets",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "NonNegativePure4Type"
    },
    "rr_PerformanceInformationIllustratesVariabilityOfReturns": {
     "auth_ref": [
      "r30"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Include the bar chart and table required by paragraphs (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future.",
        "label": "Performance Information Illustrates Variability of Returns [Text]"
       }
      }
     },
     "localname": "PerformanceInformationIllustratesVariabilityOfReturns",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceMeasureAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Performance Measure Axis has members that distinguish different returns according to whether they are Before Taxes (the default), After Taxes on Distributions, After Taxes on Distributions and Sales, or are a pre-tax measure of returns based on a broadly available market index.",
        "label": "Performance Measure [Axis]"
       }
      }
     },
     "localname": "PerformanceMeasureAxis",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceMeasureDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The default member of the Performance Measure axis. It represents any return that is measured before taxes.",
        "label": "Before Taxes"
       }
      }
     },
     "localname": "PerformanceMeasureDomain",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_PerformanceNarrativeTextBlock": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk/Return Bar Chart and Table.",
        "label": "Performance Narrative [Text Block]"
       }
      }
     },
     "localname": "PerformanceNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_PerformancePastDoesNotIndicateFuture": {
     "auth_ref": [
      "r30"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Include the bar chart and table required by paragraphs (b)(2)(ii) and (iii) of this section. Provide a brief explanation of how the information illustrates the variability of the Fund's returns (e.g., by stating that the information provides some indication of the risks of investing in the Fund by showing changes in the Fund's performance from year to year and by showing how the Fund's average annual returns for 1, 5, and 10 years compare with those of a broad measure of market performance). Provide a statement to the effect that the Fund's past performance (before and after taxes) is not necessarily an indication of how the Fund will perform in the future.",
        "label": "Performance Past Does Not Indicate Future [Text]"
       }
      }
     },
     "localname": "PerformancePastDoesNotIndicateFuture",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceTableHeading": {
     "auth_ref": [
      "r33"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents Average Annual Total Returns. If a Multiple Class Fund offers a Class in the prospectus that converts into another Class after a stated period, compute average annual total returns in the table by using the returns of the other Class for the period after conversion.",
        "label": "Performance Table Heading"
       }
      }
     },
     "localname": "PerformanceTableHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PortfolioTurnoverHeading": {
     "auth_ref": [
      "r15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclose the portfolio turnover rate provided in response to Item 14(a) for the most recent fiscal year (or for such shorter period as the Fund has been in operation). Disclose the period for which the information is provided if less than a full fiscal year. A Fund that is a Money Market Fund may omit the portfolio turnover information required by this Item.",
        "label": "Portfolio Turnover [Heading]"
       }
      }
     },
     "localname": "PortfolioTurnoverHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PortfolioTurnoverRate": {
     "auth_ref": [
      "r6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the rate of portfolio turnover presented as a percentage (SEC Form N-1A 2006-09-14 A.3.example.3 Portfolio Turnover  A.3.instructions.5 Portfolio Turnover).",
        "label": "Portfolio Turnover, Rate"
       }
      }
     },
     "localname": "PortfolioTurnoverRate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "pureItemType"
    },
    "rr_PortfolioTurnoverTextBlock": {
     "auth_ref": [
      "r6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclose the portfolio turnover rate provided in response to Item 14(a) for the most recent fiscal year (or for such shorter period as the Fund has been in operation). Disclose the period for which the information is provided if less than a full fiscal year. A Fund that is a Money Market Fund may omit the portfolio turnover information required by this Item.",
        "label": "Portfolio Turnover [Text Block]"
       }
      }
     },
     "localname": "PortfolioTurnoverTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ProspectusDate": {
     "auth_ref": [
      "r2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date of the prospectus.",
        "label": "Prospectus Date"
       }
      }
     },
     "localname": "ProspectusDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_ProspectusShareClassAxis": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prospectus Share Class Axis.",
        "label": "Share Class [Axis]"
       }
      }
     },
     "localname": "ProspectusShareClassAxis",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ProspectusTable": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prospectus Table.",
        "label": "Prospectus:"
       }
      }
     },
     "localname": "ProspectusTable",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_RiskHeading": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Narrative Risk Disclosure.",
        "label": "Risk [Heading]"
       }
      }
     },
     "localname": "RiskHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_RiskLoseMoney": {
     "auth_ref": [
      "r22",
      "r24",
      "r25",
      "r26"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarize the principal risks of investing in the Fund, including the risks to which the Fund's portfolio as a whole is subject and the circumstances reasonably likely to affect adversely the Fund's net asset value, yield, and total return. Unless the Fund is a Money Market Fund, disclose that loss of money is a risk of investing in the Fund. If the Fund is a Money Market Fund, include the following statement: \"You could lose money by investing in the Fund.\"",
        "label": "Risk Lose Money [Text]"
       }
      }
     },
     "localname": "RiskLoseMoney",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_RiskNarrativeTextBlock": {
     "auth_ref": [
      "r23"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Narrative Risk Disclosure. A Fund may, in responding to this Item, describe the types of investors for whom the Fund is intended or the types of investment goals that may be consistent with an investment in the Fund.",
        "label": "Risk Narrative [Text Block]"
       }
      }
     },
     "localname": "RiskNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_RiskNondiversifiedStatus": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If applicable, state that the Fund is non-diversified, describe the effect of non-diversification (e.g., disclose that, compared with other funds, the Fund may invest a greater percentage of its assets in a particular issuer), and summarize the risks of investing in a non-diversified fund.",
        "label": "Risk Nondiversified Status [Text]"
       }
      }
     },
     "localname": "RiskNondiversifiedStatus",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_RiskNotInsuredDepositoryInstitution": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "If the Fund is advised by or sold through an insured depository institution, state that \"An investment in the Fund is not a deposit of the bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.\"",
        "label": "Risk Not Insured Depository Institution [Text]"
       }
      }
     },
     "localname": "RiskNotInsuredDepositoryInstitution",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_RiskReturnAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return:"
       }
      }
     },
     "localname": "RiskReturnAbstract",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "xbrltype": "stringItemType"
    },
    "rr_ShareClassDomain": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All members of this domain must be elements with name starting with \"C\" and consisting of a 9-digit Fund share class CIK.",
        "label": "Share Classes"
       }
      }
     },
     "localname": "ShareClassDomain",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://jhf/role/DocumentDocumentandEntityInformation",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_StrategyHeading": {
     "auth_ref": [
      "r20"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries.",
        "label": "Strategy [Heading]"
       }
      }
     },
     "localname": "StrategyHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_StrategyNarrativeTextBlock": {
     "auth_ref": [
      "r20"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries.",
        "label": "Strategy Narrative [Text Block]"
       }
      }
     },
     "localname": "StrategyNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://jhf/role/Djhvitmasterfye_5950",
      "http://jhf/role/Djhvitsaiamericanfundsfye_5960",
      "http://jhf/role/Djhvitsaimainfye_5961",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "textBlockItemType"
    }
   },
   "unitCount": 2
  }
 },
 "std_ref": {
  "r0": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC"
  },
  "r1": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "1",
   "Subsection": "a"
  },
  "r10": {
   "Chapter": "A",
   "Clause": "i",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "c",
   "Subsection": "instructions"
  },
  "r11": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "d",
   "Subsection": "instructions"
  },
  "r12": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "e",
   "Subsection": "instructions"
  },
  "r13": {
   "Chapter": "A",
   "Clause": "vii",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "f",
   "Subsection": "instructions"
  },
  "r14": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "instructions"
  },
  "r15": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "instructions"
  },
  "r16": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "6",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "a",
   "Subsection": "instructions"
  },
  "r17": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "11",
   "Subsection": "table"
  },
  "r18": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "7",
   "Subsection": "table"
  },
  "r19": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "9",
   "Subsection": "table"
  },
  "r2": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "1",
   "Subsection": "a"
  },
  "r20": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC",
   "Section": "4",
   "Subsection": "a"
  },
  "r21": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subsection": "b"
  },
  "r22": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "i",
   "Subsection": "b"
  },
  "r23": {
   "Chapter": "A",
   "Clause": "instruction",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "i",
   "Subsection": "b"
  },
  "r24": {
   "Chapter": "A",
   "Clause": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "ii",
   "Subsection": "b"
  },
  "r25": {
   "Chapter": "A",
   "Clause": "B",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "ii",
   "Subsection": "b"
  },
  "r26": {
   "Chapter": "A",
   "Clause": "C",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "ii",
   "Subsection": "b"
  },
  "r27": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "iii",
   "Subsection": "b"
  },
  "r28": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "iv",
   "Subsection": "b"
  },
  "r29": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subsection": "b"
  },
  "r3": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC",
   "Section": "2",
   "Subsection": "a"
  },
  "r30": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "i",
   "Subsection": "b"
  },
  "r31": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "ii",
   "Subsection": "b"
  },
  "r32": {
   "Chapter": "A",
   "Clause": "1",
   "Exhibit": "2",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "iii",
   "Subsection": "b"
  },
  "r33": {
   "Chapter": "A",
   "Clause": "3",
   "Exhibit": "c",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "instructions",
   "Subsection": "b"
  },
  "r34": {
   "Chapter": "A",
   "Clause": "4",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "instructions",
   "Subsection": "b"
  },
  "r35": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r36": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "313"
  },
  "r4": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "1",
   "Subsection": "example"
  },
  "r5": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "2",
   "Subsection": "example"
  },
  "r6": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "example"
  },
  "r7": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "b",
   "Subsection": "instructions"
  },
  "r8": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "d",
   "Subsection": "instructions"
  },
  "r9": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "3",
   "Subparagraph": "a",
   "Subsection": "instructions"
  }
 },
 "version": "2.1"
}
