﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Layout.css
Editor: Eliam
CreateDate:2023/03/20
Last Editor: Rebecca
LastDate: 2023/05/24
Version: 4.0
---------------------------
【 Table of Contents 】
	DIV XHTML頁面
	Free Style
	使用jQuery
=================================================================================*/

/*===============================================================================
                         Pages typography setting
=================================================================================*/

#Wrap {
}
/*-----------------Content-----------------*/
#Content {

}

#Main {

}

#MainCont {
    /* padding-top: 2rem; */
}



.mapArea{
    background: #ddd;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 0;
}
#Map {
    height: calc(var(--vh, 1vh) * 100 - 70px);
    position: relative;
}

    /* -----------------定位查詢區----------------- */
    .mapQueryArea {
        padding: 0.8rem;
        width: 400px;
        display: block;
        box-sizing: border-box;
        position: absolute;
    }
    
    .searchBox {
        display: flex;
        margin-bottom: 0.5rem;
    }
    
        .searchBox label {
            position: absolute;
            top: 0;
            z-index: -9999;
            opacity: 0;
        }
    
        .searchBox input[type="search"] {
            border-radius: 50px;
            width: 100%;
            box-sizing: border-box;
            padding: 0 1rem;
            vertical-align: middle;
            box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
            margin: 0;
            border: none;
        }
    
        .searchBox.coordinate #longitude {
            margin-right: 0.5rem;
        }
    
    .pinLocation {
        width: calc(100% - 104px - 0.5rem);
        font-weight: bold;
        line-height: 38px;
        text-align: center;
        background: #FFFFF2;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
        border-radius: 6px;
    }
    
    
    
    .myPosition .pinLocation {
        width: 100%;
        line-height: 38px;
    }
    
    .pinMap > .searchBtn {
        padding-left: 0.5rem;
        font-size: 1rem;
        line-height: 38px;
    }
    
    
    .searchBtn {
        color: #fff;
        border: none;
        background: var(--mainColor4);
        border-radius: 5px;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
        margin-left: 0.3rem;
        cursor: pointer;
    }
        .searchBtn:hover {
            color: #fff;
            background: var(--subColor1);
        }
    
        .searchBtn i {
            font-size: 1.4rem;
            padding: 0.5rem;
            color: #fff;
        }
    
        .pinMap .searchBtn i {
            font-size: 1.2rem;
            padding: 0.3rem;
            vertical-align: inherit;
        }
    
    span.btnText {
        border: 0;
        clip: rect(0,0,0,0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    
    .itemBar.positionWay {
        display: flex;
    }
    
    .inputBtn {
        display: block;
        margin-right: 0.5rem;
        width: 25%;
    }
    
        .inputBtn:last-child {
            padding-right: 0;
        }
    
        .inputBtn input[type="radio"] {
            display: none;
        }
    
            .inputBtn input[type="radio"] + label {
                display: block;
                width: 100%;
                background: #fff;
                color: var(--TextColor);
                cursor: pointer;
                border: none;
                border-radius: 6px;
                text-align: center;
                min-height: 2em;
                line-height: 2em;
                font-size: 0.9em;
                font-weight: bold;
                margin: 0;
                box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
            }
    
            .inputBtn input[type="radio"]:checked + label {
                background: var(--subColor1);
                color: #fff;
            }
    
            .inputBtn input[type="radio"] + label:hover {
                background: var(--mainColor4);
                color: #fff;
            }
    
            .inputBtn input[type="radio"]:checked + label:hover {
                background: var(--mainColor4);
                color: #fff;
            }
    
    /* -----------------地圖工具----------------- */
    ul#myTools.on {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 99;
        padding: 0.8rem;
    }
    ul#myTools {
        position: absolute;
        top: 0;
        right: 400px;
        z-index: 99;
        padding: 0.8rem;
    }
    
        ul#myTools li {
            position: relative;
        }
    
        ul#myTools li a {
            color: #fff;
            text-align: center;
            background-color:  var(--mainColor4);
            border-radius: 10px;
            -moz-border-radius: 10px;
            -webkit-border-radius:10px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.3);
            display: inline-block;
            margin-bottom: 0.8rem;
            transition: all .1s ease-in-out;
            -moz-transition: all .1s ease-in-out;
            -webkit-transition: all .1s ease-in-out;
        }
    
        ul#myTools li a i {
            font-size: 1.5rem;
            line-height: 3rem;
            width: 3rem;
            height: 3rem;
        }
    
            ul#myTools li a.on {
                background-color: var(--subColor1);
                color: #fff;
            }
    
        ul#myTools li a span {
            color: var(--TextColor);
            font-size: 1rem;
            font-weight: bold;
            text-align: center;
            background-color: #FFFFF2;
            border-radius: 8px;
            -moz-border-radius: 8px;
            -webkit-border-radius: 8px;
            width: 4rem;
            padding: 0.3rem 0.5rem;
            margin-left: -7rem;
            position: absolute;
            /*right: 4.2rem;*/
            bottom: 1.5rem;
            left: 50%;
            visibility: hidden;
            box-shadow: 0px 3px 6px #00000033;
        }
    
            ul#myTools li a:hover {
                background-color:#B17746;
            }
            ul#myTools li a.on:hover {
                background-color: #B17746;
            }
    
            ul#myTools li a:hover span {
                visibility: visible;
            }
    
        /*測量工具*/
            ul#myTools li .measureTool {
                position: absolute;
                right: 60px;
                top: 50px;
                width:auto;
            }
                ul#myTools li .measureTool a {
                    display:inline-block;
                    margin-left:0.4rem;
                    position:relative;
                }
                    ul#myTools li .measureTool a.reset {
                        border-radius:6px;
                        font-size: 1.1rem;
                        font-weight: bold;
                        line-height: 2rem;
                        width: 3rem;
                        height: 2rem;
                    }
                    ul#myTools li .measureTool a span {
                        bottom: 0.5rem;
                    }
    
    
    /* -----------------地圖工具小卡----------------- */
    .Card {
        background: #fff;
        width: 400px;
        position: absolute;
        top: 0;
        right: 0;
        overflow: hidden;
        height: calc(var(--vh, 1vh) * 100 - 66px);
        box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
        transition: 0.5s;
    }
    
    .cardHead {
        padding: 0 0.75rem 0 0.75rem;
    }

.cardContainer {
    background: #fff;
    height: calc(var(--vh, 1vh) * 100 - 133px);
    overflow-y: auto;
    padding: .75rem;
}
    
    .cardArea {
        padding-bottom: .5rem;
    }
    
    .cardFooter {
        text-align: center;
        border-top: 1px solid #8D8171;
        padding-top: .5rem;
    }
    
    .Card .close, .close.infoBtn {
        display:flex;
        position: absolute;
        top: 0.8rem;
        right: 0.8rem;
        z-index: 9999;
        cursor: pointer;
        margin-right: 0;
    }
    
    
    /* Card detail */
    ul.items {
        padding-right: 2rem;
    }
    
    .items li {
        font-size: 1.125rem;
        padding: .25rem .2rem;
        display: inline-block;
    }
    
        .items li a {
            color: #DEECC0;
            border: 1px solid rgba(255, 255, 255, 0);
            border-radius: 3px;
            padding: .155rem .55rem;
        }
    
            .items li a:hover {
                border: 1px solid #DEECC0;
            }
    
        .items li.mark a {
            color: #5C6349;
            background: #CBE2A7;
        }
    
            .items li.mark a:hover {
                cursor: default;
            }
    
    .cardArea table th {
        color: #fff;
        font-size: 1.125rem;
        font-weight: normal;
        text-align: left;
        width: auto;
    }
    
    .cardArea input[type=radio], .cardArea input[type=checkbox] {
        border:1px solid var(--TextColor);
        border-radius: 4px;
        width: 20px;
        height: 20px;
        position: relative;
        transition: all .3s ease-in-out;
    }

    .cardArea input[type=checkbox]:hover, .cardArea input[type=checkbox]:checked {
        background: var(--mainColor2);
        cursor: pointer;
        border: 1px solid var(--mainColor2);
    }

.mapFuncTitle {
    font-size: 1.4rem;
    vertical-align: text-bottom;
    font-weight: bold;
    color: var(--TextColor);
    padding-bottom: 0;
    padding-left: 2rem;
    position: relative;
}

    .mapFuncTitle::before {
        content: '';
        display: inline-block;
        height: 1.7rem;
        line-height: 1.4rem;
        width: 0.8rem;
        background: #C18B5D;
        border-radius: 50px;
        position: absolute;
        top: 0;
        left: 0.5rem;
    }
    
    /*底圖切換*/
    #mapChange .itemBar {
        display: flex;
    }
    
        #mapChange .itemBar .item {
            width: 33%;
            margin-right: 0.5rem;
            text-align: center;
        }
    
            #mapChange .itemBar .item:last-child {
                margin-right: 0;
            }
    #mapChange .imgBox {
        display: inline-block;
        border-radius: 10px;
        overflow: hidden;
        width: 70%;
        margin-bottom: 0.5rem;
        opacity: 0.6;
        border: 6px solid transparent;
     }
    
        #mapChange .imgBox img {
            width: 100%;
        }
    
    #mapChange .itemBar .item:hover .imgBox, #mapChange .itemBar .item.select .imgBox {
        border: 6px solid var(--GreenLight1);
        opacity: 1;
    }
    
    #mapChange .itemBar .item:hover .item > p, #mapChange .itemBar .item.select > p {
        font-weight: bold;
    }
    
    /*圖層套疊*/
    .itemsTitle {
        background: var(--mainColor1);
        color: #fff;
        font-size: 1.3rem;
        margin-bottom: 1rem ;
        padding:0.5rem 2rem;
        border-radius: 50px;
    }
    
        .itemsTitle.legend i.on, .itemsTitle.type1 i.on, .itemsTitle.type2 i.on, .itemsTitle.landUsed i.on, .filterContent .itemBar:nth-child(5) .subTitle i.on {
            -moz-transform: rotate(180deg);
            -webkit-transform: rotate(180deg);
            -o-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            transform: rotate(180deg);
        }
    
        .itemsTitle:hover, .itemsTitle.mark {
            cursor: pointer;
        }

        .itemsTitle p {
            /*font-weight: 100;*/ /* 重複宣告，會被後面的 font-weight 覆蓋(源碼修正) */
            line-height: 1.125rem;
            display: inline-block;
            padding-right: .25rem;
            font-weight: bold;
        }
        .itemsIcon{
            height: 1.3rem;
            width: 1.3rem;
            display: inline-block;
            vertical-align: middle;
            margin-right: 1rem;
        }
    
    .cardArea {
        padding-top: 0;
        margin: .5rem 0 1.5rem 1rem;
    }
    
    .cardArea .layerCheck {
        display: inline-flex;
        align-content: flex-start;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        margin-top: .5rem;
    }
    
        .cardArea .layerCheck input {
            margin: 0 0.5em;
        }
    
            .cardArea .layerCheck input + label {
                color: var(--TextColor);
            }
            .cardArea .legendBox{
                margin:0.5rem 0 0.5rem 2.5rem;
            }
            .cardArea .legendBox img{
                height: 1rem;
                width: unset;
                text-align: left;                
            }
        .cardArea .layerBox:first-child .legendBox img {
            height: 1.5rem;
        }
    
        /* .cardArea .legendBox span {
            display: inline-block;
            line-height: 2rem;
            width: 2rem;
        } */
    
            /* .cardArea p:before {
                content: "";
                background: #fff;
                position: absolute;
                top: 0;
                left: 0;
            }
    
            .cardArea span::after {
                content: "";
                background: #fff;
                position: absolute;
                top: 0;
                right: 0;
            }
    
            .cardArea p.square, .cardArea p.circle, .cardArea p.rectangle, .cardArea p.triangle {
                padding-left: 2.25rem;
            }
    
            .cardArea span.square, .cardArea span.circle, .cardArea span.rectangle, .cardArea span.triangle {
                padding-right: .6rem;
            } */
    
    /* legend icons */
    
    .legend img {
        width: 26px;
        height: 26px;
        padding-left: .5rem
    }
    .legend .cardArea{
        height:300px;
        overflow:auto;
    }
    .legendBar {
        display: flex;
    }
    p.square:before, span.square:after {
        width: 22px;
        height: 22px;
        top: 4px;
        left: 2px;
    }
    
    span.square:after {
        left: 100%;
    }
    
    p.rectangle:before, span.rectangle:after {
        width: 28px;
        height: 18px;
        top: 7px;
    }
    
    span.rectangle:after {
        left: 100%;
    }
    
    p.circle:before, span.circle:after {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        top: 2px;
    }
    
    span.circle:after {
        left: 100%;
    }
    
    p.triangle:before, span.triangle:after {
        width: 0;
        height: 0;
        background: none;
        border-left: 13px solid transparent;
        border-right: 13px solid transparent;
        border-bottom: 21px solid #fff;
        top: 5px;
    }
    
    span.triangle:after {
        left: 100%;
    }

.feedback, .gotop {
    display: none;
}

.itemBar{
    margin-bottom:0.5rem;
}
.itemBar:last-child{
    margin-bottom:0;
}

/* .myInfo {
    background: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    height: calc(var(--vh, 1vh) * 100 - 70px);
    width: 400px;
    z-index: 99;
    padding: 0.8rem 0;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
} */
.Card {
    background: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    height: calc(var(--vh, 1vh) * 100 - 70px);
    width: 400px;
    z-index: 99;
    padding: 0.8rem 0;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

.scrollArea {
    overflow: auto;
    padding: 0.5rem 1rem 1rem 1rem;
}

/*.infoHeader {
    display: flex;
    position: relative;
    padding: 0 0.8rem 0.8rem 0.8rem;
}*/

.infoBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.5rem;
    width: 1.5rem;
    text-align: center;
    vertical-align: bottom;
    border-radius: 0.3rem;
    background: var(--subColor2);
    color: #fff;
    margin-right: 0.5rem;
}

    .infoBtn:hover {
        color: #fff;
        background: var(--mainColor4);
    }

    .location {
        width: 84.5%;
    }

    .location span {
        display: block;
        font-weight: bold;
        line-height: 1.5rem;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }

.collapseBtnArea {
    display: none;
}

    .collapseBtnArea .infoBtn:last-child {
        margin-right: 0;
    }

.infoCard {
    background: #fff;
    position: relative;
    border-radius: 0.6rem;
    box-shadow: 0px 2px 10px #00000033;
    overflow: hidden;
    margin: 0 0 1.6rem 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 0.8rem 1rem;
    background-size: 100% auto;
}

.scrollArea .infoCard:last-child{
    margin-bottom:0;
}

.cardTitle {
    font-weight: bold;
}

.btnArea {
    text-align: right;
    margin-top: 1rem;
}

.Air_Quality .tabArea{
	display: flex;
	justify-content: left;
	margin-bottom: 1rem;
}
.Air_Quality .tabArea .tabBtn{
	text-decoration: none;
	display: inline-block;
	width: 4rem;
	line-height: 1.6rem;
	color:var(--mainColor2);
	border:1px solid var(--mainColor2);
	border-radius: 50px;
	background: #fff;
	margin: 0 0.5rem;
	text-align: center;
}
    .Air_Quality .tabArea .tabBtn:hover, .Air_Quality .tabArea .tabBtn.select:hover {
        /*font-weight: bold;*/ /* 重複宣告，會被後面的 font-weight 覆蓋(源碼修正) */
        box-shadow: var(--mainColor2) 0 0 0 1px;
        font-weight: bold;
    }
.Air_Quality .tabArea .tabBtn.select{
	color: #fff;
	background: var(--mainColor2);
}


.ConcentrationSide {
    text-align: left;
}

.ConcentrationBar, .ConcentrationBar.color2 {
    width:85%;
    height:10px;
    margin: auto;
}

.ConcentrationBar {
    background: linear-gradient(to right,#096,#ffde33,#f93,#c03,#609,#7e0023,#2d020e)
}

    /* .ConcentrationBar.color2 {
        background: linear-gradient(to top,#0d7bc0,#4bbffc,#6bdcd7,#f3d62b,#f3a439,#ea6026)
    } */
 .BarNum ul{
    display: flex;
}
.BarNum ul li{
     width: 16.6%;
     text-align: center;
}

p.BarTitle {
    font-size: 0.8rem;
    padding-bottom: 0.3rem;
    margin-left: 1.5rem;
    text-align: right;
}

.BarNum li {
    font-size: 1rem;
}

    .BarNum li:nth-last-child(1), .BarNum.PM25 li:nth-last-child(1), #bar2 .BarNum li:nth-last-child(1), #bar2 .BarNum.PM25 li:nth-last-child(1) {
        padding-right: 0
    }

    /*popup setting*/

.leaflet-popup-content{
    width:300px;
}

.leaflet-popup h5 {
    font-size: 1.25rem;
    color: var(--mainColor1);
    font-weight: 700;
    line-height: 1.5rem;
    margin-bottom: .5rem;
    padding-left: 2px
}

    .leaflet-popup h5 i {
        color: var(--mainColor1);
    }
    .leaflet-popup h5 .itemsIcon.right {
        height: 1.5rem;
        width: 1.5rem;
        margin:0;
    }

    .leaflet-popup h5 i.right, .leaflet-popup h5 .itemsIcon.right {
        margin-right: .5em
    }

.leaflet-popup table.DataTable {
    font-size: .875rem
}

    .leaflet-popup table.DataTable tr:hover {
        background-color: #eff6f7
    }

    .leaflet-popup table.DataTable td, .leaflet-popup table.DataTable th {
        line-height: 1.5em;
        vertical-align: middle;
        padding: 2px 4px
    }

.leaflet-div-icon, .leaflet-tooltip {
    font-size: .875rem;
    line-height: 1.25em
}

.leaflet-popup table.DataTable th {
    width: 7rem;
    font-weight: 400;
    color: #555;
    text-align: right
}

    .leaflet-popup table.DataTable th:after {
        content: "";
        margin-left: .5em;
        border-right: 1px solid #adadad
    }

.leaflet-popup table.DataTable td {
    color: #333;
    padding-left: .5em;
    font-weight: 700
}

.leaflet-popup .UnderBar {
    margin-top: 2px;
    text-align: right
}

    .leaflet-popup .UnderBar .btn {
        font-size: .875rem;
        padding: 2px 6px;
        color: #1A706B;
        border: 1px solid #43A7A1;
        -webkit-transition: all .35s ease-out;
        -moz-transition: all .35s ease-out;
        -o-transition: all .35s ease-out;
        transition: all .35s ease-out
    }

        .leaflet-popup .UnderBar .btn:hover {
            background-color: #43A7A1;
            color: #FFF
        }

.leaflet-popup-content #divGragh {
    min-width: 300px;
    min-height: 200px;
}

.leaflet-tooltip {
    color: #333
}

.leaflet-div-icon {
    color: #FFF;
    background: rgba(0,0,0,.75);
    border: none
}

.leaflet-marker-icon.mAirL2 div, .leaflet-marker-icon.mAirL3 div {
    font-size: 1rem;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.42);
    color: #FFF
}

.leaflet-marker-icon.mAirL1 {
    border: 1px solid #5A5A5A;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%
}

.leaflet-marker-icon.mAirL2, .leaflet-marker-icon.mAirL3 {
    border-width: 6px;
    border-style: solid;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%
}

    .leaflet-marker-icon.mAirL2 div {
        line-height: 3rem;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%
    }

    .leaflet-marker-icon.mAirL3 div {
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%
    }

        .leaflet-marker-icon.mAirL3 div dd, .leaflet-marker-icon.mAirL3 div dt {
            line-height: 1.5rem
        }

        .leaflet-marker-icon.mAirL3 div dt {
            padding-top: .5rem
        }

        .leaflet-marker-icon.mAirL3 div dd {
            font-size: .8125rem;
            padding-bottom: .5rem
        }

.leaflet-marker-icon.mTpe101 {
    position: relative
}

    .leaflet-marker-icon.mTpe101:after {
        content: "";
        width: 22px;
        height: 116px;
        background-image: url(../images/Legend/TPE101.svg);
        background-repeat: no-repeat;
        display: inline-block;
        position: absolute;
        top: -35px;
        left: -15px
    }

    .leaflet-marker-icon.mTpe101 div {
        color: #FFF;
        background: rgba(0,0,0,.6);
        padding: 2px 6px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px
    }

        .leaflet-marker-icon.mTpe101 div li {
            font-size: 1rem;
            line-height: 1.5em;
            text-align: right;
            border-bottom: 1px solid rgba(159,232,228,.46);
            padding-right: 6px
        }

            .leaflet-marker-icon.mTpe101 div li:last-child {
                border-bottom: none
            }

a.moreBtn, .leaflet-container a {
    display: inline-block;
    text-align: left;
    padding: 0.3em 1rem;
    width: unset;
    font-size: 1rem;
    background-color: #fff;
    border: 1px solid var(--mainColor1);
    /* color: #fff; */ /* 重複宣告，會被後面的 color 覆蓋(源碼修正) */
    position: relative;
    transition: .2s;
    color: var(--mainColor1) !important;
}

    a.moreBtn::after {
        display: none;
    }

a.moreBtn:hover {
    box-shadow: #fff 0 0 0 2px, var(--mainColor1) 0 0 0 4px;
    font-weight: bold;
}

.leaflet-popup h5 i.castal::before {
    content: "";
    background-image: url(..//images/part3_icon4_hover.svg);
    /* display: block; */ /* 重複宣告，會被前面的 display 覆蓋(源碼修正) */ 
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

    .layerSelect {
        margin: 0.3rem 0 0 2rem;
    }

        .layerSelect label {
            display: inline-block;
            width: 3rem;
            margin: 0 .5em;
        }


    
@media only screen and (min-width: 1220px) and (max-width: 1379px) {
    #Content {
        position: relative;
        height: calc(100vh - 60px);
        overflow: hidden;
    }
    .navBar h1 {
        font-size: 1.1em;
    }

        .navBar h1 span:first-child {
            font-size: 0.8rem;
        }

    .navBar .logo {
        height: 34px;
        width: 34px;
        margin: 5px 10px 5px 0;
    }

        .navBar .logo img {
            height: 34px;
        }

    .navBar a {
        font-size: 0.9rem;
        top: calc( 0.5rem + 0.5%);
    }

    .Card {
        height: calc(var(--vh, 1vh) * 100 - 53px);
    }
    .cardContainer {
        height: calc(var(--vh, 1vh) * 100 - 130px);
    }
}
@media only screen and (min-width: 977px) and (max-width: 1219px) {
    ul#myTools li:nth-child(4), ul#myTools li:nth-child(5), ul#myTools li:nth-child(6), ul#myTools li:nth-child(7) {
        display: none;
    }
    ul#myTools li a.on:hover {
        color: #fff;
    }
}

@media only screen and (min-width: 768px) and (max-width:976px) {
    /*-----------------Header-----------------*/
    #mainMenu .navBar {
        padding: 0.5rem;
    }

    .navBar .logo {
        height: 40px;
        width: 40px;
        background: #fff;
        margin: 5px;
    }

        .navBar .logo img {
            height: 40px;
        }

    .navBar h1 {
        font-size: 1.4em;
    }

        .navBar h1 span:first-child {
            font-size: 1rem;
            margin-bottom: 0.2rem;
        }

    .navBar a {
        font-size: 1rem;
        right: 1rem;
        top: calc( 0.5rem + 0.5%);
        padding: 0.5rem;
    }

        .navBar a span {
            display: none;
        }
    /* -----------------地圖工具----------------- */

    ul#myTools.on {
        display: block;
        text-align: right;
        flex-direction: row-reverse;
        padding: 0.5rem;
        position: absolute;
        right: 0;
    }

    ul#myTools li a.on:hover {
        color: #fff;
    }

    ul#myTools {
        display: block;
        text-align: right;
        flex-direction: row-reverse;
        padding: 0.5rem;
        position: absolute;
        right: 0;
    }


            ul#myTools li a i {
                font-size: 1.5rem;
                line-height: 3rem;
                width: 3rem;
                height: 3rem;
            }

            ul#myTools li a:hover, #myTools ul li a.on:hover {
                background-color: var(--GreenLight1);
                color: #fff;
            }

            ul#myTools li:nth-child(4), ul#myTools li:nth-child(5), ul#myTools li:nth-child(6), ul#myTools li:nth-child(7) {
                display: none;
            }

    /* -----------------地圖工具小卡----------------- */
    .Card {
        width: 100%;
        position: absolute;
        top: unset;
        bottom: -4px;
        right: unset;
        border-radius: unset;
        box-shadow: unset;
        overflow: unset;
        height: calc(var(--vh, 1vh) * 100 - 287px);
    }

    .cardHead, .cardContainer {
        padding: .75rem;
    }

    .cardContainer {
        height: calc(var(--vh, 1vh) * 100 - 380px);
    }

/*    .myInfo .close.infoBtn {
        display: none;
    }*/

    .legend .cardArea {
        height: unset;
        overflow: unset;
    }
}

@media only screen and (max-width: 767px) {
    /*-----------------Header-----------------*/
    #mainMenu .navBar {
        padding: 0.5rem;
    }

    .navBar .logo {
        height: 40px;
        width: 40px;
        background: #fff;
        margin:5px;
    }

        .navBar .logo img {
            height: 40px;
        }

    .navBar h1 {
        font-size: 1.4em;
    }
        .navBar h1 span:first-child{
            font-size:1rem;
            margin-bottom:0.2rem;
        }

    .navBar a {
        font-size: 1rem;
        right: calc( 0.5rem);
        padding: 0.5rem;
    }

        .navBar a span {
           display:none;
        }

    /* -----------------定位查詢區----------------- */
    .mapQueryArea {
        padding: 0.5rem;
        width: 100%;
        position: relative;
    }

    .searchBox {
        margin-bottom: 0.5rem;
    }

    /* -----------------地圖工具----------------- */
    ul#myTools.on {
        display:flex;
        text-align: right;
        flex-direction: row-reverse;
        padding: 0 0.5rem;
        position: unset;
    }

    ul#myTools li a.on:hover {
        color: #fff;
    }

    ul#myTools {
        display: flex;
        text-align: right;
        flex-direction: row-reverse;
        padding: 0 0.5rem;
        position: unset;
    }
        ul#myTools li a {
            margin-left: 0.5rem;
        }

            ul#myTools li a i {
                font-size: 1rem;
                line-height: 2rem;
                width: 2rem;
                height: 2rem;
            }

            ul#myTools li a:hover, #myTools ul li a.on:hover {
                background-color: var(--GreenLight1);
                color: #fff;
            }

            ul#myTools li:nth-child(4), ul#myTools li:nth-child(5), ul#myTools li:nth-child(6), ul#myTools li:nth-child(7) {
                display: none;
            }
        ul#myTools li a span {
            opacity: 0;
        }

    /* -----------------地圖工具小卡----------------- */
    .Card {
        width: 100%;
        position: relative;
        top: unset;
        right: unset;
        border-radius: unset;
        box-shadow: unset;
        overflow: unset;
        border-radius: 16px 16px 0 0;
    }

    .cardHead, .cardContainer {
        padding: .75rem;
    }

    .cardContainer {
        height: calc(var(--vh, 1vh) * 100 - 274px);
    }
/*    .myInfo .close.infoBtn {
        display: none;
    }*/

    .legend .cardArea {
        height: unset;
        overflow: unset;
    }

    /*底圖切換*/

    /*圖層套疊*/
}


/*-----------------Content-----------------*/
#Content {
    position: relative;
    height: calc(100vh - 70px);
    overflow: hidden;
}

@media only screen and (min-width: 1220px) and (max-width: 1379px) {
    #Content {
        height: calc(100vh - 54px);
    }

}
@media only screen and (min-width: 768px) and (max-width:976px) {

}
@media only screen and (max-width: 767px) {
    #Content {
        position: relative;
        height: calc(var(--vh, 1vh) * 100 - 66px);
    }
}



.infoSummary {
    padding: 0.2rem 0.8rem 1.2rem 0.8rem;
    position: relative;
/*    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);*/
    z-index: 1;
}

.infoTitle {
    color: var(--GreenDark3);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.subInfoTitle {
    margin-bottom: 0.5rem;
    font-weight: bold
}

.scrollArea .noData {
    display:block;
    text-align: center;
}

    .scrollArea .noData p {
        margin: 0.8rem 0;
        font-size: 1.2rem;
        font-weight: bold;
        color: rgba(0,0,0,0.5);
        text-align: center;
    }

    .scrollArea .noData img {
        width: 40%
    }

.infoSubTitle {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
}
@media only screen and (min-width: 1220px) and (max-width: 1379px) {
    #Map {
        height: calc(var(--vh, 1vh) * 100 - 54px);
    }

    .myInfo {
        height: calc(var(--vh, 1vh) * 100 - 54px);
    }
}

@media only screen and (min-width: 977px) and (max-width: 1219px) {


}

@media only screen and (min-width: 768px) and (max-width:976px) {
    #Map {
        height: calc(var(--vh, 1vh) * 100 - 66px);
    }
    .Card {
        border-radius: 16px 16px 0 0;
    }
    .myInfo.full {
        height: calc(var(--vh, 1vh) * 100 - 66px);
        /*        border-radius: unset;*/
        box-shadow: unset;
        border-radius: 16px 16px 0 0;
    }

/*    .myInfo {
        height: calc(var(--vh, 1vh) * 40 - 66px);
        border-radius: 16px 16px 0 0;
        box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        width: 100%;
    }

        .myInfo.bottom {
            height: calc(var(--vh, 1vh) * 16 - 66px);
            border-radius: 16px 16px 0 0;
            box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        }*/

    .infoSummary {
        width: unset;
    }


    .location {
        width: 76%;
    }

    .infoCard {
        width: 48%;
        display: block;
        height: unset;
        box-sizing: unset;
        margin:auto;
        margin-bottom:1.6rem;
    }

    .collapseBtnArea {
        display: flex;
        position: absolute;
        top: 0;
        right: 0.8rem;
    }

    .aqiSummary {
        width:48%;
        margin:auto;
    }
}


@media only screen and (max-width: 767px) {
    #Map {
        height: calc(var(--vh, 1vh) * 100 - 66px);
    }
    .Card {
        border-radius: 16px 16px 0 0;
    }
    .myInfo.full {
        height: calc(var(--vh, 1vh) * 100 - 66px);
        box-shadow: unset;
        border-radius: 16px 16px 0 0;
    }
/*    .myInfo {
        height: calc(var(--vh, 1vh) * 40 - 66px);
        border-radius: 16px 16px 0 0;
        box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        width: 100%;
    }

        .myInfo.bottom {
            height: calc(var(--vh, 1vh) * 16 - 66px);
            border-radius: 16px 16px 0 0;
            box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        }*/

        .infoSummary {
            width: unset;
        }

   
    .location {
        width: 76%;
    }

    .infoCard {
        width:unset;
        display:block;
        height:unset;
        box-sizing:unset;
    }

    .collapseBtnArea {
        display: flex;
        position: absolute;
        top: 0;
        right: 0.8rem;
    }

}

/*    Environment analysis setting
================================================== */

