*{
    margin: 0;
    padding: 0;
    font-family: 'PingFang SC Regular';
}
::-webkit-input-placeholder { /* WebKit browsers */
    color: #ccc;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #ccc;
}

:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #ccc;
}
.leaflet-bottom.leaflet-right{
    display: none;
}

/*.leaflet-top.leaflet-left{*/
/*    display: none;*/
/*}*/

.container{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header{
    width: 100%;
    height: 6.5rem;
    box-shadow: 0 0 0.7rem #D2D3D7;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.box{
    background-color: #f9f9f9;
    border-radius: 0.2rem;
    height: 4.5rem;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cir-box{
    width: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cir{
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #dcdcdc;
}

.cir.big{
    width: 10px;
    height: 10px;
    border-radius: 5px;
}

.cir.big.green{
    background-color: #0bc467;
    margin-bottom: 0.2rem;
}

.cir.big.red{
    background-color: #f03439;
    margin-top: 0.2rem;
}

.middle-box{
    height: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.inp-box{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex: 2;
}

.btn-box{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-box>img{
    width: 1rem;
}

.line{
    width: 100%;
    height: 1px;
    background-color: #eeeeee;
}

.place-inp{
    flex: 2;
    outline: none;
    border: none;
    background-color: #f9f9f9;
    font-size: 1rem;
}

.btn-box{
    width: 5rem;
    padding-left: 5px;
}
.btn-box i{
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex: 1;
    text-align: center;
    border-left: 1px solid #eeeeee;
    color: #8a8a8a;
    font-size: 1rem;
    cursor: pointer;
}
#map{
    width: 100%;
    flex: 2;
    position: relative;
}

.top-left{
    position: absolute;
    z-index: 999;
    top: 1rem;
    left: 1rem;
}

.top-right{
    position: absolute;
    z-index: 999;
    top: 1rem;
    right: 1rem;
}

.type-box, .top-right{
    background-color: #fff;
    text-align: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.2rem;
    box-shadow: 0 0 0.5rem #D2D3D7;
    color: #777777;
    overflow: hidden;
    line-height: 0.5rem;
}

.type-box{
    margin-bottom: 0.8rem;
}
.type-box i,
.top-right i{
    width: 100%;
    height: 1.5rem;
    display: block;
    font-size: 0.7rem;
    line-height: 100%;
    position: relative;
}
.type-box i::before,
.top-right i::before{
    /*font-size: 0.5rem;*/
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    display: block;
    width: max-content;
    height: max-content;
}
.type-box[data-mode=legend] i::before{
    display: block !important;
}
.type-box[data-mode=legend] i.select{
    color: #4b68ef;
}
.type-box i svg,
.top-right i svg{
    display: none;
    font-size: 0.8rem;
}
.type-box:nth-child(2) i{
    margin-top: 0.2rem;
}
.type-box:nth-child(2) i svg{
    font-size: 1.4rem;
    width: 100%;
}
.type-box:nth-child(2) i::before{
    font-size: 1.4rem;
}
.type-box i.select::before,
.top-right i.select::before{
    display: none;
}
.type-box i.select svg,
.top-right i.select svg{
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.type-box i.icon-road{
    mask-size:1.4rem;
    mask-position: center center;
    mask-repeat: no-repeat;
    -webkit-mask-size: 1.4rem;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-image: url(./images/道路.png);
    background: rgb(119 119 119);
}
.type-box i.icon-road.select{
    background: rgb(75 104 239);
}
.type-box i.icon-radar{
    mask-size:1.4rem;
    mask-position: center center;
    mask-repeat: no-repeat;
    -webkit-mask-size: 1.4rem;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-image: url(./images/雷达图标.png);
    background: rgb(119 119 119);
}
.type-box i.icon-radar.select{
    background: rgb(75 104 239);
}
.g-path-input-keyList{
    width: calc(90% - 2rem);
    position: absolute;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    margin-top: 2.25rem;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    max-height: 50vh;
    overflow-y: auto;
    line-height: 2em;
    padding: 0 5px;
}
.g-path-input-keyList>li{
    padding-left:1em;
}
.g-path-input-keyList>li:not(:last-child){
    border-bottom:1px dashed #eee;
}
.leaflet-pane.leaflet-markerWeather-pane{
    z-index:600
}
.leaflet-pane.leaflet-csMarker-pane{
    z-index:600
}
.leaflet-pane.leaflet-csMarker2-pane{
    z-index:599
}
.m-marker-panel {
    margin-top: calc( -2em + 10px);
    background:rgba(255, 255, 255, 0.9);
    margin-left: 15px;
    width: 42vw;
    font-size:4vw;
    border-radius: 1.4vw;
    z-index:2;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    position:relative;
}
.m-marker-panel.green{
    border: 1px solid rgba(18, 163, 88, 0.3);
}
.m-marker-panel.red{
    border: 1px solid rgba(251, 65, 69, 0.3);
}
.m-marker-panel::before{
    content:'';
    display:block;
    left:-10px;
    position:absolute;
    border-top:transparent 8px solid;
    border-bottom:transparent 8px solid;
    top: calc(2em - 16px);
}
.m-marker-panel.green::before{
    border-right:rgba(18, 163, 88, 0.3) 10px solid;
}
.m-marker-panel.red::before{
    border-right: 1px solid rgba(251, 65, 69, 0.3);
}
.m-marker-panel::after{
    content:'';
    display:block;
    left:-9px;
    position:absolute;
    border-top:transparent 10px solid;
    border-bottom:transparent 10px solid;
    top: calc(2em - 20px);
}
.m-marker-panel.green::after{
    border-right:#f6fffa 10px solid;
}
.m-marker-panel.red::after{
    border-right: #fff0f0 10px solid;
}
.m-marker-panel header{
    border-top-left-radius: 1.4vw;
    border-top-right-radius: 1.4vw;
    overflow:hidden;
    font-weight:bold;
    line-height:2em;
    padding:0 0.5em;
}
.m-marker-panel.green header{
    background:#f6fffa;
    color:#12a358;
}
.m-marker-panel.red header{
    background:#fff0f0;
    color:#f2433d;
}
.m-marker-panel header i {
    position:absolute;
    right:5px;
    font-size: 0.6rem;
    cursor:pointer;
    line-height: 0.6rem;
    top: 0.7rem;
    right: 0.3rem;
    font-weight: normal;
}
.m-marker-panel main{
    border-bottom-left-radius: 1.4vw;
    border-bottom-right-radius: 1.4vw;
    overflow:hidden;
    padding: 0.3em 0.5em;
    color:#686868;
}
.m-marker-panel main .m-weather-element{
    margin-bottom:0.2em;
}
.m-marker-panel main .m-weather-element-item span{
    width:calc(100% - 5em);
    float:right;
    display:block;
    font-weight:bold;
}
.m-marker-panel.green main .m-weather-element-item span{
    color:#12a358;
}
.m-marker-panel.red main .m-weather-element-item span{
    color:#f2433d;
}
.m-marker-panel main .m-rain-des{
    padding-top:0.3em;
    border-top: 1px #c6c6c6 dashed;
}
.m-title{
    position: absolute;
    top: 7.5rem;
    z-index: 900;
    width: 100%;
    text-align: center;
    font-weight: bold;
    text-shadow: 0.07rem 0px 0px #fff, -0.07rem 0px 0px #fff, 0px 0.07rem 0px #fff, 0px -0.07rem 0px #fff;
}
.m-legend {
    position:absolute;
    z-index:900;
    left:2rem;
    bottom:1rem;
    width:0.8rem;
    text-shadow: 0.07rem 0px 0px #fff, -0.07rem 0px 0px #fff, 0px 0.07rem 0px #fff, 0px -0.07rem 0px #fff;
    font-weight:bold;
    font-size: 1rem;
}

.m-legend-title{
    position:relative;
    left:-1rem;
    text-align:center;
    width: 3rem;
    line-height:2em;
}
.m-legend ul{
    width:1rem;
    border-top:1px #000 solid;

}
.m-legend ul li{
    height:1.5rem;
    position:relative;
    line-height:1em;

}
.m-legend ul li span:nth-child(1){
    position:absolute;
    width:100%;
    height:100%;
    border:1px #000 solid;
    border-top:none;
}
.m-legend ul li span:nth-child(2){
    position:absolute;
    left: calc(100% + 0.3em);
    height:100%;
    width:4em;
    top:calc(100% - 0.5em);
    font-size: 0.9rem;
}
.m-leaflet-stadium-name{
    margin-top: 41px;
    text-align: center;
    width: 12em;
    font-weight: bold;
    text-shadow: 0.07rem 0px 0px #fff, -0.07rem 0px 0px #fff, 0px 0.07rem 0px #fff, 0px -0.07rem 0px #fff;
}

.m-panel{
    display: none;
    position: fixed;
    z-index: 999;
    width: 83vw;
    height: max-content;
    margin: auto;
    left: -100vw;
    right: -100vw;
    top: -100vw;
    bottom: -100vw;
    background: #fbfbfb;
    /* overflow: hidden; */
    border: 100vw solid rgba(0,0,0,0.2);
    background-clip: padding-box;
    border-radius: 103vw;
    padding: 2vw 0 2vw 4vw;
    box-sizing: content-box;
}
.m-panel h3{
    font-size: 4vw;
    font-weight: bold;
    display:flex;
    align-items:center;
    line-height: 9vw;
}
.m-panel h3::before{
    content:"";
    width: 1vw;
    height: 3vw;
    background-color: #3183ff;
    border-radius: 0.5vw;
    margin-right: 2vw;
}
.m-panel ul{
    display:flex;
    flex-wrap: wrap;
}
.m-panel ul li{
    width: 33%;
    margin: 2vw 0 4vw;
    color: #323232;
    font-size: 4vw;
}
.m-panel ul li .u-checkbox::before{
    display:inline-block;
    content:"";
    width: 3vw;
    height: 3vw;
    background-color: #ffffff;
    border-radius: 1px;
    border: solid 1px #bbbbbb;
    margin-right:1vw;
}
.m-panel ul li .u-checkbox.select::before{
    border: solid 1px #3183ff;
    background:#3183ff url(./images/check.png) center center no-repeat;
    background-size:80%;
}
.m-panel .u-close{
    width: 11vw;
    height: 11vw;
    background:  url(./images/close.png) center center no-repeat;
    background-size:100%;
    position: absolute;
    left: 0;
    right: 0;
    margin: 10vw auto 0;
    cursor: pointer;
}
.roadIcon {
    width: 4vw;
    height: 4vw;
    background: #fff;
    border-radius: 50%;
    background-image: radial-gradient(#fff 20%,#3183ff 20%,#3183ff 50%,#095fe1 50%,#095fe1);
    max-width: 20px;
    max-height: 20px;
    position: absolute;
    left: -2vw;
    right: -2vw;
    top: -2vw;
    bottom: -2vw;
    margin: auto;
}
.roadPointPanel {
    position:absolute;
    width: 34vw;
    color: #3183ff;
    background: #fff;
    border-radius: 1vw;
    /* box-shadow: 0 1vw 2vw 0  rgba(0,0,0,0.18); */
    margin: -4vw 4vw;
    font-size: 3vw;
    filter: drop-shadow(0 1vw 1vw  rgba(0,0,0,0.3));
}
.roadPointPanel::before{
    content:"";
    position: absolute;
    border-right: 1.8vw solid #dfecff;
    border-top: 1.5vw solid  transparent;
    border-bottom: 1.5vw solid  transparent;
    box-sizing: border-box;
    left: -1.8vw;
    top: 3vw;
    height: 0;
    width: 0;
}
.roadPointPanel header{
    background-color: #dfecff;
    line-height: 7vw;
    border-top-left-radius: 1vw;
    border-top-right-radius: 1vw;
    padding: 0 2.5vw;
    font-weight: bold;
}
.roadPointPanel main{
    margin:2vw 0 6vw;
    box-sizing:content-box;
    line-height:1.5em;
    height: 4.5em;
    overflow:hidden;
}
.roadPointPanel main label{
    color: #656565;
    width:6em;
    display:inline-block;
    text-align:right;
    margin-right:1em;
}
.roadPointPanel .small{
    position: absolute;
    width: 2vw;
    height: 2vw;
    transform: rotate(225deg);
    transform-origin:25% 25%;;
    border-top: 2px solid rgba(49,131,255,0.8);
    border-left: 2px solid rgba(49,131,255,0.8);
    bottom: 2vw;
    left: 0;
    right: 0;
    margin: 0 auto;
    cursor:pointer;
}
.roadPointPanel .select{
    transform: rotate(45deg);
}
.roadPointPanel .select+main{
    height: auto;
}