#map {
    height: 600px;
    width: 100%;
}

/* pulse */
.custom-marker .pulse {
    margin-top:18px;
    margin-left:25px;
    border-radius: 50%;
    color: #FFF;
    text-align: center;
    height: 50px;
    width:50px;
    font-family: sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.custom-marker .pulse .flow-map-image {
    width: 45px;
    height:45px;
}

.custom-marker .pulse.active {
    animation: animate-active-pulse 3s linear infinite;
    background: #00BFFF;
}

@keyframes animate-active-pulse {
    0% {
        box-shadow: 0 0 0 0 #00bfff66, 0 0 0 0 #00bfff8c;
    }

    40% {
        box-shadow: 0 0 0 50px rgba(255, 109, 74, 0.0), 0 0 0 0 #00bfffd9;
    }

    80% {
        box-shadow: 0 0 0 50px rgba(255, 109, 74, 0.0), 0 0 0 30px rgba(255, 109, 74, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 109, 74, 0.0), 0 0 0 30px rgba(255, 109, 74, 0);
    }

}

.custom-marker .pulse.inactive {
    animation: animate-inactive-pulse 3s linear infinite;
    background: #C00003;
}

@keyframes animate-inactive-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 0, 3, 0.2), 0 0 0 0 rgba(192, 0, 3, 0.2);
    }

    40% {
        box-shadow: 0 0 0 50px rgba(255, 109, 74, 0.0), 0 0 0 0 rgba(192, 0, 3, 0.2);
    }

    80% {
        box-shadow: 0 0 0 50px rgba(255, 109, 74, 0.0), 0 0 0 30px rgba(255, 109, 74, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 109, 74, 0.0), 0 0 0 30px rgba(255, 109, 74, 0);
    }

}

.custom-marker .flow-work {
    font-weight: 600;
    font-size:12px!important;
}

.custom-marker .mapicon {
    text-align: center;
    padding: 5px;
    margin-bottom: 9px;
    position: relative;
    font-weight: 500;
    border-radius: 5px;
    position: absolute;
    top: 0px;
    left: -13px;
    right: -13px;
    margin: -52px auto;
    font-size: 15px;
}

.custom-marker .mapicon.active-val {
    background-color: rgba(0, 191, 255, 1);
}

.custom-marker .mapicon.inactive-val {
    background-color: #C00003;
    color: #fff;
}

.custom-marker .mapicon.active-val::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #00bfff;
}

.custom-marker .mapicon.inactive-val::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #C00003;

}

.custom-marker .flowmeter-value {

    padding-right: 5px;

}


.custom-polygon {
    fill: transparent;
    stroke: red;
    stroke-width: 2px;
    stroke-linecap: round;
    opacity: 0.6;
    fill-opacity: 0.3;
    stroke-dasharray: 8, 4;
}

/* Floating div inside the polygon */
.polygon-label {
    position: absolute;
    background: rgba(173, 17, 17, 0.9);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    color: black;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* Prevents interaction */
    z-index: 555555;
    text-align: center;

}

.flow-data-container {
    position: relative;
}

.flow-data-contain {
    position: absolute;
    overflow-y: scroll;
}

.flow-data-contain .btn-close {
    position: absolute;
    top: 9px;
    right: 13px;
}

.flow-data-contain .flow-heading {
    font-weight: 800;
    padding-right: 5px;
}

.flow-data-contain .flow-ans {
    font-weight: 500;
    color: #00BFFF;
}

.flow-data-contain .prev-data {
    position: absolute;
    top: 8px;
    left: 128px;
}

.flow-data-contain text.current-word-text {
    font-size: 7px;
    position: absolute;
    bottom: 0;
    transform: rotate(86deg) translate(-48px, -8px);
    transform-origin: center;
    fill: #0000ff;
}

.flow-data-contain .curr-data p {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.flow-data-contain span.gauge-text-two.gauge-text.current-text {
    font-size: 30px;
    color: rgba(122, 189, 33, 1);
}

.flow-data-contain span.gauge-unit-two.unit {
    font-size: 20px;
    text-align: center;
    font-weight: 800;
}