*{
    margin: 0;
    padding: 0;
}
.van-picker-column__item.van-picker-column__item--selected .van-ellipsis{
    color: #3183ff;
    font-weight: bold;
}
.timeSelect.van-picker.van-datetime-picker .van-picker-column__item.van-picker-column__item--selected .van-ellipsis{
    font-size: .5rem;
}
.van-datetime-picker .van-picker-column:nth-child(1) .van-ellipsis{
    margin-left: 1rem;
}
.van-datetime-picker .van-picker-column:nth-child(2) .van-ellipsis{
    margin-right: 1rem;
}
.van-checkbox__icon--checked .van-icon, .van-checkbox__icon .van-icon{
    border-radius: 4px;
}
.van-checkbox__label{
    margin-left: 6px;
    font-size: .26rem;
    color: #323232;
}
li{
    list-style: none;
}
/* .leaflet-overlay-pane{
    z-index: 401;
} */
.container{
    width: 100vw;
    height: 100vh;
    position: relative;
}
.container>*{
    z-index: 2;
}
.header-bar{
    position: absolute;
    top: 0.4rem;
    left: 0;
    right: 0;
    display: none;
}
.bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333333;
    font-size: .36rem;
    font-weight: bold;
}
.bar>img{
    padding: 0 0.25rem ;
    width: .4rem;
}
.bar>span{
    padding: 0 0.25rem ;
    width: .4rem;
}
#map{
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1;
}
#mapTitle{
    margin-top: .4rem;
    margin-left: 0.25rem;
    font-size: .3rem;
    color: #3183ff;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
}
#citySelect{
    position: absolute;
    right: 0.25rem;
    top: .9rem;
    /* width: 1.5rem; */
    height: .6rem;
    background-color: #fff;
    border-radius: .05rem;
    border: solid 1px #bbb;
    color: #333333;
    font-size: .26rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
#citySelect>img{
    width: .2rem;
    margin-left: .1rem;
    margin-right: 0.1rem;
}
#citySelect>p{
    margin-left: 0.1rem;
}
#mapTitle>p{
    color: #666666;
    font-size: .3rem;
}
#timeShow>p, .time-inp>p{
    margin-top: .05rem;
    font-size: .3rem;
    color: #666666;
    font-weight: normal;
}
#timeShow>img, .time-inp>img{
    width: .4rem;
}
#toolBar{
    position: absolute;
    z-index: 2;
    right: .25rem;
    bottom: 0.7rem;
}
.tool-item{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .24rem;
    margin-bottom: .35rem;
    position: relative;
    left: 0;
}
.tool-item>p {
    text-align: right;
    color: #333333;
    font-size: .24rem;
    width: 2rem;
    pointer-events: none;
    position: absolute;
    right: 0.8rem;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
    font-weight: bold;
}
.tool-item.active>p{
    color: #0e7cfe;
}
.tool-item>p.min-font{
    font-size: .22rem;
}
.tool-item>p.min-font>span{
    font-size: .28rem;
}
.tool-item>div {
    width: .64rem;
    height: .64rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: .1rem;
    background-color: #ffffff;
    box-shadow: 0px 2px 3px 0px
    rgba(0, 0, 0, 0.35);
}
.tool-item.active>div {
    background-image: linear-gradient(-33deg, #00ccff 0%, #00a3ff 50%, #007eff 100%), linear-gradient( #ffffff, #ffffff);
}
.tool-item>div>div {
    width: .64rem;
    height: .64rem;
    background-size: 100% 100%;
}
#closeEle{
    width: .24rem;
    margin-right: .23rem;
}
.ele-list{
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-left: .23rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.list{
    padding-top: 0.25rem;
    height: 0;
    flex: 2;
    overflow-y: scroll;
}
.ele-title{
    color: #999999;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-size: .3rem;
    border-bottom: solid 1px #eeeeee;
}
.item>img{
    width: .4rem;
    margin-right: .1rem;
}
.item{
    position: relative;
    padding-bottom: .25rem;
    display: flex;
    align-items: center;
    color: #333333;
    font-size: .3rem;
    font-weight: bold;
}
#eleList ul{
    margin-left: .5rem;
    border-bottom: solid 1px #eeeeee;
    margin-bottom: .25rem;
    background-repeat: no-repeat;
    background-size: 1.5rem 1.5rem;
    background-position: right bottom;
}
#eleList li{
    font-size: .3rem;
    color: #8e9497;
    margin-bottom: 0.25rem;
}
#eleList li.active{
    color: #3196fa;
    font-weight: bold;
}
#closeLayer,#closeDataPage,#closeAnyTime{
    width: .71rem;
    margin-top: .38rem;
}
.layer-box, .data-box{
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.layer-controller{
    width: 100%;
    border-radius: .2rem;
    box-sizing: border-box;
    padding: .35rem .28rem 0;
    background-color: #ffffff;
}
.any-title{
    color: #333333;
    font-size: .28rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.any-title:before{
    content: '';
    display: inline-block;
    width: .19rem;
    height: .19rem;
    border: solid 0.05rem #1daaff;
    border-radius: 50%;
    box-sizing: border-box;
    margin-right: 5px;
}
#anyDataType li,#anyList li{
    height: 0.58rem;
    background-color: rgba(191,220,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c98f5;
    font-size: 0.28rem;
    border: solid 1px rgba(142,193,255,0.2);
    border-radius: 0.29rem;
}
#anyDataType li.active,#anyList li.active{
    background-color: #4c98f5;
    border: 1px solid #4c98f5;
    color: #ffffff;
}
.data-page{
    width: 100%;
    /* min-height: 28vh; */
    border-top-left-radius:20px;
    border-top-right-radius:20px;
    background-color: #ffffff;
    overflow-y: scroll;
}
.van-popup {
    background-color: rgba(0, 0, 0, 0);
}
.van-picker{
    border-top-left-radius:20px;
    border-top-right-radius:20px;
    overflow: hidden;
}
.layer-title{
    color: #323232;
    font-weight: bold;
    font-size: .3rem;
    display: flex;
    align-items: center;
}
.layer-title:before{
    content: '';
    width: .06rem;
    height: .25rem;
    background-color: #3183ff;
    border-radius: .03rem;
    margin-right: .1rem;
}
.layer-controller ul{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: .4rem;
}
.layer-controller ul li{
    width: 30%;
    height: .58rem;
    color: #666666;
    font-size: .26rem;
    margin-top: .22rem;
    display: flex;
    align-items: center;
    margin-right: 4%;
}
.layer-controller ul li:nth-child(3n){
    margin-right: 0;
}
.layer-controller .tile-box li{
    height: 1.4rem;
    border-radius: .1rem;
    position: relative;
    overflow: hidden;
    background-size: 100% 100%;
    box-sizing: border-box;
    border: 2px solid #d0d0d0;
}
.layer-controller .tile-box li div{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    color: #ffffff;
    height: .43rem;
    font-size: .26rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.layer-controller .tile-box li.active{
    border: solid 2px #fd944f;
    background-color: #ffffff;
}
li[data-type="blue"] {
    background-image: url(../images/live/i-lh.png);
}
li[data-type="xz"] {
    background-image: url(../images/live/i-xz.png);
}
li[data-type="dx"] {
    background-image: url(../images/live/i-dx.png);
}
.location{
    height: .9rem;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 .26rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.location>div>img{
    width: .3rem;
    margin-right: .14rem;
}
.location>div{
    display: flex;
    align-items: center;
    height: 100%;
}
.interval{
    font-size: .28rem;
    color: #323232;
    margin-right: .3rem;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.interval.active{
    color: #1b76ff;
    font-weight: bold;
}
.interval.active:before{
    content: '';
    display: block;
    position: absolute;
    width: .25rem;
    left: calc(50% - 0.125rem);
    height: 2px;
    border-radius: 1px;
    background-color: #1b76ff;
    bottom: 0;
}
#closeChart{
    display: flex;
    align-items: center;
    justify-content: center;
    height: max-content;
    padding-left: .2rem;
    border-left: 1px solid #bebebe;
}
#closeChart>img{
    width: .39rem;
}
#location{
    color: #323232;
    font-size: .3rem;
    font-weight: bold;
}
.time-inp-box{
    padding:  .29rem .28rem 0;
    box-sizing: border-box;
}
.inp-item{
    height: 1rem;
    font-size: .28rem;
    color: #333333;
    display: flex;
    align-items: center;
    border-bottom: .01rem solid #e5e5e5;
    margin-left: 0.4rem;
    position: relative;
}
.inp-item:before{
    content: '';
    display: inline-block;
    width: .19rem;
    height: .19rem;
    border: solid 0.05rem #1daaff;
    border-radius: 50%;
    box-sizing: border-box;
    position: absolute;
    left: -.4rem;
}
.time-inp{
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-left: .2rem;
    height: .6rem;
    color: #666666;
    background-color: #ffffff;
    border-radius: .04rem;
    background-image: url(../images/live/forward.png);
    background-repeat: no-repeat;
    background-position: 3.7rem center;
    background-size: 0.1rem 0.18rem;
}
.time-btn{
    width: 1.29rem;
    height: .6rem;
    margin-left: .2rem;
}
.btn-box{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .43rem 0 .36rem;
}
#queryBtn{
    width: 1.93rem;
    height: .74rem;
    background-color: #4c98f5;
    font-weight: normal;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .1rem;
    font-size: .28rem;
    margin-right: .24rem;
}
#cancel{
    width: 1.93rem;
    height: .74rem;
    box-sizing: border-box;
    background-color: #eff5fc;
    color: #4c98f5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .1rem;
    border: solid 1px #8ec1ff;
    font-size: .28rem;
}
.time-inp-box{
    border-bottom: 1px dashed #e5e5e5;
    padding-bottom: .32rem;
}
.time-inp-box ul{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.time-inp-box ul li{
    width: 23%;
    height: .58rem;
    border: solid 1px #999999;
    border-radius: .29rem;
    font-size: .26rem;
    color: #666666;
    box-sizing: border-box;
    margin-right: 2.4%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: .2rem;
}
.time-inp-box ul li.active{
    background-color: #3183ff;
    border-color: #3183ff;
    color: #ffffff;
}
.time-inp-box ul li:nth-child(4n){
    margin-right: 0;
}
.chart-box{
    position: relative;
}
.chart-title{
    text-align: center;
    color: #333333;
    font-size: .24rem;
    padding-top: .26rem;
    padding-bottom: .26rem;
    font-weight: bold;
}
#chartBox{
    padding: 0 .3rem 0 0;
    height: 4.0rem;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
}
#chart{
    width: 300vw;
    height: 100%;
    min-width: 100%;
}
#yLine{
    position: absolute;
    font-size: .24rem;
    color: #46c54c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 2.15rem;
    left: 0;
    padding-left: .3rem;
    padding-bottom: .5rem;
    padding-right: .2rem;
    z-index: 2;
    background-color: #ffffff;
}
#unit{
    position: absolute;
    top: -.3rem;
    width: 100%;
    font-size: .2rem;
    text-align: center;
}
.ele-box{
    margin-top: .1rem;
    margin-bottom: .2rem;
}
.ele-item{
    height: .8rem;
    font-size: .28rem;
    display: flex;
    align-items: center;
    position: relative;
}
.ele-item:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    display: block;
    background-color: #7bc3ff;
    top: 0;
    left: 0;
    transform: scaleY(.3);
    z-index: 2;
}
.ele-item:last-child:after{
    content: '';
    position: absolute;
    width: 100%;
    display: block;
    height: 1px;
    background-color: #7bc3ff;
    bottom: 0;
    left: 0;
    transform: scaleY(.3);
}
.ele-item>div{
    height: 100%;
    padding-left: .23rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
}
.ele-item>div:after{
    content: '';
    position: absolute;
    width: 1px;
    display: block;
    height: 100%;
    background-color: #7bc3ff;
    top: 0;
    right: 0;
    transform: scaleX(.3);
}
.ele-item>div:last-child:after{
    display: none;
}
.ele-item>div:nth-child(2n-1) {
    background-color: #f4faff;
    color: #323232;
    font-weight: bold;
    width: 2.09rem;
}
.ele-item>div:nth-child(2n) {
    flex: 2;
}
#legend{
    position: absolute;
    left: 0.2rem;
    bottom: 1rem;
    font-size: 0.2rem;
    /* background-color: #fff; */
    /* border-radius: 5px; */
    /* box-shadow: 0px 0px 2px 2px #eee; */
    z-index: 2;
}
#legend>div{
    color: #fff;
    width: 100%;
    line-height: 0.4rem;
    text-indent: 0.5em;
    text-shadow: 0 1px 0 #000, 0 0 0 #000, 1px 0 0 #000, -1px 0 0 #000;
}
#legend ul{
    padding: 0.1rem 0.1rem 0 0.1rem;
    display: flex;
    flex-direction: column;
}
#legend ul li{
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}
#legend ul li div{
    width: 0.18rem;
    height: 0.35rem;
    border-top: 1px solid rgba(0, 0, 0, 0.35);
    border-left: 1px solid rgba(0, 0, 0, 0.35);
    border-right: 1px solid rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}
#legend ul li:last-child div{
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
#legend ul li span{
    margin-bottom: -0.1rem;
    margin-left: 0.05rem;
    color: #333;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
}
.timelist{
    position: absolute;
    left: 0.25rem;
    right: 0.25rem;
    bottom: 0.1rem;
    height: 0.7rem;
    font-size: 0.28rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 2px #eee;
    z-index: 2;
    overflow-x: scroll;
}
.timelist::-webkit-scrollbar{
    -webkit-appearance: none;
}
.timelist::-webkit-scrollbar:horizontal {
    /* 水平高度 */
    height: 3px;
}
.timelist::-webkit-scrollbar:vertical {
    /* 垂直宽度 */
    width: 0px;
}
.timelist::-webkit-scrollbar-thumb{
    border-radius: 8px; 
    background-color: #eeeeee;
}
.timelist ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.timelist ul li{
    line-height: 0.7rem;
    text-align: center;
}
.timelist ul li.active{
    background-color: #007eff;
    color: #fff;
}
.timelistby{
    position: absolute;
    left: 0.25rem;
    right: 0.25rem;
    bottom: 0.1rem;
    height: 0.7rem;
    font-size: 0.28rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 2px #eee;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}
.timelistby li{
    width: 50%;
    line-height: 0.7rem;
    text-align: center;
    color: #323232;
}
.timelistby li.active{
    background-color: #007eff;
    color: #fff;
}
.timelistbw{
    position: absolute;
    left: 0.25rem;
    right: 0.25rem;
    bottom: 0.1rem;
    height: 0.7rem;
    font-size: 0.28rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 2px #eee;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}
.timelistbw li{
    width: 50%;
    line-height: 0.7rem;
    text-align: center;
    color: #323232;
}
.timelistbw li.active{
    background-color: #007eff;
    color: #fff;
}
#rslegend{
    position: absolute;
    left: 1rem;
    bottom: 1.2rem;
    font-size: 0.2rem;
    z-index: 2;
}
#rslegend div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#rslegend img{
    width: 0.3rem;
    margin-right: 0.05rem;
}
#djlegend{
    position: absolute;
    left: 0.3rem;
    bottom: 1rem;
    font-size: 0.2rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
#djlegend div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#djlegend div:nth-child(1) span{
    margin-right: 0.6rem;
}
#djlegend div:nth-child(2) span{
    margin-right: 0.5rem;
}
#djlegend div:nth-child(3) span{
    margin-right: 0.4rem;
}
#djlegend div p{
    width: 100%;
}
#djlegend img{
    height: 2.2rem;
}
#loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
}
#loading div{
    position: fixed;
    z-index: 9999;
    width: 2rem;
    height: .6rem;
    border-radius: .7rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: .3rem;
    left: calc(50vw - 0.8rem);
    bottom: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loading img{
    width: 0.5rem;
    animation: rotate 1s linear infinite;
}
@keyframes rotate{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}


.dialog{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 100000;
    display: none;
}
.dialogcontent{
    position: absolute;
    left: 5vw;
    right: 5vw;
    top: 28vh;
    height: 20vh;
    background-color: #fff;
    border-radius: 8px;
    font-size: 0.28rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.dialogcontentt{
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dialogcontentb{
    width: 100%;
    height: 8vh;
    border-top: 1px solid #eee;
    line-height: 8vh;
    text-align: center;
    color: #007eff;
    font-size: 0.32rem;
}

#dxlegend{
    position: absolute;
    left: 0rem;
    bottom: 1rem;
    font-size: 0.2rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
#dxlegend img{
    width: 1rem;
}