/* 颜色 */
.default {
  color: #515a6e;
}

.primary {
  color: #078dcf;
}

.info {
  color: #8ecb30;
}

.success {
  color: #19be6b;
}

.warning {
  color: #ff9900;
}

.error {
  color: #ed4014;
}

/* 页面头部 */
.ivu-page-header {
  height: 135px;
  background: #078dcf;
}

.ivu-page-header-title {
  color: #fff;
  margin-bottom: 0px;
}

.ivu-page-header-content {
  color: #fff;
}

.i-layout-page-header {
  margin-bottom: -80px;
}

/* 菜单 */
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu.ivu-menu-item-active > .i-layout-menu-side-title > .i-layout-menu-side-title-text > em,
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item.ivu-menu-item-active > .i-layout-menu-side-title > .i-layout-menu-side-title-text > em {
  color: #ddd;
}

.ivu-dropdown-item.i-layout-menu-side-collapse-item-selected .i-layout-menu-side-title-text em {
  color: #fff;
}

.i-layout-menu-side-title-text em {
  margin-left: 0px;
}

.i-layout-menu-side-title-text-with-icon em {
  margin-left: 36px;
}

.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover {
  background: #8ecb30 !important;
}

.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item.ivu-menu-item-active,
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item.ivu-menu-item-active:hover {
  background: #8ecb30 !important;
}

.i-layout-menu-side-collapse-dark .i-layout-menu-side-collapse-item-selected,
.i-layout-menu-side-collapse-dark .i-layout-menu-side-collapse-item-selected:hover {
  background: #8ecb30 !important;
}

.i-layout-menu-side-title-text-selected {
  font-weight: bold;
  color: #fff !important;
}

/* 表单标签 */
.form-title {
  font-weight: bold;
  font-size: 17px;
  /* margin-left: 12px; */
  margin-bottom: 16px;
  border-bottom: dotted #ccc 1px;
  line-height: 30px;
}

.ivu-form-label-top .ivu-form-item-label {
  padding: 0 0 4px;
}

/* .form-title::before {
    background: #078dcf;
    position: absolute;
    width: 4px;
    height: 12px;
    left: 16px;
    top: 7px;
    content: '';
} */

.ivu-form-item-label {
  font-weight: bold;
}

.ivu-form-item-label::before {
  /* position: absolute; */
  display: inline-block;
  margin-right: 4px !important;
  background-color: #bcd400;
  height: 4px;
  width: 8px;
  content: '' !important;
  left: 0;
  margin-bottom: 3px;
  border-radius: 3px;
}

.ivu-form-item-required .ivu-form-item-label::after {
  content: '*';
  display: inline-block;
  margin-right: 4px;
  line-height: 1;
  font-family: SimSun;
  font-size: 14px;
  color: #ed4014;
}

.ivu-form-item-content {
  margin-left: 20px;
  margin-right: 20px;
  line-height: initial;
  /* IE 关键词文本框宽度 fix */
  /* min-width: 100px; */
}

.ivu-form-item-content .label {
  line-height: 32px;
  min-height: 32px;
  border-bottom: dotted #999 1px;
}

.ivu-form .title {
  font-weight: bold;
}

.ivu-form .title::before {
  /* position: absolute; */
  display: inline-block;
  margin-right: 4px !important;
  background-color: #bcd400;
  height: 4px;
  width: 8px;
  content: '' !important;
  left: 0;
  margin-bottom: 3px;
  border-radius: 3px;
}

/* 图片 */
.form-image-group {
  display: flex;
}

.form-image-group div + div {
  margin-left: 4px;
}

.form-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px #ccc;
  margin-top: 8px;
}

.form-image img {
  max-height: 100%;
  max-width: 100%;
}

.form-image .action {
  /* display: block; */
  display: none;
  background-color: #000;
  opacity: 0.75;
  position: absolute;
  float: right;
}

.form-image:hover .action {
  display: block;
}

.form-image .action i {
  float: right;
  color: #fff;
  font-size: 30px;
  margin-top: 4px;
  margin-right: 4px;
  cursor: pointer;
}

/* 表格头部 */
.ivu-table-header {
  border-top: solid 1px #eee;
}

/* 表格筛选 */
.filter {
  margin-top: 4px;
}

.filter .ivu-col {
  margin-top: 0px;
  margin-bottom: 4px;
}

.filter .ivu-form-item-label {
  float: left;
  line-height: 24px;
  padding: 0px 12px 0px 0;
}

.filter .ivu-form-item {
  margin-bottom: 0px;
}

.filter .ivu-input-group {
  display: inline-table;
}

.filter button + button,
.filter button + .ivu-dropdown,
.filter button + .ivu-upload,
.filter .ivu-upload + .ivu-upload,
.filter .ivu-upload + .ivu-dropdown,
.filter .ivu-upload + button,
.filter .ivu-dropdown + button {
  margin-left: 4px;
  margin-bottom: 0;
}

/* .filter .ivu-upload {
  margin-left: 2px !important;
  margin-right: 2px !important;
} */

/* .ivu-dropdown {
  margin-right: 4px;
} */

/* 表格内部按钮 */
.ivu-table-cell button + button {
  margin-left: 4px;
  margin-bottom: 0;
}

/* 表格 */
.ivu-table-cell {
  padding-left: 8px;
  padding-right: 8px;
}

/* 弹出框 */
.ivu-modal-content {
  border-radius: 4px;
}

.ivu-modal-body {
  overflow: auto;
  max-height: 70vh;
  padding-top: 0;
}

.ivu-modal-header .title {
  margin-left: 10px;
  margin-top: 5px;
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1.714em;
  line-height: 1.45em;
  color: #333;
}

.ivu-modal-header .title::before {
  background: #078dcf;
  position: absolute;
  width: 4px;
  height: 21px;
  left: 14px;
  top: 21px;
  content: '';
}

.ivu-modal-header .description {
  color: #999;
  margin-top: 18px;
  margin-left: 10px;
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
}

/* 按钮图标 */
.ivu-btn {
  line-height: 30px;
  margin-left: 0px;
}

.ivu-btn > .ivu-icon {
  line-height: normal;
}

.ivu-btn > .ivu-icon + span,
.ivu-btn > span + .ivu-icon {
  margin-left: 0;
}

.ivu-btn-small {
  line-height: 20px;
}

.ivu-btn-small > .ivu-icon {
  margin-bottom: 2px;
}

.ivu-btn-primary {
  background-color: #078dcf;
  border-color: #078dcf;
}

.ivu-btn-info {
  background-color: #8ecb30;
  border-color: #8ecb30;
}

/* 提示框被挡 */
.swal2-container {
  z-index: 999999 !important;
}

.swal2-styled.swal2-confirm {
  background-color: #078dcf;
}

/* 遮罩层 */
.page-loader-wrapper {
  z-index: 99999999;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: center;
  opacity: 0.5;
  background: #000;
  /* display: none; */
}

.page-loader-wrapper p {
  margin-top: 10px;
  color: #fff;
}

.page-loader-wrapper .loader {
  position: relative;
  top: 40%;
}

.zmdi-hc-spin {
  -webkit-animation: zmdi-spin 1.5s infinite linear;
  animation: zmdi-spin 1.5s infinite linear;
}

.zmdi-hc-spin-reverse {
  -webkit-animation: zmdi-spin-reverse 1.5s infinite linear;
  animation: zmdi-spin-reverse 1.5s infinite linear;
}

@-webkit-keyframes zmdi-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes zmdi-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@-webkit-keyframes zmdi-spin-reverse {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-359deg);
    transform: rotate(-359deg);
  }
}

@keyframes zmdi-spin-reverse {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-359deg);
    transform: rotate(-359deg);
  }
}

/* 遮罩层淡入淡出 */
.loader-enter,
.loader-leave-to {
  opacity: 0;
}

.loader-enter-to,
.loader-leave {
  opacity: 0.5;
}

.loader-enter-active,
.loader-leave-active {
  transition: all 1s;
}

/* 控件禁用状态 */
.ivu-select-disabled .ivu-select-selection {
  background-color: initial;
  color: initial;
}

.ivu-switch-disabled.ivu-switch-checked {
  opacity: initial;
}

.ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner {
  border-color: #078dcf;
  background-color: #078dcf;
}

.ivu-checkbox-disabled + span {
  color: initial;
}

.ivu-radio-disabled.ivu-radio-checked .ivu-radio-inner {
  border-color: #078dcf;
}

.ivu-radio-disabled .ivu-radio-inner:after {
  background-color: #078dcf;
}

.ivu-upload-select {
  display: initial;
}

/* 表格列高度 */
.ivu-table-small td {
  height: 32px;
}

/* 小控件字体 */
.ivu-input-small {
  font-size: 12px;
}

.ivu-select-small .ivu-select-single .ivu-select-selection .ivu-select-placeholder,
.ivu-select-single .ivu-select-selection .ivu-select-selected-value {
  font-size: 12px;
}

/* font awesome */
.fa,
.far,
.fas {
  font-family: 'Font awesome 5 Free' !important;
  font-weight: 900 !important;
}

.fab {
  font-family: 'Font Awesome 5 Brands' !important;
  font-weight: 400 !important;
}

.i-layout-header-user-name {
  margin-left: 0px;
}

.i-layout-tabs .ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active {
  color: #078dcf;
}

.ivu-btn-ghost.ivu-btn-primary {
  color: #ffffff;
}

/* 缩放后VH有误 */
.i-layout-sider {
  min-height: 100%;
}

/* 全屏 */
.full-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  background: #fff;
  z-index: 1000;
}
