﻿.layerPopupButton_Div {
    margin: 0 auto;
    width: 225px;
    white-space: pre-wrap;
}

.cluster_boch {
    background: rgba(183, 49, 49, 0.8);
    border-radius: 50%;
    text-align: center;
    color: white;
    font-weight: 700;
    border: 1px solid transparent;
    font-family: monospace;
    z-Index: 99;
    font-family: sans-serif;
}

    .cluster_boch:before {
        content: ' ';
        position: absolute;
        border-radius: 50%;
        z-index: -1;
        top: 1px;
        left: 1px;
        right: 1px;
        bottom: 1px;
        border: 1px solid white;
    }

.cluster_activities {
    background: #550088;
    border-radius: 50%;
    text-align: center;
    color: white;
    font-weight: 700;
    border: 1px solid #550088;
    font-family: monospace;
}

    .cluster_activities:before {
        content: ' ';
        position: absolute;
        border-radius: 50%;
        z-index: -1;
        top: 1px;
        left: 1px;
        right: 1px;
        bottom: 1px;
        border: 1px solid white;
    }

.digits-1 {
    font-size: 14px;
    height: 28px;
    width: 28px;
    line-height: 28px;
    margin-top: -14px;
    margin-left: -14px;
}

.digits-2 {
    font-size: 16px;
    height: 34px;
    width: 34px;
    line-height: 33px;
    margin-top: -17px;
    margin-left: -17px;
}

    .digits-2:before {
        border-width: 1px;
    }

.digits-3 {
    font-size: 17px;
    height: 48px;
    width: 48px;
    line-height: 42px;
    border-width: 3px;
    margin-top: -24px;
    margin-left: -24px;
}

    .digits-3:before {
        border-width: 2px;
    }

.digits-4 {
    font-size: 18px;
    height: 58px;
    width: 58px;
    line-height: 53px;
    border-width: 4px;
    margin-top: -29px;
    margin-left: -29px;
}

    .digits-4:before {
        border-width: 3px;
    }

.btn-bochName {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #599bb3), color-stop(1, #408c99));
    background: -moz-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background: -webkit-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background: -o-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background: -ms-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background: linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#599bb3', endColorstr='#408c99',GradientType=0);
    background-color: #599bb3;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    font-family: 微軟正黑體;
    padding: 10px 32px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #3d768a;
}

    .btn-bochName:hover {
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #408c99), color-stop(1, #599bb3));
        background: -moz-linear-gradient(top, #408c99 5%, #599bb3 100%);
        background: -webkit-linear-gradient(top, #408c99 5%, #599bb3 100%);
        background: -o-linear-gradient(top, #408c99 5%, #599bb3 100%);
        background: -ms-linear-gradient(top, #408c99 5%, #599bb3 100%);
        background: linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#408c99', endColorstr='#599bb3',GradientType=0);
        background-color: #408c99;
    }

    .btn-bochName:active {
        position: relative;
        top: 1px;
    }

.filter {
    position: relative;
    -webkit-filter: contrast(120%) saturate(125%);
    filter: contrast(120%) saturate(125%);
}

    .filter::before {
        content: "";
        display: block;
        height: 100%;
        width: 96%;
        top: 0;
        left: 10px;
        position: absolute;
        pointer-events: none;
        mix-blend-mode: overlay;
        background: rgba(127, 187, 227, 0.2);
        border-radius: 7px;
        max-width: max-content;
    }

.popup_class .leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background-color: rgba(65, 65, 65, 0.9);
    border-bottom: 10px solid #ffffff;
}

.popup_class .leaflet-popup-content {
    min-width: 300px;
}

.FStation_Content {
    color: #d8d8d8;
}

.FStation_Pop {
    padding: 5px 8px;
}

    .FStation_Pop label {
        padding: 5px 7px;
        float: left;
        margin-top: 3px;
        font-size: 14px;
        font-family: '微軟正黑體';
    }

    .FStation_Pop hr {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .FStation_Pop img {
        box-shadow: 4px 4px 3px #353535;
    }

.FStation_Content span {
    text-shadow: 1px 1px 1px #2f2f2f;
    font-size: 15px;
    width: 50%;
}

    .FStation_Content span.right {
        float: right;
        margin-left: 5px;
    }

.FStation_Pop_Title {
    color: #F79234;
    font-family: '微軟正黑體';
    font-size: 22px;
}

.boch_popUp {
    /*position: relative;*/
    background: #fff;
    border: 3px solid #304268;
    border-radius: 15px;
}

    .boch_popUp:after, .boch_popUp:before {
        top: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .boch_popUp:after {
        border-color: rgba(255, 255, 255, 0);
        border-top-color: #fff;
        border-width: 13px;
        margin-left: -13px;
    }

    .boch_popUp:before {
        border-color: rgba(48, 66, 104, 0);
        border-top-color: #304268;
        border-width: 18px;
        margin-left: -18px;
    }

.boch_popUp_caseName, .boch_popUp_caseName:focus, .boch_popUp_caseName:active, .boch_popUp_caseName:hover {
    flex: 1;
    word-break: keep-all;
    color: #304268 !important;
    padding: 0 20px;
    text-decoration: none;
    cursor: pointer;
}

.boch_popUp_go, .boch_popUp_go:focus, .boch_popUp_go:active {
    color: #304268 !important;
    text-decoration: none;
    cursor: pointer;
}

.leaflet-control-zoom {
    margin: 55px 8px !important;
}

.pop-img {
    max-width: 300px;
    max-height: 225px;
}

.pop-title {
    text-align: center;
}

.pop-text {
    font-size: 16px;
    font-weight: bold;
}

.bc-content {
    padding: 8px 12px;
}

#bc-caseName {
    margin: 0;
    width: 276px;
    font-weight: 700;
}

#bochControl {
    position: fixed;
    z-index: 1001;
}

#bc-min {
    background: #fff;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 3px 2px;
    margin: 0 5px;
    transition: all 1s ease;
}

#bc-max {
    background: #fff;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all 1s ease;
}

.btn-close {
    padding: 0px 3px;
    border-radius: 12px;
    margin: 3px;
    color: #fff;
    /*color: #757575;*/
    text-shadow: 1px 1px 2px #191919;
    cursor: pointer;
    background: rgba(84, 84, 84, 0.4);
    border: 1px solid #eee;
}

.btn-more {
    padding: 3px 5px;
    font-size: 20px;
    color: #757575;
}

#bc-img {
    /*min-width: 300px;
    min-height: 225px;*/
    width: 300px;
    height: 225px;
    object-fit: cover;
}

.draggable-panel {
    background: #fff;
    border-radius: 10px;
    z-index: 1001;
    min-width: 300px;
    display: none;
}

.drag-title {
    text-align: center;
    padding: 12px 0;
    color: #a76b73;
    background: #c2a4ca;
    /*border-radius:10px 10px 0 0;*/
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.drag-content {
    padding: 12px;
    background: #e7dbea;
    overflow-y: scroll;
    max-height: 60vh;
}

.drag-title h4 {
    margin: 0;
}

.a-drag-title {
    color: #373269;
}

    .a-drag-title:after {
        font-family: 'Glyphicons Halflings';
        content: "\e259";
    }

    .a-drag-title.collapsed:after {
        font-family: 'Glyphicons Halflings';
        content: "\e260";
    }

@media (max-height: 800px) {
    #bc-caseName {
        margin: 0;
        width: 216px;
        font-weight: 700;
    }

    #bc-img {
        width: 280px;
        height: 190px;
    }
}



/* 室內感測器 pin樣式 */
.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    /*background: #c30b82;*/
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
}

.marker-pin-G {
    background: #ff9494;
}

.marker-pin-TH {
    background: #54bfb9;
}

/* to draw white circle */
.marker-pin::after {
    content: '';
    width: 24px;
    height: 24px;
    margin: 3px 0 0 3px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
}

/* to align icon */
.custom-div-icon i {
    position: absolute;
    width: 22px;
    font-size: 15px;
    left: 0;
    right: 0;
    margin: 10px auto;
    text-align: center;
}
