@charset "utf-8";

.GSMap-panel {
    height: calc(var(--vh, vh) * 100 - 20px);
    width: 300px;
    position: fixed;
    z-index: 999;
    top: 0px;
    left: 80px;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: hidden;
    transition: 0.5s;
    padding-top: 50px;
    margin: 10px 0;
    border-radius: 6px;
}

@media (max-width: 550px) {
    .GSMap-panel {
        top: 0px;
        right: 0px;
        left: auto;
    }
}

.GSMap-panel > h2 {
    font-size: 1.4em;
    line-height: 3.3;
    font-weight: 600;
    font-family: "微軟正黑體";
    color: #fff;
    background-color: #1e56a0;
    padding-left: 10px;
    position: absolute;
    top: 0;
    width: 100%;
}

    .GSMap-panel > h2 > i {
        margin-right: 6px;
    }

.GSMap-panel .closebtn {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 25px;
    font-weight: 600;
    margin-left: 50px;
    z-index: 2;
}

.GSMap-panel a.closebtn {
    text-decoration: none;
    color: #b3b3b3;
}

    .GSMap-panel a.closebtn:hover {
        text-decoration: underline;
    }

.GSMap-panel-contbox-wrap {
    width: calc(100% - 1em);
    position: relative;
    margin: 1.5em auto;
    padding: 0;
    box-sizing: border-box;
    /*border-radius: 4px;
	background-color: #FFF;*/
}

.scroll-box {
    width: calc(300px - 1em);
    height: calc(var(--vh, vh) * 100 - 100px);
    overflow-y: scroll;
}

    .scroll-box.with-tab {
        height: calc(var(--vh, vh) * 100 - 170px);
    }

    .scroll-box::-webkit-scrollbar {
        width: 0.4em;
    }

    .scroll-box::-webkit-scrollbar,
    .scroll-box::-webkit-scrollbar-thumb {
        overflow: visible;
        border-radius: 4px;
    }

    .scroll-box::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
    }

.cover-bar {
    position: absolute;
    background: #b3b3b3;
    height: 100%;
    top: 0;
    right: 0;
    width: 0.4em;
    -webkit-transition: all 0.5s;
    opacity: 0;
}

.GSMap-panel-contbox-wrap:hover .cover-bar {
    opacity: 1;
    -webkit-transition: all 0.5s;
}

.transp {
    border-radius: 4px;
    -webkit-box-shadow: 2px 2px 5px #adadad;
    -moz-box-shadow: 2px 2px 5px #adadad;
    box-shadow: 2px 2px 5px #adadad;
    background-color: #fff;
    border: 1px solid #d7d7d7;
    height: 40px;
    width: 180px;
    z-index: 1200;
    overflow: hidden;
}

/*Iocean圖台用的UI*/
.Iocean_pin_box {
    background-color: #f3f3f3;
    border-radius: 4px;
    display: block;
    overflow: hidden;
    margin: 20px 0;
}

    .Iocean_pin_box > h3 {
        background-color: #c5dffb;
        font-family: "微軟正黑體";
        font-size: 1.2em;
        line-height: 2.5;
        color: #2764c7;
        font-weight: 600;
        padding: 0 6px;
        margin-bottom: 10px;
    }

        .Iocean_pin_box > h3 > i {
            background-image: url("../images/ForQuery_title_icon_pin.svg");
            background-size: 100% auto;
            width: 25px;
            height: 25px;
            display: inline-block;
            vertical-align: middle;
            margin-right: 6px;
        }

.Iocean-nav-pills {
    border-bottom: 1px solid #8fbaff !important;
    height: 36px;
}

    .Iocean-nav-pills .nav-link.active,
    .Iocean-nav-pills .show > .nav-link {
        color: #fff;
        background-color: #2764c7;
        padding: 6px 6px;
        position: relative;
    }

        .Iocean-nav-pills .nav-link.active:after,
        .Iocean-nav-pills .show > .nav-link:after {
            position: absolute;
            content: "";
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-width: 10px;
            border-style: solid;
            border-top-color: #2764c7;
            border-right-color: transparent;
            border-bottom-color: transparent;
            border-left-color: transparent;
        }

.Iocean-WGS84-box {
    margin-top: 20px;
}

    .Iocean-WGS84-box > div {
        display: block;
    }

.Iocean-WGS84-box-cont,
.Iocean-WGS84-box-cont-Coord,
.Iocean-WGS84-box-cont-TWD {
    margin: 8px;
    font-size: 1em;
    display: flex;
}

    .Iocean-WGS84-box-cont > dt,
    .Iocean-WGS84-box-cont-Coord > dt {
        width: 40px;
        line-height: 2;
    }

    .Iocean-WGS84-box-cont-TWD > dt {
        width: 60px;
    }

    .Iocean-WGS84-box-cont > dd {
    }

        .Iocean-WGS84-box-cont > dd > input {
            width: 60%;
            max-width: 40px;
            font-size: 1em;
            padding: 4px 2px;
        }

        .Iocean-WGS84-box-cont > dd:last-child > input {
            width: 80%;
            max-width: 100px;
        }

    .Iocean-WGS84-box-cont-Coord > dd {
        width: calc(100% - 50px);
    }

        .Iocean-WGS84-box-cont-Coord > dd > input {
            width: 90%;
        }

    .Iocean-WGS84-box-cont-TWD > dd {
        width: calc(100% - 60px);
    }

        .Iocean-WGS84-box-cont-TWD > dd > input {
            width: 100%;
        }

@media (max-width: 768px) {
    .Iocean-WGS84-box-cont,
    .Iocean-WGS84-box-cont-Coord,
    .Iocean-WGS84-box-cont-TWD {
        margin: 8px;
        font-size: 0.8em;
    }

        .Iocean-WGS84-box-cont > dt,
        .Iocean-WGS84-box-cont-Coord > dt {
            width: 30px;
        }

        .Iocean-WGS84-box-cont-TWD > dt {
            width: 40px;
            line-height: 2;
        }

        .Iocean-WGS84-box-cont > dd > input,
        .Iocean-WGS84-box-cont-Coord > dd > input,
        .Iocean-WGS84-box-cont-TWD > dd > input {
            font-size: 0.9em;
            padding: 4px 2px;
        }
}

.Iocean-WGS84-btn {
    background-color: #2764c7;
    font-family: "微軟正黑體";
    font-size: 0.9em;
    color: #fff;
    border: 1px solid #2764c7;
}

.Iocean_layer_box {
    background-color: #f3f3f3;
    border-radius: 4px;
    display: block;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}

    .Iocean_layer_box > h3 {
        background-color: #84bdfb;
        font-family: "微軟正黑體";
        font-size: 1.2em;
        line-height: 2.5;
        color: #2764c7;
        font-weight: 600;
        padding: 0 6px;
        margin-bottom: 10px;
    }

        .Iocean_layer_box > h3 > i {
            background-image: url("../images/ForQuery_title_icon_layer.svg");
            background-size: 100% auto;
            width: 25px;
            height: 25px;
            display: inline-block;
            vertical-align: middle;
            margin-right: 6px;
        }

.scroll-box-Iocean-pin {
    width: calc(300px - 1em);
    height: calc(var(--vh, vh) * 100 - 100px);
    overflow-y: scroll;
}

.Iocean-element-tab {
    border-bottom: 0px solid #2ca6e0;
    overflow: hidden;
    margin: 6px;
    height: 60px;
}

    .Iocean-element-tab > li {
        float: left;
        margin-bottom: -1px;
    }

        .Iocean-element-tab > li > a {
            margin-right: 2px;
            border-bottom: 1px solid #8fbaff !important;
            border-radius: 0 0 0 0;
            color: #0d6efd;
            font-family: "微軟正黑體";
            font-size: 1em;
            line-height: 1.5;
            font-weight: 600;
            display: block;
            padding: 6px 4px;
        }

            .Iocean-element-tab > li > a:hover {
                background-color: #0d6efd;
                color: #fff;
                display: block;
                text-decoration: none;
            }

            .Iocean-element-tab > li > a:active {
                color: #fff;
                text-decoration: none;
            }

    .Iocean-element-tab .nav-item.show .nav-link,
    .Iocean-element-tab .nav-link.active {
        color: #fff;
        cursor: default;
        background-color: #2764c7;
        border: 0px solid #2ca6e0;
        border-bottom-color: transparent;
        position: relative;
    }

        .Iocean-element-tab .nav-item.show .nav-link:after,
        .Iocean-element-tab .nav-link.active:after {
            position: absolute;
            content: "";
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-width: 10px;
            border-style: solid;
            border-top-color: #2764c7;
            border-right-color: transparent;
            border-bottom-color: transparent;
            border-left-color: transparent;
        }

.Iocean-btn-clear-position {
    position: absolute;
    right: 4px;
    top: 10px;
}

.Iocean-clear-btn {
    background-color: #2764c7;
    font-family: "微軟正黑體";
    font-size: 0.9em;
    color: #fff;
    border: 1px solid #2764c7;
}

.Iocean-addlayer-list {
    margin: 4px 8px;
    width: 90%;
}

    .Iocean-addlayer-list th {
        font-size: 0.9em;
        border-top: 1px solid #fff;
        padding-top: 10px;
    }

    .Iocean-addlayer-list .center {
        text-align: center;
    }

    .Iocean-addlayer-list dl {
        display: inline-block;
    }

        .Iocean-addlayer-list dl > dt,
        .Iocean-addlayer-list dl > dd {
            display: inline-block;
        }

.Iocean-addlayer-list-second {
    margin: 8px 0;
    width: 100%;
    border-radius: 4px;
    background-color: #e7f1ff;
}

    .Iocean-addlayer-list-second th,
    .Iocean-addlayer-list-second td {
        padding: 4px;
    }

    .Iocean-addlayer-list-second th {
        font-size: 0.9em;
        padding-top: 10px;
    }

.Iocean-addlayer-btn {
    background-color: #2764c7;
    font-family: "微軟正黑體";
    font-size: 0.9em;
    color: #fff;
    border: 1px solid #2764c7;
}

.Iocean-layer-info-btn {
    background-color: #000;
    color: #fff;
    border-radius: 999em;
    width: 20px;
    height: 20px;
    text-align: center;
    border: 0px;
    background-image: url("../images/info-solid.svg");
    background-size: auto 15px;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: sub;
}

.tooltip {
}

.tooltip-inner {
    max-width: 200px;
    padding: 0.25rem 0.5rem;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 0.25rem;
    white-space: break-spaces;
    font-size: 0.9em;
}

.Iocean-query-box {
    background-color: #e7f1ff;
    border-radius: 6px;
    margin: 6px 0;
    display: block;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

    .Iocean-query-box.deactive {
        background-color: #e9ecef;
    }

    .Iocean-query-box > .titlebox {
        color: #fff;
        font-size: 1.2em;
        line-height: 2;
        font-weight: 600;
        vertical-align: middle;
        background-color: #2a79e1;
        display: block;
        margin: -10px -10px 10px -10px;
        padding: 0 10px;
    }

        .Iocean-query-box > .titlebox > label {
            vertical-align: sub;
        }

            .Iocean-query-box > .titlebox > label > i {
                font-size: 0.9em;
                margin-right: 4px;
            }

    .Iocean-query-box > dl {
        margin-bottom: 4px;
    }

        .Iocean-query-box > dl > dd {
            display: flex;
        }

            .Iocean-query-box > dl > dd > input {
                margin: 10px 10px 0 0;
            }

            .Iocean-query-box > dl > dd > label {
                line-height: 1.5;
                margin-top: 8px;
                margin-left: -6px;
            }

                .Iocean-query-box > dl > dd > label > img {
                    width: 30px;
                    height: 30px;
                    margin-right: 4px;
                }

.Iocean-query-download {
    background-color: #eee;
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 2px;
}

.dl-50 {
    width: calc(50% - 4px);
    float: left;
    margin-right: 4px;
}

.dt-title {
    color: #fff;
    font-size: 1.2em;
    line-height: 2;
    font-weight: 600;
    vertical-align: middle;
    background-color: #2a79e1;
    display: block;
    margin: -10px -10px 10px -10px;
    padding: 0 10px;
}

    .dt-title > i {
        font-size: 0.9em;
        margin-right: 4px;
    }

.Iocean-query-box-dt50 {
    width: calc(50% - 4px);
    float: left;
    margin-right: 4px;
}

    .Iocean-query-box-dt50:last-child {
        margin-right: 0;
    }

.Iocean-query-box-dt-inline {
    display: inline-block;
    float: left;
    margin: 0 4px 8px 0;
}

    .Iocean-query-box-dt-inline > input {
        margin-right: 4px;
        vertical-align: middle;
    }

.Iocean-admin-queryAnalysis-dl {
    overflow: hidden;
    margin: -10px -10px 20px -10px;
    background-color: #9bc3ff;
    padding: 6px;
}

.Iocean-admin-queryAnalysis-dms {
    display: block;
    min-height: 50px;
    overflow: visible;
    background-color: #fff;
    padding: 10px;
    margin: 10px 0px;
    position: relative;
}

    .Iocean-admin-queryAnalysis-dms:after {
        position: absolute;
        content: "";
        top: -18px;
        left: 10%;
        transform: translateX(-10%);
        width: 0;
        height: 0;
        border-width: 10px;
        border-style: solid;
        border-bottom-color: #fff;
        border-right-color: transparent;
        border-top-color: transparent;
        border-left-color: transparent;
    }

    .Iocean-admin-queryAnalysis-dms > dl {
        overflow: hidden;
        margin-bottom: 10px;
    }

.Iocean-admin-queryAnalysis-dms-noarrow {
}

    .Iocean-admin-queryAnalysis-dms-noarrow:after {
        display: none;
    }

.Iocean-admin-queryAnalysis-manual {
    display: block;
    min-height: 50px;
    overflow: visible;
    background-color: #fff;
    padding: 10px;
    margin: 10px 0px;
    position: relative;
}

    .Iocean-admin-queryAnalysis-manual:after {
        position: absolute;
        content: "";
        top: -18px;
        right: 10%;
        transform: translateX(-90%);
        width: 0;
        height: 0;
        border-width: 10px;
        border-style: solid;
        border-bottom-color: #fff;
        border-right-color: transparent;
        border-top-color: transparent;
        border-left-color: transparent;
    }

    .Iocean-admin-queryAnalysis-manual > p {
        text-align: center;
        font-weight: 600;
    }

    .Iocean-admin-queryAnalysis-manual > dl {
        overflow: hidden;
        margin-top: 6px;
    }

.Iocean-admin-queryAnalysis-result {
    margin: 20px 0;
    overflow: hidden;
}

    .Iocean-admin-queryAnalysis-result > h3 {
        font-size: 1.2rem;
        line-height: 2;
        color: #2a79e1;
        font-weight: 600;
    }

        .Iocean-admin-queryAnalysis-result > h3 > i {
            margin-right: 4px;
        }

/*accordion css*/
.accordion-header {
    margin-bottom: 0;
    background-color: #e7f1ff;
    display: flex;
    align-items: center;


}
/*accordion css*/

.accordion-button-Iocean {
    flex-wrap: wrap;
    padding: 6px;
    background-color: #e7f1ff;
    font-size: 1.2em;
}

    .accordion-button-Iocean:hover {
        cursor: pointer;
    }

    .accordion-button-Iocean > label {
        margin-right: 20px;
    }

    .accordion-button-Iocean > span:first-child {
        width: 300px;
    }

    .accordion-button-Iocean > span:nth-child(3) {
        width: 210px;
        padding-top: 6px;
        line-height: 1.5;
    }

    .accordion-button-Iocean::after {
        width: 1rem;
        height: 1rem;
        background-size: 1rem;
        position: absolute;
        right: 6px;
    }

.accordion-body-Iocean {
    padding: 6px;
}

.TreeNode-Iocean {
    display: flex;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

    .TreeNode-Iocean > .form-check-input-GS {
        margin-right: 4px;
    }

    .TreeNode-Iocean > img {
        margin-top: 6px;
    }

    .TreeNode-Iocean:last-child {
        border-bottom: 0px;
    }

    .TreeNode-Iocean .treenode-iocean-txt {
        width: 220px;
        font-size: 0.9rem;
        padding-top: 4px;
    }

    .TreeNode-Iocean .treenode-iocean-num {
        width: 50px;
        text-align: right;
        color: #64b5f6;
        font-size: 0.9rem;
        padding-top: 4px;
    }

.Iocean-analysis-num {
    border-radius: 999em;
    color: #fff;
    background-color: #f16b6f;
    padding: 4px 6px;
    font-size: 0.8em;
    line-height: 1;
    white-space: nowrap;
    height: 20px;
    margin-left: 4px;
}

.Iocean-statistics-chartbox {
    margin: 6px 0;
    border: 1px solid #e7f1ff;
    padding: 6px;
}

    .Iocean-statistics-chartbox > h4 {
        font-size: 1.1rem;
        font-weight: 600;
    }

.Iocean-analysis-coordinate {
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: row;
}

    .Iocean-analysis-coordinate dt, .Iocean-analysis-coordinate dd {
        font-size: 0.9em;
    }

        .Iocean-analysis-coordinate dd:first-of-type {
            margin-right: 14px;
        }
/*Iocean圖台用的UI結尾*/

/* 修正 - 統計資料手機版體驗 */
@media (max-width: 550px) {
    .GSMap-panel.fixedpanel {
        width: 100%;
        height: 55vh;
        margin: 0;
        padding-top: 0;
        left: 0;
        bottom: 0;
        top: unset;
        transition: all 0.5s;
    }

        .GSMap-panel.fixedpanel.mapnavOpen {
            left: 80px;
            width: calc(100vw - 80px);
        }

        .GSMap-panel.fixedpanel > h2 {
            display: none;
        }

        .GSMap-panel.fixedpanel .GSMap-panel-layer {
            width: 100%;
        }

        .GSMap-panel.fixedpanel .GSMap-panel-contbox-wrap .scroll-box {
            width: 100%;
            height: 50vh;
        }

    .fixedbtn {
        position: absolute;
        top: 7px;
        right: 45px;
        z-index: 2;
        display: none;
        width: 30px;
        height: 30px;
        background-image: url("../images/btn_compress.svg");
        background-size: 20px auto;
        background-position: center;
        background-repeat: no-repeat;
    }

    .revertbtn {
        position: absolute;
        top: 5px;
        right: 45px;
        z-index: 2;
        display: none;
        width: 30px;
        height: 30px;
        background-image: url("../images/btn_expand.svg");
        background-size: 20px auto;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/*IOCEAN圖徵*/
.Iocean-drawing-groupBox {
    display: block;
}

    .Iocean-drawing-groupBox > .item {
        border-bottom: 1px solid #fff;
        padding: 6px 0;
    }

        .Iocean-drawing-groupBox > .item .date {
            font-size: 0.9em;
        }

            .Iocean-drawing-groupBox > .item .date:after {
                content: "(最後更新日期)";
                color: #555;
            }

        .Iocean-drawing-groupBox > .item .layerTitle {
            display: flex;
            flex-direction: row;
        }

            .Iocean-drawing-groupBox > .item .layerTitle p {
                color: #0c63e4;
                font-weight: 600;
                flex-grow: 1;
            }

.Iocean-drawing-btnBox {
    display: flex;
    flex-direction: row;
}

    .Iocean-drawing-btnBox > button {
        padding: 4px;
        width: 26px;
    }

.Iocean-drawing-setting {
    margin: 16px 0 6px 0;
}

    .Iocean-drawing-setting > h3 {
        color: #2a79e1;
        font-weight: 600;
        font-size: 1.2em;
    }

        .Iocean-drawing-setting > h3 i {
            margin-right: 4px;
        }

.Iocean-drawing-setting-box {
    border: 1px solid #2a79e1;
    padding: 6px;
    margin: 6px 0;
    border-radius: 6px;
    position: relative;
}

.Iocean-drawing-setting-box-second {
}

    .Iocean-drawing-setting-box > p, .Iocean-drawing-setting-box-second > p {
        color: #2a79e1;
        margin: 6px -6px;
        padding: 0 6px 6px 6px;
        font-size: 1em;
        font-weight: 600;
        border-bottom: 1px solid #2a79e1;
    }

    .Iocean-drawing-setting-box > dl, .Iocean-drawing-setting-box-second > dl {
        margin-bottom: 10px;
    }

        .Iocean-drawing-setting-box > dl > dt, .Iocean-drawing-setting-box-second > dl > dt {
            font-size: 0.9em;
            font-weight: 600;
        }

.Iocean-drawing-coor-box-dt40 {
    width: calc(40% - 4px);
    float: left;
    margin-right: 4px;
}

.Iocean-drawing-coor-box-dt20 {
    width: calc(20% - 4px);
    float: left;
    margin-right: 4px;
}

.Iocean-drawing-coor-label {
    font-size: 0.9em;
}

.Iocean-drawing-coordinate-box {
    background-color: #e5e5e5;
    padding: 6px;
    border-radius: 4px;
}

.Iocean-drawing-coordinate {
    border-bottom: 2px solid #757575;
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
    padding: 4px;
}

    .Iocean-drawing-coordinate.active {
        background-color: #c2dbff;
    }

    .Iocean-drawing-coordinate dd[contenteditable="true"] {
        background-color: #FFF;
        border: groove;
    }

.Iocean-drawing-coordinate-box div:last-child .Iocean-drawing-coordinate {
    border-bottom: 0px;
}

.Iocean-drawing-coordinate > div {
    display: flex;
}

    .Iocean-drawing-coordinate > div > dl {
        flex-grow: 1;
        margin: 1px;
    }

        .Iocean-drawing-coordinate > div > dl > dt, .Iocean-drawing-coordinate > div > dl > dd {
            font-size: 0.9em;
            font-weight: 400;
        }

        .Iocean-drawing-coordinate > div > dl > dt {
            color: #757575;
        }

.Iocean-drawing-layerBox {
    display: block;
}

    .Iocean-drawing-layerBox > .item {
        border-bottom: 1px solid #bfbfbf;
        padding: 6px 0;
    }

        .Iocean-drawing-layerBox > .item .layerTitle {
            display: flex;
            flex-direction: row;
        }

            .Iocean-drawing-layerBox > .item .layerTitle p {
                color: #000;
                font-size: 0.9em;
                font-weight: 600;
                flex-grow: 1;
            }
/*IOCEAN圖徵結尾*/

.GSMap-color-legend {
    left: 400px;
    position: fixed;
    bottom: 10px;
    z-index: 999;
    background-color: gray;
    text-align: center;
}

    .GSMap-color-legend span {
        font-size: 14pt;
        font-weight: bold;
    }

    .GSMap-color-legend table {
        min-width: 200px;
    }

        .GSMap-color-legend table th {
            white-space: nowrap;
        }

        .GSMap-color-legend table td {
            text-align: center;
        }
