.van-overlay{
    z-index: 999;
    background-color: rgba(0, 0, 0, .3);
}
.van-checkbox__icon{
    height: 0.28rem;
}
.van-checkbox__icon .van-icon{
    border-radius: 0.06rem;
    width:0.28rem ;
    height:0.28rem ;
    line-height: 0.28rem;
    font-size: 0.18rem;
}
.van-checkbox__label{
    font-size: 0.28rem;
    line-height: 0.28rem;
    margin-left: 0.1rem;
    margin-right: 0.01rem;
}

.van-slider{
    background-color: rgba(0, 0, 0, .5) 
}

.van-slider--vertical {
    width: 5px;
    
}

.van-slider__bar{
    background-color:#3183FF;
}

.van-slider__button-wrapper-right{
    display: none;
}


#map{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
}
/* .g-top */
.g-top{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100vw;
}

.g-top .notch{
    width: 100%;
}

.g-top .nav{
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.g-top .nav .back{
    position: absolute;
    left: 0.2rem;
    width: 0.32rem;
    padding: 0.1rem 0.4rem 0.1rem 0.1rem;
}
.g-top .nav .title{
    font-size: 0.38rem;
    font-weight: 600;
    text-align: center;
}

/* title-box */
.title-box{
    position: absolute;
    z-index: 2;
    left: 0.2rem;
}
.title-box .title-item{
    margin-bottom: 0.2rem;
    font-size: 0.32rem;
    line-height: 0.44rem;
}
.title-box .title-item .title-name{
    color: #0E7CFE;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
}
.title-box .title-item .title-time{
    color: #666666;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
}

/* city-select */
.city-select{
    position: absolute;
    z-index: 2;
    right: 0.2rem;
    height: .6rem;
    min-width: 1.63rem;
    padding:0 .2rem;
    background-color: #fff;
    border-radius: .08rem;
    border: 1px solid rgba(0,0,0,0.12);
    color: #333333;
    font-size: .28rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.city-select p{
    flex: 1;
    line-height: .36rem;
}
.city-select .iconfont{
    color: #CCCCCC;
}


/* legend-box */
.legend-box{
    position: absolute;
    bottom: 0.32rem;
    left: 0.2rem;
    z-index: 2;
    display: flex;
    align-items: end;
}
.legend-box .legend-item{
    margin-right: 0.2rem;
}
.legend-box .legend-item>div{
    width: 100%;
    line-height: 0.4rem;
    font-size: 0.26rem;
}
.legend-box .legend-item ul{
    padding: 0.1rem 0.1rem 0 0.1rem;
    display: flex;
    flex-direction: column;
}
.legend-box .legend-item ul li{
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    
}
.legend-box .legend-item ul li div{
    width: 0.14rem;
    height: 0.36rem;
    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-box .legend-item ul li:last-child div{
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.legend-box .legend-item ul li span{
    font-size: 0.26rem;
    margin-bottom: -0.1rem;
    margin-left: 0.05rem;
    color: #3A3A3A;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
}

.legend-box1{
    bottom: 2rem;
}

.legend-box2{
    bottom: 0.96rem;
}

.legend-box3{
    bottom: 1.16rem;
}



/* tool-box */
.tool-box{
    position: absolute;
    bottom: 0.32rem;
    right: 0.2rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
}

.tool-box li {
    margin-top: 0.32rem;
    border-radius: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.tool-box li span{
    font-size: 0.26rem;
}
.tool-box li div{
    margin-left: 0.1rem;
    height: 0.66rem;
    width: 0.66rem;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.27);
    display: flex;
    justify-content: center;
    align-items: center;
}
.tool-box li div img{
    width: 0.32rem;
    height: 0.32rem;
}

.tool-box  .active>span{
    color: #0E7CFE;
}
.tool-box  .active div{
    background: linear-gradient(152deg, #1B76FF, #2DABFF);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.27);
}
.tool-box .active div span{
    color: #ffffff;
    text-shadow: none;
}
.tool-box1{
    bottom: 2rem;
}
.tool-box2{
    bottom: 0.96rem;
}
.tool-box3{
    bottom:  1.26rem;
}


/* 网格预报时间轴 */
.timeLine-box1 {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    right: 0;
}
.timeLine-box1 #showTime{
    position: absolute;
    left: 0.5rem;
    bottom: 0.64rem;
    width: 1.5rem;
    height: 0.5rem;
    background-image: url(../images/future/time-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 3;
    font-size: .24rem;
    color: #ffffff;
    text-align: center;
    line-height: .37rem;
}

.timeLine-box1  #timeLine1{
    width: 100%;
    height: 0.64rem;
    font-size: 0.24rem;
    color: #333333;
    z-index: 3;
    background-color: rgba(255,255,255,0.7);
}
.timeLine-box1  #timeLine1 #controlBtn1{
    position: absolute;
    top: 0;
    left: 0;
    width: 0.7rem;
    height: 100%;
    z-index: 5;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeLine-box1  #timeLine1 #controlBtn1 img{
    
    width: 0.3rem;
}


.timeLine-box1  #timeLine1 #ruler-container{
    position: relative;
    left: 0.7rem;
    width: calc( 100% - 0.7rem );
    height: 100%;
    z-index: 4;
    overflow: hidden;
}

.timeLine-box1  #timeLine1 #ruler-container #ruler>ul{
    width: 100%;
    overflow-x:scroll;
    height: 0.64rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.timeLine-box1  #timeLine1 #ruler-container #ruler>ul::-webkit-scrollbar{
    display: none;
}
.timeLine-box1  #timeLine1 #ruler-container #ruler>ul>li{
    float: left;
    height: 0.64rem;
}
.timeLine-box1  #timeLine1 #ruler-container #ruler>ul>li:nth-child(odd){
    background-color: #E6ECF4;
}
.timeLine-box1  #timeLine1 #ruler-container #ruler>ul>li:nth-child(even){
    background-color: #FFFFFF;
}
.timeLine-box1  #timeLine1 #ruler-container #ruler>ul>li .day {
    width: 100%;
    color: #333333;
    line-height: 0.54rem;
    text-align: center;
}
.timeLine-box1  #timeLine1 #ruler-container #ruler>ul>li .time>ul>li{
    float: left;
    width: 109px;
    height:0.12rem;
    border-left: 1px solid rgba(0, 0, 0, .5);
    box-sizing: border-box;
}


/* 要素选择 */
.elements-box{
    position: absolute;
    z-index: 2;
    bottom: 0.2rem;
    left:0.2rem;
    right:0.2rem;
    height: 0.72rem;
    background: #FFFFFF;
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.27);
    border-radius: 5px;
}
.elements-box>div{
    height: 0.72rem;
    line-height: 0.72rem;
    flex:1;
    text-align: center;
    font-size: 0.26rem;
    border-right: 1px solid #DDDDDD;
}
.elements-box>div:last-child{
    border-right: 0;
}
.elements-box .active{
    background: #0E7CFE;
    color: #ffffff;
}
.elements-box .active:first-child{
    border-radius: 5px 0 0 5px;
   
}
.elements-box .active:last-child{
    border-radius:0 5px 5px 0;
   
}

.elements-box1{
     bottom: 0.96rem;
}

.elements-box2>div{
     flex:auto
}

/* 图层控制 */
.layer-controller1{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;   
}
.layer-controller1 .content-box .content{
    width: 6.66rem;
    background: #FFFFFF;
    box-shadow: 1px 2px 5px 0px rgba(14,133,255,0.06);
    border-radius: 9px;
    box-sizing: border-box;
    padding: .32rem;
}

.layer-controller1 .content .item1{
    padding-top: 0.38rem;
}
.layer-controller1 .content .title{
    font-size: 0.32rem;
    font-weight: bold;
    padding-left: 0.2rem;
    position: relative;
}
.layer-controller1 .content .title::before{
    content: " ";
    display: inline-block;
    width: 0.06rem;
    height: 0.26rem;
    background: #3183FF;
    border-radius: 0.04rem;
    position: absolute;
    left: 0;
    top: 0.1rem;
}

.layer-controller1 .content .layer{
    margin-top: 0.42rem;
}
.layer-controller1 .content .layer .van-checkbox{
    width: 33%;
    margin-bottom: 0.2rem;
}

.layer-controller1 .content .tilebox{
    margin-top: 0.28rem;
}
.layer-controller1 .content .tilebox>div{
    width: 1.28rem;
    height: 1.24rem;
}
.layer-controller1 .content .tilebox img{
    width: 100%;
    height: 100%;
}
.layer-controller1 .content .tilebox div{
    position: relative;
    margin-right: 0.3rem;
}
.layer-controller1 .content .tilebox span{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: inline-block;
    width: 100%;
    height: 0.44rem;
    line-height: 0.44rem;
    background: #333333;
    border-radius: 0px 0px 5px 5px;
    opacity: 0.78;
    color: #ffffff;
    text-align: center;
    font-size: 0.26rem;
}
.layer-controller1 .content .tilebox .active{
    border: 1px solid #3183FF;
     border-radius: 5px;
}


.layer-controller1 .content-box .close{
    margin-top: 0.42rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0.84rem;
}
.layer-controller1 .content-box .close img{
    height: 100%;
}

/* 智能网格要素选择弹窗 */
.ele-list{
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-left: .23rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.ele-list .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;
}

.ele-list .ele-title #closeEle{
    width: .24rem;
    margin-right: .23rem;
}

.ele-list  .list{
    padding-top: 0.25rem;
    height: 0;
    flex: 2;
    overflow-y: scroll;
}

.ele-list  .list .item{
    position: relative;
    padding-bottom: .25rem;
    display: flex;
    align-items: center;
    color: #333333;
    font-size: .3rem;
    font-weight: bold;
}

.ele-list  .list .item>img{
    width: .4rem;
    margin-right: .1rem;
}

.ele-list  .list  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;
}
.ele-list  .list li{
    font-size: .3rem;
    color: #8e9497;
    margin-bottom: 0.25rem;
}
.ele-list  .list li.active{
    color: #3196fa;
    font-weight: bold;
}

/* 滑块 */
.van-slider--vertical .van-slider__button-wrapper-left{
    z-index: 99;
}
.slider-box{
    position: absolute;
    bottom: 1.16rem;
    left: 1.3rem;
    height: 150px ; 
    /* transform: rotate(180deg); */
    margin-right: 50px;
}

.slider-box .custom-button{
    width: 10px;
    height: 10px;
    background: #FFFFFF;
    box-shadow: 0px 2px 3px 0px rgba(11,2,5,0.3);
    border-radius: 50%;
    border: 1px solid #3183FF;
}

.slider-box .desc-box{
    height: 100%;
    position: absolute;
    top: 0;
    left: 15px;
    font-size: 0.26rem;
    display: flex;
    flex-direction: column;
   
}
.slider-box .desc-box>div{
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}
.slider-box .desc-box>div::before{
   content: " ";
   position: absolute;
   bottom: 0;
   left: -10px;
   height: 1px;
   width: 10px;
   background: #333333;
}
.slider-box .desc-box>div:last-child:before{
   height: 0px;
}
.slider-box .desc-box>div span{
    position: relative;
    /* bottom: -5px; */
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
}

#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);
    }
}


.no-data{
    position: absolute;
    z-index: 2;
    top: calc( 50% - 1.66rem );
    width: 100%;
    display: flex;
    justify-content: center;
}
.no-data img{
    height: 1.66rem
}


.flex{
    display: flex;
    align-items: center;
}
.flex1{
    flex: 1;
}
