@charset "utf-8";
@cornflower: #6865fd;
@cornflower_bg: #e4eaf4;
@dark-sky-blue: #4292f0;
@night-blue: #050930;
@slate-grey: #5e677b;
@bluey-grey: #8897a8;
@coral: #f36565;
@butterscotch: #fcb750;
@ice-blue: #f7fcff;

@theme_color: @dark-sky-blue;
@theme_holder_color: #7bb3f3;
@theme_color_hover: darken(@dark-sky-blue, 10);
@holder_color: @bluey-grey;
@base_color: @slate-grey;
@theme_bg_color: #e9eff8;
@line_color: #c7d0d9;
@base_size: 14px;
@base_bg_color: #f4f4f4;
@base_select_color: #f4f7fd;
@content_width: 1000px;

.theme,
.theme a,
.theme a:hover {
  color: @theme_color;
}

.night {
  color: @night-blue;
}

.link {
  // text-decoration: underline;
  // text-decoration-style: dashed;
  // text-decoration-color: @theme_color;
  border-bottom: 1px dashed @theme_color;
}

.b-b {
  border-bottom: 1px solid #eee;
}

.t-d-l {
  text-decoration: underline;
}

.t-d-l-t {
  text-decoration: line-through;
}

.f-w-b {
  font-weight: 600;
}

.f-w-d {
  font-weight: 500;
}

.t-l {
  text-align: left;
}

.t-r {
  text-align: right;
}

.t-c {
  text-align: center;
}

.f-l {
  float: left;
}

.f-r {
  float: right;
}

.p-a {
  position: absolute;
}

.d-i-b {
  display: inline-block;
}

.m-l-5 {
  margin-left: 5px;
}

.m-l-1 {
  margin-left: 10px;
}

.m-l-2 {
  margin-left: 20px;
}

.m-r-5 {
  margin-right: 5px;
}

.m-r-1 {
  margin-right: 10px;
}

.m-r-2 {
  margin-right: 20px;
}

.m-t-5 {
  margin-top: 5px;
}

.m-t-1 {
  margin-top: 10px;
}

.m-t-2 {
  margin-top: 20px;
}

.m-b-5 {
  margin-bottom: 5px;
}

.m-b-1 {
  margin-bottom: 10px;
}

.m-b-2 {
  margin-bottom: 20px;
}

.m-b-4 {
  margin-bottom: 40px;
}

.p-5 {
  padding: 5px;
}

.p-10 {
  padding: 10px;
}

.p-20 {
  padding: 20px;
}

.p-l-5 {
  padding-left: 5px;
}

.p-l-1 {
  padding-left: 10px;
}

.p-l-2 {
  padding-left: 20px;
}

.p-r-5 {
  padding-right: 5px;
}

.p-r-1 {
  padding-right: 10px;
}

.p-r-2 {
  padding-right: 10px;
}

.p-t-5 {
  padding-top: 5px;
}

.p-t-1 {
  padding-top: 10px;
}

.p-t-2 {
  padding-top: 20px;
}

.p-b-5 {
  padding-bottom: 5px;
}

.p-b-1 {
  padding-bottom: 10px;
}

.p-b-2 {
  padding-bottom: 20px;
}

.c-p {
  cursor: pointer;
}

.c-w {
  color: white;
}

.w-1 {
  width: 10%;
}

.w-2 {
  width: 20%;
}

.w-3 {
  width: 30%;
}

.w-4 {
  width: 40%;
}

.w-5 {
  width: 50%;
}

.w-10 {
  width: 100%;
}

.flex-layout {
  display: flex;
}

.flex-block {
  flex: 1;
}

.p-r {
  position: relative;
}

.p-a {
  position: absolute;
}

.v-a-t {
  vertical-align: top;
}

.v-a-m {
  vertical-align: middle;
}

.v-a-b {
  vertical-align: bottom;
}

.t-1 {
  color: #303036 !important;
}

.t-2 {
  color: #686872 !important;
}

.t-3 {
  color: #B5B5BA !important;
}

.t-4 {
  color: #4292F0 !important;
}

.t-5 {
  color: #6EC64B !important;
}

.t-6 {
  color: #A7A7A7 !important;
}

.t-7 {
  color: #FF7C06 !important;
}

.t-8 {
  color: #8897A8FF !important;
}

.t-9 {
  color: #919FAEFF !important;
}

.t-10 {
  color: #A2AAB5FF !important;
}

.t-11 {
  color: #F36565FF !important;
}

.t-12 {
  color: #F2B252FF !important;
}

.t-13 {
  color: #5E677BFF !important;
}

.t-14 {
  color: #515258FF !important;
}

.t-15 {
  color: #6E6E78FF !important;
}

.b-c-1 {
  background: #F7F7F7;
}

.b-c-2 {
  background: #EAEEF4FF;
}

.b-c-3 {
  background: #FBFBFBFF;
}

.f-s-16 {
  font-size: 16px;
}

.f-s-12 {
  font-size: 12px;
}

.t-s-18 {
  font-size: 18px;
}

.t-s-16 {
  font-size: 16px;
}

.t-s-12 {
  font-size: 12px;
}

.t-s-10 {
  font-size: 10px;
}

.t-s-20 {
  font-size: 20px;
}

.t-s-22 {
  font-size: 22px;
}

.t-s-24 {
  font-size: 24px;
}

.t-s-14 {
  font-size: 14px;
}

.t-s-28 {
  font-size: 28px;
}

.t-s-32 {
  font-size: 32px;
}

.t-s-30 {
  font-size: 30px;
}

.l-h-20 {
  line-height: 20px;
}

.l-h-16 {
  line-height: 16px;
}

.ws-pl {
  white-space: pre-line;
}

.ws-p {
  white-space: pre;
}

.ws-n {
  white-space: nowrap;
}

.u-s-n {
  user-select: none;
}

input,
textarea {
  outline: none;
  border: none;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #A7A7A7;
}

input.empty::-webkit-input-placeholder,
textarea.empty::-webkit-input-placeholder {
  color: #f36565;
}

.d-i-b {
  display: inline-block;
  overflow: hidden;
}

.nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
}

body {
  color: @base_color;
  font-size: @base_size;
  line-height: 1.7;
  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
  background: @base_bg_color;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;

  #page {
    height: 100%;
  }

  #full-page {
    height: 100%;
    background: #fff;
  }

  .content {
    width: @content_width;
    margin: 0 auto;
  }

  .drag-upload {
    padding: 30px;
    border: 1px dashed #ddd;
    position: relative;
    text-align: center;

    .fixed {
      padding: 30px;
      background: #00000066;
      color: #fff;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: none;
    }
  }

  .drag-upload.draging {
    .fixed {
      display: block;
    }
  }

  .input-layout {
    display: flex;

    .label {}

    .input-block {
      flex: 1;
    }
  }

  .dot {
    position: relative;
  }

  .dot::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(252, 95, 95, 1);
  }

  .require {
    position: relative;
    margin-right: 10px;
  }

  .require::after {
    content: '*';
    position: absolute;
    font-size: 14px;
    right: -8px;
    top: 0px;
    color: #EC6413FF;
  }

  .close {
    color: #D0D8E2FF;
    cursor: pointer;
    font-size: 16px;
  }

  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
}

#root {}

body {
  .ant-tooltip.white {

    .ant-tooltip-inner {
      background: #fff;
      color: @base_color;
    }
  }

  .ant-tooltip.white.ant-tooltip-placement-left .ant-tooltip-arrow {
    border-left-color: #fff;
  }

  .ant-tooltip.white.ant-tooltip-placement-right .ant-tooltip-arrow {
    border-right-color: #fff;
  }

  .ant-tooltip.white.ant-tooltip-placement-top .ant-tooltip-arrow {
    border-top-color: #fff;
  }

  .ant-tooltip.white.ant-tooltip-placement-bottom .ant-tooltip-arrow {
    border-bottom-color: #fff;
  }

  .ant-tooltip.gray {

    .ant-tooltip-inner {
      background: rgba(0, 0, 0, 0.4);
      color: #fff;
    }
  }

  .ant-tooltip.gray.ant-tooltip-placement-left .ant-tooltip-arrow {
    border-left-color: rgba(0, 0, 0, 0.4);
  }

  .ant-tooltip.gray.ant-tooltip-placement-right .ant-tooltip-arrow {
    border-right-color: rgba(0, 0, 0, 0.4);
  }

  .ant-tooltip.gray.ant-tooltip-placement-top .ant-tooltip-arrow {
    border-top-color: rgba(0, 0, 0, 0.4);
  }

  .ant-tooltip.gray.ant-tooltip-placement-bottom .ant-tooltip-arrow {
    border-bottom-color: rgba(0, 0, 0, 0.4);
  }
}