html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html * {
  outline: 0;
  -webkit-text-size-adjust: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

html,
body {
  font-family: PingFangSC-Regular, PingFang SC, 'Microsoft Yahei', sans-serif;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  color: #646B78;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font-size: 100%;
  border: none;
  -webkit-appearance: none;
}

input[type=button],
input[type=file],
input[type=submit] {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ol,
ul,
dl {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: 500;
}

em,
b,
i {
  font-style: normal;
}

a {
  text-decoration: none;
}

img {
  border: none;
}

.clr {
  *zoom: 1;
  clear: both;
}

.clr:after {
  content: ".";
  clear: both;
  height: 0;
  visibility: hidden;
  display: block;
}

.fl {
  float: left;
  _display: inline;
}

.fr {
  float: right;
  _display: inline;
}

.va-t {
  vertical-align: top;
}

.va-m {
  vertical-align: middle;
}

.va-b {
  vertical-align: bottom;
}


.lineBlock {
  display: inline-block;
  *display: inline;
  zoom: 1;
  letter-spacing: normal;
  word-spacing: normal;
}

.lbBox {
  font-size: 0 !important;
  *word-spacing: -1px !important;
}

.emptys {
  margin-left: -1px;
  width: 1px;
  height: 100%;
  font-size: 0;
  vertical-align: middle;
}

.boxsiz {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.column {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
}

/* 两侧对齐 */
.bothSide {
  justify-content: space-between;
}

/* 平均分布 */
.avarage {
  justify-content: space-around;
}

/* 水平居中 */
.rowCenter {
  justify-content: center;
}

/* 垂直居中 */
.verCenter {
  align-items: center;
}

.boxFlex {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

html,
body {
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
}

body {
  overflow-x: hidden;
  background: #F1F4FA;
}

.f-blue {
  color: #1969F9;
}

.f-green {
  color: #3FBE1B;
}

.f-yellow1 {
  color: #CC8200;
}

.f-red1 {
  color: #FC1F00;
}

/**element-ui 样式重写**/
.el-pagination {
  text-align: right;
  margin-top: 20px;
}

.el-message--info {
  min-width: auto !important;
  border: 0px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  top: 100px !important;

  .el-icon-info {
    display: none;
  }

  .el-message__content {
    color: #fff !important;
  }
}

.pagex {
  padding: 20px;

  //表单样式重写
  .el-input__inner {
    height: 38px;
    border-radius: 2px;
    border: 1px solid #BEC9DF;
    font-size: 14px;

    &:focus {
      border: 1px solid #387FFF;
    }
  }

  .el-form-item__label {
    color: #666;
  }

  .el-range-editor.el-input__inner {
    width: 257px
  }

  .el-select .el-input.is-focus .el-input__inner,
  .el-range-editor.is-active,
  .el-range-editor.is-active:hover {
    border-color: #387FFF;
  }

  .el-select {
    width: 100px;
  }

  .el-form--inline .el-form-item {
    margin-right: 30px;
  }

  .el-message--info {
    min-width: auto !important;
    border: 0px !important;
    background: rgba(0, 0, 0, 0.4) !important;

    .el-icon-info {
      display: none;
    }

    .el-message__content {
      color: #fff !important;
    }
  }


  //表格样式重写
  .el-table {
    color: #646B78;
  }

  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #1969F9;
    border-color: #1969F9;
  }

  .el-table__header {
    th {
      font-weight: normal;
    }

    .el-table__body tr.hover-row > td {
      background-color: #F1F8FF;
    }


  }

  .th-all {
    .el-table__header {
      th {
        background-color: #F1F4FA
      }
    }
  }

  .el-table__fixed {
    .el-table__header {
      th {
        background-color: #F1F4FA
      }
    }

    // box-shadow: 1px 2px 10px 3px rgba(119, 135, 145, 0.5);
  }

  // .el-table td,
  // .el-table th.is-leaf {
  //   border-bottom: 1px solid #D2D9E7;
  // }

  // .el-table--border td,
  // .el-table--border th,
  // .el-table__body-wrapper .el-table--border.is-scrolling-left ~ .el-table__fixed {
  //   border-right: 1px solid #D2D9E7;
  // }

  // .el-table--border,
  // .el-table--group {
  //   border: 1px solid #D2D9E7;
  // }

  .el-table__body-wrapper::-webkit-scrollbar {
    width: 18px;
  }

  .el-table__body-wrapper::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #fff;
    width: 18px;
    -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
  }

  .el-table__body-wrapper::-webkit-scrollbar-track {
    border-radius: 0;
    background: #D2D9E7;
  }


}

.el-cascader-panel {
  min-height: 150px;
  max-height: 300px;
}

.placehoload .el-input__inner::-webkit-input-placeholder {
  color: #333;
}

//js跟随提示框
.el-tooltip__popper {
  box-shadow: 1px 2px 10px 0px rgba(119, 135, 145, 0.5);
  border: 1px solid #387FFF !important;
  border-radius: 0px !important;

  .boxxrth2021 {
    width: 150px;
    background: #fff;
    font-size: 12px;
    color: #333;

    p {
      height: 28px;
      line-height: 28px;

      span {
        width: 50%;
      }
    }
  }

}

.el-tooltip__popper[x-placement="top"] .popper__arrow {
  border-top-color: #387FFF !important;
}

.el-tooltip__popper[x-placement="bottom"] .popper__arrow {
  border-bottom-color: #387FFF !important;
}
.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{
  border-top-color: #387FFF !important;
}

.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{
  border-bottom-color: #387FFF !important;
}
.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{
  border-left-color: #387FFF !important;
}
//弹窗公共样式
.el-dialog__body {
  padding: 20px !important;
}

.el-dialog__title {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  position: relative;

  &::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 22px;
    background: #1969F9;
    left: -20px;
    top: 2px;
  }
}

.el-icon-close {
  font-size: 24px;

  &:hover,
  &:focus {
    color: #1969F9 !important;
  }


}

.el-message-box__container {
  text-align: center;
  padding: 15px 0px;
}

.el-message-box__message {
  display: inline-block;
}

.el-message-box__message p {
  color: #333;
  font-size: 16px;
}

.el-message-box__status.el-icon-error {
  color: #FC1F00 !important;
  font-size: 25px !important;
}

.el-message-box__close:before {
  content: "\E609";
}

.el-message-box__btns,
.dialog-footer {

  .el-button {
    width: 76px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    background: #E8ECF4;
    border: 1px solid #E8ECF4;
    border-radius: 2px;
    color: #8391AD;
    font-size: 14px;
    padding: 0px;

    &:hover,
    &:focus {
      color: #8391AD;
      background: #E8ECF4;
      border: 1px solid #E8ECF4
    }

    &.el-button--primary {
      border: 1px solid #1969F9;
      color: #fff;
      background: #1969F9;

      &:hover,
      &:focus {
        color: #fff;
        background: #1969F9;
        border: 1px solid #1969F9
      }
    }

  }
}

.p-text {
  margin-bottom: 6px;
  em {
    width: 56px;
    text-align: left;
  }

  span {
    width: 214px;
    height: 30px;
    background: #F1F4FA;
    border-radius: 2px;
    font-size: 14px;
    color: #333333;
    padding-left: 7px;
    margin-left: 8px;
    text-align: left;
  }
}

.popper-class-box{
  .popper__arrow{
    left: 20px !important;
  }
}