$color-primary:#5882EF;

* { margin: 0; padding: 0;box-sizing: border-box; }
body {
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, SimSun, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.fr-second-toolbar {
    display: none !important;
}
img {
  object-fit: contain !important;
  image-rendering: -moz-crisp-edges; 
  image-rendering: -o-crisp-edges; 
  image-rendering: -webkit-optimize-contrast; 
  image-rendering: crisp-edges; 
  -ms-interpolation-mode: nearest-neighbor;
}

a {
  text-decoration: none;
  background-color: transparent
}

a:hover, a:active {
  outline-width: 0;
  text-decoration: none
}
#app {
  width: 100%;
  position: absolute;
  top: 0px;
  bottom: 0px;
/*   left:0; */
}
.el-submenu [class^="fa"] {
  vertical-align: baseline;
  margin-right: 10px;
}
.el-menu-item [class^="fa"] {
  vertical-align: baseline;
  margin-right: 10px;
}
.toolbar {
  font: 14px "微软雅黑";
  color: $color-primary;
  background: #fff;
  padding: 10px 15px;
  margin: 10px 0px;
  .el-form-item {
    margin-bottom: 10px;
  }
}
.headTip {
  padding: 10px 15px;
  margin: 10px auto;
  font: 14px "微软雅黑";
  color: #fff;
  background: $color-primary;
}
.fade-enter-active,
.fade-leave-active {
  transition: all 0.2s ease;
}
.fade-enter,
.fade-leave-active {
  opacity: 0;
}
p[data-f-id="pbf"] {
  display: none;
}
iframe {
  border: none;
}
.el-table .success-row {
  background: #eaeaea;
}
.editsty {
  font-size: 14px;
  color: #409eff;
  cursor: pointer;
}
.deletesty {
  font-size: 14px;
  color: red;
  cursor: pointer;
}
.disty {
  font-size: 14px;
  color: #999;
  cursor: not-allowed;
}
.warnsty {
  font-size: 14px;
  color: #FF9900;
}
.successty {
  font-size: 14px;
  color: #1BB940;
}

.el-card__header {
  border: none !important;
  box-shadow: 0 3px 6px rgba(37, 37, 239, 0.1) !important;
}
.el-pagination.is-background .el-pager li {
  background: #fff;
  // border: 1px solid #8F9BB3;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
  border-color: #409eff;
}
.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev {
  // border: 1px solid #8F9BB3;
  background: #fff;
}
.clearfix:after {
  content: "";
  height: 0;
  clear: both;
  visibility: hidden;
  display: block;
  zoom: 1;
}
.text_oneLine {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 控制文字显示两行 */
.text_twoLine {
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
/* .el-popover  */
.el-checkbox__input.is-disabled + span.el-checkbox__label {
  color: #666 !important;
}
.el-form-item__label {
  font-size: 16px;
}
.el-collapse-item__header {
  border: none;
  font-size: 16px;
  color: #333;
  font-weight: bold;
  position: relative;
  margin-bottom: 20px;
}
/* 省市选择禁用统一element样式 */
.distpicker-address-wrapper select:disabled {
  cursor: not-allowed;
  background: #f5f7fa;
  border-color: #e4e7ed;
  color: #c0c4cc;
  opacity: 1;
}
.distpicker-address-wrapper select {
  font-size: 14px !important;
}
/* img preview */
.el-image-viewer__mask {
  opacity: 0.8;
}
.el-image-viewer__canvas .el-image-viewer__img {
  position: absolute;
  // left: 40%;
  // top: 40%;
  // transform: translate(-50%,-50%);
  width: 1200px;
  max-height: 100vh;
  overflow-y: scroll;
}
.el-image-viewer__next,
.el-image-viewer__prev {
  width: 62px;
  height: 110px;
  border: none;
  font-size: 80px;
  background: transparent;
  color: #858585;
}
.el-image-viewer__close {
  width: 66px;
  height: 66px;
  color: #fff;
  font-size: 48px;
}

.el-popconfirm .el-popconfirm__action {
  margin-top: 10px; 
}

/*修改滚动条样式*/
div::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
div::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
div::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
div::-webkit-scrollbar-thumb:hover {
  background: #888;
}
div::-webkit-scrollbar-corner {
  background: #666;
}
.customName:hover {
  text-decoration: underline;
}
/**/
.el-select-dropdown__wrap {
  max-height: 358px !important;
}
 
/* 日期选择 */
.mx-datepicker {
  width: 280px !important;
}
.mx-calendar-content .cell.active {
  background-color: #409EFF !important;
}
.mx-datepicker .mx-input {
  height: 40px;
  border-color: #DCDFE6;
  box-shadow: none;
}
.mx-input {
    &::placeholder {
      color: #bbb;
    }
    &:hover {
      border-color: #C0C4CC !important;
    }
  }

  /*修改滚动条样式*/
ul::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
ul::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
ul::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
ul::-webkit-scrollbar-thumb:hover {
  background: #888;
}
ul::-webkit-scrollbar-corner {
  background: #666;
}

/* reset 表格头 */
.el-table th.is-leaf {
  background:#F0F2F5 !important;
}
.el-table td, .el-table th.is-leaf {
  border-color: #DCDFE6 !important;
}

textarea {
	font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}
// .el-dialog {
//     display: flex;
//     flex-direction: column;
//     margin: 0 !important;
//     position: absolute;
//     top: 50%;
//     left: 50%;
//     transform: translate(-50%, -50%);
//     max-height: calc(100% - 30px);
//     max-width: calc(100% - 30px);
//   }
//   .el-dialog .el-dialog__body {
//     flex: 1;
//     overflow: auto;
// }

.el-color-predefine {
  .el-color-predefine__color-selector {
    box-shadow: 0 0 1px 1px #999;
  }
}

//图表搜索select
.chart-search-popper {
  min-width: 300px !important;
  width: auto !important;
}

//数据管理下的输入框
.el-autocomplete-suggestion-data-entry {
    width: auto !important;
}

// 英文图表标识
.chartEn-mark{
  position: absolute;
  top: 0;
  left: 0;
  border-right: 25px solid transparent;
  border-top: 21px solid #409EFF;
  border-bottom: 21px solid transparent;
  border-left: 25px solid #409EFF;
  color: white;
  height: 0;
  width: 0;
  white-space: nowrap;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  font-size: 16px;
}

.ficc-package {
  display: inline-block;
  font-size: 12px;
  padding:0 5px;
  border-radius: 5px;
  color: #3994fb;
  background-color: #dcecfc;
}

.clear:after{ display:block; height:0; content:""; clear:both; }

.highcharts-range-selector-group{ display:none; }
// .highcharts-credits{ display:none; }
// .highcharts-axis-title{ display:none; }
.highcharts-legend-item tspan{ font-size:14px; font-weight:400; color:#960000; }
// highcharts-legend-item highcharts-spline-series highcharts-color-undefined highcharts-series-2

.el-dialog__header{
  background-color: $color-primary;
  color: #fff;
  margin-right: 0;
  .el-dialog__headerbtn{
    .el-dialog__close{color: #fff;}
  }
}
