/* monitor */
/* 设备展示 */

.device_icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 8px;
}

.device_show_box {
    width: 100%;
    display: block;
    overflow-x: auto;
    margin: 0 auto;
}

/* .device_show_bg {
    width: 1608px;
    height: 152px;
    background: linear-gradient(180deg, #eef1f6 0%, #e0e6ef 100%);
    border-radius: 2px;
    position: relative;
    display: none;
    margin: 0 auto;
} */

.device_show_bg {
    width: 1608px;
    height: 152px;
    background: linear-gradient(180deg, #eef1f6 0%, #e0e6ef 100%);
    border-radius: 2px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    display: none;
}


.device_show0 {
    font-size: 0;
    position: absolute;
    left: 38px;
    top: 35px;
}

.device_show0 li:nth-child(1) {
    margin-bottom: 10px;
}

.device_con {
    width: 48px;
    height: 36px;
    display: inline-block;
    background: url("../images/device.png") -60px -2599px;
}

.device_con_up,
.device_con:checked {
    background: url("../images/device.png") -60px -2733px;
}

.device_con_disabled,
.device_con:disabled {
    background: url("../images/device.png") -60px -2666px;
}

.device_eth {
    width: 48px;
    height: 36px;
    display: inline-block;
    background: url("../images/device.png") -60px -2599px;
    transform: rotate(180deg);
}

.device_eth_up,
.device_eth:checked {
    background: url("../images/device.png") -60px -2733px;
    transform: rotate(180deg);
}

.device_eth_disabled,
.device_eth:disabled {
    background: url("../images/device.png") -60px -2666px;
    transform: rotate(180deg);
}

.device_elec {
    width: 48px;
    height: 23px;
    display: inline-block;
    background: url("../images/device.png") -369px -2608px;
    transform: rotate(180deg);
}

.device_elec_up,
.device_elec:checked {
    background: url("../images/device.png") -369px -2742px;
    transform: rotate(180deg);
}

.device_elec_disabled,
.device_elec:disabled {
    background: url("../images/device.png") -369px -2675px;
    transform: rotate(180deg);
}

.device_show {
    position: absolute;
    left: 135px;
    top: 33px;
    font-size: 0;
}

.device_show .dev_top {
    margin-bottom: 18px;
}

.dev_10G {
    width: 52px;
    height: 32px;
    margin-right: 3px;
    display: inline-block;
    background: url("../images/device.png") -138px -2601px;
}

/* .device_con,
.device_eth {
    margin-right: 4px;
} */

.dev_bottom .dev_10G {

    transform: rotate(180deg);
}

.dev_10G:checked,
.dev_10G_up {
    background: url("../images/device.png") -138px -2735px !important;
}

.dev_10G:disabled,
.dev_10G_disabled {
    background: url("../images/device.png") -138px -2668px !important;
}

.dev_40G {
    width: 60px;
    height: 32px;
    margin-right: 3px;
    display: inline-block;
    background: url("../images/device.png") -220px -2603px;
}

.dev_bottom .dev_40G {
    transform: rotate(180deg);
}

.dev_40G:checked,
.dev_40G_up {
    background: url("../images/device.png") -220px -2737px !important;
}

.dev_40G:disabled,
.dev_40G_disabled {
    background: url("../images/device.png") -220px -2670px !important;
}

.dev_split {
    width: 60px;
    height: 32px;
    margin-right: 20px;
}

.dev_split .dev_10G {
    width: 29px;
    height: 15px;
    margin-right: 2px;
    margin-bottom: 2px;
    display: inline-block;
    background: url("../images/device.png") -310px -2612px;
}

.dev_top .dev_split .dev_10G:nth-child(3),
.device_show .dev_top .dev_split .dev_10G:nth-child(4) {
    transform: rotate(180deg);
}

.dev_split .dev_10G:nth-child(2n) {
    margin-right: 0 !important;
}

.dev_split .dev_10G:checked,
.dev_split .dev_10G_up {
    background: url("../images/device.png") -310px -2746px !important;
}

.dev_split .dev_10G:disabled,
.dev_split .dev_10G_disabled {
    background: url("../images/device.png") -310px -2679px !important;
}


.split1 {
    width: 1px;
    height: 115px;
    background: #f0f2f5;
    display: inline-block;
}

/* -----S5850-48T4Q----开始--------------- */
.S5850-48T4Q {
    background: url("../images/device.png") -60px -88px;
}

.S5850-48T4Q .device_show0 {
    left: 41px;
}

.S5850-48T4Q .device_show {
    left: 120px;
    top: 33px;
}

.S5850-48T4Q .device_show .dev_top .device_con {
    margin-top: 3px;
}

.S5850-48T4Q .device_show .dev_top {
    margin-bottom: 7px;
    /* margin-top: 2 px */
    display: flex;
    justify-content: center;
    align-items: center;
}

.S5850-48T4Q .device_show .dev_top .device_con:nth-child(8n),
.S5850-48T4Q .device_show .dev_bottom .device_eth:nth-child(8n) {
    margin-right: 30px;
}

.S5850-48T4Q .device_show .dev_top .device_con:nth-child(24),
.S5850-48T4Q .device_show .dev_bottom .device_eth:nth-child(24) {
    margin-right: 29px;
}

.S5850-48T4Q .device_show .dev_top .dev_40G,
.S5850-48T4Q .device_show .dev_bottom .dev_40G {
    margin-right: 20px;
}

.S5850-48T4Q .device_show .dev_top .dev_40G:last-of-type,
.S5850-48T4Q .device_show .dev_bottom .dev_40G:last-of-type {
    margin-right: 0;
}

/*  S5850-48S6Q  开始--------------*/

.S5850-48S6Q {
    background: url("../images/device.png") -60px -298px;
}

.S5850-48S6Q .device_show0 {
    left: 24px;
}

.S5850-48S6Q .device_show {
    left: 81px;
}

.S5850-48S6Q .device_show .dev_top .dev_10G:nth-child(8n),
.S5850-48S6Q .device_show .dev_bottom .dev_10G:nth-child(8n) {
    margin-right: 8px;
}


/*  S5850-48S2Q4C  开始--------------*/

.S5850-48S2Q4C {
    background: url("../images/device.png") -60px -508px;
}

.S5850-48S2Q4C .device_show0 {
    left: 23px;
}

.S5850-48S2Q4C .device_show {
    left: 79px;
}

.S5850-48S2Q4C .device_show .dev_top .dev_10G:nth-child(8n),
.S5850-48S2Q4C .device_show .dev_bottom .dev_10G:nth-child(8n) {
    margin-right: 8px;
}


/*  S5850-32S2Q  开始--------------*/

.S5850-32S2Q {
    background: url("../images/device.png") -60px -718px;
}

.S5850-32S2Q .device_show0 {
    left: 93px;
}

.S5850-32S2Q .device_show {
    left: 554px;
}

.S5850-32S2Q .device_show .dev_top .dev_10G:nth-child(8n),
.S5850-32S2Q .device_show .dev_bottom .dev_10G:nth-child(8n) {
    margin-right: 10px;
}

.S5850-32S2Q .device_show .dev_top .dev_10G:nth-child(16),
.S5850-32S2Q .device_show .dev_bottom .dev_10G:nth-child(16) {
    margin-right: 17px;
}

/*  S5850-24T16B  开始--------------*/

.S5850-24T16B {
    background: url("../images/device.png") -60px -928px;
}

.S5850-24T16B .device_show0 {
    top: 25px;
    left: 48px;
}

.S5850-24T16B .device_show0 li {
    margin-bottom: 5px;

}

.S5850-24T16B .device_show {
    left: 289px;
    top: 32px;
}

.S5850-24T16B .device_show .ElectricPort {
    margin-top: 3px;
    margin-bottom: 6px;
}

.S5850-24T16B .device_show .dev_top {
    margin-bottom: 0;
    display: flex;
}

.S5850-24T16B .device_show .dev_top .device_con:nth-child(4n),
.S5850-24T16B .device_show .dev_bottom .device_eth:nth-child(4n) {
    margin-right: 26px;
}

.S5850-24T16B .device_show .SmoothPort {
    margin-top: 3px;
    margin-left: 136px;
}

.S5850-24T16B .device_show .dev_top .SmoothPort .dev_10G:nth-child(4n),
.S5850-24T16B .device_show .dev_bottom .SmoothPort .dev_10G:nth-child(4n) {
    margin-right: 16px;
}

/*  S5850-24S2Q  开始--------------*/

.S5850-24S2Q {
    background: url("../images/device.png") -60px -1138px;
}

.S5850-24S2Q .device_show0 {
    left: 38px;
}

.S5850-24S2Q .device_show {
    left: 819px;
}

.S5850-24S2Q .device_show .dev_top .dev_10G:nth-child(6n),
.S5850-24S2Q .device_show .dev_bottom .dev_10G:nth-child(6n) {
    margin-right: 16px;
}

.S5850-24S2Q .device_show .dev_top .dev_10G:nth-child(12),
.S5850-24S2Q .device_show .dev_bottom .dev_10G:nth-child(12) {
    margin-right: 17px;
}


/*   S8050-20Q4C  开始--------------*/

.S8050-20Q4C {
    background: url("../images/device.png") -60px -1348px;
}

.S8050-20Q4C .device_show0 {
    left: 93px;
}

.S8050-20Q4C .device_show {
    top: 34px;
    left: 364px;
}

.S8050-20Q4C .device_show .dev_split {
    margin-right: 18px;
}

.S8050-20Q4C .device_show .dev_top {
    display: flex;

}

.S8050-20Q4C .device_show .dev_40G {
    margin-right: 18px;
}

.S8050-20Q4C .device_show .dev_top .dev_10G:nth-child(2),
.S8050-20Q4C .device_show .dev_bottom .dev_10G:nth-child(2) {
    margin-right: 136px;
}

/* S5800-48T4S  开始--------------*/

.S5800-48T4S {
    background: url("../images/device.png") -60px -1558px;
}

.S5800-48T4S .device_show0 {
    left: 38px;
}

.S5800-48T4S .device_show {
    left: 169px;
}

.S5800-48T4S .device_show .dev_top {
    display: flex;
    margin-bottom: 8px;
}

.S5800-48T4S .device_show .dev_top .device_con:nth-child(8n),
.S5800-48T4S .device_show .dev_bottom .device_eth:nth-child(8n) {
    margin-right: 26px;
}

.S5800-48T4S .device_show .dev_top .device_con:nth-child(24),
.S5800-48T4S .device_show .dev_bottom .device_eth:nth-child(24) {
    margin-right: 21px;
}

/* S5800-48MBQ  开始--------------*/

.S5800-48MBQ {
    background: url("../images/device.png") -60px -1768px;
}

.S5800-48MBQ .device_show0 {
    left: 24px;
}

.S5800-48MBQ .device_show {
    left: 78px;
}

.S5800-48MBQ .device_show .dev_bottom {
    margin-bottom: 14px;
}

.S5800-48MBQ .device_show .dev_top {
    margin-bottom: 0;
}

.S5800-48MBQ .device_show .dev_split {
    margin-right: 3px;
}

.S5800-48MBQ .device_show .dev_bottom .dev_10G_type2 .dev_10G {
    transform: rotate(0);
}

.S5800-48MBQ .device_show .dev_top .dev_10G_type2 .dev_10G {
    transform: rotate(180deg);
}

.S5800-48MBQ .device_show .dev_top .dev_10G:nth-child(8n),
.S5800-48MBQ .device_show .dev_bottom .dev_10G:nth-child(8n) {
    margin-right: 8px;
}

.S5800-48MBQ .device_show .dev_top .dev_10G:nth-child(24),
.S5800-48MBQ .device_show .dev_bottom .dev_10G:nth-child(24) {
    margin-right: 12px;
}

.S5800-48MBQ .device_show .dev_split,
.S5800-48MBQ .device_show .dev_40G {
    margin-right: 12px;
}

.S5800-48MBQ .device_show .dev_split .dev_10G:nth-child(1),
.S5800-48MBQ .device_show .dev_split .dev_10G:nth-child(2) {

    transform: rotate(0);
}

.S5800-48MBQ .device_show .dev_40G {
    transform: rotate(180deg);
}

/* ---------S5800-48F4SR---开始-------------- */
.S5800-48F4SR {
    background: url("../images/device.png") -60px -1978px;
}

.S5800-48F4SR .device_show .dev_top .dev_10G:nth-child(8n),
.S5800-48F4SR .device_show .dev_bottom .dev_10G:nth-child(8n) {
    margin-right: 14px;
}

.S5800-48F4SR .device_show {
    left: 135px;
}


/*  S5800-8TF12S  开始--------------*/

.S5800-8TF12S {
    background: url("../images/device.png") -60px -2188px;
}

.S5800-8TF12S .device_show0 {
    top: 37px;
    left: 36px;
}

.S5800-8TF12S .device_show0 li {
    margin-bottom: 5px;

}

.S5800-8TF12S .device_show {
    left: 298px;
    top: 32px;
}

.S5800-8TF12S .device_show .ElectricPort {
    margin-top: 3px;
    margin-bottom: 6px;
}

.S5800-8TF12S .device_show .dev_top {
    margin-bottom: 0;
    display: flex;
}

.S5800-8TF12S .device_show .SmoothPort {
    margin-top: 5px;
    margin-left: 17px;
}

.S5800-8TF12S .device_show .dev_top .SmoothPort .dev_10G:nth-child(2),
.S5800-8TF12S .device_show .dev_bottom .SmoothPort .dev_10G:nth-child(2),
.S5800-8TF12S .device_show .dev_top .SmoothPort .dev_10G:nth-child(6),
.S5800-8TF12S .device_show .dev_bottom .SmoothPort .dev_10G:nth-child(6),
.S5800-8TF12S .device_show .dev_top .SmoothPort .dev_10G:nth-child(8),
.S5800-8TF12S .device_show .dev_bottom .SmoothPort .dev_10G:nth-child(8) {
    margin-right: 16px;
}

.S5800-8TF12S .device_show .dev_top .SmoothPort .dev_10G:nth-child(4),
.S5800-8TF12S .device_show .dev_bottom .SmoothPort .dev_10G:nth-child(4) {
    margin-right: 459px;
}


/*  S3950-4T12S  开始--------------*/

.S3950-4T12S {
    background: url("../images/device.png") -60px -2398px;
}

.S3950-4T12S .device_show0 {
    left: 1370px;
}

.S3950-4T12S .device_show {
    left: 521px;
    top: 32px;
}

.S3950-4T12S .device_show .dev_top {
    margin-bottom: 10px;
    margin-top: 3px;
}

.S3950-4T12S .device_show2 {
    font-size: 0;
    position: absolute;
    left: 656px;
    top: 85px;
}

.S3950-4T12S .device_show2 .dev_10G:nth-child(4n) {
    margin-right: 16px;
}


/* -----C----- */
/* Panel */
.panel {
    width: 100%;
    border: 2px solid #f0f2f5;
    border-radius: 2px;
    height: 152px;
    min-width: 939px;
}

.dev_10G_up {
    width: 52px;
    height: 32px;
    margin-right: 3px;
    display: inline-block;
    background: url("../images/device.png") -138px -2601px;
}

.QOS_panel_8TF12 {
    background: url(../images/device.png) -62px -3205px no-repeat;
}