// scroll
::-webkit-scrollbar {
  width: .5rem;
  height: .5rem;
  background: hsla(0, 0%, 100%, 0.6);
}

::-webkit-scrollbar-track {
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  border-radius: 0;
  background-color: rgba(95,95,95,.4);
  transition: background-color .15s;

  &:hover {
    background-color: rgba(95,95,95, .7);
  }
}

#cnzz_stat_icon_1267002346 {
  display: none;
}

// common style
.clearfix {
  &:before, &:after {
    display: table;
    content: " ";
  }
  &:after {
    clear: both;
  }
}
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline li {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.container {
  width: $container-width;
  margin: 0 auto;
}

.dl-horizontal dt {
  float: left;
  width: 160px;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl-horizontal dd {
  display: block;
  margin-left: 180px;

  &:before, &:after {
    display: table;
    content: " ";
  }
  &:after {
    clear: both;
  }
}
.dropdown {
  position: relative;

  .dropdown-toggle {
    cursor: pointer;
  }
  .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 100%;
    display: none;
    background-color: $white;
    z-index: 100;
  }
  &:hover {
    .dropdown-menu {
      display: block;
    }
  }
}
// button
.btn {
  display: inline-block;
  height: 36px;
  line-height: 1;
  padding: 3px 12px;
  margin: 0;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;

  &.btn-default {
    color: $text;
    background-color: $white;
    border-color: $dividers;
  }
  &.btn-primary {
    color: $white;
    background-color: $primary;
    border-color: $primary;
  }
}
// form
.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: $white;
  background-image: none;
  border: $border;
  color: #999;
  display: inline-block;
  font-size: inherit;
  height: 36px;
  line-height: 1;
  outline: none;
  padding: 3px 10px;
  width: 100%;

  &.input-primary {
    border-color: $primary;
  }
}

.input-group {
  position: relative;
  display: inline-table;
  width: 100%;
  border-collapse: separate;

  .form-control, .input-group-btn {
    display: table-cell;
  }

  .input-group-addon, .input-group-btn {
    position: relative;
    width: 1px;
    white-space: nowrap;
    vertical-align: middle;
  }

  .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
  }

  .input-group-btn {
    .btn {
      position: relative;
    }
  }
}

// vue animate
.slide-down-enter-active, .slide-down-leave-active {
  transition: all .4s cubic-bezier(0, 1.2, 1, 0.5);
  opacity: .7;
  transform: translate3d(0, 4em, 0);
}
.slide-down-enter, .slide-down-leave-active {
  opacity: .3;
  transform: translate3d(0, 4em, 0);
}

.slide-left-enter-active, .slide-left-leave-active {
  transition: all .2s cubic-bezier(0, 1.2, 1, 0.5);
  opacity: .5;
  transform: translate3d(2em, 0, 0);
}

.slide-left-enter, .slide-left-leave-active {
  opacity: .3;
  transform: translate3d(2em, 0, 0);
}

.slide-right-enter-active, .slide-right-leave-active {
  transition: all .4s cubic-bezier(0, 1.2, 1, 0.5);
  opacity: .5;
  transform: translate3d(5em, 0, 0);
}
.slide-right-enter, .slide-right-leave-active {
  opacity: .3;
  transform: translate3d(5em, 0, 0);
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .25s
}
.fade-enter, .fade-leave-active {
  opacity: 0
}
.fade-move {
  transition: transform .25s;
}

.page-enter-active, .page-leave-active {
  transition: opacity .25s
}
.page-enter, .page-leave-active {
  opacity: 0
}

.module-enter-active, .module-leave-active {
  transition: opacity .25s
}
.module-enter, .module-leave-active {
  opacity: 0
}

.aside-enter-active {
  transition: opacity .25s cubic-bezier(1, -1.17, 1, -1.17);
}
.aside-leave-active {
  transition: opacity 0s
}
.aside-enter, .aside-leave-active {
  opacity: 0
}

a {
  color: #2d8cf0;
  background: 0 0;
  text-decoration: none;
  outline: 0;
  cursor: pointer;
  transition: color .2s ease;
}
.select-adder {
  background:url("../../static/images/all/xiala.png") right no-repeat #fff !important;
  background-position-x: 100% !important;
  /*将默认的select选择框样式清除*/
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  -ms-appearance:none;

}
.select-adder::-ms-expand {
  display: none;
}

//按钮不可点击状态
.el-button.is-disabled, .el-button.is-disabled:focus, .el-button.is-disabled:hover {
  color: #bfcbd9 !important ;
  cursor: not-allowed !important ;
  background-image: none !important ;
  background-color: #eef1f6 !important ;
  border-color: #d1dbe5 !important ;
}
//每项最后一步按钮不可点击状态
.el-button.finish.is-disabled, .el-button.finish.is-disabled:focus, .el-button.finish.is-disabled:hover {
  color: #fff !important;
  background-color: #0076AD !important;
  border: none !important;
  opacity: .7;
  cursor: not-allowed !important;
}
//隐藏加载数据状态
.el-input__icon{
  display: none;
}
//表单样式
form .el-form-item {
  margin: 0 auto 16px;
  width: 360px;
}
form .el-form-item:last-child {
  margin: -8px auto 0!important;
}
form .el-form-item .el-form-item__content {
  margin-left: 0 !important;
}
form .el-form-item .el-form-item__content .el-input__inner{
  width: 360px;
  height: 44px;
  line-height: 44px;
  font-size: 14px;
  color: #000;
  border-radius: 0;
}
form .el-form-item .el-form-item__content .msg{
  float: left;
  width: 210px;
}
form .el-form-item .el-form-item__content .msg .el-input__inner{
  width: 210px;
}
form .el-form-item .el-form-item__content .code{
  float: right;
  width: 130px;
  height: 44px;
  font-size: 14px;
  color: #5a5a5a;
  background: #f4f4f4;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  cursor: pointer;
}
form .el-form-item .el-form-item__content .el-form-item__error {
  position: absolute;
  top: 15px;
  left: 380px;
  padding-top: 0;
  width: 100%;
  text-align: left;
}
form .el-form-item .el-form-item__content .finish{
  display: inline-block;
  margin-top: 34px;
  width: 360px;
  height: 44px;
  line-height: 44px;
  font-size: 16px;
  color: #fff;
  background: #0076AD;
  border-radius: 3px;
  border: none;
}
form .el-form-item .el-form-item__content .el-checkbox{
  float: left;
  margin-left: 50px;
}
form .el-form-item .el-form-item__content .el-checkbox .el-checkbox__inner{
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 0;
}
form .el-form-item .el-form-item__content .el-textarea .el-textarea__inner{
  width: 360px;
  height: 120px;
  border-radius: 0;
}

//我同意按钮
.el-checkbox__input.is-checked .el-checkbox__inner{
  background: transparent !important;
  border-color: #bfbfbf !important;
}
.el-checkbox__input.is-focus .el-checkbox__inner{
  border-color: #bfbfbf !important;
}
.el-checkbox__inner{
  border-color: #bfbfbf !important;
}
.el-checkbox__inner::after{
  border: 2px solid #0076AD !important;
  border-top: 0 !important;
  border-left: 0 !important;
}
form .text-position .el-form-item__content{
  line-height: 20px;
}
form .text-position .el-form-item__content .el-checkbox .el-checkbox__inner{
  margin-top: -1px;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
}
form .text-position .el-form-item__content .el-checkbox .el-checkbox__label{
  padding-left: 8px;
  font-size: 12px;
  color: #606266;
}
form .text-position .el-form-item__content .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label {
  color: #2d8cf0;
}
form .text-position .el-checkbox__input.is-checked .el-checkbox__inner{
  background-color: #5078cb!important;
  border-color: transparent!important;
}
form .text-position .el-checkbox__inner::after {
  border: 2px solid #fff !important;
  border-top: 0 !important;
  border-left: 0 !important;
}
form .captcha{
  overflow: hidden;
}
form .code-input{
  float: left;
  width: 200px !important;
}
form .code-input .el-input__inner{
  width: 200px !important;
}
form img.code-img{
  margin: 5px;
  float: left;
  height: 30px;
  width: 100px;
}

form a.code-click{
  float: right;
  display: inline-block;
  margin-top: 5px;
  width: 40px;
  line-height: 15px;
  text-align: right;
  font-size: 12px;
  color: #666;
  vertical-align: middle;
  cursor: pointer;
}
form a.code-click:hover{
  color: #5078cb;
  text-decoration: none;
  outline: 0;
}

//登录页面样式
//错误提示框变红隐藏
.login-form .el-form-item.is-error .el-input__inner, .login-form .el-form-item.is-error .el-input__inner:focus, .login-form .el-form-item.is-error .el-textarea__inner, .login-form .el-form-item.is-error .el-textarea__inner:focus, .login-form .el-message-box__input input.invalid, .login-form .el-message-box__input input.invalid:focus {
  border-color: #ccc!important;
}
.login-form .el-input__inner{
  padding-left: 30px !important;
  width: 306px !important;
  height: 34px !important;
  line-height: 34px !important;
}
.login-form .el-form-item{
  position: relative;
  width: 306px !important;
}
.login-form .el-form-item i.fa{
  position: absolute;
  top: 4px;
  left: 0;
  z-index: 2;
  display: block;
  width: 30px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  pointer-events: none;
  color: #999;
  font-size: 18px;
}
.login-form .captcha{
  overflow: hidden;
}
.login-form .code-input{
  float: left;
  width: 150px !important;
}
.login-form .code-input .el-input__inner{
  padding: 0 !important;
  height: 34px !important;
  line-height: 34px !important;
  width: 150px !important;
}
.login-form img.code-img{
  margin-top: 5px;
  float: left;
  height: 30px;
  width: 100px;
}
.login-form a.code-click{
  float: right;
  display: inline-block;
  margin-top: 5px;
  width: 45px;
  line-height: 15px;
  text-align: right;
  font-size: 12px;
  color: #666;
  vertical-align: middle;
  cursor: pointer;
}
.login-form a.code-click:hover{
  color: #5078cb;
  text-decoration: none;
  outline: 0;
}
.login-form .el-form-item a.forget{
  color: #5078cb;
  font-size: 12px;
}
.login-form .el-form-item.text-right{
}
.login-form .text-right .el-form-item__content{
  height: 20px;
  line-height: 16px;
}
.login-form .el-form-item .login{
  width: 306px;
  height: 34px;
  line-height: 30px;
}
//短信便捷登录
.loginForm .el-input__inner{
  padding-left: 12px !important;
}
.login-form .fastMsg .el-button.fastCode{
  position: absolute;
  top: 2px;
  right: 0;
  padding: 0;
  width: 93px;
  height: 34px;
  font-size: 12px;
  text-align: center;
  border: none;
  color: #fff;
  background: #5078cb;
}

.login-form .fastMsg .el-button.code-send{
  background: #cccccc;
}
//个人注册错误框颜色
form .el-form-item .el-form-item__content div.active .el-input__inner{
  border-color: #f56c6c !important;
}
//个人注册正确框颜色
form .el-form-item .el-form-item__content div.correct .el-input__inner{
  border-color: #67c23a !important;
}


//登录选择企业弹出框
.dialog .el-dialog__header{
  display: none;
}
.dialog .el-dialog__body{
  padding: 0;
}


//企业认证
form .el-form-item.padding55 .el-form-item__content .el-input__inner{
  //padding-left: 55px;
}
form .el-form-item.padding45 .el-form-item__content .el-input__inner{
  padding-left: 45px;
  border: 1px solid #dcdfe6;
}

//上传图片

.x-btn-blank{
  position: relative;
  display: inline-block;
  width: 360px;
  height: 44px;
  text-align: left;
  border: 1px solid #dcdcdc;
  overflow: hidden;
  cursor: pointer;
}
.x-btn-blank span.upload {
  margin-left: 50px;
  line-height: 44px;
  font-size: 14px;
  color: #c9c9c9;
}
.x-btn-blank input[type='file']{
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 44px;
  opacity: 0;
  border: none;
}
.x-btn-blank:hover, .x-btn-blank[disabled] {
  border-color: #c0c4cc;
  background: #e6e6e6;
  color: #333;
}
.x-btn-blank:hover span.upload{
  color: #000;
}
form .el-form-item.padding55 .el-form-item__content{
  text-align: left;
  line-height: 1;
}
form .el-form-item.padding55 a.thumbnail {
  margin-bottom: 0;
  width: 120px;
  line-height: 70px;
  border-radius: 0;
}
form .el-form-item.padding55 a.thumbnail:hover{
  border: 1px solid #ddd;
}
form .el-form-item.padding55 img.previewImg {
  max-width: 120px;
  max-height: 70px;
}


//地址选择
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  background-color: transparent;
}
.x-union-menu {
  width: 600px;
}
.x-form .dropdown-menu {
  left: 15px;
  margin-top: -1px;
  border-color: #e4ecf3;
  border-radius: 0;
  padding: 0;
}
.x-union-header>div {
  background: #f5f8fa;
  font-weight: 700;
  border-bottom: 1px solid #e4ecf3;
}
.x-union-header{
  overflow: hidden;
  height: 28px;
  line-height: 28px;
  background: #f5f8fa;
}
.x-union-header>div:last-child {
  border-right-width: 0;
}
.x-union-menu .x-item-ext {
  float: left;
  width: 235px;
}
.x-union-header>div, .x-union-list>ul {
  float: left;
  width: 121px;
  border-right: 1px solid #e4ecf3;
}
.x-union-list>ul {
  height: 200px;
  margin: 0;
  overflow-y: auto;
}
.x-union-list .x-item-ext {
  padding: 10px;
}
.x-union-header>div, .x-union-list>ul>li {
  padding: 2px 10px;
  cursor: pointer;
  font-size: 14px;
  color: #505050;
  height: 28px;
  line-height: 28px;
}
.x-union-list>ul>li:hover, .x-union-list>ul>li.active {
  background: #fee9c7;
}
.x-input, .x-input-blank {
  border-color: #ccc;
  border-radius: 0;
  box-shadow: none;
}
.text-right a.register-btn {
  display: inline-block;
  border-radius: 0;
  width: 45px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
}
.text-right a.register-btn:first-child{
  margin-right: 10px;
  background: #5078cb;
  color: #fff;
}
.text-right a.register-btn:last-child{
  background: #e6e6e6;
  color: #333;
}
#street {
  width: 200px !important;
  height: 94px !important;
  font-size: 14px;
  color: #555;
}
form .el-form-item.padding45 .el-form-item__content input.active{
  border-color: #f56c6c !important;
}
form .el-form-item.padding45 .el-form-item__content input.correct{
  border-color: #67c23a !important;
}
form .el-form-item.padding55 .el-form-item__content a.active{
  border-color: #f56c6c !important;
}
form .el-form-item.padding55 .el-form-item__content a.correct {
  border-color: #67c23a !important;
}


//密保问题
form .questions .el-form-item__content{
  text-align: left;
}
form .questions .el-form-item__content span.question {
  font-size: 14px;
  color: #000;
}


//未设置邮箱弹出框
.valid-phone .el-dialog {
  position: absolute;
  width: 300px;
  height: 150px;
  margin: 0 auto;
  left: 50%;
  top: 50%;
  margin-left: -150px;
  margin-top: -75px !important;
}
.valid-phone .el-dialog .el-dialog__header {
  display: none;
}
.valid-phone .el-dialog .el-dialog__body .set-tip{
  width: 100%;
  height: 100%;
}
.valid-phone .el-dialog .el-dialog__body .set-tip p{
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 14px;
  color: #000;
}
.valid-phone .el-dialog .el-dialog__body .set-tip a{
  display: inline-block;
  width: 60px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background: #00a0e9;
  border-radius: 3px;
}




// 模态框样式处理
.center .el-dialog__wrapper{
  z-index:10000;
}
.center .el-dialog__body{
  text-align: center!important;
  border-top:1px solid #d2d2d2!important;
}
.center .el-dialog__footer{
  text-align: center!important;
  padding: 60px 15px 40px;
}
.center .el-dialog__footer .el-button{
  width:180px;
  height:30px;
  line-height: 30px;
  text-align: center;
  padding:0;
  border-radius:15px;
}


//查看大图
#image-box .x-floating-wrap,.image-box .x-floating-wrap {
  position: fixed;
  z-index: 99998;
  background: #000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
#image-box,.image-box{
  display:table; overflow:hidden; margin-left:50px; _position:relative;  width: 1200px;height: 700px;
  position: fixed;
  top: 50%;
  margin-top: -350px;
  left: 50%;
  margin-left: -600px;
  z-index: 2020;
}
#image-box .x-floating,.image-box .x-floating {
  vertical-align:middle !important;
  display:table-cell;
  text-align:center;
  _position:absolute;
  _top:50%; _left:50%;
  top: inherit !important;
  left: inherit !important;
}
#image-box .x-floating img ,.image-box .x-floating img {
  margin: auto auto;
  max-width: 970px !important;
  max-height: 600px !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#image-box .x-floating-wrap,.image-box .x-floating-wrap{
  z-index: 1000000 !important;
}
#item-content{
  color:#fff; display:inline-block; _position:relative; _top:-50%; _left:-50%;
  position: relative;
  z-index: 10000000;
}
#item-content div.x-close-wrap{
  position: absolute;
  right: -15px;
  line-height: 30px;
  top: -13px;
  color: #fff;
  width: 35px;
  height: 35px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 100%;
  opacity: 1;
  margin: 0;
  z-index: 100000;
  min-height: initial;
  text-align: center;
}
#item-content div.x-close-wrap a{
  position: relative;
  left: 0;
  bottom: 0;
  font-size: 34px;
  color: #fff;
}
#item-content div.x-close-wrap a:hover{
  color: #fff !important;
}
#item-content div.x-close-wrap:hover{
  cursor: pointer;
  opacity: .9;
}
#item-content div.x-close-wrap img{
  width: 30px !important;
  height: 30px !important;
}
#item-content .img{
  position: relative;
  z-index: 10;
}



//ie9及以下提示框

.com-result{
  display: none;
  position: relative;
  height: 30px;
  width: 100%;
  line-height: 30px;
  text-align: center;
  background: #fef6f2;
  border: 1px solid #ec854d;
  overflow: hidden ;
}
.com-result .text{
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #f15601;
}
.com-result .text em{
  margin-right: 3px;
  font-style: normal;
}
.com-result .text a {
  color: #5078cb;
}
.com-result .close-tip{
  position: absolute;
  right: 0;
  padding-right: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #ef1d1d;
  line-height: 28px;
}

.clear-float {
  clear: both;
}

//微信扫码登录
.bind-body {
  .login-form {
    margin-top: 15px;
    .el-input__inner{
      padding-left: 15px !important;
    }
  }
}
//登录
.x-login form .el-form-item .el-form-item__content .el-input__inner{
  background-color: #f5f5f5;
  border-radius: 4px;
}

.code-input2 {
  width: 92px !important;
}

//sass注册
.go-register {
  background: #fff !important;
  .container{
    width: 425px !important ;
    background: #FFFFFF;
    border-radius: 3px;
    .content {
      padding: 0 !important ;
      margin: 0!important ;
      .content-top {
        height: 50px !important ;
        line-height: 50px !important ;
        h3{
          margin: 0!important ;
          padding: 0!important ;
        }
      }
      form {
        padding-bottom: 0!important;
        .el-form-item{
          .el-form-item__content {
            .el-form-item__error {
              margin-top: 10px!important ;
              position: absolute!important ;
              top: 44px!important ;
              left: 0!important ;
            }
            .el-checkbox {
              margin-left: 0 !important;
            }
          }
          &.mobile{
            margin-bottom: 36px!important ;
          }
          .btn.finish {
            margin-top: 0!important;
          }
        }
      }
    }
    .login{
      margin: 20px 0 !important ;
    }
  }
}
.go-register form .el-form-item.agree .el-form-item__content{
  margin-top: 18px!important ;
}
//sass登录
//.el-message{
//  margin-top: -18px !important ;
//}
//.el-message i.el-message__closeBtn{
//  display: none;
//}
