














.preview-account-voucher {
  background-color: white;
  height: 100%;
  overflow-x: auto;
  white-space: nowrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  position: relative;
}
.preview-account-voucher > div {
  width: 100%;
}
.preview-account-voucher .dropdown-menu li {
  line-height: 30px;
  cursor: pointer;
  padding: 2px;
}
.preview-account-voucher .dropdown-menu li:hover {
  color: #d04a02;
}
.preview-account-voucher .menu {
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  flex-wrap: row;
}
.preview-account-voucher .menu div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.preview-account-voucher .menu div > span:first-child.fa {
  font-size: 1.3em;
  margin: 10px 10px 10px 5px;
}
.preview-account-voucher .menu > div {
  /*border-right: solid rgba(228, 228, 228, 1) 1px;*/
  padding-right: 20px;
}
.preview-account-voucher .menu .display-mode .mode {
  padding-left: 15px;
  padding-right: 15px;
  height: 32px;
  /*显示方式选项在选中和获取焦点时的样式*/

}
.preview-account-voucher .menu .display-mode .mode.selected,
.preview-account-voucher .menu .display-mode .mode:hover {
  background-color: #d04a02;
  color: white;
}
.preview-account-voucher .menu .filter-menu {
  flex: 1 1 auto;
  align-items: stretch;
  padding-right: 0px;
}
.preview-account-voucher .menu .filter-menu div {
  padding-left: 10px;
  padding-right: 10px;
}
.preview-account-voucher .menu .filter-menu > div:not(:first-child):hover {
  background-color: #f2f2f2;
}
.preview-account-voucher .menu .filter-menu ~ div:hover {
  background-color: #f2f2f2;
}
.preview-account-voucher .menu span.fa {
  color: #6b6b6b;
}
.preview-account-voucher .menu span.fa.fa-angle-down {
  font-size: 1.1em;
  margin: 5px;
}
.preview-account-voucher .filter-info {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background-color: #f2f2f2;
  border: solid #e4e4e4 1px;
  font-family: 'Microsoft YaHei';
  font-style: normal;
  text-align: left;
  padding: 13px 15px 13px 20px;
  box-sizing: border-box;
}
.preview-account-voucher .filter-info span:nth-child(1) {
  font-family: 'Microsoft YaHei Bold', 'Microsoft YaHei Regular';
  font-weight: 700;
  font-size: 15px;
  display: block;
}
.preview-account-voucher .filter-info span:nth-child(2) {
  font-weight: 400;
  color: #666666;
  font-size: 13px;
  margin-top: 7px;
  display: block;
  white-space: normal;
}
.preview-account-voucher .total-Wrapper .total_span {
  color: #e0301e;
  background-color: rgba(255, 236, 189, 0.5);
  font-size: 12px;
  font-weight: bold;
  padding-left: 8px;
  padding-right: 8px;
}
.preview-account-voucher .total-Wrapper .padding-left15 {
  padding-left: 15px;
}
.preview-account-voucher .total-Wrapper div {
  margin-top: 15px;
}
.preview-account-voucher .data-summary {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  padding-left: 5px;
}
.preview-account-voucher .data-summary > div {
  display: inline-block;
  margin: 15px;
}
.preview-account-voucher .data-summary > div > div {
  border-radius: 12px;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: 5px;
  display: inline-block;
}
.preview-account-voucher .data-summary > div > div.red {
  background-color: #e0301e;
}
.preview-account-voucher .data-summary > div > div.darkred {
  background-color: darkred;
}
.preview-account-voucher .data-summary > div > div span {
  font-weight: 700;
  font-style: normal;
  font-size: 12px;
  color: white;
}
.preview-account-voucher .filter-dialog {
  width: 540px;
  margin: 0px;
  border: 1px solid #c7c8ca;
  box-shadow: 2px 2px 8px #999999;
  z-index: 99;
  position: absolute;
  background-color: white;
}
.preview-account-voucher .filter-dialog .header {
  padding: 15px 35px 15px 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.preview-account-voucher .filter-dialog .header div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.preview-account-voucher .filter-dialog .header > div {
  width: 180px;
  margin-left: 5px;
  margin-right: 5px;
}
.preview-account-voucher .filter-dialog .header input {
  margin: 0px;
}
.preview-account-voucher .filter-dialog .header span {
  margin: 0px 25px 0px 5px;
}
.preview-account-voucher .filter-dialog .header > span {
  margin: 0px;
}
.preview-account-voucher .filter-dialog .body {
  max-height: calc(80vh - 200px);
  overflow-y: auto;
  /*border-top: solid #c9c9c9 1px;
            border-bottom: solid #c9c9c9 1px;*/
  padding-right: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
.preview-account-voucher .filter-dialog .body .field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin: 5px 0;
}
.preview-account-voucher .filter-dialog .body .field .field-name {
  margin: 0 5px;
}
.preview-account-voucher .filter-dialog .body .field .field-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 370px;
  max-width: 370px;
  min-width: 370px;
}
.preview-account-voucher .filter-dialog .body .field .field-input .selector {
  width: 100% !important;
  text-align: left;
}
.preview-account-voucher .filter-dialog .body .field .field-input > *:first-child,
.preview-account-voucher .filter-dialog .body .field .field-input > *:last-child {
  width: calc(50% - 5px);
}
.preview-account-voucher .filter-dialog .body .field .field-input .spliter {
  min-width: 10px;
  max-width: 10px;
  margin: 0;
  text-align: center;
}
.preview-account-voucher .filter-dialog .body .ui-select-choices-row:hover {
  background-color: lightgray;
}
.preview-account-voucher .filter-dialog .body .ui-select-has-border .select2-results li li:first-child {
  background-color: transparent;
}
.preview-account-voucher .filter-dialog .body .dx-texteditor.dx-widget {
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.preview-account-voucher .filter-dialog .body .dx-texteditor.dx-widget.dx-state-disabled {
  opacity: 1;
}
.preview-account-voucher .filter-dialog .body .dx-texteditor.dx-widget.dx-state-active,
.preview-account-voucher .filter-dialog .body .dx-texteditor.dx-widget.dx-state-focused {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.preview-account-voucher .filter-dialog .body .dx-texteditor.dx-widget .display-flex.dx-dropdowneditor-icon::before,
.preview-account-voucher .filter-dialog .body .dx-texteditor.dx-widget .display-flex.dx-dropdowneditor-icon::after {
  content: initial;
}
.preview-account-voucher .filter-dialog .body .dx-texteditor.dx-widget input[disabled] {
  background-color: #eeeeee;
  opacity: 1;
  cursor: not-allowed !important;
}
.preview-account-voucher .filter-dialog .footer {
  padding: 20px 50px 20px 50px;
}
.preview-account-voucher.autocomplete-template {
  margin-bottom: -4px;
  border-bottom: 1px solid #cccccc;
  background-color: white;
  color: black;
}
.preview-account-voucher.autocomplete-template:hover {
  background-color: lightgray;
}
.preview-account-voucher.autocomplete-template.dx-list-item-content:before {
  content: none;
}
.preview-account-voucher.autocomplete-template > span {
  width: 100%;
  line-height: 1.3;
}
.vat-preview-account-voucher-accountmapping {
  max-height: 350px;
}
.dx-datagrid-group-closed:before {
  font-family: "ui-grid";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.2em;
  text-align: center;
  /* opacity: .8; */
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: 0.2em;
  content: "\c350";
}
.dx-datagrid-group-opened:before {
  font-family: "ui-grid";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.2em;
  text-align: center;
  /* opacity: .8; */
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: 0.2em;
  content: "\c351";
}
#mainAreaDiv {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  /*.justify-content-flex-end;*/

  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}
#mainAreaDiv #gridContainer {
  border: solid 1px #dddddd;
  margin: 0 20px 0 0;
  overflow-y: auto;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
#mainAreaDiv #gridContainer .dx-header-row .dx-datagrid-text-content {
  max-width: none;
}
#mainAreaDiv #gridContainer .dx-column-indicators .dx-sort {
  display: none;
}
#mainAreaDiv .pagination-container {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin: 10px 20px 10px 0;
}
#mainAreaDiv .pagination-container .common-pagination {
  margin: 0;
}
.filter-ivh-treeview .account-code {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.filter-ivh-treeview .account-code span:first-child {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.filter-ivh-treeview .accountName {
  width: 150px;
}
.filter-ivh-treeview .debitOrCredit {
  width: 100px;
}
.filter-ivh-treeview #modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.filter-ivh-treeview .ivh-treeview-node-content {
  margin: 3px 0px 3px 0px;
}
.filter-ivh-treeview .ivh-treeview-node-content > div:first-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.filter-ivh-treeview .ivh-treeview-node-content > div:first-child > div {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  /*树节点的展开图标需要45°旋转,与折叠效果区分开来*/

}
.filter-ivh-treeview .ivh-treeview-node-content > div:first-child > div .ivh-treeview-twistie-expanded > span {
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
.dx-datebox-wrapper-date.dx-datebox-wrapper-calendar .dx-widget.dx-calendar {
  margin: 5px;
}
