li.a_map {
    pointer-events: none;
    background-color: #fff;
    border-left-color: #99a;
}

.nav_links a { margin-bottom: 0.8rem; }

.check_tab { display: none; }
.panel_main label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: whitesmoke;
}
.panel_main label:hover { background-color: #eee; }
.panel_main label:first-of-type {
    border-top-left-radius: 5px;
}
.panel_main label:last-of-type {
    border-top-right-radius: 5px;
}
.check_tab:checked + label {
    background-color: lightgrey;
}

.panel_map { position: relative; }
.map_img {  display: none; }
#tab_midgard:checked ~ div #img_midgard { display: block; }
#tab_isgard:checked ~ div #img_isgard { display: block; }
#tab_dimension:checked ~ div #img_dimension { display: block; }
#tab_global:checked ~ div #img_global { display: block; }

.map_img {
    border: 5px solid lightgrey;
    border-radius: 0 10px 10px 10px;
}

.map_dun {
    display: inline-block;
	background-image: url("https://iro.ntome.com/map/map_dungeon.webp");
    width: 32px;
	height: 32px;
    vertical-align: top;
    margin: 2px;
}

.table_dun {
    display: inline-table;
    margin-right: 1rem;
    width: 100%;
    max-width: 360px;
    vertical-align: top;
    border-spacing: 4px;
}
.table_dun th.t_name {
    font-size: 0.9rem;
    font-weight: normal;
    background-color: #f5f5f5;
    padding: 0 0.5rem;
    width: 8em;
}
.table_dun th .t_area {
    margin-top: 0.6rem;
    font-size: 1.05rem;
    font-weight: bold;
    background-color: #e2e7f2;
    padding: 0.2rem;
    border-radius: 4px;
}
.table_dun td {
    background-color: #f5f5f5;
    padding: 0;
}

#map_hl {
    display: none;
    position: absolute;
    border: 2px solid lightgrey;
    border-radius: 2px;
    pointer-events: none;
}

#map_detail {
    display: none;
    position: absolute;
    font-size: 0.8rem;
    padding: 5px 8px;
    max-width: 95%;
    background-color: white;
    color: #666;
    border: 1px solid lightgrey;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
}
#map_detail table {
    display: inline-table;
    margin-top: 5px;
    vertical-align: top;
    border: 1px solid lightgrey;
    margin: 2px;
    border-collapse: collapse;
}
#map_detail table td {
    text-align: center;
    padding: 1px 3px;
}
#map_detail table tr {
    border-bottom: 1px solid lightgrey;
}
#map_detail table tr:first-child {
    background-color: #eee;
}
#map_detail table td:nth-child(2) {
    text-align: left;
}

.map_removed {
    color: lightcoral;
}
.map_unimp {
    color: lightseagreen;
}
.map_warp {
    color: steelblue;
}
.map_int {
    color: green;
}