:root {
  --aud-primary-color--: #337BFF;
  /* 主色 */
  --aud-deep-primary-color--: #233291; /*#002D80;*/ 
  /* 深主色 */
  --aud-primary-color-text--: #fff;
  /* 主色文字 */
  --aud-primary-shadow-color--: #337BFF;
  /* 主色阴影 */
  --aud-secondary-color--: #5fb878;
  /* 次色 */
  --aud-dark-color--: #000;
  /* 深色 */
  --aud-dark-color-text--: #fff;
  /* 深色文字 */
  --aud-light-color--: #fff;
  /* 浅色 */
  --aud-light-color-text--: #000;
  /* 浅色文字 */
  --aud-border-radius--: 2px;
  /* 圆角度 */
  --aud-normal-color--: #337BFF;
  /* 通用色 */
  --aud-warning-color--: #E57700;
  /* 警告色 */
  --aud-danger-color--: #E51212;
  /* 危险色 */
  --aud-success-color--: #13A811;
  /* 成功色 */
  --aud-info-color--: #337BFF;
  /* 信息色 */
  --aud-info-shadow-color--: #337BFF;
  /* 信息色阴影 */
  --aud-gray-color--: #cbcbcb;
  /* 灰色 */
  --aud-deep-gray-color--: #BFBFBF;
  /* 深灰色 */
  --aud-disabled-color--: #c0c4cc;
  /* 禁用色 */
  --aud-accent-color--: #43a047;
  /* 强调色 */
  --aud-light-gray-color--: #d3d3bd;
  /* 亮灰色 */
  --aud-default-color--: #e6e6e6;
  /* 默认色 */
  --aud-black-color--: #000;
  /* 黑色 */
  --aud-white-color--: #fff;
  /* 白色 */
  --aud-light-green-color--: #e7ffe9;
  /* 浅绿色 */
  --aud-light-red-color--: #ffe7e7;
  /* 浅红色 */
  --aud-light-blue-color--: #eaf1ff;
  /* 浅蓝色 */
  --aud-light-yellow-color--: #fff5ea;
  /* 浅黄色 */
  --aud-light-purple-color--: #f3e7ff;
  /* 浅紫色 */
  --aud-light-orange-color--: #fff2e7;
  /* 浅橙色 */
  --aud-deep-green-color--: #00d200;
  /* 深绿色 */
  --aud-deep-red-color--: #ff8a8a;
  /* 深红色 */
  --aud-deep-blue-color--: #8abfff;
  /* 深蓝色 */
  --aud-deep-yellow-color--: #ff8203;
  /* 深黄色 */
  --aud-deep-purple-color--: #d3adf7;
  /* 深紫色 */
  --aud-deep-orange-color--: #ffd591;
  /* 深橙色 */
  /* web component colors */
  --aud-bottom-border-color--: #e9e2e2;
  /* 底部边框色 */
  --aud-text-shadow-color--: #de8989;
  /* 文字阴影色 */
  --aud-scrollbar-bg-color--: #f5f5f5;
  /* 滚动条背景色 */
  --aud-scrollbar-color--: #D9D9D9;
  /* 滚动条颜色 */
  --aud-drawer-box-shadow-color--: rgba(0, 0, 0, 0.1);
  /* 抽屉阴影色 */
  --aud-drawer-box-musk-color--: rgba(0, 0, 0, 0.5);
  /* 抽屉遮罩色 */
  --aud-form-item-label-color--: #212121;
  /* 表单项标签文字色 */
  --aud-form-group-bg-color--: #ebf1ff;
  /* 表单分组背景色 */
  --aud-form-group-color--: #333;
  /* 表单分组文字色 */
  --aud-form-input-tip-color--: #6d6b6b;
  /* 表单录入提示 */
  --aud-must-require-color--: #ff4d4f;
  /* 必填色 */
  --aud-box-shadow-color--: rgb(145 145 145 / 50%);
  /* 阴影色 */
  --aud-select-disabled--: #f7f9fb;
  /* 选择禁用色 */
  --aud-select-disabled-border--: #dfe1e6;
  /* 选择禁用边框色 */
  --aud-menu-bg-color--: #F5F5F5;
  /* 菜单背景色 */
  --aud-head-title-color--: #333;
  /* 头部标题色 */
  --aud-link-color--: #337BFF;
  /* 链接色 */
  --aud-table-hover-bg-color--: #F5F5F5;
  /* 表格行hover背景色 */
  --aud-table-selected-bg-color--: #DBE8FF;
  /* 表格行选中背景色 #fff7e7 */
  --aud-divider-color--: #e0e0e0;
  /* 分割线颜色 */
  --aud-video-musk-color--: rgba(0, 0, 0, 0.2);
  /* 视频遮罩色 */
  --aud-font-size--: 14px;
  /* 字体大小 */
}

body {
  margin: 0;
  font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "WenQuanYi Micro Hei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--aud-font-size--) !important;
}

.loading-mask {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999;
  /* background-color: rgba(0, 0, 0, 0.1) !important; */
}

.toolbarbuttongroup .u-button {
  background: #fff;
  border: 1px solid var(--aud-deep-gray-color--) !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  margin-right: 4px;
  border-radius: 3px !important;
}

.layui-tab-title li>span:nth-child(1) {
  display: inline-block;
  position: relative;
}

.layui-tab-title li>span:nth-child(2) {
  display: inline-block;
  position: relative;
  max-width: 190px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.layui-tab-title li .layui-tab-close {
  top: -12px !important;
  line-height: 16px !important;
}

.aip-properties-formitems .formitem {
  border: 1px solid var(--aud-bottom-border-color--);
  border-top: unset;
  padding: 4px 4px;
}

.u-modal {
  padding: 16px !important;
}

.u-modal-header {
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 16px !important;
  padding-bottom: 0px !important;
}

.u-select {
  font-size: 14px !important;
}

.u-button-sm {
  font-size: 14px !important;
}

.aip-properties-formitems {
  border-top: 1px solid var(--aud-bottom-border-color--);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  :root {
    --aud-font-size--: 12px;
  }

  .toolbarbuttongroup {
    display: unset !important;
  }

  .aip-search-bar {
    display: flex !important;
    flex-direction: column !important;
  }

  .aip-search-conds>div {
    display: flex !important;
    flex-direction: row !important;
  }

  .layui-layout-right {
    max-width: 220px;
    /* overflow: hidden; */
    white-space: nowrap;
    float: right;
  }

  .layui-layout-admin .layui-nav.layui-layout-right>li:not(.layuimini-setting) {
    width: unset !important;
  }
}