/* 字体相关 */
/* 定义中文字符使用的字体 */
@font-face {
    font-family: 'ChineseFont';
    src: local('Microsoft YaHei'); /* 或者指向字体文件的URL */
    unicode-range: U+4E00-9FFF; /* 中文字符范围 */
}
/* 定义英文和数字使用的字体 */
@font-face {
    font-family: 'LatinDigitsFont';
    src: local('DejaVuSansMono'), local('Microsoft YaHei'); /* 英文字体 */
    unicode-range: U+0030-0039, U+0041-005A, U+0061-007A; /* 数字 0-9 和拉丁字母 A-Z a-z */
}
/* 定义空格使用的字体 */
@font-face {
    font-family: 'SpaceFont';
    src: local('Microsoft YaHei'); /* 指向您想要为空格使用的字体 */
    unicode-range: U+0020; /* 空格字符 */
}

/* 全局页面相关 */
body {
    /* 统一字体 */
    font-family: 'ChineseFont','LatinDigitsFont','SpaceFont' !important;
    /* 一般浏览器中都对body标签进行默认的margin设置为8px，当然，不同的浏览器会设置成不同的值 */
    margin: 0;
    padding: 0;
    font-size: 16px;
    overflow: hidden;
    background-color: #efefef; /* 默认背景色 */
    color:#646464; /* 默认字体颜色 */
    /* 触发硬件加速 */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);

    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* 动画相关 */
/* 旋转动画class */
.roate_loading{
    animation: animation_loading 3s linear infinite;
    margin: 0px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 旋转动画 */
@keyframes animation_loading {
    from {
        transform: rotateZ(0deg);
    }
    to {
        transform: rotateZ(360deg);
    }
}

/* Upmore滚动条框架 */
/* Upmore滚动条框架-无滚动条 */
.upmore_scroll_div{
    /* max-height: 40vh; */
    overflow-y: scroll;
    box-shadow: rgb(221, 221, 221) 0px 0px 4px 0px inset;
    background-color: #fafafa;
    border-radius: 3px;
}
.upmore_scroll_div::-webkit-scrollbar {
    display: none;
    /* width: 3px;     竖向滚动条生效 */
    /* height: 6px;    横向滚动条生效 */
    /* border-left: 1px solid #bb663e4d; */
    /* box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); */
    /* background-color: #a6a5a5; */
}

.upmore_scroll_div::-webkit-scrollbar-thumb {
    /* background: grey; */
    border-radius: 8px;
}

.upmore_scroll_div::-webkit-scrollbar-thumb:hover {
    /* background: grey; */
    cursor: pointer;
    border-radius: 8px;
}

.upmore_scroll_div::-webkit-scrollbar-button {
    display: none;
}

.upmore_scroll_div::-webkit-scrollbar-corner {
    display: none;
}

.upmore_scroll_div::-webkit-resizer {
    display: none;
}
/* Upmore滚动条框架-有滚动条 */
.upmore_scroll_div_with_scrollbar{
    /* max-height: 40vh; */
    overflow-y: scroll;
    box-shadow: rgb(221, 221, 221) 0px 0px 4px 0px inset;
    background-color: #fafafa;
    border-radius: 3px;
}
.upmore_scroll_div_with_scrollbar::-webkit-scrollbar {
    width: 3px;     /* 竖向滚动条宽度 */
    height: 3px;    /* 横向滚动条高度 */
    /* border-left: 1px solid #bb663e4d; */
    /* box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); */
    /* background-color: #a6a5a5; */
}

.upmore_scroll_div_with_scrollbar::-webkit-scrollbar-track {
    display: none;
    /* background-color: #e7e7e7; */
}

.upmore_scroll_div_with_scrollbar::-webkit-scrollbar-thumb {
    background: #b27c37;
    border-radius: 8px;
}

.upmore_scroll_div_with_scrollbar::-webkit-scrollbar-thumb:hover {
    cursor: pointer;
    border-radius: 8px;
}

.upmore_scroll_div_with_scrollbar::-webkit-scrollbar-button {
    display: none;
}

.upmore_scroll_div_with_scrollbar::-webkit-scrollbar-corner {
    display: none;
}

.upmore_scroll_div_with_scrollbar::-webkit-resizer {
    display: none;
}

/* 文本相关 */
/* 不换行文本 */
.nowrap_text{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
/* 可复制项 */
.copy_line{
    border-bottom: 1px solid #ff000000;
    /* border-bottom: 1px solid #6ca49300; */
}
.copy_line:hover{
    color: #6b9185;
    border-bottom: 1px solid #6b9185;
    cursor: pointer;
}
/* 空数据颜色 */
.empty_data_color{
    color: #cfcaca;
}
/* 在线颜色 */
.online_device_color {
    color: #6dab6d;
}
/* 离线颜色 */
.offline_device_color {
    color: #907171;
}
/* 警告数据颜色 */
.warning_data_color {
    color: #907171;
}

/* Upmore表单 */
/* Upmore表单-外部框架 */
.upmore_form {
    width: calc(100% - 20px);
    padding: 0px 10px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    /* box-shadow: rgb(221, 221, 221) 0px 0px 4px 0px inset;
    background-color: #ffffff;
    border-radius: 3px; */

    font-family: "黑体";
    font-size: 1em;
}
/* Upmore表单-表单组 */
.upmore_form .upmore_form_group {
    width: calc(100% - 20px);
    padding: 0px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}
.upmore_form .upmore_form_group:last-child {
    margin-bottom: 0px;
}
/* Upmore表单-表单组-标题 */
.upmore_form .upmore_form_group .upmore_form_group_title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0px;
    width: 100%;
    font-family: "黑体";
    background-color: #afaeae;
}
/* Upmore表单-表单组-单项 */
.upmore_form .upmore_form_group .upmore_form_item {
    margin-top: 15px;
    width: 100%;
    color: gray;
    display: flex;
    align-items: flex-start;
    flex-flow: column;
}
.upmore_form .upmore_form_group .upmore_form_item:first-child {
    margin-top: 0px;
}
/* Upmore表单-表单组-单项标题 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_title {
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
/* Upmore表单-表单组-单项标题-主内容 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_title .upmore_form_item_title_main {
    font-weight: 700;
    white-space: nowrap;
}
/* Upmore表单-表单组-单项标题-必填 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_title .upmore_form_item_title_required {
    color: #ba2525;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Upmore表单-表单组-单项标题-描述 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_title .upmore_form_item_title_explain {
    color: #ca6d1d;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .85em;
}
/* Upmore表单-表单组-单项标题-内容 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_content {
    width: calc(100% - 20px);
    word-break: break-all;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 10px;
}
/* Upmore表单-表单组-单项标题-内容-输入框 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_content>input {
    outline-style: none;
    border: 1px solid #c0c4cc;
    border-radius: 3px;
    width: 100%;
    height: 3em;
    padding: 5px 15px;
    box-sizing: border-box;
    font-family: 'DejaVuSansMono', 'Microsoft soft';
}
/* Upmore表单-表单组-单项标题-内容-输入框-聚焦 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_content>input:focus {
    border-color: #f07b00;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), #f07b00;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), #f07b00;
}
/* Upmore表单-表单组-单项标题-内容-输入框-缩略信息 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_content>input::-webkit-input-placeholder {
    color: #afaeae;
}
/* Upmore表单-表单组-单项标题-内容-自定义按钮 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_content>.upmore_form_item_content_custom_button {
    width: max-content;
    height: calc(3em - 2px);
    border-radius: 0px 3px 3px 0px;
    padding: 0px 10px;
    margin: 0;
    box-sizing: border-box;
    font-family: 'DejaVuSansMono', 'Microsoft soft';
}
/* Upmore表单-表单组-单项标题-内容-ElementUI选择框 */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_content>.el-select {
    outline-style: none;
    border: 1px solid #c0c4cc;
    border-radius: 3px;
    width: 100%;
    height: 3em;
    padding: 5px 15px;
    box-sizing: border-box;
    font-family: 'DejaVuSansMono', 'Microsoft soft';
}
/*  Upmore表单-表单组-单项标题-内容-ElementUI选择框-EXTRA */
.upmore_form .upmore_form_group .upmore_form_item .upmore_form_item_content>.el-select .el-select__wrapper {
    box-shadow: none;
    padding: 0;
}

/* Upmore提示消息 */
.upmore_hint_message {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
    font-size: 0.9em;
    color: #e27416;
}

/* 时间快速选择栏 */
.time_quick_select{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
/* 时间快速选择栏-单项 */
.time_quick_select > .time_quick_select_item{
    padding: 5px 10px;
    border: 1px solid #d2d2d2;
    border-radius: 5px;
    margin: 5px 5px 0px 0px;
    cursor: pointer;
}
/* 时间快速选择栏-单项-悬浮 */
.time_quick_select > .time_quick_select_item:hover{
    background-color: #409eff !important;
    color: white !important;
    border: 1px solid #409eff !important;
}
/* 时间快速选择栏-单项选中 */
.time_quick_select > .time_quick_select_item_selected{
    background-color: #409eff !important;
        color: white !important;
        border: 1px solid #409eff !important;
}

/* ElementUI-Loading */
.el-loading-mask.is-fullscreen{
    width: 100vw;
}
/* ElementUI弹框全屏宽度 */
.el-overlay{
    width: 100vw;
}
.el-overlay-dialog{
    width: 100vw;
    overflow: hidden !important;
}
.el-overlay.el-modal-dialog {
    width: 100vw;
    overflow: hidden !important;
}
/* ElementUI级联选择器 */
/* .custom-cascader{
    border: 1px solid red;
    width: 100%  !important;
} */
/* ElementUI级联选择器-选中单选label的时候勾选前面的单选框 */
.custom-cascader .el-cascader-node .el-radio {
    width: calc(100% - 30px - 20px) !important;
    height: 100% !important;
    z-index: 10 !important;
    position: absolute !important;
}
.custom-cascader .el-cascader-node .el-cascader-node__label {
    margin-left: 1em !important;
}
/* ElementUI级联选择器-选中单选label的时候勾选前面的多选框 */
.custom-cascader .el-cascader-node .el-checkbox {
    width: calc(100% - 30px - 20px) !important;
    height: 100% !important;
    z-index: 10 !important;
    position: absolute !important;
}
.custom-cascader .el-cascader-node .el-cascader-node__label {
    margin-left: 1em !important;
}

/* ElementUI-V2虚拟化选择器 */
.custom_el_select_v2 {
    padding: 0px 10px 0px 10px !important;
}
.custom_el_select_v2 > .el-select-dropdown > .el-vl__wrapper > .el-select-dropdown__list > ul > li {
    padding: 0 !important;
    border-bottom: 1px solid #f2f1f183 !important;    
}
.custom_el_select_v2 > .el-select-dropdown > .el-vl__wrapper > .el-virtual-scrollbar {
    right: -7px !important;
}

/* ElementUI-外部框架-菜单栏折叠的Popper */
.menu_popper{
    background-color: #393939;
    border: 1px solid #393939;
    border-radius: 5px;
}
.menu_popper > .el-menu {
    background-color: #393939;
    color: white !important;
    padding: 0;
    min-width: 120px;
}
.menu_popper > .el-menu > li{
    --el-menu-hover-bg-color: #7b7b7b;
    color: white !important;
}
.menu_popper > .el-menu > li > .el-sub-menu__title{
    color: white !important;
}
.menu_popper > .el-menu > .is-active{
    font-weight: bold;
    color: orange !important;    
}

/* ElementUI-时间线-UI列表 ->高度设定 不然scroll的父框架滚动不全 */
.el-timeline{
    height: -webkit-fill-available;
    padding-inline-start: 0px !important;
}
/* ElementUI-时间线-UI列表-单项时间点 */
.el-timeline-item__node{
    width: 6px !important;
    height: 6px !important;
    left: 2px !important;
}

/* ElementUI-消息框内容 */
.el-message-box__message{
    width: 100%;
}