.scrollBar-y {
    overflow-y: auto;
}

.scrollBar-hidden {
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0.05);
    border-radius: 10px;
    margin: 10px 2px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0,0,0,0.1);
}
/*圖層設定*/
.layerAbgne-search {
    padding: 2px 10px;
}

.layerAbgne-search-title {
    font-size: 1.6rem;
    font-weight: bold;
}

.layerAbgne-search > div {
    padding: 0 2px;
}

.layerBox {
    display: block;
    z-index: 999;
    position: absolute;
    right: -310px;
    top: 10px;
    background: #fafafa;
    width: 300px;
    height: 90%;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
    border-radius: 6px;
    transition: all 0.3s;
}

.iconlayerBox {
    top: 60px;
    height: 78%;
}

.layerBox.open {
    right: 1%;
}

.hidelayerBox {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #089BAB;
    font-size: 2.6rem;
}

.layerBoxScrollbar {
    width: 100%;
    overflow: hidden;
}

.layerAbgne {
    width: 100%;
    height: 95%;
}

    .layerAbgne ul, .layerAbgne > li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .layerAbgne .tabs {
        display: flex;
        margin-bottom: 10px;
    }

        .layerAbgne .tabs li {
            flex: 1;
            padding: 0px 10px;
            border-bottom: 4px solid #fafafa;
            cursor: pointer;
            border-radius: 5px 5px 0 0;
        }

            .layerAbgne .tabs li.active {
                background: #fff;
                border-bottom: 4px solid #089BAB;
            }

            .layerAbgne .tabs li.hover {
                /* background: #f5f5f5;  */
            }

        .layerAbgne .tabs span {
            display: block;
            float: left;
            width: 100%;
            font-size: 1.6rem;
            text-align: center;
            overflow: hidden;
            padding: 7px 15px 5px 15px;
        }

    .layerAbgne .tab_container {
        height: inherit;
        clear: both;
        overflow: hidden;
    }

        .layerAbgne .tab_container > ul {
            position: relative;
            height: 94%;
            overflow: hidden;
        }

        .layerAbgne .tab_container .tab_content > li {
            position: absolute;
            width: 100%;
            height: 98%;
            padding: 10px 10px;
        }

@media (max-width: 767px) {
    .layerBoxBg {
        z-index: 10100;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,0.9);
        transition: all 0.3s;
    }

    .layerBox {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        height: 98%;
        width: 98%;
    }

    .layerAbgne .tab_container ul {
        position: relative;
        height: 95%;
        overflow: hidden;
    }

    .layerAbgne .tab_container .tab_content > li {
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 15px 10px;
        margin-top: 0px;
    }
}

.moreInput {
    display: flex;
    align-items: center;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 6px;
    font-size: 1.6rem;
    font-weight: bolder;
    color: #0071BC;
}

    .moreInput input {
        position: static;
        opacity: 1;
        width: 25px;
        height: 25px;
        margin: 0;
        margin-right: 6px;
    }

.flagArea.w50 {
    display: inline-block;
    width: 49%;
    margin-right: -1px;
    vertical-align: top;
}

.flagArea {
    background: #fff;
    margin-bottom: 10px;
    border: 1px solid #c6c6c6;
    border-radius: 4px;
}

    .flagArea .title {
        display: flex;
        align-items: flex-start;
        gap: 2px;
        padding: 6px 4px;
        font-size: 1.8rem;
        border-bottom: 1px solid #c6c6c6;
    }

        .flagArea .title span {
            flex: 80%;
            font-size: 1.6rem;
            line-height: 1.2;
        }

.show_switch_item {
    display: flex;
    justify-content: space-between;
    /*text-align: center;*/
    padding: 6px 4px;
}

    .show_switch_item label {
        padding-top: 2px;
        padding-bottom: 2px;
    }

.flagBox {
    padding: 6px 4px;
    border-top: 1px solid #c6c6c6;
    font-size: 1.6rem;
}

    .flagBox hr {
        margin: 6px 2px;
    }

.flag span {
    display: block;
    line-height: 20px;
    text-align: center;
    color: #3a3a3a;
}

    .flag span img {
        max-width: 100%;
        max-height: auto;
    }

.flagBox img {
    width: auto;
    max-height: 100%;
}

/* checkbox滑動切換鈕==============================Start */
.move_switch_div {
    position: relative;
    display: inline-block;
    flex: 0 0 70px;
    width: 70px;
    height: 24px;
}

    .move_switch_div input {
        display: none !important;
    }
/* 圖例按鈕開關==============================Start */
.move_switch_flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 2rem;
    border: 1px solid #8590a2;
    background-color: #ffffff;
    color: #8590a2;
    text-decoration: none;
}

    .move_switch_flag:hover,
    .move_switch_flag:focus {
        text-decoration: none;
    }

    .move_switch_flag.active {
        background-color: #1f845a;
        border: 1px solid #1f845a;
        color: #ffffff;
        text-decoration: none;
    }

/* The slider */
.move_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 18px;
}

/* 離線連線用 */
.offline_slider {
    background-color: #ccc;
}

    .offline_slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        border-radius: 13px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .offline_slider:after {
        content: "關閉";
        line-height: 25px;
        text-align: right;
        display: block;
        font-size: 1.2rem;
        padding-right: 20px;
    }

input:checked + .offline_slider {
    background-color: #39b54a;
}

input:focus + .offline_slider {
    box-shadow: 0 0 1px #39b54a;
}

input:checked + .offline_slider:before {
    -webkit-transform: translateX(48px);
    -ms-transform: translateX(48px);
    transform: translateX(48px);
}

input:checked + .offline_slider:after {
    text-align: left;
    padding-left: 20px;
    content: "開啟";
    color: #fff;
}

/* 顯示切換用 */
.pictchange_slider {
    background-color: #8dd2fe;
}

    .pictchange_slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        border-radius: 13px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .pictchange_slider:after {
        content: "";
        line-height: 35px;
        text-align: right;
        display: block;
        font-size: 0.8em;
        padding-right: 20px;
    }

input:checked + .pictchange_slider {
    background-color: #39b54a;
}

input:focus + .pictchange_slider {
    box-shadow: 0 0 1px #39b54a;
}

input:checked + .pictchange_slider:before {
    -webkit-transform: translateX(56px);
    -ms-transform: translateX(56px);
    transform: translateX(56px);
}

input:checked + .pictchange_slider:after {
    text-align: left;
    padding-left: 20px;
    content: "照片";
}

/*  checkbox滑動切換鈕==============================End */

/* 圖層底圖套疊 */
.layerBg-section{
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
}
.layerBg {
    flex: 0 0 49%;
    cursor: pointer;
}

    .layerBg.active {
        background: #b5ecff;
    }

    .layerBg span {
        display: block;
        width: 100%;
        overflow: hidden;
    }

    .layerBg img {
        width: 100%;
        height: auto;
    }

    .layerBg .title {
        text-align: center;
        line-height: 1.2;
        padding: 6px 6px;
        font-weight: bold;
    }

.closeGroup {
    position: absolute;
    right: 0;
    top: 0;
}

/*圖層開關按鈕*/
.maplayerSetting {
    z-index: 3;
    position: absolute;
    bottom: 25px;
    right: 10px;
    width: auto;
    height: 50px;
}

.menuSettingBox {
    display: flex;
    text-align: center;
}

    .menuSettingBox > li {
        display: block;
        padding: 2px 2px;
    }

.menuBoxBtn {
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
}

.layerSettingBtn {
    background: #089BAB40 url(../Images/Map/icon_layer.png)no-repeat;
    background-position: center center;
    background-size: 40%;
}

.gpsSettingBtn {
    background: #089bab40 url(../Images/Map/icon_navigate.png)no-repeat;
    background-position: center center;
    background-size: 40%;
}

.layerSettingBtn.active,
.layerSettingBtn:hover {
    background: #089BAB url(../Images/Map/icon_layer.png)no-repeat;
    background-position: center center;
    background-size: 40%;
}

.gpsSettingBtn.active,
.gpsSettingBtn:hover {
    background: #089BAB url(../Images/Map/icon_navigate.png)no-repeat;
    background-position: center center;
    background-size: 40%;
}

.ttSettingBtn {
    z-index: 2;
    position: absolute;
    right: -4rem;
    top: 1rem;
    border: 2px solid #ffffff;
}

    .ttSettingBtn.normal {
        background: #089bab url(../Images/Map/icon_tt.png)no-repeat;
        background-position: center center;
        background-size: 60%;
    }

    .ttSettingBtn.active {
        background: #089BAB url(../Images/Map/icon_tt_active.png)no-repeat;
        background-position: center center;
        background-size: 60%;
    }

    .ttSettingBtn.none {
        background: #089BAB url(../Images/Map/icon_tt_none.png)no-repeat;
        background-position: center center;
        background-size: 70%;
    }

.showContentBtn {
    position: absolute;
    left: -130px;
    top: 100px;
    width: 130px;
    padding: 0 5px;
    background: rgba(0,0,0,0.6) url(../Images/Map/icon_show.png)no-repeat;
    background-position: 97% center;
    color: #fff;
    transition: all 0.4s ease-in-out;
}

@media (max-width: 767px) {
    .showContentBtn {
        left: -130px;
    }

    .layerSettingBtn:hover {
        background: rgba(0,47,73,0) url(../images/Map/icon_layer.png)no-repeat;
        background-position: center center;
        background-size: 40%;
    }
}

.showContentBtn:hover,
.showiframeBoxBtn:hover {
    color: #fff;
    background: rgb(180, 122, 122);
}
