 /**
 * 通用css样式布局处理
 * Copyright (c) 2019 ruoyi
 */

 /** 基础通用 **/
 .pt5 {
  padding-top: 5px;
}

.pr5 {
  padding-right: 5px;
}

.pb5 {
  padding-bottom: 5px;
}

.mt5 {
  margin-top: 5px;
}

.mr5 {
  margin-right: 5px;
}

.mb5 {
  margin-bottom: 5px;
}

.mb8 {
  margin-bottom: 8px;
}
.mb16{
  margin-bottom: 16px;
}
.ml5 {
  margin-left: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mr10 {
  margin-right: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

.ml0 {
  margin-left: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mr20 {
  margin-right: 20px;
}

.mb20 {
  margin-bottom: 20px;
}

.m20 {
  margin-left: 20px;
}

.el-dialog:not(.is-fullscreen) {
  margin-top: 6vh !important;
}

.el-table {

  .el-table__header-wrapper,
  .el-table__fixed-header-wrapper {
    th {
      word-break: break-word;
      background-color: #f8f8f9;
      color: #515a6e;
      height: 40px;
      font-size: 13px;
    }
  }

  .el-table__body-wrapper {
    .el-button [class*="el-icon-"]+span {
      margin-left: 1px;
    }
  }
}

/** 表单布局 **/
.form-header {
  font-size: 15px;
  color: #6379bb;
  border-bottom: 1px solid #ddd;
  margin: 8px 10px 25px 10px;
  padding-bottom: 5px
}

/** 表格布局 **/
.pagination-container {
  position: relative;
  height: 25px;
  margin-bottom: 10px;
  margin-top: 15px;
  padding: 10px 20px !important;
}

/* tree border */
.tree-border {
  margin-top: 5px;
  border: 1px solid #e5e6e7;
  background: #FFFFFF none;
  border-radius: 4px;
}

.pagination-container .el-pagination {
  right: 0;
  position: absolute;
}

.el-table .fixed-width .el-button--mini {
  padding-left: 0;
  padding-right: 0;
  width: inherit;
}

.el-tree-node__content>.el-checkbox {
  margin-right: 8px;
}

.list-group-striped>.list-group-item {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.list-group {
  padding-left: 0px;
  list-style: none;
}

.list-group-item {
  border-bottom: 1px solid #e7eaec;
  border-top: 1px solid #e7eaec;
  margin-bottom: -1px;
  padding: 11px 0px;
  font-size: 13px;
}

.pull-right {
  float: right !important;
}

.el-card__header {
  padding: 14px 15px 7px;
  min-height: 40px;
}

.el-card__body {
  padding: 15px 20px 20px 20px;
}

.card-box {
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 10px;
}

/* button color */
.el-button--cyan.is-active,
.el-button--cyan:active {
  background: #20B2AA;
  border-color: #20B2AA;
  color: #FFFFFF;
}

.el-button--cyan:focus,
.el-button--cyan:hover {
  background: #48D1CC;
  border-color: #48D1CC;
  color: #FFFFFF;
}

.el-button--cyan {
  background-color: #20B2AA;
  border-color: #20B2AA;
  color: #FFFFFF;
}

/* submenu item */
.el-menu--horizontal>.el-submenu .el-submenu__title {
  height: 50px !important;
  line-height: 50px !important;
}

/* text color */
.text-navy {
  color: #1ab394;
}

.text-primary {
  color: inherit;
}

.text-success {
  color: #1c84c6;
}

.text-info {
  color: #23c6c8;
}

.text-warning {
  color: #f8ac59;
}

.text-danger {
  color: #ed5565;
}

.text-muted {
  color: #888888;
}

/* image */
.img-circle {
  border-radius: 50%;
}

.img-lg {
  width: 120px;
  height: 120px;
}

.avatar-upload-preview {
  position: absolute;
  top: 50%;
  transform: translate(50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 0 0 4px #ccc;
  overflow: hidden;
}

/* 拖拽列样式 */
.sortable-ghost {
  opacity: .8;
  color: #fff !important;
  background: #42b983 !important;
}

.top-right-btn {
  position: relative;
  float: right;
}


.demo-drawer__content {
  display: flex;
  flex-direction: column;
  height: 100%
}

.demo-drawer__content form {
  flex: 1
}

.demo-drawer__footer {
  display: flex
}

.demo-drawer__footer button {
  flex: 1
}

.el-drawer__body {
  padding: 20px
}

// Drawer 抽屉增加滚动条
.el-drawer {
  overflow-y: scroll;
  
}
.delete-popconfirm{
margin-left: 10px;
}


// 按钮颜色
.el-button--primary {
  color: #FFFFFF;
  background-color: #1E5AFF;
  border-color: #1E5AFF;
}
.el-button--primary:visited,.el-button--primary:active{
  color: #FFFFFF;
  background-color: #1E5AFF;
  border-color: #1E5AFF;
}
.el-button--text{
  color: #1E5AFF;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #1E5AFF;
  border-color: #1E5AFF;
}
/* 弹窗title */
.dialog-title{
  .dialog-icon{
    width: 6px;
    height: 20px;
    background: #1E5AFF;
    opacity: 1;
    border-radius: 4px;
    margin-left: 40px;
  }
  .dialog-tip{
    font-size: 20px;
    font-family: PingFang SC;
    font-weight: 500;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.85);
  }
  padding-bottom: 16px;
  display:flex;
  align-items: center;
  border-bottom: 1px solid #E9E9E9;
  margin: 0 -20px;
}
/* 弹性盒 */
.el-flex-center{
  display:flex;
  flex-direction: column;
  align-items: center;

}
.el-dialog__header{
  padding-top:32px;
}
.el-dialog__headerbtn{
  // top:8px;
}
.el-dialog__body{
  padding:16px 32px 32px 32px;
}
.el-dialog__footer{
  padding:16px 32px 32px 32px;
}

// 表格样式
.el-table--medium th, .el-table--medium td {
  padding: 14.5px 0;
}
.el-table .el-table__header-wrapper th{
  font-size: 14px;
  font-family: PingFangSC-Medium;
  color: rgba(0, 0, 0, 0.85);
  // line-height: 22px;
  background-color: #FAFAFA;
}
.el-table th.is-leaf, .el-table td {
  border-bottom: 1px solid #E8E8E8;
}
.el-table--enable-row-hover .el-table__body tr:hover > td {
  background-color: #FAFAFA;
}
.el-table td{
  font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
// line-height: 22px;
color: rgba(0, 0, 0, 0.65);
}
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #1E5AFF;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #1E5AFF;
  border-color: #1E5AFF;
}
.el-button--mini {
  font-size: 14px;
  padding: 6px 15px;
}
//图标
@font-face {
  font-family: "iconfont"; /* Project id 3129403 */
  src: url('https://at.alicdn.com/t/font_3129403_wmh2r0ex8df.woff2?t=1641979578765') format('woff2'),
       url('https://at.alicdn.com/t/font_3129403_wmh2r0ex8df.woff?t=1641979578765') format('woff'),
       url('https://at.alicdn.com/t/font_3129403_wmh2r0ex8df.ttf?t=1641979578765') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-portrait:before {
  content: "\e6da";
  margin-right: 5px;
}

.icon-wenjianjia-shouqi:before {
  content: "\e68e";
  margin-right: 5px;
}

.icon-geren:before {
  content: "\e60f";
}

.icon-yonghutouxiang:before {
  content: "\e606";
}

.icon-putongwenjianjia:before {
  content: "\e62d";
}

.icon-organization:before {
  content: "\e66b";
  color:#1E5AFF;
}
// .el-cascader-panel .el-radio{
//   position:absolute;
//   z-index:10;
//   padding:0 10px;
//   width:132px;
//   height:34px;
//   line-height:34px;
//  }
// .el-cascader-panel .el-radio__input{
//   visibility: hidden !important;
//  }
// .el-cascader-panel .el-input-node__postfix{
//   top:10px;
//  }
#course{
  .el-dialog{
    position: fixed;
    top: 40%;
    right: 20%;
    overflow: auto;
  }
  
}
#checked{
  .checkedLine{
    display:inline-flex!important; 
    align-items: center;
    width:90px;
    .el-checkbox__label{
      p{
        width:90px;
        margin: -4px 0 0 0;
        white-space: nowrap;/*强调文本在一行内显示*/
        overflow: hidden;/*溢出内容为隐藏*/
        text-overflow: ellipsis;
      }
    }
  }
}
.el-switch.is-checked .el-switch__core{
  border-color: #1E5AFF;
    background-color: #1E5AFF;
}
.el-pagination.is-background .el-pager li:not(.disabled).active{
  background-color: #1E5AFF;
}
.el-button--primary:hover,
.el-button--primary:focus {
  background: rgb(30, 90, 255)!important;
  border-color: rgb(30, 90, 255)!important;
  color: #ffffff;
}