/*
 * main.css
 * copyright (c) HCC 2014
 */

/* main tags */
html,
body {
    font-family: arial, helvetica, sans-serif;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    /* overflow: hidden !important; */
    background-color: #FFFFFF;

}

#mapBody {
    position: fixed !important;

}

/* loading */
#loading {
    width: 100%;
    height: 100%;
    padding-top: 10em;
    text-align: center;
    cursor: wait;
}

/* container */
.container-fluid {
}

.scrollbox::-webkit-scrollbar-button {
    display: none;
}

.table {
    /* margin-bottom: 5em; */
}

#findPanel {
    /*
        padding-bottom: 5em;
        margin-bottom: 5em;
    */
}

/* mainMap */
#mainMap {
    border: 1px solid #333333;
    width: 100%;
    height: 100%;
}

/* subPanel */
#subPanel {
    overflow: auto;
    /*padding-top: 10px;*/
    border: 1px solid #333333;
    width: 100%;
    /* height: 100%; */
    /* padding-bottom: 4em; */
    /* background-color: var(--sky-700);
    color: var(--sky-300); */
    background-color: #7c7c7c;
    color: #000000;
}

#areaMap {
    position: absolute;
    right: 0.5em;
    bottom: 0.5em;
    width: 160px;
    height: 200px;
    /*z-index: 100;*/
    border: 1px solid white;
}
/*
@media (hover: none) and (pointer: coarse){
    #areaMap {
        position: absolute;
        right: 0.5em;
        bottom: 5.5em; !* 4.5em * 1.5 *!
        width: 160px;
        height: 200px;
        !*z-index: 100;*!
        border: 1px solid white;
    }
}
*/

@media screen and (max-width: 1200px) {
    br.menu-item {
        display: none;
    }
}

a.external-link {
    color: var(--sky-100);
    text-decoration-line: none;
}
a.external-link:hover {
    color: var(--sky-100);
    text-decoration-line: none;
}
a.external-link:active {
    color: var(--sky-100);
    text-decoration-line: none;
}

/* findlist Panel */
.overTable {
    margin-bottom: 2em;
    background-color: #999999;
    color: #000000;
}
.overTable > tr.findlist-header_info > th.head {
    background-color: #dbdbdb;
    color: #000000;
}
.overTable > tr.findlist-header_fixed > th.head {
    background-color: #999999;
    color: #000000;
}
.overTable > tr.findlist-header > th.head {
    background-color: #999999;
    color: #000000;
}
.overTable > tr.findlist_records {
    /*background-color: #fafafa;*/
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #c0c0c0;
}

/* for Popup */
#popup-content {
    /*width: 340px !important;*/
    width: 300px !important;
}

.search_list {
    cursor: pointer;
}

table.popup {
    /*background-color: #fcfcfc;*/
    background-color: var(--sky-600);
    /*margin: 2px 2px 2px 2px;*/
    margin: 0;
    width: 100%;
}

table.popup_saigai {
    white-space: normal;
    background-color: #ffffff;
    margin: 0;
    width: 100%;
}

td.popup {
    white-space: nowrap;
    /*border: 1px solid #c0c0c0;*/
    border: 1px solid var(--sky-600);
    /*background-color: #FFFDFB;*/
    /*font-size:90%; */
    padding: 0px 5px 0px 5px;
    /*width: 100%;*/
    /* white-space:normal;  */
    white-space: normal;
    background-color: var(--sky-800);
    color: var(--sky-50);
}
td.popup > a {
    color: var(--sky-300);
}
td.popup > a:hover {
    color: var(--sky-200);
    font-weight: bold;
}
td.popup > a:active {
    color: var(--sky-200);
    font-weight: bold;
}

/* info: 住所、電話番号、GoogleMapへのリンク、該当災害 */
td.popup_info {
    white-space: nowrap;
    /*border: 1px solid #c0c0c0;*/
    /*border: 1px solid #000000;*/
    /*background-color: #FFFDFB;*/
    /*font-size:90%; */
    padding: 0px 5px 0px 5px;
    /*width: 100%;*/
    /* white-space:normal;  */
    white-space: normal;
    /*background-color: var(--sky-800);
    color: var(--sky-50);*/
    background-color: #ffffff;
    color: #000000;
}
/* pict: 災害ピクト、対応テキスト */
td.popup_pict {
    /*white-space: nowrap;*/
    padding: 0px 5px 0px 5px;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    width: 100px;
}
td.popup_null {
    white-space: nowrap;
    border: 1px solid #c0c0c0;
    text-align: left;
}
td.popup_img {
    white-space: nowrap;
    padding: 0px 4px 0px 2px;
}
th.popup {
    /*font-weight:bold;*/
    white-space: nowrap;
    /*border: 1px solid #c0c0c0;*/
    border: 1px solid var(--sky-600);
    /*background-color:#F1FFC8;*/
    color: var(--sky-200);
    background-color: /*#F1FFC8*/ var(--sky-700);
    font-weight: normal;
    /*padding-right:1em;*/
    /* font-size:90%; */
    vertical-align: top;
    /*width: 150px;*/
    padding: 0px 2px 0px 2px;
}
/* title: 災害種別 */
th.popup_title {
    font-weight: bold;
    text-align: center;
    /* white-space:nowrap;  */
    /*border:1px solid #c0c0c0;*/
    /*background-color:#F1FFC8;*/
    /*padding-right:1em;*/
    font-size: 100%;
    vertical-align: top;
    padding: 5px 5px 5px 5px;
    color: #ffffff;
    /* 種別に合わせてbgcolorをpopup.jsで設定 */
}
/* 土砂災害警戒区域 */ 
th.popup_title_y {
    font-weight: bold;
    text-align: center;
    font-size: 100%;
    vertical-align: top;
    padding: 5px 5px 5px 5px;
    color: #000000;
}
/* name: 施設名 */
th.popup_name {
    font-weight: bold;
    text-align: center;
    color: #000000;
    background-color: #c7c7c7;
    /* white-space:nowrap;  */
    /*border:1px solid #c0c0c0;*/
    /*padding-right:1em;*/
    font-size:100%;
    vertical-align:top;
    padding: 5px 5px 5px 5px;
} 
/* kind: 避難所説明用title部分 */
th.popup_kind {
    font-weight: bold;
    color: #000000;
    background-color: #ffffff;
    /* white-space:nowrap;  */
    /*border:1px solid #c0c0c0;*/
    /*padding-right:1em;*/
    font-size:100%;
    vertical-align:top;
    padding: 5px 5px 5px 5px;
} 

/* for SubPanel */
table.SubPanel {
    background-color:#ffffff!important;
    /* border: 1px solid #c0c0c0; */
    border: 2px solid #3d3d3d;
    margin: 1% 1% 1% 1%;
    width: 98%;
}

th.SubPanel {
    background-color: #F5DEB3;
    border: 1px solid #c0c0c0;
    padding: 2px 2px 2px 2px;
}

td.SubPanel {
    /*padding: 2px 2px 2px 2px;*/
    margin: 0;
    padding: 1px;
    /* background-color: var(--sky-600); */
    background-color: #d9d9d9;
}

.divLegend {
    padding-bottom: 3em;
}

table.Legend {
    background-color: #ffffff;
    border: none !important;
    /* margin: 1% 1% 1% 1%; */
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 2em;
    max-width: 90%;
}

#legend_contents_depth {
    margin: 1% 1% 1% 1%;
    width: 98%;
}

#second_panel_name {
    padding-left: 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
}


/* for layer_switcher */
.lwTbl {
    /* margin:16px 0; */
    /* table-layout:fixed; */
    width: 100%;
    border: 1px solid #3d3d3d;
}
.lwTbl table {
    margin: 10px 10px 0 0;
    overflow: scroll;

}
.lwTbl tr {
    padding: 5px 10px 5px 10px;
    /*cursor: pointer;*/
    border: 1px #aaaaaa solid;
    vertical-align: center;
    background-color: #FFFDFB;
}
.lwTbl tr.top {
    /* display: block; */
    border-width: 2;
    color: #800000;
    background: #F5DEB3;
}
.lwTbl tr.head {
    padding: 5px 10px 5px 10px;
    /*cursor: pointer;*/
    /* border:1px #444444 solid; */
    vertical-align: center;
    /*color: var(--sky-200);*/
    /*background-color: #F1FFC8 var(--sky-700);*/
    color: #000000;
    background-color: #d9d9d9;
}
.lwTbl tr.head th {
    /*color: var(--sky-200);*/
    /*background-color: #F1FFC8 var(--sky-700);*/
    color: #000000;
    background-color: #d9d9d9;
}
.lwTbl tr.head td {
    /*color: var(--sky-200);*/
    /*background-color: #F1FFC8 var(--sky-700);*/
    color: #000000;
    background-color: #d9d9d9;
}
.lwTbl th {
    width: 5%;
    padding: 2px 2px 2px 2px;
    /*background-color: var(--sky-900);*/
    background-color: #ffffff;
}
.lwTbl td.img {
    width: 5%;
    padding: 2px 2px 2px 2px;
    /*background-color: var(--sky-900);*/
    background-color: #ffffff;
}
.lwTbl td.disp {
    padding: 5px 10px 5px 10px;
    /*background-color: var(--sky-900);*/
    color: #000000;
    background-color: #ffffff;
}

/* for trac */
.tracTbl {
    margin: 16px 0;
    width: 100%;
    table-layout: fixed;
}
.tracTbl table {
    margin: 10px 10px 0 0;
    overflow: scroll;
}
.tracTbl tr {
    padding: 5px 10px 5px 10px;
    cursor: pointer;
    border: 1px #aaaaaa solid;
    vertical-align: center;
    background-color: #FFFDFB;
}
.tracTbl tr.top {
    /* display: block; */
    border-width: 2;
    color: #800000;
    background: #F5DEB3;
}
.tracTbl tr.head {
    padding: 5px 10px 5px 10px;
    cursor: pointer;
    /* border:1px #444444 solid; */
    vertical-align: center;
    background-color: #F1FFC8;
}
.tracTbl th {
    width: 5%;
    padding: 2px 2px 2px 2px;
}
.tracTbl td.img {
    width: 5%;
    padding: 2px 2px 2px 2px;
}
.tracTbl td.disp {
    padding: 5px 10px 5px 10px;
}

.hinantitle {
    font-weight: bold;
    white-space: nowrap;
    font-size: 120%;
    vertical-align: top;
    padding: 0em 5px 0em 5px;
}

.hinandesc {
    font-weight: bold;
    white-space: nowrap;
    font-size: 90%;
    vertical-align: top;
    padding: 0em 5px 0em 5px;
}


.off1 {
    width: 2em;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}
.off2 {
    width: 14em;
    white-space: wrap;
    text-align: left;
    cursor: pointer;
}
.off3 {
    width: 10em;
    white-space: wrap;
    text-align: left;
    cursor: pointer;
}
.off4 {
    width: 6em;
    white-space: nowrap;
    text-align: right;
    cursor: pointer;
}
.off5 {
    width: 8em;
    white-space: nowrap;
    text-align: right;
    cursor: pointer;
}
.off6 {
    width: 8em;
    white-space: nowrap;
    text-align: right;
    cursor: pointer;
}
.off7 {
    width: 6em;
    white-space: nowrap;
    text-align: right;
    cursor: pointer;
}
.off8 {
    width: 6em;
    white-space: nowrap;
    text-align: right;
    cursor: pointer;
}
.off9 {
    width: 12em;
    white-space: wrap;
    text-align: left;
    cursor: pointer;
}


.marusu_shitei {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    background: #0d7a60;
    font-size: 14px;
    color: white;
    display: inline-block;
}
.figure_filledsquare {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    background: #334155;
    font-size: 14px;
    color: #f8fafc;
    display: inline-block;
}
.figure_outlinecircle {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    border: 1px solid #334155;
    line-height: 24px;
    text-align: center;
    background: #f8fafc;
    font-size: 14px;
    color: #334155;
    display: inline-block;
}
.figure_filledcircle {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    background: #334155;
    font-size: 14px;
    color: #f8fafc;
    display: inline-block;
}

.popup .marusu_shitei {
    height: 18px;
    width: 18px;
    line-height: 18px;
    font-size: 12px;
}

.popup .marusu_ichiji {
    height: 18px;
    width: 18px;
    line-height: 18px;
    font-size: 12px;
}

/*対応災害*/
.saigai_tbl {
    background: #ffffff;
}



#dummy {
    display: none;
}

#infoHinanjoShitei,
#infoHinanjoIchiji {
    display: none;
}

#infoHinanjoShitei li,
#infoHinanjoIchiji li {
    list-style: none;
}

#infoKome1,
#infoKome2 {
    display: none;
}


#titleText {
    padding-left: 1em;
    font-size: 1.3em;
    font-weight: bold;
}

@media (max-width: 767px) {
    #titleText {
        /*    font-size: 12px !important; */
        font-size: 1.0em;
    }
}
@media (max-width: 374px) {
    #titleText {
        /*    font-size: 12px !important; */
        padding-left: 0.3em;
        padding-right: 0.3em;
        margin-right: 0.3em;
        font-size: 0.9em;
    }
}

/* 洪水内水土砂災害ハザードマップは画面サイズで2行に可変・フォントサイズ変更 */
.media_br {
    display: none;
}
@media screen and (min-width: 1120px) and (max-width: 1325px) {
    .media_br {
        display: block;
    }
    .font-kozui {
        font-size: 0.7rem; /*0.5rem;*/
        padding-top: 3px;
        padding-bottom: 3px;
    }
}


/* legend用html_S */
.legendTab {
    background-color: #dedede;
}
.legendCellCenter {
    font-size: 1.2em;
    text-align: center !important;
    width: 100%;
}
.legendCellLeft {
    text-align: left !important;
    width: 100%;
}
.legendTitle {
    color: #ffffff;
    background-color: var(--sky-800);
}
.legend_text {
    background-color: #ffffff;
    color: #000000;
    padding: 1em;
}
/* 凡例説明インデントspan(印刷モーダルでも使用) */
.legend_text > a {
    text-decoration:underline;
}
.legend_text > a:active {
    text-decoration:underline;
}
.legend_text > a:hover {
    text-decoration:underline;
}
span.legend  {
    margin-left: 1rem;
}
.legend_text span.legend > a {
    text-decoration:underline;
}
.legend_text span.legend > a:active {
    text-decoration:underline;
}
.legend_text span.legend > a:hover {
    text-decoration:underline;
}
.legendImage {
    display: flex;
    justify-content: space-evenly;
}
.img-yoko {
    max-width: 50%;
    height: auto;
}
.ex_kaoku_text {
    display: flex;
    justify-content: space-around;
}
.ex_text {
    text-align: center;
}
/* legend用html_E */


/* チェックボックスの削除 */
#not_checkbox {
    display: none; 
}


/* 印刷画面 */
._basicCotainer {
    position: absolute;
    z-index: 999999;
    background: #ffffff;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
}
._printMapPanel {
    border: 1px solid #555555;
    background: #000000;
    margin-top: 3px;
    margin-left: 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* 2022/03/04 */
    position: relative;
}
span.print-title {
    margin-left: 1em;
    font-weight: bold;
    font-size: 1.2em;
}

/* レイヤー名デフォルトcss */
span.print-layer {
    margin-left: 1em;
    font-weight: bold;
    font-size: 1.0em;   /* 16px */
}
/* A4タテ 長いレイヤー名css */
span.print-layer_long {
    margin-left: 1em;
    font-weight: bold;
    font-size: 0.5em;   /* 8px */
}

.print_btn {
    margin: 1em;
}

@media print {
    .no_print {
        display: none;
    }
    .dummy {
        display: none;
    }
}
@media screen {
    .only_print {
        display: none;
    }
}
@media print {
    @page {
        size: auto !important;
    }
}

/* 凡例画像 */
.saigai_A4yoko {
    width: 215px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.symbol_A4yoko {
    width: 215px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.saigai_A4tate {
    width: 215px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.symbol_A4tate {
    width: 215px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.saigai_A3yoko {
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.symbol_A3yoko {
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.saigai_A3tate {
    width: 290.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.symbol_A3tate {
    width: 290.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
/* 学習情報 */
.route_A4yoko,
.get_A4yoko,
.alert_A4yoko,
.timeline_A4yoko,
.suigaiJ_A4yoko,
.suigaiH_A4yoko,
.jishin_A4yoko {
    width: 376.60px; /*325.25px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
} 
.route_A4tate,
.get_A4tate,
.alert_A4tate,
.timeline_A4tate,
.suigaiJ_A4tate,
.suigaiH_A4tate,
.jishin_A4tate {
    width: 376.60px; /*325.25px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.route_A3yoko,
.get_A3yoko,
.alert_A3yoko,
.timeline_A3yoko,
.suigaiJ_A3yoko,
.suigaiH_A3yoko,
.jishin_A3yoko {
    width: 376.60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.route_A3tate,
.get_A3tate,
.alert_A3tate,
.timeline_A3tate,
.suigaiJ_A3tate,
.suigaiH_A3tate,
.jishin_A3tate {
    width: 376.60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.ui-resizable-handle.ui-resizable-se.ui-icon.ui-icon-gripsmall-diagonal-se {
    background-image: none !important;
}

.custom-select.form_custom {
    height: 150px !important;
}

.input_address_area {
    margin-left: 8em !important;
    width: 150px;
}

.card-scroll .list-group {
    height: 120px;
    max-height: 150px;
    overflow-y: scroll;
}

.list-group-item {
    color: #000000;
    padding: 0.1rem 1.25rem;
}

.list-group-item.active {
    color: #000000;
}

.card {
    margin-right: 1em;
    border: 1px solid #acacac;
}

.selectTitle {
    width: 96px;
}


/* スマホ時のみ、現在地機能をボタン配置 */
@media (max-width: 767px) {
    #_mainMenu_Navi {
        display: none;
    }
    #NaviButton{
        display: block;
        position: absolute;
        top: 85px;
        right: 11px;
    }
    .btn-navi {
        margin: 1px;
        padding: 0;
        color: #fff;
        font-size: 1.14em;
        font-weight: 700;
        text-decoration: none;
        text-align: center;
        height: 1.825em;
        width: 1.825em;
        line-height: .4em;
        background-color: var(--sky-600);
        border: none;
        border-radius: 2px
    }
    .navi_img {
        width: 1.0em;
        filter: invert(93%) sepia(93%) saturate(27%) hue-rotate(49deg) brightness(107%) contrast(106%);
    }
}