@import './var.scss';
@import '../mixin/index.scss';
input:-webkit-autofill,
 textarea:-webkit-autofill,
 select:-webkit-autofill {
       -webkit-box-shadow: 0 0 0 1000px white inset;
}
 input[type=text]:focus, input[type=password]:focus, textarea:focus {
      -webkit-box-shadow: 0 0 0 1000px white inset;
}

html,body{
  color: $primary-font-color;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\\5FAE\8F6F\96C5\9ED1,Arial,sans-serif;
}
textarea {
  font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\\5FAE\8F6F\96C5\9ED1,Arial,sans-serif;
}
i {
  font-size:14px;
}
p {
	// color: $primary-font-color;
}
a {
  color: #2f54eb;
}
a:hover {
  color: #597EF7;
}

.block-center{
  margin: 0 auto;
}
.text-center{
  text-align: center;
}
.text-right{
  text-align: right;
}
.text-left{
  text-align: left;
}
.container{
  position: relative;
  margin: 0 auto;
}
.pt5{
  padding-top: 5px!important;
}
.pt10{
  padding-top: 10px!important;
}
.pt20{
  padding-top: 20px!important;
}
.pt100{
  padding-top: 100px!important;
}
.pt200{
  padding-top: 200px!important;
}
.pb10{
  padding-bottom: 10px!important;
}
.pb15{
  padding-bottom: 15px!important;
}
.pb20{
  padding-bottom: 20px!important;
}
.pb40{
  padding-bottom: 40px!important;
}
.pb22{
  padding-bottom: 22px!important;
}
.pl5{
  padding-left: 5px!important;
}
.pl10{
  padding-left: 10px!important;
}
.pl20{
  padding-left: 20px!important;
}
.pl25{
  padding-left: 25px!important;
}
.pl30 {
  padding-left: 30px!important;
}
.pr4{
  padding-right: 4px!important;
}
.pr5{
  padding-right: 5px!important;
}
.pr7{
  padding-right: 7px!important;
}
.pr8 {
  padding-right: 8px!important;
}
.pr10{
  padding-right: 10px!important;
}
.pr20{
  padding-right: 20px!important;
}
.pr30{
  padding-right: 30px!important;
}
.ml0{
  margin-left: 0px!important;
}
.ml10{
  margin-left: 10px!important;
}
.ml16{
  margin-left: 16px!important;
}
.ml20{
  margin-left: 20px!important;
}
.ml25{
  margin-left: 25px!important;
}
.ml30{
  margin-left: 30px!important;
}
.ml58{
  margin-left: 58px!important;
}
.ml80{
  margin-left: 80px!important;
}
.ml100{
  margin-left: 100px!important;
}
.mt5{
  margin-top: 5px!important;
}
.mt10{
  margin-top: 10px!important;
}
.mt15{
  margin-top: 15px!important;
}
.mt16{
  margin-top: 16px!important;
}
.mt17{
  margin-top: 17px!important;
}
.mt20{
  margin-top: 20px!important;
}
.mt30{
  margin-top: 30px!important;
}
.mt40{
  margin-top: 40px!important;
}
.mt100{
  margin-top: 100px!important;
}
.ml5{
  margin-left: 5px!important;
}
.ml10{
  margin-left: 10px!important;
}
.ml20{
  margin-left: 20px!important;
}
.mb5{
  margin-bottom: 5px!important;
}
.mb10{
  margin-bottom: 10px!important;
}
.mr5{
  margin-right: 5px!important;
}
.mr8{
  margin-right: 8px!important;
}
.mr10{
  margin-right: 10px!important;
}
.mr16{
  margin-right: 16px!important;
}
.mr20{
  margin-right: 20px!important;
}
.mb15{
  margin-bottom: 15px!important;
}
.mb17{
  margin-bottom: 17px!important;
}
.mb20{
  margin-bottom: 20px!important;
}
.mb30{
  margin-bottom: 20px!important;
}
.mb40{
  margin-bottom: 40px!important;
}
.width20{
  width: 20%!important;
}
.width30{
  width: 30%!important;
}
.width40{
  width: 40%!important;
}
.width50{
  width: 50%!important;
}
.width60{
  width: 60%!important;
}
.width70{
  width: 70%!important;
}
.width80{
  width: 80%!important;
}

.width-auto{
  width: auto!important;
}
.w80{
  width: 80px!important;
}
.w100{
  width: 100px!important;
}
.w110{
  width: 110px!important;
}
.w140{
  width: 140px !important;
}
.w150{
  width: 150px!important;
}
.w160{
  width: 160px!important;
}
.w180{
  width: 180px !important;
}
.w200{
  width: 200px!important;
}
.w250{
  width: 250px!important;
}
.w256{
  width: 256px!important;
}
.w260{
  width: 260px!important;
}
.w280{
  width: 280px!important;
}
.w300{
  width: 300px!important;
}
.w340{
  width: 340px!important;
}
.w350{
  width: 350px!important;
}
.w382{
  width: 382px!important;
}
.w400{
  width: 400px!important;
}
.w450{
  width: 450px!important;
}
.w600{
  width: 600px!important;
}
.h32 {
  height: 32px;
}
.ml120{
  margin-left: 120px;
}
.fl{float: left;}
.fr{float: right}
.clearfix:after{
  display: block;
  clear: both;
  content: '';
  visibility: hidden;
  height: 0;
}
.clearfix{
  zoom: 1;
}

.cursor{
  cursor: pointer;
}
.cursor-nodrop{
  cursor: no-drop;
}

.red {
  color:$danger-color;
}
.blue{
  color:$primary-color;
  // cursor: pointer;
}
.gray {
  color: #909399;
}
.yellow {
  color: #fede29;
}
.green{
  color: green;
}
.gray-bg {
  background-color: #f0f2f5;
}



.fz10{
  font-size: 10px;
}
.fz11{
  font-size: 11px;
}
.fz12{
  font-size: 12px;
}
.fz13{
  font-size: 13px;
}
.fz14{
  font-size: 14px;
}
.fz16{
  font-size: 16px;
}
.fz18{
  font-size: 18px;
}
.fz20{
  font-size: 20px;
}
.fz22{
  font-size: 22px;
}
.fz24{
  font-size: 24px;
}
.fz26{
  font-size: 26px;
}
.fz28{
  font-size: 28px;
}
.fz36 {
  font-size: 36px;
}
.fz30{
  font-size: 30px;
}

.fz40{
  font-size: 40px;
}
.line-height2{
  line-height:2;
}
.line-height1_5{
  line-height:1.5;
}
.line-height1{
  line-height:1;
}

.ellipsis-100{
  @include ellipsis(100%);
}
.ellipsis-50{
  @include ellipsis(50%);
}
.ellipsis-80{
  @include ellipsis(80%);
}
.ellipsis{
  max-height:20px;
  line-height:20px;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical
}

.ellipsis-l2{
  max-height:40px;
  line-height:20px;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical
}
.ellipsis-l3{
  max-height:60px;
  line-height:20px;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical
}

.border-radius2{
  border: 1px solid #DCDFE6;
  border-radius:2px;
}


.border1{
  border: 1px solid #DCDFE6;
}
.border2{
  border: 1px solid #E4E7ED;
}
.border3{
  border: 1px solid #EBEEF5;
}
.border4{
  border: 1px solid #F2F6FC;
}

.primary-color{
  color: $primary-color;
}
.success-color{
  color: $success-color;
}
.warning-color{
  color: $warning-color;
}
.danger-color{
  color: $danger-color;
}
.info-color{
  color: $info-color;
}

.success-color-bg{
  background-color: $success-color;
}
.warning-color-bg{
  background-color: $warning-color;
}
.danger-color-bg{
  background-color: $danger-color;
}
.info-color-bg{
  background-color: $info-color;
}




.primary-font-color{
  color: $primary-font-color;
}
.regular-font-color{
  color: $regular-font-color;
}
.minor-font-color{
  color: $minor-font-color;
}
.place-font-color{
  color: $place-font-color;
}

.overflow-hidden{
  overflow: hidden;
}

.inline-block{
  display: inline-block;
}

.block{
  display: block;
}
.inline{
  display: inline;
}

.vertical-middle{
  vertical-align: middle;
}
.vertical-top{
  vertical-align: top;
}
.vertical-bottom{
  vertical-align: bottom;
}
.vertical-baseline {
   vertical-align: baseline;
}

.cursor-pointer{
  cursor: pointer;
}


img {
  position: relative;
}
img::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-size: cover;
  background-image: url(@/../../static/img/failed-load_img.png);
  // background-image: url(/static/img/failed-load_img.png);
}

.bold{
  font-weight: bold;
}
.flex{
  display: flex;
}
.border-radius__default{
  border-radius: 4px;
}
.cell-time{
  color: #606266;
  line-height: 18px;
  span{
    color:#909399;
  }
}
/*隐藏滚轮*/
// ::-webkit-scrollbar {
//   display: none;
// }


// 幽灵按钮放在全局方便全局改样式
.ghost-btn {
  background: #fff !important;
  color: #2f54eb !important;
  &:hover {
    border-color: #597EF7;
    color: #597EF7 !important;
  }
  &:active {
    border-color: #1D39C4;
    color: #1D39C4 !important;
  }
}

.delIcon {
  width: 24px;
  display: inline-block;
  height: 24px;
  border-radius: 2px;
  text-align: center;
  color: #f5222d;
  line-height: 24px;
  cursor: pointer;
  &:hover {
    background: #f6e1e5;
  }
}
.tips {
  font-size: 12px;
  font-weight: 400;
  color: #909399;
  line-height: 17px;
}

.el-radio-group.customize{
  .el-radio-button{
    border-top: 1px solid #EBEFFE;
    border-bottom: 1px solid #EBEFFE;
    padding: 4px 0 4px 4px;
  }
  .el-radio-button:first-child{
    border-left: 1px solid #EBEFFE;
    border-radius: 2px 0 0 2px;
    .el-radio-button__inner{
      border:none;
    }
  }
  .el-radio-button:last-child{
    border-radius: 0 2px 2px 0;
    border-right: 1px solid #EBEFFE;
    padding: 4px;
  }
  .el-radio-button__inner{
    padding: 2px 8px;
    line-height: 20px;
    border:none;
    color: #303133;
    font-weight: 400px;
  }
  .el-radio-button__orig-radio:checked+.el-radio-button__inner{
    background: #EBEFFE;
    border:none;
    color: #2F54EB;
    border-radius: 2px;
    box-shadow:none;
    font-weight: 500px;
  }
}
.rank-icon {
  display: block;
  line-height: 20px;
  // height: 20px;
  text-align: center;
  position: relative;
  span {
    font-weight: 700;
    z-index: 1;
    color: white;
    font-size: 12px;
    background: #98a3d9;
    border-radius: 2px;
    padding: 0 3px;
    min-width: 14px;
    min-height: 13px;
    display: inline-block;
  }
  span.rank1 {
    background: #2F54EB;
  }
  span.rank2 {
    color: #303133;
    background: #F2F3F5;
  }
 
}
.wxapp {
  width: 253px;
  height: 32px;
  background: #f2f3f5;
  border-radius: 2px;
  border: 1px solid #dcdfe6;
  padding: 0 11px;
  box-sizing: border-box;
  display: inline-flex;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mini-sub-title {
  width: 100%;
  height: 40px;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  margin-bottom: 5px;
  .line {
    width: 2px;
    height: 14px;
    background: #2f54eb;
    margin-right: 8px;
  }
  .text {
    font-size: 14px;
    color: #303133;
    width: 100%;
  }
}