* {
  font-size: 12px;
}

html,
body,
#app {
  margin: 0;
  height: 100%;
  padding-right: 0 !important;
  overflow: hidden;
}

ul {
  padding: 0;
  margin: 0;
}

.fullheight {
  height: 100%;
}

.scrollbar-fullheight {
  height: 100%;
}

.scrollbar-fullheight > .el-scrollbar__wrap {
  overflow-x: auto;
  margin-bottom: 0 !important;
}

.scrollbar-fullheight > .el-scrollbar__wrap > .el-scrollbar__view {
  margin-bottom: 10px;
}

.inputs {
  display: inline-block;
}

/*解决el-table的列边框有错位的问题*/

body .el-table th.gutter {
  display: table-cell !important;
}

.custom-tree-node {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  float: left;
  padding-right: 8px;
}

/*通用删除按钮和其他按钮之间的分组问题*/

.ht-delete-button + .el-button,
.el-button + .ht-delete-button {
  margin-left: 10px;
}

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

div.full {
  width: 100%;
  height: 100%;
}

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

.form-table {
  width: 100%;
  border-top: 1px solid #ebeef5;
  border-left: 1px solid #ebeef5;
}

.form-table > thead > tr > th,
.form-table > tbody > tr > th {
  text-align: right;
  color: #666;
  font-weight: normal;
}

.form-table > tbody > tr > th.group-th {
  text-align: left;
  background: #f9f9f9;
  font-weight: bold;
}

.form-table > thead > tr.sub-table-header > th {
  text-align: center;
  background: #fafafa;
}

.form-table > tbody > tr > th > span,
.form-table > thead > tr > th > span {
  color: #f00;
}

.form-table > tbody > tr > th,
.form-table > tbody > tr > td,
.form-table > tfoot > tr > td,
.form-table > thead > tr > th {
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
  padding: 15px;
  min-width: 0;
  box-sizing: border-box;
  text-overflow: ellipsis;
  vertical-align: middle;
  position: relative;
}

.form-table > tfoot > tr > td {
  padding: 5px 10px;
}

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

.show-ellipsis2 {
  overflow: hidden;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

ol.guide-ol {
  counter-reset: li;
  margin: 0;
  padding: 0;
}

ol.guide-ol > li {
  font-size: 1.2em;
  list-style: none;
  margin: 0 0 0.5em 1.95em;
  padding: 0.5em 1em;
  position: relative;
  line-height: 1.6em;
  color: #555;
}

ol.guide-ol > li > code {
  font-size: 1em;
  font-weight: bold;
  color: #f48d2f;
}

ol.guide-ol > li:before {
  background: #8da97d;
  color: white;
  content: counter(li);
  counter-increment: li;
  font-size: 1.2em;
  line-height: 1em;
  padding: 0.5em 0;
  position: absolute;
  top: 0.6em;
  left: -1.8em;
  text-align: center;
  width: 2em;
}

/* .el-select-dropdown__item span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
} */
/*.el-select-dropdown__item.selected span {*/
/*  color: #21aeff !important;*/
/*}*/

/* .el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
  background-color: #103656  !important;
} */
/* .el-select-dropdown__item.hover, .el-select-dropdown__item:hover{
  background-color: #103656  !important;
} */
/* .el-dialog__header {
  border-bottom: 1px solid #ebeef5;
} */
.el-dialog__header {
  padding: 16px 20px 10px;
  background-color: #f4f6fc;
  height: 50px;
  box-sizing: border-box;
}

.el-dialog__title {
  font-family: Microsoft YaHei;
  font-size: 15px;
  font-weight: bold;
  font-stretch: normal;
  line-height: 20px;
  letter-spacing: 0;
  color: #24262b;
}

.el-form-item__label {
  font-family: Microsoft YaHei;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 19px;
  letter-spacing: 0;
  color: #545454;
}

.el-form-item {
  margin-bottom: 17px;
}

.el-dialog__footer {
  padding-top: 0;
}

.el-input {
  input {
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 19px;
    letter-spacing: 0;
  }

  input::-webkit-input-placeholder {
    /*  针对 谷歌 内核 font-family: Microsoft YaHei; */
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 19px;
    letter-spacing: 0;
    color: #c4c4c4;
  }

  input:-moz-placeholder {
    /* 火狐 font-family: Microsoft YaHei; */
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 19px;
    letter-spacing: 0;
    color: #c4c4c4;
  }

  input:-ms-input-placeholder {
    /* / 微软ie font-family: Microsoft YaHei; */
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 19px;
    letter-spacing: 0;
    color: #c4c4c4;
  }
}

/* .el-dialog__title {
  color: #fff !important;
} */
.el-dialog__headerbtn .el-dialog__close {
  color: red !important;
  font-size: 20px !important;
}

.el-table--scrollable-y .el-table__body-wrapper {
  max-height: calc(100% - 8.5%);
  height: calc(100% - 8.5%);
}

.el-table__body-wrapper {
  max-height: calc(100% - 8.5%);
  height: calc(100% - 8.5%);
}

/* 去除高德地图左下角logo */
.amap-logo {
  display: none;
  opacity: 0 !important;
}

.amap-copyright {
  opacity: 0;
}

/* 全局dialog样式适配不同分辨率，(目前如果放开会对其他页面造成影响暂时隐藏) */
/* .el-dialog__wrapper{
    overflow: unset !important;
  }
  .el-dialog{
    margin-top: 6vh !important;
    height: 90% !important;
  }
  .el-dialog__body{
    height: calc(100% - 180px);
    overflow-y: auto;
  } */
/* 解决pop弹框最小宽度150一下不生效 */
/* .el-popover {
  min-width: 35px !important;
  padding: 7px 0 !important;
} */

/*.el-radio {*/
/*  border: 1px solid rgba(67, 161, 255, 0.3) !important;*/
/*}*/
.el-radio.is-bordered.is-checked {
  border-color: #43a1ff !important;
}

.el-radio.is-bordered {
  border-color: rgba(67, 161, 255, 0.3) !important;
}

.el-radio input[aria-hidden='true'] {
  display: none !important;
}

.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
  box-shadow: none !important;
}

/* 禁止第一级被选中 */
.twoStage .el-cascader-menu:nth-of-type(1) .el-radio__input {
  display: none !important;
}
