    padding-top: 1/@px-unit !important;
}

.m-pt-3 {
    padding-top: 3/@px-unit !important;
}

.m-pt-5 {
    padding-top: 5/@px-unit !important;
}

.m-pt-8 {
    padding-top: 8/@px-unit !important;
}

.m-pt-10 {
    padding-top: 10/@px-unit !important;
}

.m-pt-15 {
    padding-top: 15/@px-unit !important;
}

.m-pt-20 {
    padding-top: 20/@px-unit !important;
}

.m-pt-35 {
    padding-top: 35/@px-unit !important;
}

/* padding-bottom */
.m-pb-0 {
    padding-bottom: 0 !important;
}

.m-pb-2 {
    padding-bottom: 2/@px-unit !important;
}

.m-pb-8 {
    padding-bottom: 8/@px-unit !important;
}

.m-pb-10 {
    padding-bottom: 10/@px-unit !important;
}

.m-pb-108 {
    padding-bottom: 108/@px-unit !important;
}

.m-pos-abs {
    position: absolute !important;
}

.m-pos-static {
    position: static !important;
}

.m-pos-r {
    position: relative !important;
}

/* top */
.m-top-0 {
    top: 0 !important;
}

.m-top-10 {
    top: 10/@px-unit !important;
}

.m-top-72 {
    top: 72/@px-unit !important;
}

.m-top-90 {
    top: 90/@px-unit !important;
}

.m-top-130 {
    top: 130/@px-unit !important;
}

/* bottom */
.m-bottom-0 {
    bottom: 0 !important;
}

.m-bottom-2-4 {
    bottom: 2.4/@px-unit !important;
}

.m-bottom-3 {
    bottom: 3/@px-unit !important;
}

/* left */
.m-left-0 {
    left: 0 !important;
}

.m-left-10p {
    left: 10% !important;
}

/* right */
.m-right-16 {
    right: 16/@px-unit !important;
}

.m-right-84 {
    right: 84/@px-unit !important;
}

.m-right-124 {
    right: 124/@px-unit !important;
}

.m-topmax {
    z-index: 10004 !important;
}

.m-float-none {
    float: none !important;
}

.m-float-left {
    float: left;
}

.m-float-right {
    float: right !important;
}

.m-clear-both {
    clear: both;
}

.m-clearfix:after {
    content: '\20';
    display: block;
    height: 0;
    clear: both;
}

.m-hor-center {
    position: absolute;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    -webkit-transform: translate3d(-50%, 0, 0);
}

.m-ver-center {
    position: absolute;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    -webkit-transform: translate3d(0, -50%, 0);
}

.m-hor-ver-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    -webkit-transform: translate3d(-50%, -50%, 0);
}
/**字体相关*/
.m-fw-normal {
    font-weight: normal !important;
}

.m-fw-bold {
    font-weight: bold !important;
}

.m-fs-small {
    font-size: small;
}

.m-fs-15 {
    font-size: 15/@px-unit;
}

.m-fs-18 {
    font-size: 18/@px-unit;
}

.m-fs-43 {
    font-size: 43/@px-unit;
}

/* line-height */
.m-lh-24 {
    line-height: 24/@px-unit;
}

.m-lh-28 {
    line-height: 28/@px-unit;
}

.m-lh-30 {
    line-height: 30/@px-unit;
}

.m-lh-32 {
    line-height: 32/@px-unit;
}

.m-lh-35 {
    line-height: 35/@px-unit;
}

.m-lh-40 {
    line-height: 40/@px-unit !important;
}

/* 鼠标的css */
/* 默认 箭头 */
.m-cursor-default {
    cursor: default !important;
}

/* 手形 */
.m-cursor-pointer {
    cursor: pointer !important;
}

/* 十字 */
.m-cursor-crosshair {
    cursor: crosshair !important;
}

/* 移动 */
.m-cursor-move {
    cursor: move !important;
}

/* 文本 */
.m-cursor-text {
    cursor: text !important;
}

/* 等待 沙漏 */
.m-cursor-wait {
    cursor: wait !important;
}

/* 帮助 一个问号或者气球 */
.m-cursor-help {
    cursor: help !important;
}

/* 禁用 */
.m-cursor-notAllowed {
    cursor: not-allowed !important;
}

.m-vertical-top {
    vertical-align: top !important;
}

.m-vertical-middle {
    vertical-align: middle !important;
}

.m-vertical-bottom {
    vertical-align: bottom !important;
}

.m-vertical-text-bottom {
    vertical-align: text-bottom !important;
}

.m-text-center {
    text-align: center;
}

.m-text-left {
    text-align: left;
}

.m-text-right {
    text-align: right;
}

.m-inline-block {
    display: inline-block;
}

.m-visibility-hidden {
    visibility: hidden !important;
}

.m-display-hidden {
    display: none !important;
}

.m-display-show {
    display: '' !important;
}

.m-overflow-hidden {
    overflow: hidden !important;
}

.m-overflow-initial {
    overflow: initial !important;
}

.m-opacity-0 {
    opacity: 0;
}

.m-ws-nowrap {
    white-space: nowrap;
}

.m-text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}







/* 指定引用less 防止import报错增加 */
/**
 * main.less规范
 *
 * 1、去除了IPC和IVSS中使用的不知含义的less变量，保留了个别几个必须的变量定义（比如@sdd-web/design中的变量textColorNo5）；
 * 2、变量名命名规范，有状态的必须带上N,A,D（分别代表 Normal， Active,  Disable）
 *    xxxBg[N,A,D]：背景色命名
 *    xxxBorder[N,A,D]：Border命名
 *    xxxSvg[N,A,D]：Icon命名
 *    xxxText[N,A,D]： 字体色命名
 *    xxxDivider： 分割线命名 *      
 * 3、采用4.0的变量归类方式，一种是组件类，一种是模块类；变量必须明确注释或明了每个变量实际控制的组件或具体业务地方 ；
 * 4、main.less中组件模块常见的颜色定义尽量采用less引用方式， 减少换肤时颜色的定义 ，关注定制的便捷性以及换肤速度；
 *
**/

/** 
 * 页面长度使用规则
 * 1.禁止使用px和rem作为单位，包括border的宽度
 * 2.使用 px/@px-unit 换算成rem：比如常规分辨率下是100px，在less中写100/@px-unit
 * 3.使用前先impot基础less变量：
 * 4.@px-unit的数值和@font-size-base的数值相同
*/





// .aa(@--bg);
@base-rem-size-sm: 12px; // 1280以下默认大小
@base-rem-size: 14px; // 正常分辨率大小 3000px以上分辨率为2倍

@px-unit: 14rem; //字体大小（px）+单位,用于后面计算rem


/* 以下是调整后最新定义 */
//主体通用
@current: @--primary-6; //主色系
/* extract(if((@luma >= 0.6), @lightFont, @deepFont), 2) */
@pageTextN: .color_N(@--bg)[]; //1 常规文字颜色 (tbtext, label组件文字颜色,表格单元格默认文字,droplist下拉文字颜色 button组件默认字体) 2预览左侧通道列表默认字体
/* sddxx是基础组件内部用的，根据实际情况给默认值 */
@SddFontNormalColor:@pageTextN;
@SddNumberLimitRangeColor:@pageTextN;

@pageTextA: .color_A(@--bg)[]; // 悬浮文字， 表单输入框文字颜色
@pageTextD: .color_D(@--bg)[]; // 文字禁用颜色
@successColor: @--success-6; //成功的文字提示
@warningColor: @--warning-6; //警告的文字提示
@anchorTextN: @pageTextN; //超链接字体颜色
@anchorTextA: @--primary-5; //超链接Hover字体颜色
@mainPageSvgN: @pageTextN; // 用于设置页面单色图标色 (图标的hover默认为@current， disabled通过opacity: .5处理)
@pageBorderN: @--split; // 表格边框和类似于表格区域的边框颜色（1、视频码流主辅码流边框色、中间分割线背景色;2、panelBody页面panel增加边框时的背景色）
@pageBorderD: @pageBorderN;
@dropMenuBorder: @--split; //菜单下拉的弹出框边框
@dividerColor: @--split; //分割线的颜色，包括主页菜单底部分割线的颜色和弹框底部的分割线两个，设置边框线
@red: #ff0000;

/* svg 颜色控制 */
@pdEyeIconA: @current; // 登录框显示密码时的eyeIcon颜色以及用户名密码图标
@iconColorN: @pageTextN; // 默认图标颜色
@iconColorD: .color_D(@--bg)[]; // 图标置灰颜色
@iconColorA: @--primary-5; // 页面hover的图标
@homeTaskIconColorA: @--primary-5; // 任务栏上悬浮后的图标颜色
@iconLinearStartColorN: #ffffff; // 线性起始渐变色
@iconBgColor: #ffffff; // 图标背景色（固定）
@iconLinearStopColorN: @pageTextN; // 线性起始渐变色
@iconLinearStartColorA: @--primary-6; // 线性起始渐变色
@iconLinearStopColorA: @current; // 线性起始渐变色
// @iconBgN: #32373c; // 图标的背景色 （智能方案需要自己增加背景色 .svgBg） 使用 @buttonNormalBgN 代替了
// @iconBorderN: #666b74; // 图标的边框色（和@iconBgN配合起来使用 智能方案图标）
@iconActiveWifi: #0f0; // wifi信号激活颜色
@iconNolmal: #468429; // wifi信号激活颜色
@iconFail: #cd8b0f; // wifi信号激活颜色
@iconHover: @--warning-5; // Acupick详情页面收藏图标悬浮颜色

// 结束颜色
@pageBodyBg: @--bg; //主体背景色
@theme: 'deep'; //主题类型
@themeMainViewurlproject:'resource';/* 主界面的图片路径（基线不用修改） */
@themeMainImage:'login_bg_@{theme}'; /* 主界面的图片名称 */

/**组件类变量 start**/
// slider
@sliderBgN: @--block; //slider未拖动部分背景色
@sliderBgA: @--block; //slider未拖动部分悬停背景色
@sliderTrackN: @current; //slider已拖动部分背景色
@sliderRailA: @--primary-5; //slider未拖动部分悬停的背景色
@sliderTrackA: @--primary-5; //slider已拖动部分悬停的背景色
// 输入框表单的颜色
@formInputBgN: @--component-bg;
@formInputBgD: @--component-bg-disable;
@formInputBgA: @--primary-5;
@formInputBoderN: @pageBorderN;
@formInputBoderD: @pageBorderD;
@formInputBorderA: @--primary-5;
@formInputTextN: .color_A(@--bg)[];
@formInputTextD: @pageTextD;
@formInputSvgN: .color_N(@formInputBgN)[];
@formInputSvgA: @--primary-5;
@formInputSvgD: @pageTextD;
@numberInPutHandleBgA: @pageBodyBg; //数字输入框右侧按钮的背景色
@numberInPutHandleBoderA: @formInputBoderN;
@formInputDropDownBgN: @formInputBgN; // 下拉框DropDown内容的背景色
@formInputDropDownTextN: @pageTextN; // 下拉框DropDown内容的文字色
@formInputDropDownBgA: transparent; // 悬浮时候的背景色(同当前选中时候背景色)
@formInputDropDownBgSel:@--option-bg-select;//下拉框选中的背景色
@formInputDropDownTextSelectN: .color_N(@formInputDropDownBgSel)[]; //下拉框选中时的文字颜色
@formInputSwitchBgN:@--font-s;// switch组件常态背景色

@formRadioBorderN: .lumaColorSelect(@pageBodyBg, @--font-r, @--font-r-l)[]; // Radio 常态时的边框色（调整为与checkbox一致）
@formCheckboxBorderD: @--placeholder; // Checkbox禁用时的颜色(8/23日部分定制存在问题，UI沟通后调整)
@formCheckboxBorderN: .lumaColorSelect(@pageBodyBg, @--font-r, @--font-r-l)[]; //checkbox比较特殊，只有一个框没有内容，所以考虑不和组件的变量一致
@formCheckboxBorderA: @formInputBorderA; // Checkbox选中后的颜色
@formCheckboxBgA:@formInputBgN;//选中后的背景色

//表格定义
@tableHeadTextN: .color_A(@--bg)[]; //标题文字色(默认同标准文字色)
@tableBgN: @formInputDropDownBgN; //标题背景色 (与人脸特征信息背景色相同,2:视频码流主辅码流panel头部背景色, 3:区域参数头部背景色)
@tableTextN: @pageTextN; // 表格内容默认文字色
@tableTextA: @tableHeadTextN; // 选中时的文字颜色(默认同悬浮文字颜色)
@tableOddBgN: @--bg; ///奇数行背景色
@tableEvenBgN: @--component-bg-disable; //偶数行背景色
@tableBgA: @--option-bg-select; //选中行背景色
@tableBgD: @tableOddBgN; //表格中选中行被禁用的下拉框的背景色,默认同奇数行背景色
@tableBorderN: @pageBorderN; //表格边框

//pagination  todo 待验证
@paginationTextN: @pageTextN;
@paginationTextA: @--primary-5;
@paginationInputTextN: @pageTextN;
@paginationBg: @pageBodyBg;
@paginationBorderA: @--primary-5;

//progress 已确认
@progressBg: @--block;
@progressText: @pageTextN;
@progressBgA:@--primary-6;/* 进度条走过的背景色 */
//button todo 待验证
@buttonNormalBgN: @--component-bg;
@buttonNormalBgD: @buttonNormalBgN;
@buttonNormalTextN: .color_N(@buttonNormalBgD)[];
@buttonNormalTextA: .color_A(@buttonNormalBgN)[];
@buttonNormalTextD: .color_D(@buttonNormalBgN)[];
@buttonNormalBorderN: @pageBorderN;
@buttonNormalBorderD: @buttonNormalTextD;
@buttonActiveBgN: @--primary-6;
@buttonActiveBgD: @buttonNormalBgD;
@buttonActiveBgA: @--primary-5;/* 确认按钮悬浮颜色 */
@buttonActiveTextN: .color_A(@buttonActiveBgN)[];
@buttonActiveTextD: @buttonNormalTextD;
@buttonActiveBorderN: @buttonActiveBgN;
@buttonActiveBorderD: @buttonActiveTextD;

@buttonTestBgN: @buttonNormalBgN;
@buttonTestBgH: @buttonTestBgN;
@buttonTestBgA: @--success-7;
@buttonTestBgD: @buttonNormalBgN;
@buttonTestTextN: @--success-6;
@buttonTestTextH: @--success-6;
@buttonTestTextA: .color_A(@buttonTestBgA)[];
@buttonTestTextD: .color_D(@buttonNormalBgN)[];
@buttonTestBorderN: @--success-6; // 沟通不用--success-border
@buttonTestBorderH: @--success-5;
@buttonTestBorderA: @buttonTestBgA;
@buttonTestBorderD: @buttonNormalTextD;

@buttonDangerBgN: @buttonNormalBgN;
@buttonDangerBgH: @buttonDangerBgN;
@buttonDangerBgA: @errorColor;
@buttonDangerBgD: @buttonNormalBgN;
@buttonDangerTextN: @errorColor;
@buttonDangerTextH: @--error-6;
@buttonDangerTextA: .color_A(@buttonDangerBgA)[];
@buttonDangerTextD: @buttonNormalTextD;
@buttonDangerBorderN: @errorColor;
@buttonDangerBorderH: @--error-5;
@buttonDangerBorderA: @buttonDangerBgA;
@buttonDangerBorderD: @buttonNormalBorderD;

//tab
@tabBgN: @--title;
@tabBgA: @--primary-6;
@tabTextN: .color_N(@--title)[];
@tabTextA: .color_A(@--primary-6)[];
@tabBorder: @--split;
@topTabBgN: @--block;//顶部导航默认背景色
@topTabBgA: @--navTitle-bg; //顶部导航选中背景色
@topTabTextA: .color_A(@topTabBgA)[];//顶部导航栏选中文字
@topTabTextN: .color_A(@topTabBgN)[];//顶部导航栏常规文字
//collapse
// @collapseText: @pageTextN;
// @collapseBorder: @pageTextN;
// @collapseBg: @setUpContentBg;

//modal
@modalBg: @--bg;
@modalBorder: @--split;
@modalContentText: @pageTextN;
@modalTitleBg: @--navTitle-bg;
@modalTitleText: .color_A(@modalTitleBg)[];;
@modalTitleBorder: @modalBorder;
@modalFooterBg: @modalBg;
@modalFooterBorder: @dividerColor;
// 弹窗二维码背景色
@QRCodeBg: #fff;

//popover
@popover_TextN: @pageTextN;
@popover_BgN: @--bg-card;
@popover_BorderN: @dropMenuBorder;

// LabelPasswordCheck
@passwordCheckBg: @--block;
@errorColor: #f5222d; // 失败色
@warnColor: @--warning-6; // 警告色
@successColor: #52c41a; // 成功色

// alarmout弹出框
@subtitleColor: .color_A(@pageBodyBg)[]; // 小标题颜色

/**组件类变量 end**/

/**模块类变量 start**/
//插件
@ocxBg: #000000; //插件背景色
@ocxHeaderBg: #414141; //插件工具条背景色 (插件下无法修改，目前仅对无插件有效)
@ocxBorder: @--split; //插件Border
@ocxDownloadBar:@--block;//下载插件底部弹出条的背景
/*login 登录*/
@loginForgetPwdTextN: .color_S(@pageBodyBg)[]; //登录忘记密码字体颜色（沟通使用说明文字）
@loginForgetPwdTextA: @--primary-5; // 登录忘记密码hover字体颜色
@loginIconSvg: @current; // 登录图标颜色
@loginFormInputBg:@formInputBgN;//登录页面的输入框背景色
@loginFormInputBorder:@formInputBoderN;//登录页面的输入框Border
@loginFormInputText:@formInputTextN;//登录页面输入框文字
@loginPrimaryBtnBg: @buttonActiveBgN; //登录按钮背景色
@loginPrimaryBtnBorder:@buttonActiveBorderN;//登录按钮背边框色
@loginActiveBtnBg:@--primary-5; //登录按钮选中背景色
@loginActiveBtnBorder:@--primary-5; //登录按钮选中边框色

/* 滚动条宽高 */
@scrollbarHeight: 6 / @px-unit;

/*导航*/
@navBg: @--title; //头部导航背景色
@navDivider: @--split; //头部竖直分割线颜色
@navMenuTextN: @pageTextN; // 头部导航栏未激活颜色
@navMenuTextA: @current; // 头部导航栏激活颜色
@navMenuIconSvgN: .color_N(@topTabBgN)[]; //头部箭头导航图标颜色
@navMenuIconSvgA: @--primary-5; //头部箭头导航图标hover颜色
@navMenuBorderN: @dividerColor; // 顶部导航边框色
@navMenuHeight: 38 / @px-unit; //导航整体高度
@navMenuAddScrollHeight: @navMenuHeight + @scrollbarHeight; //导航整体 + 滚动条 高度
@navMenuLineHeight: calc(@navMenuHeight - 1px); //导航条lineHeight的高度
@navMenuFontN:14px;//导航时间文字大小
/**导航下拉菜单**/
@navDropdownMenuBg: @--component-bg; //头部下拉框背景色
@navDropdownMenuTextN: @pageTextN; //头部下拉菜单未激活颜色
@navDropdownMenuTextA: @current; //头部下拉菜单激活颜色
@navDropdownMenuBgA: inherit; //头部下拉菜单激活背景色
@navDropdownMenusvgA:@current;//头部下拉菜单svg激活色
// @navDrop

/*MenuView主页菜单*/
@MenuViewBg: transparent; //主页菜单背景色
@MenuViewBgA: transparent; //主页菜单背景色
@MenuViewItemTitleTextN: @pageTextN; //主页菜单标题字体颜色
@MenuViewItemTitleTextA: .color_A(@--bg)[]; //主页菜单标题Hover字体颜色
@MenuViewItemContentTextN: .color_S(@--bg)[]; //主页菜单详情字体颜色
@MenuViewItemContentTextA: .color_A(@--bg)[]; //主页菜单详情Hover字体颜色
@MenuViewItemShadowA: @--primary-5; //主页菜单选中Shadow
@MenuViewPageSwiperSvgN: @--primary-6; //主页底部的箭头
@MenuViewPageSwiperSvgD: .color_D(@--bg)[]; // 主页底部的箭头 （禁用状态）
@MenuViewPageSwitchSvgN: .color_D(@--bg)[]; //主页菜单下的非当前页圆圈背景色
@MenuViewPageSwitchSvgA: @--primary-6; //主页菜单下的当前页的圆圈背景色
@MenuViewDivideLine: @dividerColor; //主页菜单底部分割线的颜色

/* 预览 */
@preview_Sider_Bg: @--menu-bg; //预览左右背景色
@preview_Left_Bg: @preview_Sider_Bg; //预览左侧背景色
@preview_Right_Bg: @preview_Sider_Bg; //预览右侧背景色
@ocx_Border: @--split; //预览左右两侧分割线颜色(同时关联回放右侧分割线)
@preview_ChnlTextN: .color_N(@preview_Left_Bg)[]; //预览左侧通道列表文字颜色

/*预览底部*/
@mutilPreview_Bg: @popover_BgN; //多画面预览弹出背景色
@mutilPreview_border: @popover_BorderN; //多画面预览弹出边框颜色

/** 预览-语音对讲 */
@talkAndSound_actBorder: @errorColor; // 边框激活颜色
@talkAndSound_defBorder: @buttonNormalBorderN; // 边框默认颜色
@talkAndSound_actBg: @errorColor; // 背景激活颜色
@talkAndSound_defBg: @buttonNormalBgN; // 背景默认颜色
@talkAndSound_actText: @pageTextA; // 文本激活颜色
@talkAndSound_defText: @pageTextN; // 文本默认颜色
/** 预览-紧急录影 */
@urgentRecord_actBorder: @errorColor; // 边框激活颜色
@urgentRecord_defBorder: @buttonNormalBorderN; // 边框默认颜色
@urgentRecord_actBg: @errorColor; // 背景激活颜色
@urgentRecord_defBg: @buttonNormalBgN; // 背景默认颜色
@urgentRecord_actText: @pageTextA; // 文本激活颜色
@urgentRecord_defText: @pageTextN; // 文本默认颜色
/** 预览-云台 */
@ptz_btnBorder: @buttonNormalBorderN; // 云台按钮边框颜色
@ptz_textColor: @buttonNormalTextA; // 云台按钮字体颜色
@ptz_btnBg: @buttonNormalBgN; // 鼠标滑入背景色

/** 预览-快捷预览 */
@fastPreview_btnActBg: @--primary-5; // 按钮默认色
@fastPreview_border: @--component-border; // 边框默认色
@fastPreview_hoverText: @pageTextA; // hover 文本颜色
/** 预览-鱼眼 */
@fisheye_title: @--navTitle-bg; // 鱼眼标题背景色
@fisheye_iconHover: @--primary-5; // 鱼眼按钮移入背景色
@fisheye_actColor: @current; //鱼眼按钮点击后背景色
/** 预览-报警输出*/
@alramOut_actText: @pageTextA; // 报警输出选中文体颜色
@alramOut_actBorder: @current; // 报警输出选中边框颜色

/* 预览-左侧 */
@preview_ChnlBgA: @--bg; //通道悬浮背景色(如果不变色可以使用 inherit)

/* 预览-中间 */
@preview_center_plugin_Bg: #000000; // 视频窗口背景色
@preview_center_bottom_Bg: @--toolbar-bg; //画面分割底部工具栏背景色
@preview_center_popover_ColorA: @--primary-5; //按钮弹框中选项hover时的颜色
@preview_center_separator_ColorN: @pageTextD; //按钮弹框中竖分割线颜色

/* 预览-右侧 */
@preview_right_tabTitle_Bg: @--navTitle-bg; //右侧tab标题的背景色
@preview_right_ptzStep_Bg: @--bg; //右侧云台滑动条部分的背景色
@preview_right_ptzStepMask_ColorN: @pageTextN; //右侧云台滑动条部分的背景色
@preview_right_ptzZoom_Bg: @--bg; //右侧云台矩形按钮的背景色
@preview_right_ptzZoom_border_ColorN: @--split; //右侧云台矩形按钮之间的边框的颜色
@preview_right_ptz_borderBottom_ColorN: @--split; //右侧云台矩形按钮之间的边框的颜色
@preview_right_ptzBg:@--bg;// 监视云台背景

/* AI预览面板样式 */
@aiPanel_title_bg_color: @preview_right_tabTitle_Bg; //Ai 面板标题的背景色
@aiPanel_box_color: #4c4f54; //AI面板每个事件容器的背景色(人像背景色，暂时写死)
@aiPanel_box_bottom-color: @--navTitle-bg; //AI面板每个事件容器的底部背景色
@aiPanel_box_bordere_color: transparent; //AI面板每个事件容器的边框色(不设置)
@aiPanel_info_bg_color: #393c41; //AI面板显示通道时间信息的背景色 (人像svg颜色，暂时写死）
@aiPanel_details_bottom_bg: @--menu-bg; //AI面板详情通道时间信息背景色
@aiPanel_cardBg:@--bg-card; // ai预览上报图卡片背景色
@aiPanel_bg_color: @preview_Right_Bg; //AI面板整体的背景色
@aiSetPanel_bottom_unSelectBg: @--component-bg-disable;// ai预览下方按钮未选中的背景色（与普通按钮区分开）
// @aiPanel_border_selected_color: @current;//AI面板整体的背景色
@winpreview_footer_Bg: @preview_center_bottom_Bg; // 播放小窗口底部按钮的背景色

// 回放
@playback_Right_Bg: @preview_Right_Bg; //回放右侧面板背景色

//设置界面
@setUpBodyBg: @pageBodyBg; //设置界面的主体背景色
@setUpContentBg: @setUpBodyBg; //设置界面的主体背景色
@setUpContentBorder: @dividerColor; // 设置页面的外边框
@setUpDivider: @dividerColor; // 设置页面内容分割线
@CalibrateSub1: #28DA83; //一鱼一球联动颜色
@CalibrateSub2: aqua; //一鱼二球联动颜色
@CalibrateSub3: #F2913E; //一鱼三球联动颜色

/*sideMenu二级导航*/
@SideMenuBg: @--menu-bg; //设置界面的菜单栏背景色
@SideMenuItemBg: @--bg; //二级导航选中色
@SideMenuBorder: @dividerColor; //右侧的border
@SideMenuTextN: .color_N(@SideMenuBg)[]; //设置界面的菜单栏字体颜色
@SideMenuTextA: .color_A(@SideMenuBg)[]; //设置界面的菜单栏Hover字体颜色
@sideMenuItemTextN: .color_N(@SideMenuItemBg)[];// 菜单展开后的文字颜色
@sideMenuItemTextA: .color_A(@SideMenuItemBg)[];// 菜单展开后的文字hover颜色
@SideMenuArrowSvgA: .color_A(@SideMenuBg)[]; //设置界面的子菜单展开的向上箭头
@MenuViewSubItemSvgA: .color_A(@SideMenuBg)[]; // 设置左侧展开菜单模块图标颜色
@SideMenuItemSelectSvgA: @current; // 设置左侧选中菜单项的> 图标
@SideMenuItemSelectTextA:@current; // 设置左侧选中菜单项的文字颜色

/**FixButton**/
@BottomBarBg: @formInputDropDownBgN; //设置界面底部按钮栏背景色
@BottomBarBorder: @dividerColor; //上测的border

/**表格单元格状态**/
@successIcon: #20d878;
@errorIcon: #ff514b;

/**录制计划奇偶行背景色**/
@schedulePlanEvenBg: @--block; // 布撤防计划的奇数行的背景色
@schedulePlanOddBg: @--bg; // 布撤防计划的偶数行的背景色

/**spin**/
@SpinBg: @--bg;
@SpinTextBg: @--block;
@SpinTextA: .color_N(@SpinTextBg)[];

/**录制计划悬浮颜色**/
@timePlanBorderN: .color_S(@pageBodyBg)[];
@planGeneral:.subColor(@general)[@deep];// #2e784f;
@planDetect: .subColor(@detect)[@deep];// #8a8a3d;
@planAlarm: .subColor(@alarm)[@deep];// #822c31;
@planDetectalarm: .subColor(@detectalarm)[@deep];// #906c29;
@planIvs: .subColor(@ivs)[@deep]; //#3c7ea8;
@planPos: .subColor(@pos)[@deep];//#50598a;
@planSmd:.subColor(@smd)[@deep]; //#0ebbaa81;
@planFaceRecognition: .subColor(@faceRecognition)[@deep]; //#ff4bdb81;
/**模块类变量 end**/
/**@sdd-web/design**/
@textColorNo5: @pageTextN; // 正文文字颜色

/**三方库的变量需要如下用标签包裹起来**/
/**antd**/
@font-size-base: 14px;
@font-huge: 20px; //超大字体
// @text-color: @pageTextN;
// @primary-color: @current;
/**antd**/
// antd picker
@PickerHeaderBg: @--navTitle-bg; //dataPicker头部背景颜色
@PickerHeaderTextN: .color_N(@PickerHeaderBg)[]; //dataPicker头部字体颜色
@PickerBodyBg: @--component-bg; //dataPicker主体背景颜色
@PickerBodyTextN: .color_N(@--component-bg)[]; //dataPicker主体字体颜色
@PickerBodyTextA: .color_A(@--component-bg)[]; //dataPicker主体hover字体颜色
@PickerHeaderButtonN: @PickerHeaderTextN; //dataPicker头部按钮颜色
@pickerBorder: @--component-border; //日期组件的边框

/*智能方案*/
@ai_scene_bg: @--menu-bg; //智能方案预置点标题背景色

/*人脸搜索*展示搜索页面的弹窗组件*/
@ai_search_bg: @pageBodyBg; //人脸搜索数据弹窗整体图片数据背景色
@ai_DataItem_bd: @--split; //人脸搜索数据弹窗单个图片数据边框色
@ai_DataItem_bg: @aiPanel_cardBg; //人脸搜索数据弹窗单个图片数据背景色
@ai_progress_default: @progressBg; //人脸搜索数据弹窗单个图片数据进度条背景色
@ai_progress_red: #c45453; //人脸搜索数据弹窗单个图片数据红色进度条颜色
@ai_progress_orange: #d08d42; //人脸搜索数据弹窗单个图片数据黄色进度条颜色
@ai_progress_blue: #3d88bd; //人脸搜索数据弹窗单个图片数据蓝色进度条颜色
@ai_labelCheck_bg: @aiPanel_box_bottom-color; //人脸搜索数据弹窗单个图片数据开始时间与checkbox背景色
@ai_rightPanel_bg: @--menu-bg; //人脸搜索右侧窗口整体背景色
/*车辆检测变量*/
@vehicle_whiteplate_bgColor: #296331; //白名单框背景颜色
@vehicle_whiteplate_borderColor: #1f812b; //白名单框边框颜色
@vehicle_blackplate_bgColor: #940000; //黑名单框背景颜色
@vehicle_blackplate_borderColor: #e20607; //黑名单框边框颜色

@com_facesmallpics_border: @pageBorderN; //人脸小图集合组件边框
@com_detectsmallPic_bd: @pageBorderN; //人脸库检测小图组件边框
@com_detectsmallPic_select_bd: @current; //人脸库检测小图组件选中边框

@com_faceRegister_edit_bg: #000000; //人脸注册组件人脸图片编辑的背景(背景颜色 暂时写死实际还有透明度)
@files_upload_box_bg: @--menu-bg;; //人脸图片批量上传：选择图片/选择文件夹box的背景色
@files_upload_box_border_color: @--split; //人脸图片批量上传：选择图片/选择文件夹box的边框色

/*info中的version页面*/
@achor_infoColor:#ff0000;//info页面是否有新版本字体颜色
@achor_infoHoverColor:#00ff00;//info页面是否有新版本悬浮时字体颜色

/* 辅助色定义 */
@aiDisplayNumCheck:#39d67f;// 智能报表显示数组的checkbox颜色
@scroll_bar_base:.lumaColorSelect(@pageBodyBg,@scroll-bar,@scroll-bar-l)[];
@page_scroll_barH:fadeout(@scroll_bar_base, 50%);
@page_scroll_bar:fadeout(@scroll_bar_base, 75%);
@page_scroll_track:@pageTextD;

/* pos设置页面的颜色 */
@posCheckbox:{
    // 字体颜色 名称和对应的色值
    // 颜色名称(会加到css类名上): 基础背景， 勾勾颜色， hover边框颜色（后面两个颜色可以不指定，不指定则根据规范计算得到对应值）
    white: #ffffff, #A6A6A6, #737373; // 白色
    black: #121212, #737373, #A6A6A6; // 黑色
    red: #fb549c;// 红色
    orange: #f35900; // 橙色
    yellow: #fdfc00; // 黄色
    green: #1ee17f; // 绿色
    dodgerblue: #009cfd; // 蓝色
    pos: #5772ff; // 蓝紫
    purple: #c46cf1; // 紫色
};

/**录像类型颜色定义**/
@general: #39d67f;
@alarm: #ff4f4f;
@detect: #e9d760;
@detectalarm: #f1910a;/* 智能分时的人脸检测共用橙色 */
@ivs: #39adf6;
@jpg: #3ae8f8;
@pos: #788ae3;
@card: #7debf7;
@smd:#0ebba9;
@faceRecognition:#ff4bdb;
@whiteMode: #FFFF00;
/* 回放不同类型录像的颜色 */
@recordBox:{
    general:@general;
    alarm:@alarm;
    detect:@detect;
    detectalarm:@detectalarm;
    ivs:@ivs;
    jpg:@jpg;
    pos:@pos;
    card:@card;
}
.svgFont(@fontSize:30) {
    font-size: if((@fontSize = 0), inherit, @fontSize / @px-unit);
}
/**
Icon组件增加svg 大小设置， 增加hover处理
*@normalColor 默认纯色颜色， 不需要指定为0
*@lineStart 渐变起始颜色
*@lineStop 渐变停止颜色
*/
.svgOut
    (@normalColor:@iconColorN , @lineStart:@iconLinearStartColorN , @lineStop:@iconLinearStopColorN) {
    &:not(.disabled_icons) {
        svg {
            & + {
                path:first-child {
                    fill: if((@normalColor = 0), @iconColorN, @normalColor); // 默认图标颜色
                }
            }
            // 带渐变的默认图标颜色
            & + {
                linearGradient {
                    stop:first-child {
                        stop-color: @lineStart; // 起始渐变色
                    }
                    stop:last-child {
                        stop-color: @lineStop; // 渐变停止色
                    }
                }
            }
        }
    }
}
/* 悬浮后图标样式 */
.svgHover
    (@hoverColor:@--primary-5 , @lineHoverStart:@iconLinearStartColorA , @lineHoverStop:@iconLinearStopColorA) {
    &:not(.disabled_icons):not(.noHover) {
        &.active,
        &:hover {
            svg {
                & + {
                    path:first-child {
                        fill: if(
                            (@hoverColor = 0),
                            @--primary-5,
                            @hoverColor
                        ); // 纯色图标悬浮后的默认颜色
                    }
                }
                /* 悬浮后带渐变效果颜色 */
                linearGradient stop:first-child {
                    stop-color: @lineHoverStart; // 起始渐变色
                }
                linearGradient stop:last-child {
                    stop-color: @lineHoverStop; // 渐变停止色
                }
            }
        }
    }
}
/* 图标禁用颜色 */
.svgDisabled (@disableColor:@iconColorD) {
    svg {
        & + {
            path:first-child {
                fill: @disableColor;
            }
        }
    }
    cursor: not-allowed;
    // opacity: 0.5;
}
/* 设置图标的背景色和边框， 任何一项不需要则指定 0 */
.svgBoder (@borderColor:@buttonNormalBorderN , @bgColor:@buttonNormalBgN) {
    .bg (@color) when (isColor(@color)) {
        background-color: @color;
    }
    .border (@color) when (isColor(@color)) {
        border: 1 / @px-unit solid @color;
    }
    .bg(@bgColor);
    .border(@borderColor);
}
//设置透明度 (0-1)
.opacity (@opacity) {
    @IEOpacity: @opacity * 100;
    -moz-opacity: @opacity;
    opacity: @opacity;
    filter: alpha(opacity= @IEOpacity);
}

.colorSvg (@svgId, @hoverColor:@--primary-5) {
    &:not(.disabled_icons):not(.noHover) {
        &:hover {
            .@{svgId} {
                path {
                    fill: @hoverColor !important;
                }
            }
        }
    }
}
.lumaValue(@bg){
    @redV:red(@bg);
    @greenV:green(@bg);
    @blueV:blue(@bg);
    @lumaV:(@redV * 0.2126 + @greenV * 0.7152 + @blueV * 0.0722) / 255 * 100%;
}
/* 根据背景色亮度情况 返回指定状态的颜色文字 */
.lumaColor(@bg:@--bg, @state){
    /* 深色下的白色文字 */
    @deepFont:@--font-l,@--font-r,@--placeholder,@--font-s;
    /* 亮色下的黑色文字 */
    @lightFont:@--font-l-l,@--font-r-l,@--placeholder-l,@--font-s-l;
    @result:(if((.lumaValue(@bg)[] >= 60%),extract(@lightFont,@state),extract(@deepFont,@state)));
}
/* 根据背景色， 返回使用深色 或浅色 颜色色值 */
.lumaColorSelect(@bg:@--bg, @deepColor, @lightColor){
    @result:(if((.lumaValue(@bg)[] >= 60%),@lightColor,@deepColor));
}

.subColor(@base6){
    @h:hue(@base6);
    @s:round(hsvsaturation(@base6));
    @v:round(hsvvalue(@base6));

    // @s-4:round(@s - (@s / 5)*3);
    // @v-4:round(@v + ((100%- @v) / 5)*3);

    /* hover */
    @s-5:round(@s - @s / 5);
    @v-5:round(@v + (100%- @v) / 5);

    /* click */
    @s-7:round(@s + (100% - @s) / 5);
    @v-7:round(@v - @v / 5);

    /* 8 是checkbox使用的勾勾  */
    @s-8:round(@s + ((100% - @s) / 5) * 2);
    @v-8:round(@v - (@v / 5) * 2);

    // @hover4:hsv(@h,@s-4,@v-4);
    @hover:hsv(@h,@s-5,@v-5);
    @click:hsv(@h,@s-7,@v-7);
    @deep:hsv(@h, @s-8 , @v-8);
}
.color_A(@bg:@--bg){
    .lumaColor(@bg, 1);
}

.color_N(@bg:@--bg){
    .lumaColor(@bg, 2);
}

.color_D(@bg:@--bg){
    .lumaColor(@bg, 3);
}

.color_S(@bg:@--bg){
    .lumaColor(@bg, 4);
}

.colorBox(@colorMap){
    each(@colorMap, {
            @base: extract(@value , 1);
            @base_H: if(length(@value) >= 2 ,extract(@value , 2) ,.subColor(@base)[@hover]);
            @base_C: if(length(@value) >= 3 ,extract(@value , 3) ,.subColor(@base)[@deep]);
            .sdd-checked-@{key} {
                &.ant-checkbox-wrapper:hover .ant-checkbox-inner{
                    /* 去掉通用蓝色 */  
                    border-color: @base_H !important;
                }
                .ant-checkbox-inner {
                    border-color: @base_C !important;
                    background-color: @base !important;
                    &:after{
                        /* 勾勾的颜色 */
                        border-color: @base_C;
                    }
                }
                .ant-checkbox-checked::after{
                    border-color: @base_C !important;
                }
            }
    });
}
@--primary-6:#009CFF; // 品牌色
@--primary-5:#33B0FF; // 品牌色-hover
@--primary-7:#007DCC; // 品牌色-click
// 预览视频底部工具栏背景
// 回放工具栏（播放、暂停、音量调节等）背景
// 时间刻度背景
@--toolbar-bg:#4C5054; // 工具类（视频播放器）背景

// 主界面背景色，时间轴背景色
// 回放日期选择器背景
// 回放通道列表背景
// 表格单数列背景
// 弹窗背景
// 二级菜单选中项背景
// 二级菜单展开菜单背景
@--bg:#2A2E33; 

// 下拉菜单背景
// 回放剪辑器背景
// 常规按钮背景
// checkbox背景
// 单选项背景
@--component-bg:#2a2e33; // 组件背景
@--component-border: #606366; //组件边框
// 表格偶数行背景
@--component-bg-disable:#32373C; // 组件置灰后的背景色

// 表格选中列背景
// 下拉菜单选中列背景
// 预览通道列表悬浮
@--option-bg-select: #55585D; //选中项背景

// 回放右侧功能区背景
// 预览右侧功能区背景
// 预览左侧功能区背景
@--menu-bg:#393c41;//二级菜单背景

// 预览右侧功能区标题栏背景
// 回放右侧功能区标题栏背景
// 表格标题栏背景
// 弹窗标题栏背景
// 顶部导航页签选中背景
@--navTitle-bg:#4c4f54; //标题栏背景
// 表格边框
// 设置页页签栏常规状态边框
// 设置页页签边框
// 设置页底部区域边框
// 预览右侧功能区边框
// 预览底部工具栏边框
// 预览左侧区边框
// 二级菜单边框
// 回放右侧功能区边框
// 回放日期选择器边框
// 回放通道列表边框
// 回放工具栏边框
// 回放时间轴功能区边框
// 顶部导航边框
// 顶部导航页签常规状态边框
// 分割线
// 弹窗边框
// 弹窗底部区域边框
@--split: #606366;//分割线、页面边框
// 浮窗背景
// 卡片背景
@--bg-card: #56585B;//浮窗背景、卡片背景
// 顶部导航页签常规状态
// switch背景常规状态
// 滑动条背景
@--block: #17181C;//覆盖背景

// 设置页页签栏背景
// 设置页页签常规背景
// 设置页底部区域背景
// 弹窗底部区域背景
@--title:#313439; //顶部导航背景

@--font-l:#FFFFFF; //高亮选中文字
@--font-r: #a6aab2; //主要(常规)文字 #FFFFFF,0.65
@--placeholder: #5d6263;//失效（置灰）文字
@--font-s: #7c8284; //次要（说明）文字

@--font-l-l:#000000; //亮色模式--高亮选中文字
@--font-r-l: #262626; //亮色模式--主要(常规)文字 #FFFFFF,0.85
@--placeholder-l: #BFBFBF;//失效（置灰）文字
@--font-s-l: #8C8C8C; //次要（说明）文字

//警告
@--warning-6:#ffd304;// 图标和文字的常规状态
@--warning-border: #B59914; //边框
@--warning-bg: #44422D; //背景
@--warning-5:#ffdc38; //hover
@--warning-7:#cca903; //click

//成功
@--success-6:#29d67d;
@--success-border: #299B64;
@--success-bg: #2A423C;
@--success-5:#4bd690; //hover
@--success-7:#21ab65; //click

//错误
@--error-6:	#ff4f4f;
@--error-border: #B54345;
@--error-bg: #443136;
@--error-5: #ff7272; // hover
@--error-7: #cc3f3f; // click

//页面滚动条
@scroll-bar:rgb(255, 255, 255);// 深色皮肤下页面的滚动条 normal状态透明度 25%， hover透明度 50%
@scroll-bar-l:rgb(0,0,0);// 亮色皮肤下页面的滚动条 normal状态透明度 25%， hover透明度 50%

.site-calendar-demo-card {
    // width: 290px;
    border: 1px solid @pageBorderN;
    border-radius: 2px;
    .calender-point {
        position: absolute;
        background-color: @pageTextN;
        width: 4px;
        height: 4px;
        border: 1px solid @pageTextN;
        border-radius: 100%;
        left: 46%;
        bottom: -1px;
        transform: translate(0, -50%);
    }
}
.ant-picker-calendar {
    background-color: @preview_center_bottom_Bg !important;
    .ant-picker-content {
        color: @pageTextN !important;
    }
    .ant-picker-panel {
        border-top: 1px solid @pageBorderN;
        background-color: @formInputBgN !important;
    }
    .ant-picker-cell {
        color: @pageTextD !important;
    }
    .ant-picker-cell-in-view {
        color: @pageTextN !important;
    }
    .ant-picker-content th {
        color: @pageTextN;
    }
    .ant-select-selector {
        width: 100 / @px-unit !important;
    }
    // .ant-picker-calendar-date-content {
    //   position: absolute !important;
    //   top: 12px !important;
    //   left: 6px !important;
    // }
}


._ChannelGroup_ {
    display: flex;
    .ant-space{
        gap:0 !important;
        .ant-space-item {
            .label-normal-wrapper {
                // DTS003617565 去掉自带的 line-height 属性
                line-height: 0 !important;
            }
        }
    }
    .checkbox {
        display: inline-block;
    }
    .label {
        display: inline-block;
        height: 40/@px-unit;
        line-height: 40/@px-unit;
    }
    .btn-link{
        padding-top: 10/@px-unit;
    }
    .chn_btn {
        color: @buttonNormalTextN;
        background-color: transparent;
        width: 35/@px-unit;
        height: 25/@px-unit;
        padding: 0;
        margin: 5/@px-unit;
        text-align: center;

        &.selected {
            color: @buttonNormalTextA;
            border-color: @formInputBgA;
            &:focus {
                color: @buttonNormalTextA;
                border-color: @formInputBgA;
            }
        }
        &.allbtn {
            width: 40/@px-unit !important;
            font-size: 10/@px-unit;
        }
        &[disabled] {
            opacity: .5;
            background-color: @buttonNormalBgN !important;
            color: @buttonNormalTextN !important;
            border: 1px solid @buttonNormalBorderN !important;

            &:hover,
            &:active,
            &.active{
                opacity: .5;
            }
        
        }
    }
}

._ChannelGroupModal_ {}
.ChannelGroupModal_textlabel{
    user-select: none
}


._ColorCheckGroup_ {
    display: flex;
    flex-direction: row;
    // align-items: center;
    .color_checkbox_all_box {
        height: 28px;
        line-height: 28px;
    }
    // 'normal', 'alarm', 'detect', 'ivs', 'pos', 'card'
    &alarm {
        .ant-checkbox-inner {
            background-color: @alarm !important;
        }
    }
    &general {
        .ant-checkbox-inner {
            background-color: @general !important;
        }
    }
    &detect {
        .ant-checkbox-inner {
            background-color: @detect !important;
        }
    }
    &ivs {
        .ant-checkbox-inner {
            background-color: @ivs !important;
        }
    }
    &pos {
        .ant-checkbox-inner {
            background-color: @pos !important;
        }
    }
    &card {
        .ant-checkbox-inner {
            background-color: @card !important;
        }
    }
}



._TopTitleDivider_{
    height: 22px;
    line-height: 22px;
    margin: 0 0 8px;
    font-weight: bold;
}
._FirstTitleDivider_{
    height: 22px;
    line-height: 22px;
    margin: 0 0 8px;
    font-weight: bold;
    font-size: 18px;
}
._MidTitleDivider_  {
    height: 22px;
    line-height: 22px;
    margin: 36px 0 8px;
    font-weight: bold;
}
._HighDivider_{
    height: 28px;
    margin: 0 0;
}

.cus_icons {
    .svgFont();
    .svgOut();
    .svgHover();
    &.disabled_icons {
        .svgDisabled();
    }
    &.active_icons {
        .svgOut(@current, @iconLinearStartColorA, @iconLinearStopColorA);
    }

    .colorSvg(action_red, @errorColor);
}


@keyframes arcSlideUpIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.8;
    }
}
.iconDropBtn {
    background-color:@navBg;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: @navMenuLineHeight;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    
    &:hover{
        color:@navMenuTextA;
    }
    .cus_icons{
        margin: 0 5/@px-unit;
    }
    span{
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}
.iconDropMenu {
    /* -webkit-animation-name: arcSlideUpIn;
    animation-name: arcSlideUpIn; */
    min-width: 200/@px-unit !important;
    border: 1px solid @dropMenuBorder;
    pointer-events:auto !important;
    .cus_icons{
        font-size: 30/@px-unit;
        vertical-align:middle;
        margin-right: 15/@px-unit;
    }
    .ant-dropdown-menu-item{
        padding:5/@px-unit 15/@px-unit;
    }
    .iconDropitem_name {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}
.iconDropitem {
    display: flex;
    align-items: center;
}
.centerItem{
    justify-content: center;
}



.DefaultImgClass{
    width: 100%;
    height: 100%;
    object-fit: fill;
}


.label-button {
    max-width: 150/@px-unit;
    min-width: 100/@px-unit;
    .ant-btn {
        padding: 4/@px-unit 4/@px-unit;
    }
}
.labelText-wrapper{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.label-date-picker {
    .ant-picker {
        width: 100%;
    }
}


.autoComplete {
    .ant-select-selector {
        &:hover {
            border-color: @current !important;
        }
    }
}

.autoComplete-error {
    .ant-select-selector {
        border: 1px solid @errorColor;
    }
}

.error-text {
    color: @errorColor;
}


.pageLine {
    display: flex;
    float: left;
    margin-top: 10 / @px-unit;
    width: 100%;
    min-width: 600 / @px-unit;
    justify-content: space-between;
    align-items: center;
    
    .pageLineLeft {
        .ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,
        .ant-pagination-simple .ant-pagination-next .ant-pagination-item-link{
            height: 100%;
        }
        button,
        & span.anticon {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .ant-btn-default{
            width: 46 / @px-unit;
            height: 32 / @px-unit;
        }
        display: flex;
        .ant-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            .ant-pagination-prev,
            .ant-pagination-next,
            .ant-pagination-disabled {
                padding: 4 / @px-unit 4 / @px-unit;
                border: 1 / @px-unit solid @buttonNormalBorderD;
                width: 32 / @px-unit;
                height: 32 / @px-unit;
                margin: 0 10 / @px-unit;
            }
            .ant-pagination-disabled {
                border: 1 / @px-unit solid @buttonNormalBorderD;
                background-color: @buttonNormalBgD;
                svg {
                    & + {
                        path:first-child {
                            fill: @buttonNormalBorderD; // 纯色图标悬浮后的默认颜色
                        }
                    }
                }
            }
        }
        .anticon-left,
        .ant-pagination-simple-pager,
        .anticon-right {
            color: @pageTextA;
        }
        .ant-pagination-simple-pager input {
            background-color: @pageBodyBg;
            border-color: @pageBorderN;
        }
        .ant-pagination-simple-pager {
            height: 32 / @px-unit;
        }
    }
    .pageLineRight {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}



.popover_list {
    display: flex;
    &_item {
        cursor: pointer;
        &:hover {
            color: @preview_center_popover_ColorA;
        }
        &_active {
            color: @preview_center_popover_ColorA;
        }
    }
    &_separator {
        margin: 0 5 / @px-unit;
        color: @preview_center_separator_ColorN;
    }
}
.popover_icon {
    cursor: pointer;
    &:hover {
        .svgHover(@current);
    }
}



.similarity-progress{
    display: flex;
    height: 100%;
    align-items: center;
    .temp-picData-progress{
        height: 18/@px-unit;
        width: 100%;
        padding: 0/@px-unit 15/@px-unit;
        display: flex;
        .temp-progress-bar-swrap{
            width: 67%;
            display: flex;
            align-items: center;
            padding: 0/@px-unit 5/@px-unit 0/@px-unit 0/@px-unit;
            .temp-progress-bar{
                background-color: @progressBg;
                height: 8/@px-unit;
                width: 100%;
                border-radius: 5/@px-unit;
            }
        }

        .temp-progress-similar{
            display: flex;
            align-items: center;
            width: 33%;
        }
    }
    /* 人脸比对那的 */
    .picData-progress {
        // margin: 0 8/@px-unit 7/@px-unit 5/@px-unit;
        display: flex;
        width: 100%;
        align-items: center;
        background: @ai_progress_default;
        height: 14/@px-unit;
        position: relative;
        color: @pageTextA;

        .progress-item {
            display: inline-block;
            height: 100%;
        }

        .progress-red {
            background: @ai_progress_red;
        }

        .progress-orange {
            background: @ai_progress_orange;
        }

        .progress-blue {
            background: @ai_progress_blue;
        }

        .progress-label {
            position: absolute;
            right: 0;
            line-height: 14/@px-unit;
            top: 0;
        }
    }
}



.subtitle {
    margin: 0;
    font-weight: bold;
    color: @subtitleColor;
    width: 100%;
}
.native-tooltip{
    display: inline;
}


.virtual-table {
    .ant-table-header {
        th{
            border-right: 1/@px-unit solid;
        }
    }
    .ant-empty-normal {
        height: 180/@px-unit;
        margin: 0 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .ant-table-tbody { 
        height: 180/@px-unit;
    }
    .ZD-showZebraPattern-even {
        background-color: @tableOddBgN;
    }
    .ZD-showZebraPattern-odd {
        background-color: @tableEvenBgN;
    }
    .ZD-selected-row {
        background-color: @tableBgA;
    }
    .virtual-table-cell {
        display: flex;
        align-items: center;
        justify-content: center;
        color: @tableTextN;
    }
    .center {
        text-align: center;
    }
}



