﻿.node-popup {
    margin: 1px;
    background: white;
}

.node-popup td {
    padding: 1px;
}

.node-popup td * {
    font-size: 12px;
}

.node-popup .title {
    font-weight: bold;
}

.node-popup .content {
    color: #3563c1;
    white-space: nowrap;
}

.leaflet-div-icon,
.leaflet-div-icon * {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    background: none !important;
}

.popup-container {
    width: 350px;
    display: flex;
    flex-direction: column;
}

.popup-header {
    display: flex;
    flex: 0 0 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.popup-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
}

.popup-footer {
    display: flex;
    flex: 0 0 25px;
    flex-direction: row;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
}


.popup-detail-btn {
    background-color: #20AF54;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.popup-detail-btn:hover {
    background-color: #0056b3;
}

.popup-config-btn {
    background-color: #F9AD1C;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.popup-config-btn:hover {
    background-color: #0056b3;
}


/*.popup-slider {
    -webkit-appearance: none;
    width: 75%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.popup-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.popup-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}*/

.popup-badge {
    border-radius: 5px;
    padding: 3px 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.popup-badge.on {
    background-color: #37C85C;
}

.popup-badge.off {
    background-color: #ADADAD;
}

.popup-badge.disconnect {
    background-color: #FE7676;
}

input[type='range'] {
    -webkit-appearance: none;
    background-color: #d3d3d3;
    height: 8px;
    overflow: hidden;
    width: 76%;
    border-radius: 5px;
}

input[type='range']::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 8px;
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: white;
    border-radius: 50%;
    box-shadow: -210px 0 0 200px #007bff;
    cursor: pointer;
    height: 12px;
    width: 12px;
    border: 1px solid black;
    margin-top: -2px;
}

input[type='range']::-moz-range-thumb {
    background: #007bff;
    border-radius: 50%;
    box-shadow: -1010px 0 0 1000px #007bff;
    cursor: pointer;
    height: 10px;
    width: 10px;
    border: 1px solid black;
    margin-top: 0px;
}

input[type="range"]::-moz-range-track {
background-color: #ddd;
}

input[type="range"]::-moz-range-progress {
    background-color: #007bff;
    height: 8px
}

input[type="range"]::-ms-fill-upper {
background-color: #ddd;
}

input[type="range"]::-ms-fill-lower {
    background-color: #007bff;
}