//@import "~ant-design-vue/dist/antd.css";
//@import '~cropperjs/dist/cropper.css';
//@import "Button";

* {
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;


  img {
    width: auto;
    height: auto;
  }

  a {
    text-decoration: none;
  }

  hr {
    margin: 25px 0 20px;
    border: 0;
    border-bottom: 1px solid rgba(53, 64, 77, .1);
    text-align: center;
    line-height: 0;
    overflow: initial;
    /*分割线标题 <hr data-text="标题">*/

    &[data-text]:before {
      content: attr(data-text);
      background: #fff;
      padding: 0 10px;
      color: #989898;
    }
  }

  /* 阻止拖拽选中 */

  .unselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
  }

  /* 滚动条样式 */

  ::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    background-color: transparent;
  }

  /* 定义滚动条轨道 */

  ::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
  }

  /*定义滑块*/

  ::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }

  /* 滚动条颜色 */

  scrollbar {
    -moz-appearance: none !important;
    background: rgb(0, 255, 0) !important;
  }

  /* 滚动条按钮颜色 */

  thumb, scrollbarbutton {
    -moz-appearance: none !important;
    background-color: rgb(0, 0, 255) !important;
  }

  /* 鼠标悬停时按钮颜色 */

  thumb:hover, scrollbarbutton:hover {
    -moz-appearance: none !important;
    background-color: rgb(255, 0, 0) !important;
  }

  /* 隐藏上下箭头 */

  scrollbarbutton {
    display: none !important;
  }

  /* 纵向滚动条宽度 */

  scrollbar[orient="vertical"] {
    min-width: 15px !important;
  }

  /*错误提示框*/

  .msgBox-error {
    text-align: center;
  }

  .msgBox-error > .container {
    width: 350px;
    margin: 5% auto;
    background: #A1A9B20F;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: rgba(87, 93, 99, 0.75);
    font-size: 18px;
    line-height: 40px;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.15);
  }

  .msgBox-error > .container > .msg {
    font-weight: bold;
    text-indent: 2px;
    letter-spacing: 2px;
  }

  .msgBox-error > .container .btn {
    font-size: 14px;
    color: #56A6FF;
    cursor: pointer;
    transition: all .3s;
  }

  .msgBox-error > .container .btn:hover {
    color: #5178A8;
    text-decoration: underline
  }

  /*必填*/

  .required {

  }

  .required:before {
    content: "*";
    color: #FF4949 !important;
    margin-right: .2rem;
    display: inline-block !important;
  }

  .click-item {
    cursor: pointer;
    transition: all .3s;
    text-decoration: underline;
  }

  .click-item:hover {
    color: #56A9FF;
  }

  /*placeholder 样式*/

  ::placeholder,
  ::-webkit-input-placeholder,
  ::-moz-placeholder,
  ::-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.05);
  }

}

.para-help {
  .icon-button {
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 18px;
  }
}

.para-image {
  display: inline-block;
  text-align: center;

  .add {
    position: absolute;
    font-size: 200%;
    top: 50%;
    font-weight: 100;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    cursor: pointer
  }

  .show-image {
    background: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 5px;
    transition: all .3s;
  }
}
.dialogButton {
  text-align: right;
  margin:0;

  & > button {
    // padding: 8px 20px;
    &:first-child {
      margin-right: 10px;
    }
  }
}

.para-multinput {
  .input-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;

    .input {
      position: relative;
      width: 100%;

      input {
        border-radius: 5px 0 0 5px;
      }

      .edit {
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: 12px;
        color: #ccc;
      }
    }
  }

  .btn-del {
    width: 46px;
    border-radius: 0 5px 5px 0;
    border-left: 0;
  }

  .addInput {
    text-align: right;
    margin-bottom: 5px;

    button {
      color: #1890ff;
      font-size: 16px;
    }
  }

  .zoom-box {
    position: fixed;
    top: 10%;
    left: 0;
    z-index: 11;
    text-align: center;
    width: 50%;
    margin: auto 25%;

    .zoom-title {
      margin-bottom: 5px;
    }

    .el-textarea {
      box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }

    textarea {
      border-radius: 0 0 3px 3px;
    }
  }

  .ant-btn-danger {
    background-color: transparent;
  }
}

.para-select {
  width: 100%;
  display: table;
  color: #1f2d3d;
  background: #ffffff;
  border: 1px solid #dcdfe6;
  border-radius: 5px;
  min-height: 32px;
  overflow: hidden;

  & > * {
    display: table-cell;
    overflow: hidden;
    border-radius: 5px;
  }

  &:hover {
    border-color: #c0c4cc;
  }

  &.is-disabled {
    border-color: #d1dbe5 !important;

    .para-select-item {
      padding: 0 12px;

      &:hover {
        background: transparent;
      }
    }
  }
}

.para-item {
  line-height: normal;
  //max-width: 1280px;
  transition: all .3s;
}

.para-select-list {
  border-color: inherit;
  display: table-cell;
  vertical-align: top;
  overflow: hidden;
  width: inherit;
  line-height: 30px;
  transition: all .3s;
  border-radius: 5px 0 0 5px;

  .para-select-content {
    height: 100%;
    max-height: 200px !important;
  }

  .el-loading-spinner {
    margin-top: -10px;

    & > .para-select-content {
      max-height: 200px;
      min-height: 30px;
      overflow-y: auto;
      overflow-x: hidden;
      width: inherit;
      transition: all .3s;
    }
  }

  .para-select.is-disabled,
  .para-select.is-disabled .para-select-list {
    display: block;
  }

  .el-loading-mask {
    background-color: rgba(255, 255, 255, .9) !important;
  }

  .el-loading-spinner {
    .circular {
      height: 20px;
      width: 20px;
    }
  }
}

.para-select {
  &.is-disabled {
    .para-select-content {
      background-color: #f5f7fa;
      color: #858585;
      cursor: not-allowed;
    }
  }
}

.para-select-popover {
  .clear-btn {
    position: absolute;
    bottom: 10px;
  }
}

.para-select-item {
  position: relative;
  padding: 0 40px 0 12px;
  transition: all .3s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: inherit;
  line-height: inherit;
  height: 30px;

  &.row-disabled {
    background-color: #f5f7fa;
    color: #858585;
    cursor: not-allowed;
  }

  & + .para-select-item {
    border-top: 1px solid #f3f3f3;
  }

  &:hover {
    background: #f5f5f5;
  }

  & > .label {
    font-size: 15px;
    cursor: default;
  }

  & > .del {
    vertical-align: middle;
    position: absolute;
    right: 11px;
    top: 7px;
    color: #ff3c3d;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
  }

  & > .tips {
    opacity: .3;
  }
}

.para-select-button {
  display: table-cell;
  vertical-align: middle;
  line-height: 0;
  height: 100%;
  padding: 0 10px 0 5px;
  font-size: 18px;
  border: none !important;
  border-left: 1px solid #dcdfe6 !important;
  transition: all .3s;
  outline: none;
  border-radius: 0;
  max-height: 200px;
  min-height: 30px;
}

.para-select-popover {
  .para-tree {
    .tree-content {
      max-height: 400px;
      overflow: auto;
    }
  }
}

.para-split-wrapper {
  position: relative;
  width: 100%;
  height: 100%
}

.para-split-pane {
  position: absolute
}

.para-split-pane.left-pane, .para-split-pane.right-pane {
  top: 0;
  bottom: 0
}

.para-split-pane.left-pane {
  left: 0
}

.para-split-pane.right-pane {
  right: 0
}

.para-split-pane.bottom-pane, .para-split-pane.top-pane {
  left: 0;
  right: 0
}

.para-split-pane.top-pane {
  top: 0
}

.para-split-pane.bottom-pane {
  bottom: 0
}

.para-split-pane-moving {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.para-split-trigger {
  border: 1px solid #dcdee2
}

.para-split-trigger-con {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 10
}

.para-split-trigger-bar-con {
  position: absolute;
  overflow: hidden
}

.para-split-trigger-bar-con.vertical {
  left: 1px;
  top: 50%;
  height: 32px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%)
}

.para-split-trigger-bar-con.horizontal {
  left: 50%;
  top: 1px;
  width: 32px;
  -webkit-transform: translate(-50%);
  transform: translate(-50%)
}

.para-split-trigger-vertical {
  width: 6px;
  height: 100%;
  background: #f8f8f9;
  border-top: none;
  border-bottom: none;
  cursor: col-resize
}

.para-split-trigger-vertical .para-split-trigger-bar {
  width: 4px;
  height: 1px;
  background: rgba(23, 35, 61, .25);
  float: left;
  margin-top: 3px
}

.para-split-trigger-horizontal {
  height: 6px;
  width: 100%;
  background: #f8f8f9;
  border-left: none;
  border-right: none;
  cursor: row-resize
}

.para-split-trigger-horizontal .para-split-trigger-bar {
  height: 4px;
  width: 1px;
  background: rgba(23, 35, 61, .25);
  float: left;
  margin-right: 3px
}

.para-split-horizontal .para-split-trigger-con {
  top: 50%;
  height: 100%;
  width: 0
}

.para-split-vertical .para-split-trigger-con {
  left: 50%;
  height: 0;
  width: 100%
}

.para-split .no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.paraTable {
  i {
    cursor: pointer;
  }

  .dragIcon {
    display: table;
    width: 100%;

    i {
      display: table-cell;
      color: rgba(0, 0, 0, 0.23);

      &:hover {
        color: #1890ff;
      }
    }
  }

  .table-title {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;

    .right {
      .search-box {
        display: flex;

        .plus {
          width: 50px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: flex-end;
        }

        .minus {
          width: 50px;
          display: flex;
          flex-direction: column;
          justify-content: center;
        }

        .select {
          margin: 0 10px;
        }

        .non-select {
          margin: 0 10px 0 0;
        }
      }
    }

    .left {
      display: flex;
      align-items: center;

      i {
        font-size: 20px;
        margin-left: 10px;
      }
    }
  }

  .option-btn {
    button {
      &:first-child {
        margin-right: 10px;
      }
    }
  }

  .table-options {
    i {
      margin-right: 10px;
      font-size: 16px;

      &:hover {
        color: #198CFF;
      }
    }
  }
}

.para-transfer {
  position: relative;
  line-height: 30px;
  height: 210px;
  border-color: #dcdfe6;
  white-space: nowrap;

  .transfer-box {
    width: 100%;
    height: 100%;
    clear: both;
    border-color: inherit;
  }

  .transfer-button {
    display: inline-block;
    vertical-align: middle;
    width: 10%;
    text-align: center;
    font-size: 20px;
    color: #b8bdca;
    height: 100%;
    margin: 5px 0;

    & > div {
      display: table;
      height: 100%;
      width: 100%;

      & > div {
        display: table-cell;
        vertical-align: middle;
      }
    }

    i {
      display: block;
      cursor: pointer;
      padding: 5px 7px;
      transition: all .3s;
      margin: 2px 5px;
      border-radius: 5px;
      font-weight: bold;

      &:hover {
        color: #ffffff;
        background: #409eff;
      }
    }
  }

  .transfer-left {
  }

  .transfer-right {
  }

  .transfer-list {
    position: relative;
    overflow-y: auto;
    height: 150px;
    background-color: #ffffff;
  }

  .transfer-item {
    position: relative;
    padding: 7px 15px;
    cursor: default;
    border-bottom: 1px solid #f7f7f7;
    transition: all .3s;
    font-size: 13px;
    color: #606266;

    &:hover {
      background: #efefef;
    }

    &.active {
      background: #409eff;
      color: #ffffff;
    }
  }

  .transfer-search {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 0;
    border-bottom: 1px solid #dcdfe6;
    border-radius: 0;
    text-align: center;
    transition: all .3s;
  }

  &.disabled {
    .transfer-right {
      width: 100%;

      &:hover {
        .transfer-search {
          input {
            border-color: rgba(157, 157, 157, 0.07);
          }
        }
      }
    }
  }

  .transfer-left,
  .transfer-right {
    display: inline-block;
    border: 1px solid;
    border-radius: 5px;
    width: 44%;
    vertical-align: top;
    transition: all .3s;
    overflow: hidden;
    height: 100%;
    border-color: inherit;
  }

  .transfer-left:hover,
  .transfer-right:hover,
  .transfer-left:hover .transfer-search input,
  .transfer-right:hover .transfer-search input {
    border-color: #409eff;
  }

  .transfer-info-btn {
    position: absolute;
    right: 5px;
    top: 8px;
    cursor: pointer;
    opacity: .4;

    &:hover {
      opacity: .7;
    }
  }

  .disabled .transfer-right, .disabled .transfer-item, .disabled .transfer-list {
    background: rgba(157, 157, 157, 0.07);
    border-color: rgba(157, 157, 157, 0.07);
  }

  .disabled .transfer-left, .disabled .transfer-button {
    display: none;
  }

  /*底部文字样式*/

  .transfer-bottom-msg {
    font-size: 12px;
    height: 26px;
    line-height: 28px;
    padding: 0 15px;
    color: #8c8c8c;
    border-top: 1px dashed #eaeaea;
  }
}

.para-tree {
  .draggable-tree {
    .para-tree-drop-active {
      background-color: #1890ff;

      span {
        color: #ffffff !important;
      }
    }
  }
}

.para-tree2 {
  max-width: 800px;
  min-width: 600px;
  min-height: 360px;
  position: relative;
  border: 1px solid #d9d9d9;
  overflow: hidden;

  ::-webkit-scrollbar {
    display: none !important;
  }

  .anticon-right {
    display: none !important;
  }

  .ant-collapse-content-box {
    padding: 0 !important;
  }

  .para-tree2-show-content {
    text-align: center;
    margin: 15px auto;

    .para-tree2-auto-complete {
      width: 80%;
    }
  }

  .para-tree2-tips {
    padding: 10px;

    div {
      margin: 5px 5px;
    }
  }

  .para-tree2-content {
    overflow-y: scroll;

    .ant-collapse-content-box {
      padding: 0 !important;
    }

    .anticon-right {
      display: none;
    }

    .ant-collapse-header {
      padding: 22px 0 22px 12px !important;
    }

    .para-tree2-collapse-content {
      position: relative;
    }

    .layout-2 {
      position: absolute;
      top: 0;
      width: 100%;
      min-height: 360px;
      max-height: 360px;
      background-color: #ffffff;
      //right: -399px;

      header {
        padding: 15px;

        .header-back {
          cursor: pointer;

          &:hover {
            .anticon-left, .header-title, .anticon {
              color: #198cff;
            }
          }
        }

        .anticon-left {
          font-size: 16px;
          color: #272E40;
        }

        .header-title {
          font-size: 18px;
          font-weight: 500;
          color: #272E40;
          margin-left: 15px;
        }

        .header-breadcrumb {
          margin-left: 30px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }

      .layout-2-content {
        overflow-y: scroll;
        overflow-x: hidden;
        position: absolute;
        height: 78%;
        width: 100%;
        //right: -799px;
      }
    }
  }
}

.para-tree2-collapse-i {
  float: right;
  margin-right: 15px;
}

.i-key-active {
  color: #198cff;
  transition: all 0.3s ease-out;
  transform: rotate(180deg);
}

.i-key-animation {
  transition: all 0.3s ease-out;
  transform: rotate(0deg);
}

/* background-active-color */
.i-animation-active {
  background-color: rgba(236, 246, 255, 1);
  border-radius: 5px;
  color: #198CFF;

}

/* list-item */
.list-item {
  .item {
    padding: 12px 0 12px 15px;

    .anticon-vertical-left {
      color: #A2AABD;
    }

    .item-text {
      margin-left: 12px;
    }

    &:hover {
      background-color: rgba(236, 246, 255, 1);
      border-radius: 5px;
      cursor: pointer;
    }
  }
}


/* select */
.layout-card {
  .layout-card-item {
    .layout-card-selectAll {
      padding: 0 0 15px 15px;
    }

    .layout-card-checkbox-group {
      .layout-avatar {
        color: #ffffff;
        background-color: #198cff;
      }

      .layout-avatar-span {
        margin-left: 8px;
      }

      .ant-checkbox-group {
        width: 100%;

        .ant-checkbox-group-item {
          width: 100%;
          display: block;
          padding: 12px 0 12px 15px;

          &:hover {
            background-color: rgba(236, 246, 255, 1);
            border-radius: 5px;
            cursor: pointer;
          }

          &.i-animation-active {
            .layout-tree-organize {
              .cluster-text {
                color: #198cff;
              }
            }
          }
        }
      }

      .layout-tree-organize {
        float: right;
        padding-right: 15px;

        &:hover {
          .anticon-cluster, .cluster-text {
            color: #198cff;
          }
        }

        .anticon-cluster {
          font-size: 18px;
          color: #CACDD0;
        }

        .cluster-text {
          font-size: 14px;
          color: #CACDD0;
        }
      }
    }
  }
}

.empty-data {
  text-align: center;
  padding: 30px;
}

.para-upload {
  display: table;
  width: 100%;
}

.para-upload > * {
  display: table-cell;
  vertical-align: middle;
}

.para-upload .para-upload-name {
  position: relative;
  display: table-cell;
  padding-right: 8px;
}

.para-upload .para-upload-name > .el-icon-close {
  position: absolute;
  right: 15px;
  top: 9px;
  font-size: 17px;
  font-weight: 700;
  color: #ed4014;
}

.para-upload .para-select-file {
  border: 1px solid #409EFF;
  background: #409EFF;
  color: #fff;
  transition: all .3s;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
  display: table-cell;
  width: 100px;
  text-align: center;
}

.para-upload .para-select-file:hover {
  background: #2b85e4;
}

.para-upload .para-select-file:active {
  background: #2b85e4;
}

