﻿html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

.map {
    width: 100%;
    height: 100%;
    margin: 0;
}



.live-time-bar {
    z-index: 999;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
}

.live-element-bar {
    z-index: 999;
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
}

    .live-element-bar .live-element-item {
        text-align: center;
        padding: 5px 10px;
        background-color: #87aabb;
        color: white;
        font-size: 12px;
        position: relative;
    }

        .live-element-bar .live-element-item:not(:last-child) {
            margin-bottom: 1px;
        }

        .live-element-bar .live-element-item:hover {
            cursor: pointer;
            /*background-color:#ff6a00;*/
        }

    .live-element-bar .active {
        background-color: #0093da;
    }

        .live-element-bar .active::before {
            content: "";
            width: 16px;
            height: 16px;
            /*background-color:red;*/
            position: absolute;
            bottom: 0;
            left: 0;
            border-top: 8px solid transparent;
            border-right: 8px solid transparent;
            border-left: 8px solid #ff6400;
            border-bottom: 8px solid #ff6400;
        }

        .live-element-bar .active::after {
            content: "";
            width: 16px;
            height: 16px;
            /*background-color:red;*/
            position: absolute;
            top: 0;
            right: 0;
            border-top: 8px solid #ff6400;
            border-right: 8px solid #ff6400;
            border-left: 8px solid transparent;
            border-bottom: 8px solid transparent;
        }


.marker-div {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(235, 79, 56, 0.81);
    /*border: 1px solid rgb(0 165 245);*/
    /*border-radius: 5px;*/
    overflow: hidden;
    font-size: 12px;
    /*box-shadow: 2px 2px 10px rgb(79 183 234);*/
}

    .marker-div .marker-info {
        flex: 1;
        background-color: white;
        font-weight: bold;
        word-break: keep-all;
        white-space: nowrap;
        padding: 0 2px;
        text-align: center;
    }

        .marker-div .marker-info .marker-info-unit {
            color: #808080;
            font-weight: normal;
        }

    .marker-div .marker-name {
        flex: 1;
        /*background-color: rgb(0 165 245);*/
        background-color: rgba(235, 79, 56, 0.81);
        color: white;
        word-break: keep-all;
        white-space: nowrap;
        padding: 0 2px;
        text-align: center;
    }

.marker-disable {
    border: 1px solid rgba(0, 0, 0, 0.4);
}
    .marker-disable .marker-info {
       
        background-color: white;
        font-weight: normal;
        color:#808080;
    }
    .marker-disable .marker-name {
       
        background-color: rgba(0, 0, 0, 0.4);
    }
    .marker-label-xiangzhen {
        word-break: keep-all;
        white-space: nowrap;
        font-size: 14px;
        font-weight: bold;
        background: red;
        /*background: -webkit-linear-gradient(red, blue);*/
        -webkit-background-clip: text;
        -webkit-text-fill-color: #fff;
        -webkit-text-stroke: 2px transparent;
    }


.marker-label-haiqu {
    word-break: keep-all;
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
    color: #1448a1;
}








.info-window {
    z-index: 1999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: orange;*/
    background-color: #f0f0f0;
    overflow-y: auto;
    display: none;
}

    .info-window .info-window-close-btn {
        z-index: 2000;
        width: 30px;
        height: 30px;
        position: fixed;
        top: 0;
        right: 0;
        /*background-color: red;*/
        background-image: url('../../img/icons/close.svg');
        background-size: cover;
    }

    .info-window .info-warp {
        background-color: white;
    }

        .info-window .info-warp:not(:last-child) {
            margin-bottom: 10px;
        }

    .info-window .info-warp-1 {
        background-size: cover;
        background-image: url('../../img/bander/shiliangjihe.jpg');
    }


    .info-window .info-lastdata-row {
        display: flex;
    }

        .info-window .info-lastdata-row .info-lastdata-col {
            flex: 1;
            display: flex;
            align-items: center;
            text-align: center;
            justify-content: center;
        }

    .info-window .info-lastdata-row-1 {
        /*  background-color:rgb(0 165 245);
                        color:white;*/
    }

        .info-window .info-lastdata-row-1 .info-lastdata-col {
            padding: 25px 15px 25px 15px;
        }

            .info-window .info-lastdata-row-1 .info-lastdata-col .info-lastdata-unit {
                color: #808080;
                font-size: 14px;
                margin-top: -10px;
                margin-left: 5px;
            }

    .info-window .info-lastdata-row-2 .info-lastdata-col {
        flex-direction: column;
        padding: 15px;
    }

        .info-window .info-lastdata-row-2 .info-lastdata-col .data-name {
            font-size: 12px;
            color: #808080;
        }

        .info-window .info-lastdata-row-2 .info-lastdata-col .data-unit {
            font-size: 12px;
            color: #808080;
        }

    .info-window .info-station {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .info-window .info-stationname {
        font-size: 20px;
    }

    .info-window .info-datatime {
        font-size: 14px;
    }

    .info-window #info-lastdata-winddir-img {
        -moz-transition: 1s;
        -o-transition: 1s;
        -webkit-transition: 1s;
        transition: 1s;
        visibility: hidden;
    }

    .info-window .info-chart {
        height: 120px;
    }
