.container {
    margin-bottom: 30px;
    margin-top: 30px;
    padding-bottom: 20px;
    padding-top: 20px;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.help {
    -webkit-transform: scale(0.7) !important;
    display: inline-block;
    position: relative;
    cursor: help;
    top: -3px;
    color: #333 !important;
}

.tools {
    height: 45vh;
    border: 1px solid #e5e5e5;
    text-align: left;
    margin-top: 7px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.tools .form-group {
    margin-right: unset;
    margin-left: unset;
}

.tools .form-group input {
    width: 100% !important;
    font-weight: 400;
    border: none transparent;
    border-bottom: 1px solid #e5e5e5;
    border-radius: unset;
    box-shadow: unset;
}

.tools .form-group input:focus {
    box-shadow: 0 1px 0 rgba(102,175,233,.6);
}

.tools .buttons a {
    display: inline-block;
    color: #6f787e;
    margin-top: 5px;
    width: 100%;
    vertical-align: baseline;
    text-decoration: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 10px;
    font-weight: 400;
}

.tools .buttons a:hover {
    color: #66afe9;
    cursor: pointer;
}

.tools .buttons .iconfont {
    margin-left: 4px;
    font-size: 1.5rem;
}

/*中间画布样式 */
#flex_canvas {
    margin-top: 34px;
    height: 45vh;
    border: 1px solid #e5e5e5;
    overflow: auto;
}

#topo_canvas {
    width: 100%;
    height: 45vh;
    text-align: justify;
    text-justify: newspaper;
    word-break: break-all;
}

/*右键菜单样式*/
.context-menus {
    position: fixed;
    z-index: 100;
    color: #000;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    min-width: 16rem;
    text-align: left;
    font-size: 12px;
    padding: 0.08rem 0;
}

.context-menus div {
    line-height: 1.5rem;
    margin-left: 10px;
    margin-right: 10px;
}

.context-menus .line {
    background-color: transparent !important;
    padding: 0;
    margin: 0.05rem 0;
    border-top: 1px solid #eee;
}

.context-menus .menu-a {
    color: #333333;
    display: block;
    padding: 0.5rem;
    margin-bottom: 5px;
    text-decoration: none;
}

.context-menus .menu-a:hover {
    color: #66afe9;
    display: block;
    padding: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.context-menus .menu-a-disabled {
    color: #adadad;
    display: block;
    padding: 0.5rem;
    margin-bottom: 5px;
    text-decoration: none;
}

.context-menus .menu-a-disabled:hover {
    color: #adadad;
    display: block;
    padding: 0.5rem;
    text-decoration: none;
}

.context-menus .ml50 {
    float: right;
}

/*滚动条样式*/
.topology ::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px;
    height: 8px;
    color: #e5e5e5;
}

.topology ::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 5px;
    background-color: #c1c1c1;
    -webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
}

.topology ::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 0;
    background: #ffffff;
    -webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
}
