:root {
    --table-background: #f0f0f0;
    --table-color: #333333;
    --circuit-color: #d60212;
    --circuit-theme:#d60212;
    --sctlink-background:#f7e6e7;
    --sctlink-color: #333333;
    --border-color: #dadada;
}

html,body {
    width: 100%;
    height: 100%;
    font-family: "微软雅黑";
}

.SvgContainer {
    padding: 0 20px 2px;
    height: calc(100% - 2px);
    overflow-x: hidden;
    overflow-y: auto;
}

.hot-point {
    fill: #0c0cff !important;
    font-weight: bold;
}

/* SVG图 */
#mysvg {
    height: calc(100% - 40px);
}
#mysvg-fusebox {
    height: 45%;
}
.title-pin tr #mysvg {
    height: 95%;
    border: none;
    margin: auto;
}

#mysvg.connector svg {
    max-width: 600px;
}

/* 标题 */
.title.topictitle1 {
    font-size: 18px;
    color: var(--circuit-theme);
    font-weight: bold;
    margin: 0px 0 15px;
}

/* 表格 */
.SvgContainer .tableContainer {
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 10px;
    box-sizing: border-box;
}
.SvgContainer .tableTitle,
.SvgContainer #pin-table,
.SvgContainer .electTable {
    width: 100%;
    color: var(--table-color);
    text-align: center;
    border-collapse: collapse;
    font-family: "微软雅黑";
}
.SvgContainer thead {
    background: var(--table-background);
    font-size: 15px;
}
.SvgContainer tbody {
    overflow-y: auto;
    font-size: 14px;
}
#pin-table tr th:nth-child(1) ,
#pin-table tr td:nth-child(1) {
    min-width: 120px;
    width: 120px;
    max-width: 120px;
}
#pin-table tr th:nth-child(2),
#pin-table tr td:nth-child(2) {
    min-width: 170px;
    width: 170px;
    max-width: 170px;
}

.SvgContainer .tableTitle tr #name {
    display: none
}
.SvgContainer th {
    /* border-top: none !important; */
}
.SvgContainer th, .SvgContainer td {
    height: 32px;
    /* max-height: 60px; */
    line-height: 32px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.title-pin tr td {
    border-top: none;
    text-align: center;
}

.title-pin tr td:nth-child(2) {
    width: 55%;
}

.SvgContainer #pin-table th:nth-child(3),
.SvgContainer #pin-table td:nth-child(3) {
    width: 80%;
    min-width: 80%;
    max-width: 80%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* 电器盒表格 */
.electTable {
    width: 100%;
    text-align: center;
}
.SvgContainer .electTable th:nth-child(1),
.SvgContainer .electTable td:nth-child(1) {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}
.SvgContainer .electTable th:nth-child(2),
.SvgContainer .electTable td:nth-child(2) {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.SvgContainer .electTable th:nth-child(3),
.SvgContainer .electTable td:nth-child(3) {
    width: 80%;
    min-width: 80%;
    max-width: 80%;
}

/* 弹框 */
.sctlink_container {
    background: #fff;
    border-radius: 6px;
    box-shadow: rgb(0 35 62 / 16%) 0px 0px 8px;;
    width: 240px;
    float: right;
    position: fixed;
    right: 2%;
    top: 21%;
    z-index: 30;
    margin: 0;
    overflow: hidden;
    display: none;
}

.sctlink_box_div {
    max-height: 400px;
    overflow: auto;
    margin-top: 8px;
}

.sctlink_container:hover {
    cursor: move;
}

.sctlink_container_title {
    display: block;
    padding: 12px 5px;
    width: calc(100% - 10px);
    color: var(--circuit-color);
    font-size: 16px;
    background: var(--sctlink-background);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    text-align: center;
}

.sctlink_container .expand, .sctlink_container .collapse {
    width: 15px;
    height: 15px;
    display: inline-block;
    background: url("../../../static/svg/img/catalogCollapse.png") no-repeat;
    background-size: 100%;
    margin-right: 6px;
    margin-top: -3px;
    vertical-align: middle;
    filter: hue-rotate(500deg) saturate(2) brightness(1) opacity(1);
}

.sctlink_container .collapse {
    background: url(../../svg/img/directoryOpen.png) no-repeat;
    background-size: 100%;
}

.sctlink_box {
    min-width: 85%;
    min-height: 48px;
    padding: 1% 4%;
    margin: 10% auto 5%;
    width: 85%;
    border-top: 1px dashed var(--circuit-color);
    position: relative;
}

.sctlink_box .title {
    display: block;
    width: auto;
    height: 26px;
    color: var(--table-color);
    font-size: 12px;
    padding: 0px 5px;
    position: absolute;
    margin-top: -9%;
    margin-left: 0%;
    background: var(--sctlink-background);
    border: 1px solid var(--circuit-color);
    line-height: 26px;
    border-radius: 5px;
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.sctlink_ul {
    list-style: none;
    /* margin-left: 3%; */
    margin-top: 15px !important;
}

ul.sctlink_ul li {
    padding: 5px 0;
}

ul.sctlink_ul li > a {
    color: var(--sctlink-color);
    text-decoration: underline;
    font-size: 12px;
    cursor: pointer;
}

ul.sctlink_ul li > a:hover {
    color: var(--circuit-color);
}

/* 接地点 */
.TopImg .leftSvg.hasSVG {
    width: 35%;
}

.TopImg .rightUL {
    flex: 1;
    margin-left: 9.8%;
    font-size: 15px;
    color: var(--circuit-color);
    line-height: 30px;
}

.TopImg .rightUL ol li {
    list-style: decimal
}

.TopImg .rightUL ul li {
    text-indent: 0.5em;
    list-style: disc;
}

.BottomImg p {
    color: #444;
    font-size: 15px;
    margin-top: 2.1%;
    margin-bottom: 1%;
}

.BottomImg .mysvg.hasSVG {
    width: 55%;
}
@media screen and (max-width: 1680px) and (min-width: 1440px) {
    /* 弹框 */
    .sctlink_container {
        width: 205px;
    }

    .sctlink_box_div {
        max-height: 300px;
        overflow: auto;
    }

    .sctlink_container_title {
        padding: 10px 5px;
        font-size: 15px;
    }

    .sctlink_container .expand, .sctlink_container .collapse {
        width: 13px;
        height: 13px;
    }

    .sctlink_box .title {
        height: 28px;
        font-size: 13px;
        margin-top: -11%;
        line-height: 28px;
    }

    ul.sctlink_ul li > a {
        font-size: 13px;
    }
}

@media screen and (max-width: 1600px) and (min-width: 1400px) {
    .sctlink_container {
        width: 205px;
        top: 22.5%;
    }
}

@media screen and (max-width: 1440px) and (min-width: 1366px) {
    .sctlink_container {
        width: 205px;
        top: 22%;
    }
}

@media screen and (max-width: 1366px) and (min-width: 1280px) {
    .title.topictitle1 {
        font-size: 16px;
    }
    .SvgContainer thead {
        font-size: 14px;
    }
    .SvgContainer tbody {
        font-size: 13px;
    }
    .SvgContainer th, .SvgContainer td {
        height: 28px;
        line-height: 28px;
    }
    /* 弹框 */
    .sctlink_container {
        width: 195px;
        top: 23%;
    }

    .sctlink_box_div {
        max-height: 260px;
    }

    .sctlink_container_title {
        padding: 10px 5px;
        font-size: 14px;
    }

    .sctlink_container .expand, .sctlink_container .collapse {
        width: 12px;
        height: 12px;
    }

    .sctlink_box .title {
        height: 25px;
        font-size: 12px;
        margin-top: -10%;
        line-height: 26px;
    }

    ul.sctlink_ul li > a {
        font-size: 12px;
    }
}

@media screen and (max-width: 1280px) and (min-width: 1024px) {
    .title.topictitle1 {
        font-size: 15px;
    }
    .SvgContainer thead {
        font-size: 13px;
    }
    .SvgContainer tbody {
        font-size: 12px;
    }
    .SvgContainer th, .SvgContainer td {
        height: 25px;
        line-height: 25px;
    }
    /* 弹框 */
    .sctlink_container {
        width: 190px;
        top: 25%;
    }
}

@media screen and (max-width: 1024px) {
    .title.topictitle1 {
        font-size: 15px;
    }
    .SvgContainer thead {
        font-size: 13px;
    }
    .SvgContainer tbody {
        font-size: 12px;
    }
    .SvgContainer th, .SvgContainer td {
        height: 25px;
        line-height: 25px;
    }
    /* 弹框 */
    .sctlink_container {
        width: 190px;
        top: 22%;
    }

    .sctlink_box_div {
        max-height: 260px;
    }

    .sctlink_container_title {
        padding: 10px 5px;
        font-size: 14px;
    }

    .sctlink_container .expand, .sctlink_container .collapse {
        width: 12px;
        height: 12px;
    }

    .sctlink_box .title {
        height: 25px;
        font-size: 12px;
        margin-top: -10%;
        line-height: 26px;
    }

    ul.sctlink_ul li > a {
        font-size: 12px;
    }
}
