/* ==================
          字体
 ==================== */

/* 字体 -  开始 */


body {
  /* 主色 */
  /* --mainColor: #3F61ED; */
  /* 成功色 */
  --successColor: #52C41A;
  /* 警告色 */
  --warningColor: #FAAD14;
  /* 错误色 */
  --errorColor: #FF4D4F;
  /* 背景1级颜色 */
  --backColor1: #F4F6FF;
  /* 背景2级颜色 */
  --backColor2: #DEE0EA;
  /* 背景3级颜色 */
  --backColor3: #C9CCD3;
  /* 背景4级颜色 */
  --backColor4: #DEDEDE;
  /* 字体1级颜色 */
  --textColor1: #333;
  /* 字体2级颜色 */
  --textColor2: #666;
  /* 字体3级颜色 */
  --textColor3: #999;
  /* 特大标题 */
  --lgTitle: 28px;
  /* 标题 */
  --baseTitle: 20px;
  /* 小标题 */
  --smTitle: 16px;
  /* 正文 */
  --baseFont: 14px;
  /* 次要信息 */
  --smFont: 12px;
  --scrollbar-thumb: rgba(0, 0, 0, 0.2);
  --scrollbar-track: rgba(0, 0, 0, 0.1);
}

._main_back {
  background-color: var(--mainColor) !important;
}

.error_back {
  background-color: var(--errorColor) !important;
}

.success_back {
  background-color: var(--successColor) !important;
}

.warning_back {
  background-color: var(--errorColor) !important;
}

.text-main {
  color: var(--mainColor);
}

.text-success {
  color: var(--successColor);
}

.text-warning {
  color: var(--warningColor);
}

.text-error {
  color: var(--errorColor);
}

.text_color3 {
  color: var(--textColor3);
}
.text_white {
  color: #fff;
}

li {
  list-style: none;
}

#nprogress .bar {
  background: var(--mainColor) !important;
}

#nprogress .spinner-icon {
  display: none;
  border-top-color: var(--mainColor) !important;
  border-left-color: var(--mainColor) !important;
}

body .text-blod {
  font-weight: bold;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

html,
body {
  height: fit-content !important;
}

/* 字体 -  结束 */


/* ==================
          布局
 ==================== */

/*  -- flex弹性布局 -- 开始 */

.flex {
  display: flex;
}

.basis-xs {
  flex-basis: 20%;
}

.basis-sm {
  flex-basis: 40%;
}

.basis-df {
  flex-basis: 50%;
}

.basis-lg {
  flex-basis: 60%;
}

.basis-xl {
  flex-basis: 80%;
}

.flex-sub {
  flex: 1;
}

.flex-twice {
  flex: 2;
}

.flex-treble {
  flex: 3;
}

.flex-row {
  flex-direction: row;
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.flex-direction {
  flex-direction: column;
}

.flex-direction-reverse {
  flex-direction: column-reverse;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.align-stretch {
  align-items: stretch;
}

.align-baseline {
  align-items: baseline;
}

.self-start {
  align-self: flex-start;
}

.self-center {
  align-self: flex-center;
}

.self-end {
  align-self: flex-end;
}

.self-stretch {
  align-self: stretch;
}

.align-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

/*  -- flex弹性布局 -- 结束 */

/*  -- grid弹性布局 -- 开始 */
.grid {
  display: grid;
}

/*  -- grid弹性布局 -- 结束 */

/*  -- font -- 开始 */
.font-blod {
  font-weight: bold;
}

/*  -- font -- 结束 */

/*  -- 自定义样式 -- 开始 */
body::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  display: none;
}

.full_screen {
  width: 100%;
  height: 100%;
}

a {
  text-decoration: none
}


.cursor-pointer {
  cursor: pointer !important;
}

.cursor-scroll {
  cursor: all-scroll !important;
}

.cursor-auto {
  cursor: auto !important;
}

#app .margin-top-bottom-10 {
  margin: 10px 0px;
}

#app .margin-top-20 {
  margin-top: 20px;
}

#app .no_padding {
  padding: 0px;
}

#app img[lazy="loading"] {
  width: 30px;
  height: 30px;
}

#app img[lazy="error"] {
  width: 30px;
  height: 30px;
}

.width-100 {
  width: 100%;
}

#app .height-100 {
  height: 100vh;
}

#app .top_padding {
  padding-top: 70px;
}

.clear-both {
  clear: both;
}

.back_img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}


.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ellipsis1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ellipsis2 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text-ellipsis3 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.text-center {
  text-align: center;
}

.text-end {
  text-align: end;
}

.opacity-hide {
  opacity: 0;
}

.display-none {
  display: none;
}

.spin-center {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

body .scrollbar-css::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

body .scrollbar-css::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 5px var(--scrollbar-thumb);
  background: var(--scrollbar-thumb);
}

body .scrollbar-css::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px var(--scrollbar-thumb);
  border-radius: 10px;
  background: var(--scrollbar-track);
}

.select-none {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

.overflow-hidden {
  overflow: hidden;
}

.display-inline-block {
  display: inline-block;
}

.minW {
  display: inline-block;
  width: 150px;
}

.urgent {
  color: #FF7043;
}

.income {
  color: #FF4D4F;
}

.ant_tag {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tooltip_text {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compatibles {
  width: 100%;
  height: 100vh;
  background: #fff;
  text-align: center;
  position: fixed;
  z-index: 99999999;
  top: 0;
  left: 0;
  padding-top: 30vh;
  font-size: 30px;
  font-weight: bold;
}

.compatibles span {
  color: var(--mainColor);
  font-weight: 500;
}

.suffix_color {
  color: #999999;
}

/* 已完成 */
.bg_success_color {
  background: rgba(82, 196, 26, 0.3);
}
.bg_warning_color {
  background: rgba(250, 173, 20, 0.3);
}
.bg_error_color {
  background: rgba(255, 77, 79, 0.3);
}
/* 正常 */
.bg_main_color {
  background: rgba(63, 97, 237, 0.3);
}
.bg_underway_color {
  background: #eeeeee;
}
.bg_overspend_color {
  background: rgba(253, 226, 184,1);
}

.word-break{
  word-break: break-all;
}
/*  -- 自定义样式 -- 结束 */