*{
    margin: 0;
    padding: 0;
}
/*弹出框开始*/
#d1{
    width: 400px;
    height: 300px;
    z-index: 2;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -150px;
    overflow: hidden;
    display: none;
    background-color: white;
}
/* 遮盖层 */
.bg{
    background-color: #000;
    width: 100%;
    height: 100%;
    top: 0px;
    position: fixed;
    opacity: 0.3;
    -webkit-opacity: 0.3;
    -moz-opacity: 0.3;
    display: none;
}
.top{
    width: 90%;
    height: 20px;
    margin: 2px auto;
}
.top a{
    float: right;
    margin-right: 2px;
    text-decoration: none;
    color: #3A3C3D;
    opacity: 0.5;
}
.top a:hover{
    opacity: 1;
}
.submit{
    display: flex;
    width: 90%;
    height: 40px;
    margin: 20px auto;
}
.cancel,.confirm{
    flex: 1;
    margin: 2px;
    border: none;
    transition: all 0.2s;
}
.cancel:hover,.confirm:hover{
    background-color: #248CD6;
    color: white;
}
/*弹出框结束*/


html{
    width: 100%;
    height: 100%;
}
body{
    width: 100%;
    height: 100%;
    background-color:rgb(33,32,42);
}
#container{
    width: 100%;
    height: 100%;
}
#family{
    width: 100%;
    height: 100%;
    background-color: yellow;
}
#container_left{
    width: 20%;
    height: 100%;
    float: left;
}
#container_middle{
    width: 60%;
    height: 100%;
    float: left;
}
#container_right{
    width: 20%;
    height: 100%;
    float: left;
}
#middle_top{
    width: 100%;
    height: 55%;
    position: relative;
}
#middle_bottom{
    width: 100%;
    height: 45%;
}
#total_top{
    width: 100%;
    height: 50%;
}
#total_bottom{
    width: 100%;
    height: 50%;
}
#total_one,#total_four{
    width: 30%;
    height: 100%;
    float: left;
    justify-content:center;
    align-items:center;
    display:-webkit-flex;
}
#total_three,#total_six{
    width: 34%;
    height: 100%;
    float: left;
    justify-content:center;
    align-items:center;
    display:-webkit-flex;
}
#total_two,#total_five{
    width: 36%;
    height: 100%;
    float: left;
    justify-content:center;
    align-items:center;
    display:-webkit-flex;
}
#left_flow{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#protocolBtnDiv{
    width: 9%;
    height: 100%;
    float: left;
    position: absolute;
    z-index: 1001;
}
#canvasDiv{
    width: 100%;
    height: 100%;
    position: absolute;
    float: left;
    z-index: 600;
}
#mapDiv{
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#allProtocol{
    width: 100%;
    height: 5.5%;
    border-radius: 10%;
    color:white;
    background-color: rgba(64,74,89,0.3);
    margin-top: 6%;
    text-align: center;
    cursor: pointer;
}
#s7,#modbus,#DNP3,#Ethernet,#atg,#Fins,#codesys,#fox,#IEC104,#CIP,#data{
    width: 100%;
    height: 5.5%;
    border-radius: 10%;
    color:white;
    background-color: rgb(33,32,42);
    margin-top: 6%;
    text-align: center;
    cursor: pointer;
}
#family{
    width: 100%;
    height: 5.5%;
    border-radius: 10%;
    color:white;
    background-color: rgb(33,32,42);
    margin-top: 20%;
    text-align: center;
    cursor: pointer;
}
#growBarDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#glBarDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#pieDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#sankeyDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#rankDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#lineDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
/* 日志表及其相关，页面右侧 */
#logTable{
    width: 100%;
    height: 20%;
    border: solid 0.5px white;
    box-sizing: border-box;
}
#logInfoDiv{
    width: 100%;
    height: 16%;
    border: solid 0.5px white;
    box-sizing: border-box;
}
#c_right_scatter{
    width: 100%;
    height: 20%;
    justify-content:center;
    align-items:center;
    display:-webkit-flex;
}
#logScatterDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#c_right_time{
    width: 100%;
    height: 12%;
    justify-content:center;
    align-items:center;
    display:-webkit-flex;
}
#logTimeDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#c_right_line{
    width: 100%;
    height: 15%;
    justify-content:center;
    align-items:center;
    display:-webkit-flex;
}
#logLineDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
#c_right_circle{
    width: 100%;
    height: 17%;
    justify-content:center;
    align-items:center;
    display:-webkit-flex;
}
#logIpCircleDiv{
    width: 98%;
    height: 98%;
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
.showDiv{
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin: auto;
    width: 40%;
    height: 60%;
    z-index: 800;
    border-radius: 2%;
    /*
    background: rgba(102,128,154,.9);
    */
    background: rgba(18,47,63,.9);
    background-image: url("../assets/images/panel.png");
    background-size: 100% 100%;
}
