.preview-datasource-filter {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.preview-datasource-filter .makesi {
  max-width: 400px;
}
.preview-datasource-filter .dsf-header {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 1em;
  padding: 0 1em;
}
.preview-datasource-filter .dsf-header > .query-cont {
  width: 25%;
}
.preview-datasource-filter .dsf-header > .query-cont-max {
  width: 30%;
}
.preview-datasource-filter .dsf-header .query-btn {
  justify-content: center;
  width: 20%;
}
.preview-datasource-filter .dsf-header .dsf-sel {
  display: inline-flex;
}
.preview-datasource-filter .dsf-header .dsf-name {
  padding: 0.86rem 0.86rem 0.86rem 0;
}
.preview-datasource-filter .dsf-header .dsf-header-item-right {
  display: flex;
  align-items: center;
  margin-left: 2em;
  cursor: pointer;
}
.preview-datasource-filter .dsf-header .dsf-header-item-right .exportIcon {
  background-image: url(/app-resources/images/export.png);
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  float: left;
  margin-right: 5px;
}
.preview-datasource-filter .dsf-content {
  flex: 1 1 auto;
  height: 400px;
}
.preview-datasource-filter .dsf-content .dt-init-wrapper {
  margin: 10px 0;
  max-width: 99%;
  height: 88%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.preview-datasource-filter .dsf-content .dt-init-wrapper .dx-data-table {
  height: 400px;
  flex: 1;
  width: 100%;
  margin-left: 8px;
}
.preview-datasource-filter .dsf-content .dt-init-wrapper .dx-data-table #gridInitData {
  height: 100%;
  width: 100% !important;
}
.preview-datasource-filter .dsf-content .dt-init-wrapper .page-footer {
  width: 99%;
  margin-left: 0px;
  font-size: 13px;
  font-family: 'Microsoft YaHei';
  padding-bottom: 5px;
}
.preview-datasource-filter .dsf-content .dt-init-wrapper .page-footer .total_span {
  color: #e0301e !important;
  background-color: #dddddd !important;
  font-size: 12px !important;
  font-weight: bold !important;
  border-radius: 10px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.preview-datasource-filter .dx-tag-container {
  overflow-y: auto;
}
@media only screen and (max-width: 1366px) {
  .preview-datasource-filter .dsf-header {
    justify-content: space-around;
  }
  .preview-datasource-filter .dsf-header > .query-cont {
    width: 50%;
    margin-bottom: 0.875rem;
  }
  .preview-datasource-filter .dsf-header > .query-cont-max {
    width: 65%;
  }
  .preview-datasource-filter .dsf-header .query-btn {
    justify-content: center;
    width: 35%;
  }
}
