@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;
}
i {
  font-size:14px;
}
p {
	color: $primary-font-color;
}
a {
  color: #1890ff;
}
a:hover {
  color: #40A9FF;
}

.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;
}
.pb22{
  padding-bottom: 22px!important;
}
.pl5{
  padding-left: 5px!important;
}
.pl10{
  padding-left: 10px!important;
}
.pl20{
  padding-left: 20px!important;
}
.pr4{
  padding-right: 4px!important;
}
.pr5{
  padding-right: 5px!important;
}
.pr7{
  padding-right: 7px!important;
}
.pr10{
  padding-right: 10px!important;
}
.pr20{
  padding-right: 20px!important;
}

.ml30{
  margin-left: 30px!important;
}
.ml80{
  margin-left: 80px!important;
}
.ml100{
  margin-left: 100px!important;
}
.mt20{
  margin-top: 20px!important;
}
.mt10{
  margin-top: 10px!important;
}
.ml5{
  margin-left: 5px!important;
}
.ml10{
  margin-left: 10px!important;
}
.ml20{
  margin-left: 20px!important;
}
.mb10{
  margin-bottom: 10px!important;
}
.mr10{
  margin-right: 10px!important;
}
.mr20{
  margin-right: 20px!important;
}
.mb20{
  margin-bottom: 20px!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;
}
.w150{
  width: 150px!important;
}
.w200{
  width: 200px!important;
}
.w250{
  width: 250px!important;
}
.w300{
  width: 300px!important;
}
.w400{
  width: 400px!important;
}
.w450{
  width: 450px!important;
}
.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;
}

.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;
}
.fz30{
  font-size: 30px;
}

.fz40{
  font-size: 40px;
}
.line-height2{
  line-height:2;
}
.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;
}

.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(/marketing/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;
}
/*隐藏滚轮*/
// ::-webkit-scrollbar {
//   display: none;
// }

