/* Tab */

#switchTab .nav-tabs a {
    white-space: nowrap;
}

#switchTab .nav-tabs a {
    text-align: center;
}

/* Device Detail Head */
.device-head {
    display: flex;
    justify-content: space-between;
}

.device-edit {
    /* float: left; */
    width: 100%;
}

.device-edit-margin {
    margin-top: 50px;
}

#device-panel-edit #settings-menu {
    display: flex;
    justify-content: space-between;
}

#device-panel-edit #settings-menu #deviceModel {
    margin: 0;
    padding-left: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#device-panel-edit #settings-menu #deviceModel a {
    font-size: 12px;
    text-decoration: underline;
    color: #4d627b;
}

#device-panel-edit .right-btns {
    display: flex;
    flex-wrap: nowrap;
}

#device-panel-edit a.goto-device-rf-topology,
#device-panel-edit a.goto-device-l2-topology {
    font-size: 12px;
    color: var(--plasma-cloud-link-color);
    text-decoration: underline;
}

#device-panel-edit #loading-table {
    top: 0 !important;
}

/* Port Detail */
#switch_port_detail {
    position: relative;
    padding-top: 15px;
    clear: both;
}

#switch_port_detail #portNumber {
    margin: 0px;
    padding-bottom: 26px;
    display: block;
    overflow: hidden;
}

#switch_port_detail .loading {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#switch_port_detail .port-enable-section {
    padding-bottom: 20px;
    padding-left: 10px;
}

#switch_port_detail .port-throttling-container,
#switch_port_detail .port-poe-container,
#switch_port_detail .port-vlan-container,
#switch_port_detail .port-mirroring-container {
    padding-bottom: 10px;
}

/* VLAN settings */
#switch_vlan_settings_tab {
    user-select: none;
}

#switchTab #vlan-select-section .label-port-status {
    margin-top: 8px;
}

/* Poe Schedules Tab */
#switch_poe_settings_tab {
    user-select: none;
}

#switch_poe_settings_tab .poe-schedule-select-section {
    padding-top: 30px;
}

#switch_poe_settings_tab .select-poe-ports,
#switch_isolation_settings_tab .select-port-isolation {
    padding-left: 10px;
}

#radio_allowed_vlan.form-check-input:checked {
    background-color: #A9587D;
    border-color: #A9587D;
}

#radio_default_vlan.form-check-input:checked {
    background-color: var(--plasma-cloud-main-color);
    border-color: var(--plasma-cloud-main-color);
}

/* Port Isolation Tab */
.label-port-uplink-lag {
    border: 1px solid #d6b91a;
    border-radius: 4px;
}

/*
.magic-radio:checked+label {
    font-weight: bold;
} */

.label-allowed-vlan {
    color: #A9587D;
}

.label-default-vlan {
    color: var(--plasma-cloud-main-color);
}

.btn-group.btn-group-toggle.disabled:after {
    display: block;
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    background: #FFF;
    bottom: 0px;
    z-index: 2;
    opacity: 0.4;
    cursor: not-allowed !important;
}

.disabled-svg:after {
    display: none;
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    background: #FFF;
    bottom: 0px;
    z-index: 2;
    opacity: 0.2;
    cursor: not-allowed !important;

}

.select-vlan-ports {
    float: left;
    padding-left: 10px;
}

.label-vlan-type {
    padding-left: 10px;
    display: block;
}

#device-settings .shift-click-section {
    padding-top: 30px;
}

#device-settings .btn-save {
    margin-bottom: 20px;
}

.allowed-vlans {
    display: flex;
}

.non-mobile-for {
    display: block;
}
span.non-mobile-for {
    display: inline;
}
.save-btn-label-pl {
    padding-left: 3px;
}

.mobile-for {
    display: none;
}

.btn-primary, .btn-primary:focus {
    border-color: #7693b5 !important;
}

.device-port-legends {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 15px 0 15px;
    align-items: flex-start;
    overflow: auto;
}

.device-port-legends .device-port-legend {
    text-align: center;
    margin: 0px 10px 10px;
    display: flex;
}
.device-port-legend-lag1,
.device-port-legend-lag2,
.device-port-legend-lag3,
.device-port-legend-lag4 {
    display: flex;
}
.mt-minus-7 {
    margin-top: -7px !important;
}

.device-port-legends .device-port-legend > div > div {
    overflow: hidden;
}

.device-port-legends .device-port-legend > div > div.mb-3 {
    margin-bottom: 10px;
}

.device-port-legends .device-port-legend .device-port-legend-img {
    position: relative;
    margin-right: 5px;
}

.device-port-legends .device-port-legend .device-port-legend-img span {
    position: absolute;
    left: calc(50% + 1px);
    top: 50%;
    transform: translate(-50%, -50%);
    color: #CCC;
}

.device-port-legends .device-port-legend .device-port-legend-img span.legend-port-isolated {
    left: 50%;
}

.device-port-legends .device-port-legend .device-port-legend-img span img {
    height: 19px;
}

.device-port-legends .device-port-legend .device-port-legend-label {
    margin-top: 3px;
}

.device-port-legends .device-port-legend .device-port-legend-img img {
    height: 25px;
}

.tooltip.tooltip-device-port-legend.show {
    opacity: 1;
    font-size: 13px;
}

.tooltip.tooltip-device-port-legend .tooltip-inner {
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    border: 0px solid #e9edf3;
    background-color: #FFF;
    color: #7a878e;
    font-size: "Open Sans";
    text-align: left;
    line-height: 20px;
}

a.connected-device,
#client-sub-page .ssid-settings-link,
.theme-default-link {
    color: var(--plasma-cloud-link-color);
    text-underline-offset: 0.2em;
    text-decoration: underline;
}
a.connected-device:hover,
#client-sub-page .ssid-settings-link:hover,
.theme-default-link:hover {
    color: var(--plasma-cloud-link-hover-color);
    text-underline-offset: 0.2em;
    text-decoration: underline;
}

.device-status-name .device-name {
    color: var(--plasma-cloud-link-color);
    text-decoration: none;
}

.device-status-name .device-name:hover {
    color: var(--plasma-cloud-link-hover-color);
    text-decoration: none;
}

.port-connected-devices {
    position: absolute;
    transform: translateX(-50%);
    padding: 10px 0px;
    /* background-color: #FFF; */
    z-index: 2;
}

.port-connected-devices.active {
    z-index: 3;
}

.port-connected-devices .connected-device-icon {
    width: 50px;
    height: 50px;
    position: relative;
    margin: 0px auto;
}

.port-connected-devices .connected-device-icon.multiple {
    width: auto;
    height: auto;
}

.port-connected-devices .connected-device-icon div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    transform: translate(-50%, -50%);
    transition: width ease 0.2s;
    max-height: inherit;
    cursor: pointer;
}
.port-connected-devices .connected-device-icon.multi-unknown-device-connected div {
    width: 35px;
}

.port-connected-devices .connected-device-icon div svg {
    width: 100%;
}

.port-connected-devices .connected-device-icon.multiple div {
    position: static;
    transform: translate(0%, 0%);
}

.port-connected-devices .connected-device-icon.active div,
.port-connected-devices .connected-device-icon:hover div {
    width: 40px;
}

.port-connected-devices .connected-device-icon.multi-unknown-device-connected.active div,
.port-connected-devices .connected-device-icon.multi-unknown-device-connected:hover div {
    width: 45px;
}

.port-connected-device-line {
    position: absolute;
    border-left: 1px dashed #333;
    width: 1px;
}

.device-ports-general .connected-device-name {
    font-size: 11px;
    background: #FFF;
}

.popover-connected-device-container.popover {
    white-space: nowrap;
    background-color: #fff;
    color: #222;
    font-size: 12px;
    opacity: 0.9;
    /* font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;*/
    font-size: 12px;
    cursor: default;
    opacity: 0;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    z-index: 99999;
    max-width: none;
}

.popover-connected-device-container.popover.top > .arrow {
    border-width: 12px;
    border-bottom-width: 0;
    bottom: -14px;
    margin-left: -12px;
}

.popover-connected-device-container.popover.top > .arrow::after {
    border-width: 12px;
    border-bottom-width: 0;
    margin-left: -12px;
}

.popover-connected-device-container.popover.fade.in {
    opacity: 1;
}

.popover-connected-device {
    text-align: center;
    padding: 10px 25px 10px 25px;
}

.popover-connected-device .connected-device-name {
    margin-top: 0px;
    max-width: none;
    font-size: 13px;
    white-space: nowrap;
}

.popover-connected-device .connected-device-name h4 {
    display: inline-block;
}

.popover-connected-device .connected-device-name a {
    text-decoration: none;
}

.popover-connected-device .connected-model-icon img {
    width: 70px;
    margin-bottom: 0px;
}

.popover-connected-device .connected-model-icon.switch img {
    width: 90px;
    margin-bottom: 0px;
}

.popover-connected-device .connected-thirdparty-icon img {
    width: 50px;
    margin-bottom: 0px;
}

.popover-connected-device .connected-thirdparty-info {
    text-align: left;
}

.poe-schedules {
    position: relative;
    padding-right: 50px;
}

.poe-schedules.disable-add-schedule {
    padding-right: 0px;
}

.poe-schedules.disable-add-schedule > button {
    display: none;
}

span[data-icon-url][data-icon-color] svg {
    width: 25px;
    height: 25px;
}

.cell-neighbor-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cell-neighbor-info .connected-device-name {
    margin-left: 7px;
}

.cell-neighbor-info-wrapper {
    display: inline-flex;
    justify-content: flex-start;
    flex-direction: column;
    min-width: 160px;
    text-align: left;
    gap: 4px;
}
.cell-neighbor-info-wrapper.fit-content {
    min-width: auto;
}

.cell-neighbor-info-wrapper .cell-neighbor-info {
    display: flex;
    justify-content: left;
    align-items: center;
    flex: 0 0 auto;
}

a.goto-link {
    color: #4d627b;
    font-size: 12px;
    text-decoration: underline;
}

.dt-cell__port-table__throttling {
    white-space: nowrap;
}

.has-mirroring-source-port .port-throttling-container,
.has-mirroring-source-port .port-vlan-container {
    display: none;
}

.device-ports-lag-alerts .device-ports-lag-alert {
    color: #000;
    background-color: #cdeefd;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding: 5px 5px;
    align-items: center;
    margin-top: 15px;
}

.device-ports-lag-alerts .device-ports-lag-alert > img {
    width: 30px;
    margin-right: 50px;
}

.device-ports-lag-alerts .device-ports-lag-alert > div {
    text-align: center;
}

.device-ports-lag-alerts .device-ports-lag-alert > button {
    margin-left: 50px;
}

.device-ports-lag-alerts .device-ports-lag-alert > button > i {
    display: none;
}

.popover-lag-container.popover {
    white-space: nowrap;
    background-color: #fff;
    color: #222;
    font-size: 12px;
    opacity: 0.9;
    /* font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; */
    font-size: 12px;
    cursor: default;
    opacity: 0;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    z-index: 99999;
    max-width: none;
}

.popover-lag-container.popover .popover-close-icon {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 16px;
    color: #4d627b;
    cursor: pointer;
}

.popover-lag-container.popover.top > .arrow {
    border-width: 12px;
    border-bottom-width: 0;
    bottom: -14px;
    margin-left: -12px;
}

.popover-lag-container.popover.top > .arrow::after {
    border-width: 12px;
    border-bottom-width: 0;
    margin-left: -12px;
}

.popover-lag-container.popover.fade.in {
    opacity: 1;
}

.popover-lag-container .popup-lag-device-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.popover-lag-container .popup-lag-device {
    text-align: center;
    padding: 0px;
}

.popover-lag-container .popup-lag-device:nth-child(1) {
    margin-right: 80px;
}

.popover-lag-container .popup-lag-device:nth-child(2) {
    margin-left: 80px;
}

.popover-lag-container .popup-lag-title h3 {
    font-weight: 500;
}

.popover-lag-container .popup-lag-device-inner.unknown {
    align-items: center;
    display: flex;
    justify-content: center;
}

.popover-lag-container .popup-lag-unknown-device-name {
    font-size: 50px;
}

.popover-lag-container .popup-lag-device-name-link h4 {
    display: inline-block;
}

.popover-lag-container .popup-lag-device-name-link a {
    text-decoration: none;
    color: #337ab7;
}

.popover-lag-container .device-model-icon {
    padding: 5px 0px;
}

.popover-lag-container .device-model-icon img {
    width: 90px;
    margin-bottom: 0px;
}

.popover-lag-container .popup-lag-device .device-model-name {
    padding: 10px 0;
    margin-bottom: 40px;
}

.popover-lag-container .popup-lag-footer {
    text-align: center;
}

.popover-lag-container .popup-lag-device .lag-device-ports {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popover-lag-container .popup-lag-device .lag-device-ports .lag-device-port {
    position: relative;
}

.popover-lag-container .popup-lag-device .lag-device-ports .lag-device-port img {
    width: 35px;
}

.popover-lag-container .popup-lag-device .lag-device-ports .lag-device-port span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    margin-top: 3px;
    font-size: 10px;
}

.popover-lag-container .popup-lag-device-container .lag-device-speed {
    position: absolute;
    text-align: center;
    border-bottom: 1px solid #000;
}

.popover-lag-container .popover-lag-devices-content {
    text-align: center;
    padding: 10px 15px 10px 15px;
}

.poe-schedule-container .maintenance-schedules {
    position: relative;
    padding-right: 55px;
}

#page-content .device-header-widget .widget > div[class*="-model-widget"] img {
    max-width: 100%;
}

#page-content .device-header-widget .widget .device-channel-widget,
#page-content .device-header-widget .widget .device-channel-width-widget {
    width: 250px;
}

#page-content .device-header-widget .widget .device-channel-widget .device-status,
#page-content .device-header-widget .widget .device-channel-width-widget .device-status {
    margin-right: 15px;
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container {
    border: 1px solid rgba(0, 0, 0, .07);
    /* padding-top: 78%; */
    min-height: 89%;
    position: relative;
}

@media (max-width: 768px) {
    #device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container {
        min-height: 150px !important;
    }
    #device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container.has-image .device-notes-image-bottom-bar {
        display: block !important;
    }
    #device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container.has-image .device-notes-image-bottom-bar .device-image-authors {
        margin-bottom: 10px;
    }
    .popover-lag-container .popover-lag-devices-content {
        padding: 0;
    }
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container > div {
    /* position: absolute; */
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container .device-notes-image-from-camera {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-left: 1px;
    padding-right: 1px;
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container.has-image .device-notes-image-from-camera {
    display: flex;
}
#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container.has-image .device-notes-image-from-camera img {
    max-height:350px;
    max-width:350px;
    height:100%;
    width:100%;
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container .device-notes-image-bottom-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container .device-notes-image-bottom-bar .device-image-authors {
    display: none;
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container.has-image .device-notes-image-bottom-bar .device-image-authors {
    display: block;
}


#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container.has-image .device-notes-image-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    padding: 15px 15px;
    border-top: 1px solid rgba(0, 0, 0, .07);
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container .buttons .btn-delete {
    display: none;
}

#device-panel-edit #tab-pane-device-detail-notes .device-notes-image-container.has-image .buttons .btn-delete {
    display: inline-block;
}

#device-panel-edit #tab-pane-device-detail-status .card{
    box-shadow: 0rem 0rem 2rem 0rem rgba(243, 243, 243, 1.0);
}

#device-panel-edit #tab-pane-device-detail-status .device-status-warning i {
    display: none;
}

#device-panel-edit #tab-pane-device-detail-status .device-status-warning .btn-outline-light {
    display: none;
}

#device-panel-edit #tab-pane-device-detail-status .device-status-warning .device-error-popovers {
    display: block !important;
}

#device-panel-edit #tab-pane-device-detail-status .device-status-warning .actions-menu {
    padding: 0px !important;
}

#device-panel-edit #tab-pane-device-detail-status .device-status-warning .device-errors.actions-menu li {
    padding: 0px;
}