@layer base,component,application;

body {
  z-index: auto !important;
  height: 100vh;
  color: #222;
  overflow-anchor: none;
  overflow: overlay;
}

@layer base {
  input[type=checkbox],input[type=radio] {
    width: 1em;
    height: 1em;
    /*margin-top: 0.25em;*/
    vertical-align: baseline;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0,0,0,.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    cursor: pointer;
  }

  input[type=checkbox] {
    border-radius: 0.25em;
  }
  input[type=radio] {
    border-radius: 50%;
  }

  input:checked[type=checkbox],
  input:checked[type=radio]{
    background-color: var(--brand-primary,#3394E1);
    border-color: var(--brand-primary,#3394E1);
  }

  input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  }

  input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
  }

  input[type=checkbox]:disabled,
  input[type=radio]:disabled {
    /*pointer-events: none;*/
    filter: none;
    opacity: .5;
    cursor: not-allowed;
  }
}

.tooltip-inner {
  max-width: 50vw;
}

.btn-file > .icon-wenjianjia-kai {
  font-size: 12px;
  pointer-events: none;
}

.btn-primary-plain {
  border-color: var(--border-color, #dcdfe6);
  background-color: var(--opacity-10);
  color: var(--brand-primary);
}

.btn-primary-plain:hover {
  background-color: var(--opacity-20);
  color: var(--brand-primary);
}

.dp-flex {
  display: flex;
}

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

.dp-block {
  display: block;
}

.dp-inline {
  display: inline;
}

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

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

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

.flex-auto {
  flex: auto;
}

.flex-none {
  flex: none;
}

.tbody-th {
  background-color: #f7f7f7;
  color: #999;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: text-bottom;
  fill: currentColor;
  overflow: hidden;
}

#e-op-area > .container-fluid {
  padding: 0 !important;
  height: 100%;
}

#e-op-area .e-op-area-iframe-container {
  height: 100%;
}

#e-content-area {
  height: calc(100vh - 45px);
  width: 100%;
  min-height: 500px;
}

#e-op-area {
  height: 100%;
  /*flex:0 1 auto;*/
}

.semi-auto-table-data .dataTables_scroll {
  overflow: hidden;
}

.wizard > .actions a[href="#cancel"], .wizard > .actions a[href="#cancel"]:hover, .wizard > .actions a[href="#cancel"]:active {
  border: 1px solid #dcdfe6 !important;
  background: #fff !important;
  color: #222222 !important;
}

/*上传控件中input文字高度 IE*/
.input-group input.file-caption-name {
  min-height: 18px !important;
}

/*.selectize-control.multi .selectize-input.disabled [data-value] {*/
/*  color:#ffffff*/
/*}*/

label[for] {
  pointer-events: none;
}

.embed-responsive-item {
  background-color: #f4f4f4;
}

.bg-no-data {
  background: url("../img/no-data.png") center center no-repeat;
  background-size: contain;
}

table.col-resizable tr > td, table.col-resizable tr > th {
  border-right-color: #edeeef !important;
}

div.dataTables_scrollHeadInner table > thead > tr > th {
  border-color: #edeeef;
}

/*input、select等插件中提示文本颜色 begin*/
.bootstrap-select.btn-group .dropdown-toggle[title="支持多选"] .filter-option,
.bootstrap-select.btn-group .dropdown-toggle[title="..."] .filter-option {
  color: #c0c4cb;
}

.search-form .selectize-control.form-control .selectize-input div[data-value=''] {
  color: #c0c4cb;
}

input::-moz-placeholder {
  color: #c0c4cb;
  opacity: 1;
}

input:-ms-input-placeholder {
  color: #c0c4cb;
}

input::-webkit-input-placeholder {
  color: #c0c4cb;
}

.title-border-left {
  position: relative;
}

.title-border-left::before {
  content: ' ';
  position: absolute;
  left: -0.5em;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #428bca;
  background-color: var(--brand-primary);
  border-radius: 3px;
}

.wizard > .content > .body {
  padding: 1% 15px;
}

.wizard > .actions {
  text-align: center;
}

.nav-tabs > li > a,
.wizard > .steps a {
  font-size: 14px;
}

/*input、select等插件中提示文本颜色 end*/


.help-block {
  margin: 0;
  line-height: 30px;
  line-height: var(--input-height-base);
  word-break: break-all;
}

/*nav-tabs 样式 begin*/
.nav-tabs {
  border-bottom-width: 2px;
}

.nav-tabs > li {
  margin-bottom: -2px;
}

.nav-tabs > li > a {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom-width: 2px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom-width: 2px;
}

/*nav-tabs 样式 end*/

.table > tbody > tr.info > td, .table > tbody > tr.info > th, .table > tbody > tr > td.info, .table > tbody > tr > th.info, .table > tfoot > tr.info > td, .table > tfoot > tr.info > th, .table > tfoot > tr > td.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th, .table > thead > tr > td.info, .table > thead > tr > th.info {
  background-color: var(--opacity-5);
}

.table > thead > tr > td, .table > thead > tr > th {
  color: #333;
}

.table > thead > tr > th[data-column-index] {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.btn-wrapper {
  margin: 1.5em 0;
  text-align: center;
}

.bootstrap-datetimepicker-widget table td span {
  height: 40px;
  width: 40px;
  line-height: 40px;
}

.bootstrap-datetimepicker-widget .row {
  margin: 0 -5px;
}

.bootstrap-datetimepicker-widget .col-md-6 {
  padding-right: 5px;
  padding-left: 5px;
}

label {
  font-weight: 400;
}

/*自定义变量*/
:root {
  --placeholder-color: #c0c4cb;
}

label {
  font-weight: 400;
}

/*font-awesome 图标更改 导入导出*/
.fa-upload.fa-upload:before {
  content: "\f019";
}

.fa-download.fa-download:before {
  content: "\f093";
}

/*selectize 禁用样式*/
.selectize-control .selectize-input.disabled{
  opacity: 1;
  background-color: #eee;
  cursor: not-allowed !important;
}

.form-horizontal.form-horizontal .checkbox, .form-horizontal.form-horizontal .radio {
  min-height: unset ;
}

.selectize-dropdown, .selectize-dropdown.form-control {
  z-index: 1060;
}

/*模态框样式调整*/
div.modal .modal-header button > span {
  font-size: 26px;
}

div.modal .modal-header .modal-title {
  font-size: 16px;
  font-weight: bold;
}
div.modal .modal-content {
  border-radius: 6px;
}
div.modal .modal-header {
  background: #F8FAFC;
  border-radius: 6px 6px 0px 0px;
}

.modal .modal-dialog {
  margin:10px auto;
}
.modal.bootbox .modal-dialog {
  margin: 30px auto;
}

.modal-dialog .modal-content {
  max-height: calc(100vh - 20px);/*上下margin*/
  display:flex;
  flex-flow: column nowrap;
}
.modal-dialog .modal-content .modal-header,
.modal-dialog .modal-content .modal-footer {
  flex: none;
}
.modal-dialog .modal-body {
  flex: 0 1 auto;
  min-height: 0;
  overflow: auto;
}

/* button loading 自定义样式 */
.e-b-loading::after {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  content: "\f110";
  -webkit-animation: fa-spin 1s infinite steps(8);
  -o-animation: fa-spin 1s infinite steps(8);
  animation: fa-spin 1s infinite steps(8);

  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
