/* commom */
a {
    text-decoration: none;
    color: #333333;
}

td {
    outline: none;
}

.hide {
    display: none !important;
}

.pull-right {
    float: right !important;
}

/* font size */
.fe5 {
    font-size: 0.5rem !important;
}

.fe6 {
    font-size: 0.6rem !important;
}

.fe7 {
    font-size: 0.7rem !important;
}

.fe10 {
    font-size: 1rem !important;
}

.f12 {
    font-size: 12px;
}

.f14 {
    font-size: 14px;
}

.f16 {
    font-size: 16px;
}

/* top nav */
.nav-addtabs {
    width: 400px;
    border-bottom: none;
    position: relative;
    user-select: none;
    display: inline-block;
}

.nav-addtabs > li {
    display: inline-block;
    position: relative;
}

.nav-addtabs > li > a {
    display: inline-block;
    padding: 3px 12px;
    margin: 0 8px;
    border-radius: 100px;
    background-color: #0d1223;
    user-select: none;
    color: #c1c6cf;
    position: relative;
    z-index: 1;
}

.nav-addtabs > li > a:hover {
    background-color: #37559b;
    color: #e0e4eb;
}

.nav-addtabs > li > a.active {
    background-color: #4e7ae0;
    color: #e0e4eb;
}

.nav-addtabs > li > .close-tab {
    font-size: 10px;
    position: absolute;
    right: -2px;
    top: -2px;
    z-index: 100;
    cursor: pointer;
    color: #94A6B0;
    user-select: none;
}

.iframeClass {
    z-index: 1;
    visibility: inherit;
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    user-select: none;
}

.rightMenu {
    position: absolute;
    width: 120px;
    z-index: 1035;
    display: none;
    user-select: none;
}

.rightMenu .list-group-item {
    height: 30px;
    line-height: 30px;
    padding: 0;
    font-size: 12px;
    text-indent: 6px;
    user-select: none;
    border: 1px solid #454c67;
    background-color: #363c54;
    color: #a6acc0;
    margin-top: -1px;
    position: relative;
}

.rightMenu .list-group-item:hover {
    background-color: #f0f0f0;
    color: #363c54;
}

.rightMenu .iconx {
    margin-right: 5px;
}

.dropdown-menu .nav-item {
    height: 26px;
    line-height: 26px;
    padding: 0;
    font-size: 12px;
    color: #afafaf;
    text-indent: 14px;
    user-select: none;
    margin: 2px 4px;
    border-radius: 100px;
    background-color: #eaeaea;
}

.dropdown-menu .nav-item > a {
    color: #afafaf;
}

.dropdown-menu .nav-item > a.active {
    color: #565656;
}

.dropdown-menu .nav-item > a:hover {
    color: #333333;
}

.dragBack {
    background-color: transparent;
}

/* tab wrapper */
.full-body {
    background: #f1f4f6;
    margin: 0;
    padding: 0;
}

.tab-wrapper {
    position: relative;
    height: 100%;
    padding: 0 5px;
}

.tab-content-box {
    position: relative;
    height: 100%;
}

.tab-content-box .tab-pane {
    position: relative;
    height: auto;
    overflow: hidden;
}

/* table use css */
.search-table {
    padding: 10px;
    background: #f1f4f6;
    border-radius: .25rem;
    width: 100%;
    margin-bottom: 10px;
}

.dataTables_length {
    padding-top: 8px;
}

.table-sm-btn {
    margin: 0;
    padding: 0;
}

.table-sm-btn .btn-xs {
    font-size: .75rem !important;
    margin-right: 8px;
}

.table-sm-btn .btn-xs:last-child {
    margin-right: 0;
}

table.dataTable > thead > tr > th {
    padding: .5rem;
    border-top-width: 0;
    border-bottom-width: 0;
}

table.dataTable > tbody > tr > td {
    padding: .5rem;
    position: relative;
}

table.dataTable > tbody > tr > td.mid {
    vertical-align: middle;;
}

table.dataTable > tbody > tr.odd > td {
    background: #f9f9f9;
}

table.dataTable > tbody > tr:hover > td {
    background: #f9f9f9;
}

/* bootstrap by self */
.card.card-bkd {
    box-shadow: 0 0 1px rgba(0, 0, 0, .02), 0 1px 3px rgba(0, 0, 0, .06);
}

.error.invalid-feedback {
    margin: 0 7.5px;
}

.text-sm .btn {
    font-size: .75rem !important;
}

.card > .card-header.card-header-bkd {
    border-bottom: 1px solid transparent;
    padding: 15px;
    padding-bottom: 0;
    background: #e8edf0;
    position: relative;
}

.card > .card-header.card-header-bkd > h6 {
    font-size: 13px;
    margin: 0 4px 2px 4px;
    color: #565656;
    font-weight: bold;
}

.card > .card-header.card-header-bkd > p {
    font-size: 13px;
    color: #787878;
    margin: 2px 4px 10px 4px;
}

.card > .card-header .nav-tabs {
    border-bottom: 0;
    margin-bottom: 0;
}

.card > .card-header .nav-tabs > li > a {
    margin-right: 4px;
    color: #95a5a6;
    background-color: #d8e0e6;
    border: 1px solid #e8edf0;
    border-bottom-color: transparent;
}

.card > .card-header .nav-tabs > li > a:hover,
.card > .card-header .nav-tabs > li > a:focus {
    border: 1px solid #e8edf0;
    color: #7b8a8b;
    background-color: #c9d4dc;
}

.card > .card-header .nav-tabs > li > a.active,
.card > .card-header .nav-tabs > li > a.active:hover,
.card > .card-header .nav-tabs > li > a.active:focus {
    color: #7b8a8b;
    background-color: #ffffff;
    border-bottom-color: transparent;
    cursor: default;
}


.fixed-table-toolbar {
    margin-top: 4px;
    margin-bottom: 2px;
}

.btn-div-bkd {
    float: left;
    margin-right: 5px;
}

/* DataTables css */
.table-list-div {
    width: 100%;
}

.sidebar-dark-lx {
    background-color: #1f2640;
}

.navbar-dark {
    background-color: #1f2640;
}

.main-header {
    border-bottom: 1px solid #2c3556 !important;
}

.brand-link {
    border-bottom: 1px solid #2c3556 !important;
}

.user-panel {
    border-bottom: 1px solid #2c3556 !important;
}

/* layer */
/*.layui-layer-dialog {
    border-radius: 2px !important;
}

.layui-layer {
    border-radius: 2px !important;
}*/

.layui-layer-title {
    /*background-color: #1f2640 !important;
    color: #c2c7d0 !important;
    border-bottom: 1px solid #323b5e !important;
    border-radius: 0 !important;*/
}

.layui-layer-setwin .layui-layer-min cite {
    /*background-color: #c1c6cf !important;*/
}

.layui-layer-setwin .layui-layer-min:hover cite {
    /*background-color: #55aae4 !important;*/
}

/* error box */
.main-error {
    position: absolute;
    z-index: 9999;
    width: 400px;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-size: 12px;
    left: 50%;
    top: 30%;
    margin-left: -200px;
    padding: 12px;
    box-shadow: 0 10px 20px 1px rgba(0, 0, 0, 0.4);
    display: none;
    overflow: auto;
}

.main-error .close-x {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: #676767;
    border-radius: 100px;
    color: #fff;
    font-weight: lighter;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    user-select: none;
    box-shadow: 0 0 5px #333333;
}

.main-error .close-x:hover {
    background-color: #ff5533;
    color: #ffffff;
}

.main-error .title-x {
    height: 36px;
    line-height: 36px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(80, 80, 80, 0.8);
    color: #ffffff;
    font-size: 14px;
    text-indent: 15px;
    font-weight: bold;
}

.main-error .info-x {
    padding: 40px 5px;
}

/* loading */
.main-loading {
    width: 100px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 9999;
    left: 50%;
    top: 50%;
    margin-top: -50px;
    margin-left: -50px;
    overflow: hidden;
    border-radius: 10px;
}

.sk-circle {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    position: relative;
}

.sk-circle .sk-child {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-circle .sk-child:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
    animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}

.sk-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* map box */
.dev-group-box {
    width: 100%;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.9);
    height: 100%;
    position: relative;
    z-index: 999;
    left: 0;
    top: 0;
    overflow: hidden;
    box-shadow: 0 0 3px 1px rgba(100, 100, 100, 0.1);
}

.dev-group-box .in {
    color: #565656;
    font-size: 13px;
    font-weight: normal;
    position: relative;
}

.custom-control-label::before {
    /*top: 0.15rem !important;*/
}

.custom-control-label::after {
    /*top: 0.15rem !important;*/
}

.dev-list-search {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.map-toggle {
    width: 24px;
    height: 24px;
    position: absolute;
    z-index: 2;
    right: 5px;
    top: 5px;
    background-color: #e8e8e8;
    text-align: center;
    border-radius: 100px;
    color: #afafaf;
    cursor: pointer;
    line-height: 24px;
}

.table-blue-hover > tbody > tr:hover > td {
    cursor: pointer;
    background-color: #e5f2f6 !important;
}

.table-header-bg > thead > tr > th {
    background-color: #f1f4f6 !important;
}

/* table dev main */
.table-master {
    margin: 0;
    padding: 0;
    width: 100%;
    border: 1px solid #e8e8e8;
    border-collapse: collapse;
}

.table-master > thead > tr > th {
    padding: 4px 8px;
    background-color: #f1f4f6;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.table-master > thead > tr > th:last-child {
    border-right: none;
}

.table-master > tbody > tr > td {
    padding: 8px 8px;
    border-top: none;
    position: relative;
    border-bottom: 1px solid #e8e8e8;
}

.table-master > tbody > tr > td:last-child {
    border-right: none;
}

.sub-table-div {
    padding: 5px;
}

.table-sub {
    margin: 0;
    padding: 0;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    width: 100%;
}

.table-sub > thead > tr > th {
    padding: 4px 6px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e8e8e8;
}

.table-sub > tbody > tr > td {
    padding: 5px;
    border-top: none;
    border-bottom: 1px solid #e8e8e8;
}

.sub-dev-field {
    background-color: #f1f4f6;
    border-radius: 4px;
    padding: 10px 10px;
    width: 100%;
}

.sub-dev-field > legend {
    font-size: 14px;
    font-weight: bold;
    width: auto;
    background-color: #ffffff;
    border: 1px solid #dedede;
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 0;
}

.card-meta {
    height: 30px;
    clear: both;
    position: relative;
    width: 100%;
    text-align: center;
}

.card-meta > span {
    display: inline-block;
    margin: 0 auto;
    padding: 2px 14px;
    background-color: #f8f8f8;
    position: relative;
    z-index: 10;
    font-weight: normal;
    color: #333333;
    border-radius: 4px;
}

.card-meta:after {
    position: absolute;
    display: block;
    border-bottom: 1px solid #e8e8e8;
    width: 100%;
    content: "";
    top: 12px;
    z-index: 1;
}

.example-input {
    display: none;
}

.prop-line {
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}

.param-block {
    padding: 5px;
    background-color: transparent;
    border-radius: 4px;
}

.min-and-max {
    display: none;
}

.table-info-line {
    width: 300px;
    overflow: hidden;
    display: inline-block;
    height: 24px;
    line-height: 24px;
    padding: 0 4px;
    margin: 0;
    font-weight: normal;
    font-size: 12px;
    background-color: #a0dccb;
    border-radius: 4px;
    text-overflow: ellipsis;
    word-break: keep-all;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
}

.table-info-span {
    display: block;
    overflow: hidden;
    width: inherit;
    height: inherit;
    text-overflow: ellipsis;
}

.dev-trigger-list {
    border: 1px solid #7e7e7e;
    border-radius: 6px;
    width: 100%;
    height: 140px;
    overflow: auto;
    background-color: #ffffff;
    padding: 12px;
}

.unit-select {
    position: relative;
    height: 100%;
    z-index: 1;
    width: 180px;
}

.dec-info-div {
    width: auto;
}

.dec-info-div > p {
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.form-bottom-div {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 53px;
    background-color: #ffffff;
    text-align: center;
    padding-top: 10px;
    box-shadow: 0 2px 5px 3px rgba(200, 200, 200, 0.4);
    z-index: 20;
}

.form-bottom-div > button {
    margin: 0 5px;
}

.dev-type-name {
    font-size: 12px;
    color: #909090;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
    border: 1px solid #dedede;
    background-color: #ffffff;
    padding: 0 4px;
    border-radius: 100px;
}

.tr-dev-active {
    position: absolute;
    right: 4px;
    top: 20px;
    width: 40px;
    height: 40px;
    display: block;
    z-index: 2;
    line-height: 40px;
    font-size: 18px;
    text-align: center;
    color: #787878;
}

.tr-dev-active.online {
    color: #00b44e;
}

.toggle-label {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 4px 6px;
    cursor: pointer;
}

.toggle-label:hover {
    background-color: #1babe0;
    color: #ffffff;
}

.toggle-label.active {
    background-color: #1babe0;
    color: #ffffff;
}

.gray {
    color: #909090;
}

.gray-option {
    color: #afafaf;
}

.info-box-content {
    padding: 0 !important;
}

.trigger-list-div {
    height: 383px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px;
    background-color: #f1f4f6;
}

.info-box {
    cursor: pointer;
}

.info-box:hover {
    background-color: #feffed !important;
}

.info-box .li-div {
    clear: both;
    width: 100%;
    margin: 4px 0;
    text-overflow: ellipsis;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
}

.info-box .btn-div {
    position: absolute;
    right: 5px;
    top: 5px;
}

.table-trigger-div {

}

.table-trigger-div .item {
    font-size: 12px;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 6px 8px;
    box-shadow: 0 0 2px #afafaf;
    color: #898989;
    margin-bottom: 8px;
}

.table-trigger-div .item:last-child {
    margin-bottom: 0;
}

.table-trigger-div .li-div.title {
    font-size: 13px;
    color: #333333;
    margin-bottom: 4px;
}

.dataTables_info {
    float: left !important;
    padding: 0 !important;
    margin: 8px 20px 0 0 !important;
    color: #787878;
}

.dataTables_length {
    float: left !important;
    padding: 0 !important;
    margin: 4px 0 0 0 !important;
    color: #787878;
}

.dataTables_length > label {
    margin: 0 !important;
}

.dataTables_paginate {
    float: right !important;
    padding: 0 !important;
    margin: 4px 0 0 0 !important;
}

.dataTables_paginate .pagination {
    margin: 2px 0 !important;
}

table.hover-blue > tbody > tr:hover td {
    background-color: #f6fcfd !important;
}

table.hover-blue > tbody > tr.active td {
    background-color: #f6fcfd !important;
}

table.hover-blue {
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.empty-img {
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 50%;
    margin-top: -64px;
    margin-left: -64px;
    display: none;
    background: transparent;
}

.nav-icon-2 {
    font-size: 16px;
    margin-left: 10px;
    width: 1.2rem;
}

.nav-icon-3 {
    font-size: 15px;
    margin-left: 12px;
    width: 1rem;
}

.nav-legacy > .nav-item > .nav-link.active {
    background-color: #4e7ae0 !important;
    color: #ffffff !important;
}

[data-sub="true"].nav-link.active {
    color: #6bfedd !important;
}

.nav-legacy > .nav-item > .nav-link.active > .nav-icon-2 {
    margin-left: 6px;
}

.mark-tip {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    color: #e2a83e;
    cursor: help;
    position: relative;
}

.trigger-empty {
    text-align: center;
    color: #ff5500;
    margin: 20px 0;
}

.warn-red-tr > td {
    color: #ff5500;
}

.sub-p-span{
    display: inline-block;
    font-size: 12px;
    padding: 1px 3px;
    margin: 0 2px 0 0;
    border: 1px solid #c1e8e8;
    background-color: #edf9f9;
    border-radius: 4px;
}

.panel-toggle{
    height: 50px;
    width: 8px;
    border-radius: 50px;
    background-color: #d0d0d0;
    position: absolute;
    z-index: 99;
    left: -4px;
    top: 300px;
}

.panel-toggle:before{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -6px;
    margin-top: -3px;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    border-left: 4px solid transparent;
    border-right: 4px solid #ffffff;
    content: "";
}

.panel-toggle.open:before{
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    border-left: 4px solid #ffffff;
    border-right: 4px solid transparent;
    margin-left: -2px;
}

.panel-toggle:hover{
    background-color: #0a67fb;
    cursor: pointer;
}

.form-group{
    margin-bottom: 0.2rem;
}
