/**----------------拉框放大缩小框样式-----------------------*/
.ol-box {
    border: 2px solid #ff0000;
    background-color: rgba(255, 0, 0, 0.2);
}
/**----------------end-----------------------*/

/**----------------地图量算工具样式-----------------------*/
.tool-wrapper {
    position: absolute;
    z-index: 9;
    right: 30px;
    top: 30px;
    background-color: white;
    padding: 0 4px 0 6px;
    border-radius: 4px;
}

.tool:hover {
    color: rgba(209, 52, 214, 0.904);
    cursor: pointer;
}

.helptooltip {
    position: relative;
    background: rgb(255, 255, 255);
    color: #666;
    padding: 5px 5px;
    border: 1px solid #ff0000;
    white-space: nowrap;
    font-size: 12px;
}

.elementtooltip {
    position: relative;
    background: rgb(255, 255, 255);
    color: #337ab7;
    padding: 0px 5px;
    border: 1px solid #0000ff;
    white-space: nowrap;
    font-size: 13px;
}

.tooltip-element {
    opacity: 1;
    font-weight: bold;
}

.measuretooltip {
    position: relative;
    background: rgb(255, 255, 255);
    color: #666;
    padding: 0px 5px;
    border: 1px solid #ff0000;
    white-space: nowrap;
    font-size: 12px;
}

.helptooltip .output {
    color: #000;
}

.helptooltip span {
    color: #ff6319;
    font-weight: 700;
}

.tooltip-measure {
    opacity: 1;
    font-weight: bold;
}

.tooltip-static {
    background-color: rgb(204, 16, 16);
    color: black;
    border: 1px solid #ff0000;
}

    .tooltip-measure:before,
    .tooltip-static:before {
        border-top: 6px solid rgb(204, 16, 16);
        border-right: 6px solid transparent;
        border-left: 6px solid transparent;
        content: "";
        position: absolute;
        bottom: -6px;
        margin-left: -7px;
        left: 50%;
    }

    .tooltip-static:before {
        border-top-color: rgb(204, 16, 16);
    }
/**----------------end-----------------------*/

/**----------------自定义popup样式-----------------------*/
.custom_popup {
    position: absolute;
    background-color: #F7F7F7;
    box-shadow: 0 0 0.75em #777777;
    border-radius: 5px;
    bottom: 36px;
    left: -62px;
    min-width: 270px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid #0000000a;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: #F7F7F7;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #F7F7F7;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.custom_popup-title {
    width: 100%;
    height: 20px;
    border-radius: 5px 5px 0 0;
    background: #444444;
    color: #FFFFFF;
}

    .custom_popup-title span {
        margin-left: 6px;
        line-height: 20px;
    }

.custom_popup-prev {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-right: 10px solid white;
    border-bottom: 7px solid transparent;
    cursor: pointer;
    position: absolute;
    right: 44px;
    top: 3px;
    display: none;
}

.custom_popup-next {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-left: 10px solid white;
    border-bottom: 7px solid transparent;
    cursor: pointer;
    position: absolute;
    right: 28px;
    top: 3px;
    display: none;
}

.custom_popup-closer {
    text-decoration: none;
    position: absolute;
    right: 0px;
    transition-duration: 0.4s;
    color: white;
    border-radius: 0 5px 0 0;
    width: 20px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
}

    .custom_popup-closer:hover {
        color: white;
        text-shadow: 0px 0px 2px #444444;
        background: red;
    }

.custom_popup-content {
    padding: 8px 6px 8px 10px;
    color: #333333;
    line-height: 16px;
}
/**----------------end-----------------------*/

/**----------------鹰眼样式-----------------------*/
div.ol-custom-overviewmap,
div.ol-custom-overviewmap.ol-uncollapsible {
    bottom: 10px;
    left: auto;
    right: 50px;
    top: auto;
}

div.ol-custom-overviewmap:not(.ol-collapsed) {
        border: 1px solid #0081c2;
}
    div.ol-custom-overviewmap div.ol-overviewmap-map {
        border: none;
        width: 300px;
        background: white;
    }

    div.ol-custom-overviewmap div.ol-overviewmap-box {
        border: 1px solid #e43ab8;
        background-color: rgba(208, 39, 140, 0.2);
    }


div.ol-custom-overviewmap:not(.ol-collapsed) button {
        bottom: auto;
        left: auto;
        right: 1px;
        top: 1px;
 }
div.ol-rotate {
    top: 170px;
    right: 0;
}
/**----------------end-----------------------*/

/**---------------比例尺---------*/
.ol-scale-line-inner {
    border: 2px solid #666;
    color: #666;
    border-top: none;
}

.ol-scale-line {
    background: rgba(0,60,136,0);
    border-radius: 4px;
    bottom: 2px;
    left: 8px;
    padding: 2px;
    position: absolute;
}
/**---------------end---------*/

/**----------------放大镜-----------*/
.TfMagnifier {
    position: absolute;
    left: calc(50% - 150px);
    top: calc(50% - 150px);
    width: 300px;
    height: 300px;
    border: 4px solid #686868;
    border-radius: 150px;
    background-color: white;
    text-overflow: clip;
    z-index: 10001;
    box-shadow: rgb(102, 102, 102) 0px 0px 24px 0px;
    display: none;
}

.TfMagnifierClose {
    position: absolute;
    top: 0px;
    right: 45px;
    color: #d9534f;
    z-index:10003;
}

.TfMagnifierCloseButton {
    top: 25px;
    right: 30px;
    cursor: pointer;
    z-index: 1;
    background-color: #FFF;
    border-radius: 12px;
    font-size: 24px;
}


.TfMagnifierCover {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0px;
    z-index:10002;
}

.TfMagnifier .ol-viewport {
    border-radius: 150px;
}
/**-------------end----------------*/

/**--------------流向结果--------------*/
@font-face {
    font-family:'icomoon';
    src:url('fonts/icomoon.eot?mt6r3x');
    font-style:normal;
}
/**---------------end--------------*/