﻿html, body {
    height: 100%;
    font-size: 14px !important;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    background: #E6E7E8 !important;
}

body {
    padding: 0 !important;
}

* {
    font-family: PingFangSC-Regular, PingFang SC;
    box-sizing: border-box !important;
    outline: none !important;
    position: relative;
}

a {
    text-decoration: none !important;
    color: rgba(0, 0, 0, .65) !important;
}
a:hover {
    color: rgb(24, 144, 255) !important;
}
a:focus { 
    outline-style: none !important; 
}

ul, li {
    list-style: none !important;
}

.container-fluid {
    padding: 0 !important;
}

.height100 {
    height: 100% !important;
}

.div-panel {
    background-color: #fff;
    padding: 16px;
}

.btn {
    transition: all .3s cubic-bezier(.645,.045,.355,1) !important;
    margin-bottom: 8px !important;
    width: 80px;
}

.btn-primary {
    color: #fff !important;
    background-color: #009B67 !important;
    border-color: #009B67 !important;
    border-radius: 0 !important;
    background-image: none !important;
}

    .btn-primary:hover {
        color: #fff !important;
        background-color: #009B67 !important;
        border-color: #009B67 !important;
    }

.btn-secondary {
    color: #fff !important;
    background-color: #1890ff !important;
    border-color: #1890ff !important;
}

    .btn-secondary:hover {
        color: #fff !important;
        background-color: #40a9ff !important;
        border-color: #40a9ff !important;
    }

.btn-info {
    color: #009B67 !important;
    background-color: #F0F1F2 !important;
    border: 1px solid #009B67 !important;
    border-radius: 0 !important;
}

    .btn-info:hover {
        color: #009B67 !important;
        background-color: #F0F1F2 !important;
    }

.btn-warning {
    color: #717171 !important;
    background-color: #FFFFFF !important;
    border: 1px solid #B4B5B6 !important;
    border-radius: 0 !important;
}

    .btn-warning:hover {
        background-color: #FFFFFF !important;
        border-color: #B4B5B6 !important;
    }

.help-block {
    color: #f5222d;
}

input[type=checkbox], input[type=radio] {
    height: auto !important;
    line-height: 150% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    z-index: 1;
    cursor: pointer;
    position: relative;
}

input[type=checkbox]::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    transition: border .15s ease-in-out,color .15s ease-in-out;
}

input[type=checkbox]:checked::before {
    background-color: #009B67 !important;
    border-color: #009B67;
}

input[type=checkbox]:checked::after {
    font-family: "FontAwesome";
    content: "\f00c";
    color: #fff;
    font-weight: 900;
    position: absolute;
    top: -2px;
    left: 1px;
}

input[type=radio]::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    border: 1px solid #ccc;
    border-radius: 8.5px;
    background-color: #fff;
    transition: border .15s ease-in-out,color .15s ease-in-out;
}

input[type=radio]:checked::before {
    background-color: #fff !important;
    border-color: #009B67;
}

input[type=radio]:checked::after {
    font-family: "FontAwesome";
    content: "\f111";
    color: #009B67;
    font-weight: 900;
    position: absolute;
    top: -1px;
    left: 3px;
    font-size: 10px;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder {
    background: #F0F1F2 !important;
    border: 0 !important;
    border-radius: 0 !important;
}
.btn-light {
    color: #717171 !important;
    background: #F0F1F2 !important;
    border: 0 !important;
    border-radius: 0 !important;
}
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    background: #009B67 !important;
}

.dropdown-menu {
    background-color: #F0F1F2 !important;
    border-radius: 0 !important;
}
.dropdown-item.active, .dropdown-item:active {
    background: #009B67 !important;
}
.dropdown-item:hover {
    background: rgba(0, 155, 103, 0.05) !important;
    color: #009B67 !important;
}
.dropdown-item:first-child {
    border-radius: 0 !important;
}
.dropdown-item:last-child {
    border-radius: 0 !important;
}

.listpage {
    padding: 48px !important;
    text-align: right;
}
.bootstrap-table {
    text-align: left;
}
.fixed-table-toolbar {
    height: 0;
}

.codetable {
    table-layout: fixed;
    word-break: break-all;
    background-color: #F0F1F2 !important;
    border: 1px solid #C7C8C9;
}

.codetable th {
    padding: 0 16px !important;
}
.codetable .th-inner {
    color: #949494;
    overflow: inherit !important;
}
.codetable .td-primary {
    font-weight: 600;
}

.codetable tr {
    background-color: #F0F1F2 !important;
    color: #333333 !important;
}
.codetable tbody tr:hover {
    background-color: #F8F9FA !important;
}

.codetable input[type=text] {
    display: block;
    width: calc(100% - 12px);
    height: calc(100% - 16px);
    margin-top: 8px;
    margin-left: 5px;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s
}

.codetable-lable {
    display: inline-flex;
    padding: 5.25px 10.5px;
}

.codetable-link {
    color: #009B67;
    cursor: pointer;
}

.page-number.active a {
    color: #009B67 !important;
    font-weight: 700;
}

.divTree {
    width: 430px;
    float: right;
    overflow-y: auto;
    background: #333333;
    text-align: right;
}
.divEdit {
    width: calc(100% - 430px);
    float: right;
    overflow-y: auto;
    overflow-x: hidden;
    background: #E6E7E8;
}

.treeview {
    margin-top: 12px;
}

.form-group {
    width: 100%;
    margin-top: 12px;
    line-height: 40px;
}

    .form-group input {
        width: 100% !important;
        height: 46px;
        line-height: 46px;
        border: 1px solid #717171;
        background: #F0F1F2;
        border-radius: 0 !important;
        color: #717171;
    }

    .form-group .form-control {
        width: 100% !important;
        height: 46px;
        line-height: 46px;
        border: 1px solid #C7C8C9;
        background: #F0F1F2;
        border-radius: 0 !important;
        color: #717171;
        padding-top: 0;
        padding-bottom: 0;
    }

    .form-group .codeform-select {
        width: 100% !important;
        height: 46px;
        line-height: 46px;
        border: 1px solid #C7C8C9;
        background: #F0F1F2;
        border-radius: 0 !important;
        color: #717171;
        padding-top: 0;
        padding-bottom: 0;
    }

.modal-dialog {
    background: #F0F1F2 !important;
    border-color: #C7C8C9;
}
.modal-content {
    border-radius: 0 !important;
    background: #F0F1F2 !important;
}
.modal-header {
    border-radius: 0 !important;
    border-bottom: 1px solid #DFDFDF !important;
}
.modal-body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 2rem 0;
}
.modal-body .divTree {
    background: #F0F1F2 !important;
    border-left: 1px solid #C7C8C9 !important;
}
.modal-body .divEdit {
    background: #F0F1F2 !important;
}
.modal-body .list-group-item {
    border: 1px solid #C7C8C9 !important;
    color: #333333 !important;
}
.modal-body .list-group-item.node-selected {
    background: #E4E5E6 !important;
    color: #333333 !important;
}

.codetree {
    text-align: left;
}

.list-group-item:first-child, .list-group-item:last-child {
    border-radius: 0 !important;
}

.list-group-item {
    height: 40px;
    line-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background-color: transparent !important;
    padding: 0 16px !important;
    margin-left: 8px !important;
    margin-bottom: 12px !important;
    color: #FFFFFF;
}

.node-selected {
    background: #242424 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.node-selected::before {
    content: "";
    width: 6px;
    height: 40px;
    position: absolute;
    left: -24px;
    background: #009B67;
}

.codeform-section {
    width: calc(100% - 72px);
    margin-left: 48px;
    background: #F0F1F2;
    border: 1px solid #C7C8C9;
}

.codeform-label {
    width: 120px;
    height: 46px;
    line-height: 46px;
    padding-left: 20px;
    text-align: left;
    color: #333333;
}

.codeform-item {
    width: calc(100% - 130px) !important;
}

.codeform-related-head {
    width: calc(100% - 72px);
    margin: 24px 36px;
}
.codeform-related-title {
    height: 40px;
    line-height: 40px;
    color: #333333;
    font-size: 18px !important;
    font-weight: 600;
}
.codeform-add {
    float: right;
}
.codeform-related-body {
    margin: 0 36px 40px 36px;
}
.code-related-table .codetable {
    table-layout: fixed;
    word-break: break-all;
    background-color: #F0F1F2 !important;
    border: 0 !important;
}
.code-related-table tbody tr {
    background-color: #F0F1F2 !important;
    color: #333333 !important;
    font-weight: 600;
}
.codetable tbody tr:hover {
    background-color: #F8F9FA !important;
}

.codetable input[type=text] {
    display: block;
    width: calc(100% - 12px);
    height: calc(100% - 16px);
    margin-top: 8px;
    margin-left: 5px;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s
}

.device-group-item {
    height: 49px;
    line-height: 49px;
    background: #F8F9FA;
    border: 1px solid #B4B5B6;
    font-size: 16px;
    color: #333333;
    font-weight: 600;
    padding-left: 20px;
}