/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
@import "./colors.less";
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  box-sizing: border-box;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}

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


/* custom */

a {
  color: inherit;
  text-decoration: none;
  -webkit-backface-visibility: hidden;
}

li {
  list-style: none;
}

input::-webkit-input-placeholder{
  color: @gray-placeholder;
}
input:-ms-input-placeholder{
  color: @gray-placeholder;
}
input::-moz-placeholder{
  color: @gray-placeholder;
}


::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

::-webkit-scrollbar-track {
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

::-webkit-scrollbar-track-piece {
  /*background-color: rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;*/
}

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

@-moz-document url-prefix(http: //),url-prefix(https://) {

  /* 滚动条颜色 */

  scrollbar {
    -moz-appearance: none !important;
    width: 5px;
    height: 5px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
  }


  /* 滚动条按钮颜色 */

  thumb, scrollbarbutton {
    -moz-appearance: none !important;
  }


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

  thumb:hover, scrollbarbutton:hover {
    -moz-appearance: none !important;
  }


  /* 隐藏上下箭头 */

  scrollbarbutton {
    display: none !important;
  }


  /* 纵向滚动条宽度 */

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


}
scrollbar {
  /*  clear useragent default style*/

  -moz-appearance: none !important;
}

/* buttons at two ends */
scrollbarbutton {
  -moz-appearance: none !important;
}

/* the sliding part*/
thumb {
  -moz-appearance: none !important;
}
scrollcorner {
  -moz-appearance: none !important;
  resize: both;
}

/* vertical or horizontal */
scrollbar[orient="vertical"] {
  color: silver;
}
-moz-scrollbar-track {
  width: 5px;
  border: none;
  background: #ff0000;
}
-moz-scrollbar-face {
  width: 5px;
  border: none;
  background: #ff0000;
}
-moz-scrollbar-arrow {
  width: 5px;
  border: none;
  background: #ff0000;
}
-moz-scrollbar {
  -moz-scrollbar-width: 15px;
  -moz-scrollbar-border: 1px solid black;
  -moz-scrollbar-background-color: white;
  -moz-scrollbar-track-background-color: silver;
  -moz-scrollbar-arrow-background-color: silver;
  -moz-scrollbar-arrow-color: blue;
}

/*::-webkit-scrollbar-button {
  color: #c8cbd3;
}*/
html, body {
  width: 100%;
  height: 100%;
  background-color: @gray-background;
  font-size: 14px;
  font-family: "Helvetica Neue", "Helvetica", "PingFang SC", "Hiragino Sans GB","Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
body {
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
input:focus {
  box-shadow: none;
  outline: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

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

.clearfix {
  zoom: 1;
}

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

.block {
  display: block;
}

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

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

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

.border-radius-18 {
  border-radius: 18px;
}

.cursor-pointer {
  cursor: pointer;
}

.t-rt {
  text-align: right;
}

.t-ct {
  text-align: center;
}

.text-left {
  text-align: left;
}

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

.text-right {
  text-align: right;
}

.color-fff {
  color: #fff;
}

.color-1890ff {
  color: #2f54eb;
}

.color-c0c4cc {
  color: #c0c4cc;
}

.color-606266 {
  color: #606266;
}

.color-303133 {
  color: #303133;
}

.color-f56c6c {
  color: #f56c6c;
}

.color-909399 {
  color: #909399;
}

.color-2f54eb {
  color: #2F54EB;
}

.color-dedfe6 {
  color: #dedfe6;
}

.p-0 {
  padding: 0;
}

.p-20 {
  padding: 20px;
}

.p-24 {
  padding: 24px;
}

.p-60 {
  padding: 60px;
}

.p-45 {
  padding: 45px;
}

.p-l-5 {
  padding-left: 5px;
}

.p-l-6 {
  padding-left: 6px;
}

.p-l-8 {
  padding-left: 8px;
}

.p-l-10 {
  padding-left: 10px;
}

.p-l-12 {
  padding-left: 12px;
}

.p-l-14 {
  padding-left: 14px;
}

.p-l-15 {
  padding-left: 15px;
}

.p-l-20 {
  padding-left: 20px;
}

.p-l-40 {
  padding-left: 40px;
}

.p-l-60 {
  padding-left: 60px;
}

.p-l-110 {
  padding-left: 110px;
}

.p-lr-11 {
  padding: 0 11px;
}

.p-r-6 {
  padding-right: 6px;
}

.p-r-10 {
  padding-right: 10px;
}

.p-r-20 {
  padding-right: 20px;
}

.p-t-12 {
  padding-top: 12px;
}

.p-t-14 {
  padding-top: 14px;
}

.p-t-20 {
  padding-top: 20px;
}

.p-t-35 {
  padding-top: 35px;
}

.p-t-185 {
  padding-top: 185px;
}

.m-l-10 {
  margin-left: 10px;
}

.m-l-16 {
  margin-left: 16px;
}

.m-t-8 {
  margin-top: 8px;
}

.m-t-10 {
  margin-top: 10px;
}

.m-t-15 {
  margin-top: 15px;
}

.m-t-20 {
  margin-top: 20px;
}

.m-t-22 {
  margin-top: 22px;
}

.m-t-24 {
  margin-top: 24px;
}

.m-t-30 {
  margin-top: 30px;
}

.m-t-40 {
  margin-top: 40px;
}

.m-t-45 {
  margin-top: 45px;
}

.m-r-10 {
  margin-right: 10px;
}

.m-r-20 {
  margin-right: 20px;
}

.m-b-10 {
  margin-bottom: 10px;
}

.m-b-16 {
  margin-bottom: 16px;
}

.m-b-20 {
  margin-bottom: 20px;
}

.m-b-25 {
  margin-bottom: 25px;
}

.m-b-40 {
  margin-bottom: 40px;
}

.m-b-60 {
  margin-bottom: 60px;
}

.m-20 {
  margin: 20px;
}


.font-0 {
  font-size: 0;
}

.font-10 {
  font-size: 10px;
}

.font-12 {
  font-size: 12px;
}

.font-13 {
  font-size: 13px;
}

.font-14 {
  font-size: 14px;
}

.font-16 {
  font-size: 16px;
}

.font-20 {
  font-size: 20px;
}

.font-30 {
  font-size: 30px;
}

.font-w-400 {
  font-weight: 400;
}

.font-w-500 {
  font-weight: 500;
}

.font-w-600 {
  font-weight: 600;
}

.line-h-1 {
  line-height: 1;
}

.line-h-18 {
  line-height: 18px;
}

.w-80 {
  width: 80px;
}

.w-105 {
  width: 105px;
}

.w-118 {
  width: 118px;
}

.w-130 {
  width: 130px;
}

.w-250 {
  width: 250px;
}

.w-500 {
  width: 500px;
}

.w-680 {
  width: 680px;
}

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

.block {
  display: block;
}

.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* flex */
.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

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

.flex-column {
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}

.flex-row {
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
}

.flex-align-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-align-start {
  -webkit-box-align: flex-start;
  -webkit-align-items: flex-start;
  -ms-flex-align: flex-start;
  align-items: flex-start;
}

.flex-pack-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.flex-start {
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -ms-justify-content: flex-start;
  -o-justify-content: flex-start;
  justify-content: flex-start;
}

.flex-wrap {
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-space-between {
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  -o-justify-content: space-between;
  justify-content: space-between;
}

/* 表格隐藏省略 */
.el-table .el-table-column--selection .cell {
  text-overflow: clip;
}
/* 单选 */
.el-table .hide-ellipsis .cell {
  text-overflow: clip;
}

/* 提示 */
.el-alert--info {
  width: 608px;
  font-size: 14px;
  color: #606266;
  background: rgba(240, 245, 255, 1);
  border-radius: 2px;
  border: 1px solid rgba(133, 165, 255, 1);

  .el-icon-info {
    width: 12px;
    font-size: 12px;
    color: #2f54eb;
    align-self: flex-start;
    padding-top: 3px;
  }
}
/* 授权步骤 */
.step-one {
  .el-steps {
    .el-step {
      .el-step__main {
        margin-left:-15px;
      }
      &:first-child {
        .el-step__head {
          .el-step__icon {
            font-size: 12px;
            color: #fff;
            background: #2f54eb;
            border: 1px;
          }
          .el-step__line {
            height: 1px;
            background-color: #c4c6cf;
          }
          &.is-success {
            color: #2f54eb;
            border-color: #2f54eb;
          }
        }

        .el-step__title {
          &.is-wait {
            color: #303133;
          }
          &.is-success {
            color: #303133;
          }
        }

      }
      &:last-child {
        .el-step__title {
          &.is-wait {
            color: #606266;
          }
        }
        .el-step__icon {
          border-width: 1px;
        }
      }
    }
  }
}
.step-two {
  .el-steps {
    .el-step {
      .el-step__main {
        margin-left:-15px;
      }
      .el-step__head {
        .el-step__icon {
          font-size: 12px;
          background: #2f54eb;
          border: 1px;
        }

        .el-step__line {
          height: 1px;
          background-color: #c4c6cf;
        }

        &.is-success {
          color: #2f54eb;
          border-color: #2f54eb;
          .el-step__icon {
            background: #fff;
            border: 1px solid #2f54eb;
          }
        }
        &.is-wait {
          .el-step__icon {
            color: #fff;
          }
        }
      }
      &:last-child {
        .el-step__icon-inner {
          color: #fff;
        }
      }
      .el-step__title {
        &.is-wait {
          color: #303133;
        }

        &.is-success {
          color: #303133;
        }
      }
    }
  }
}

/* 树滚动 */
.auth-select-tree .el-tree>.el-tree-node {
  display: inline-block;
  min-width: 100%;
}
