/* Topology WIFI Tab */
#topology_wifirf-content .nav-tabs > li.active > a {
    border-color: #7a878e5e !important;
    border-bottom: none !important;
}

#topology_wifirf-content .nav-tabs > li:not(.active) > a:hover {
    border-color: #eee #eee #ddd;
    border-bottom-color: transparent;
}

#topology_wifirf-content .dull {
    width: 100%;
    border-bottom: 1px solid #7a878e5e;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#topology_wifirf-content .dull .btn-refresh {
    padding: 2px 5px;
}

#topology_wifirf-content .tab-content {
    padding: 0px;
    overflow: hidden;
}

#wifi-map-container,
[id^="wifi-frequency-graph"],
#ni-map-container {
    border-left: 1px solid #7a878e5e;
    border-right: 1px solid #7a878e5e;
    border-bottom: 1px solid #7a878e5e;
    padding-top: 15px;
    padding-bottom: 15px;
}

.topology-wifi-frequency-graph-tab {
    margin-top: 30px;
    position: relative;
}

.topology-wifi-frequency-graph-tab .section-last-updated {
    position: absolute;
    top: -3px;
    right: 10px;
    z-index: 200;
}

.topology-wifi-frequency-graph-tab .nav-tabs {
    position: relative;
}

.topology-wifi-frequency-graph-tab .nav-tabs > div {
    position: absolute;
    right: 0;
    top: 0;
}

[id^="wifi-frequency-graph"] {
    padding: 15px;
}


.wifi-chart-refresh-message {
    font-size: 12px;
    font-weight: 800;
    line-height: 15px;
    color: red;
    flex-grow: 1;
    text-align: center;
}

.perdevice-graph-container {
    position: relative;
}

.perdevice-graph-container:after {
    display: none;
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 1;
}

.perdevice-graph-container .perdevice-graph-overlay {
    display: none;
    width: 100%;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.perdevice-graph-container .perdevice-legend-content .perdevice-legend-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.perdevice-graph-container .perdevice-legend-content .perdevice-legend-header .perdevice-legend-filter {
    display: flex;
    align-items: center;
}

.perdevice-graph-container .perdevice-legend-content .perdevice-legend-header .perdevice-legend-filter > p {
    font-size: 13px;
    margin-right: 10px;
    margin-bottom: 0;
}

.perdevice-graph-container .perdevice-graph-overlay > div {
    line-height: 24px;
}

.perdevice-graph-container .perdevice-graph-overlay > button {
    margin-top: 8px;
}

.perdevice-graph-container.no-data:after {
    display: block;
}

.perdevice-graph-container.no-data .perdevice-graph-overlay {
    display: block;
}

.perdevice-graph-container.no-data #perdevice-graph {
    visibility: hidden;
}

.perdevice-graph-container.no-data .perdevice-legend-content {
    visibility: hidden;
}

.wifi-chart-title-legends {
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    color: #333333;
    display: flex;
    flex-wrap: wrap;
}

.wifi-chart-title-legends .legend {
    padding-left: 7px;
    display: inline-block;
}

.wifi-chart-title-legends .legend p {
    margin: 0;
}

.wifi-chart-title-legends .legend .circle {
    width: 12px;
    height: 12px;
    margin-top: 1px;
    background: #a9587d;
    float: left;
}

.wifi-chart-title-legends .legend .circle.own {
    background: #8aa4c3;
}

.wifi-chart-title-legends .legend .circle.third-party {
    background: #a9587d;
}

.wifi-chart-title-legends .legend .circle.ap {
    background: #e3e3e3;
}

.wifi-chart-title-legends .legend .circle.ambient-noise {
    background: #FECC5A;
}

.wifi-chart-title-legends .legend .text {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 12px;
    padding-left: 7px;
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 170px;
}

#perdevice-legend {
    text-align: center;
    color: #333333;
    display: flex;
    justify-content: start;
    align-content: flex-start;
    row-gap: 6px;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 180px;
    border: 2px solid rgba(0,0,0,0.07);
    border-radius: 6px;
    padding: 10px;
    min-height: 110px;
}

#perdevice-legend::-webkit-scrollbar {
    width: 4px;
}

#perdevice-legend::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0.1);
}

#perdevice-legend::-webkit-scrollbar-thumb {
    background-color: var(--plasma-cloud-main-color);
}

#perdevice-legend .col {
    margin: 0 20px;
}

#perdevice-legend .legend {
    padding-left: 7px;
    display: flex;
    align-items: center;
    width: 33%;
}

#perdevice-legend .legend p {
    margin: 0;
}

#perdevice-legend .legend .text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica,
        sans-serif;
    font-weight: bold;
}

#perdevice-legend .legend .text:hover {
    color: #000;
    cursor: pointer;
}

#perdevice-legend .legend .circle {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    min-width: 12px;
    margin-top: 1px;
    margin-right: 6px;
    background: #a9587d;
    float: left;
}

@media(max-width: 480px) {
    .topology-wifi-frequency-graph-tab .section-last-updated {
        position: static;
        margin-bottom: 8px;
        justify-content: space-between !important;
    }
}
