html,
body {
  font-size: 14px;
  font-family: "微软雅黑";
  overflow: hidden;
  height: 100%;
}

/* 弹框 */

.mask {
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 9999;
}

.dialog-box {
  width: 338px;
  height: 220px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 10px;
  right: 0;
  bottom: 0;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 3px;
  border: 1px solid #d9dbdf;
  z-index: 99999;
}

.confirm-box {
  height: 272px;
}

.submit-body {
  padding: 10px;
}

.submit-body-title {
  font-size: 16px;
  height: 28px;
  line-height: 30px;
  color: #0101ff;
  padding-left: 20px;
}

.submit-data {
  padding: 0 14px;
  font-size: 13px;
  margin-top: 4px;
  color: #222;
}

.submit-data p {
  line-height: 24px;
  display: flex;
}

.submit-data p span:first-child {
  width: 70px;
  text-align: right;
  margin-right: 6px;
  white-space: nowrap;
  flex-grow: 0;
  flex-shrink: 0;
}

.submit-data i {
  font-style: normal;
}

.dialog-top {
  padding: 0 6px;
  background: #f2f3f4;
  color: #999;
  border-bottom: 1px solid #d9dbdf;
  display: flex;
  justify-content: flex-start;
}

.dialog-title {
  width: 300px;
  height: 26px;
  line-height: 26px;
  cursor: pointer;
}

.dialog-top span:first-child {
  font-size: 14px;
  color: #222;
  font-weight: bold;
}

.dialog-top .close-btn {
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  position: absolute;
  right: 1px;
  color: #999;
  font-weight: normal !important;
  cursor: pointer;
}

.dialog-top .close-btn:hover {
  color: #fff;
  background: #eb333b;
}

.dialog-body {
  color: #222;
  padding: 12px;
  height: 106px;
  overflow-y: scroll;
  position: relative;
}

.dialog-body p {
  font-size: 12px;
  line-height: 28px;
}

.dialog-body .info-tip {
  color: #222;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 8px;
  line-height: 24px;
  margin-top: 4px;
}

.dialog-body img {
  margin-right: 2px;
  vertical-align: middle;
}

.dialog-footer {
  width: 100%;
  height: 48px;
  line-height: 28px;
  text-align: center;
  border-radius: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.dialog-footer .el-button {
  padding: 6px 32px;
  border-radius: 2px;
}

.dialog-footer .cancel {
  color: #222;
  background: #ffffff;
  border-color: #c4c7cc;
}

.dialog-footer .cancel:hover {
  color: #fff !important;
  background: #eb333b !important;
  border-color: #eb333b !important;
}

.dialog-footer .sure {
  color: #222;
  background: #c3e0ff;
  border-color: #5fa6ee;
}

.dialog-footer .el-button:hover,
.dialog-footer .el-button:active,
.dialog-footer .el-button:focus {
  color: #222;
  background: #c3e0ff;
  border-color: #5fa6ee;
}

.dialog-footer .el-button:last-child {
  margin-right: 0;
}

.default {
  color: #d7d8dc;
  background: #0f0f12;
}

.white {
  color: #222;
  background: #efeff5;
}

/* 滚动条 */

.default ::-webkit-scrollbar-track {
  background: #15171e;
}

.default ::-webkit-scrollbar-thumb {
  background-color: #4e515d;
}

.app-div {
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding-right: 4px;
}

.title {
  height: 28px;
  line-height: 28px;
  padding: 0 10px 0 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
  background: #f5f6f8;
}

.left-title i {
  color: #97a2b1;
  font-size: 13px;
}

.default .left-title i {
  color: #97a0b0;
}

.icon-explain {
  padding: 8px;
  line-height: 20px;
  color: #000;
  background: #fff;
  border: 1px solid #000;
  z-index: 99999;
  position: absolute;
  top: 22px;
  left: 134px;
  width: 270px;
  height: 98px;
  white-space: pre-wrap;
}

.default .title {
  color: #d7d8dc;
  background: #21242c;
}

.color-span {
  color: #4a90e2;
  cursor: pointer;
}

/* 左侧输入框 */

.left-page {
  width: 300px;
  max-height: 400px;
  margin-right: 10px;
  white-space: nowrap;
  flex-grow: 0;
  flex-shrink: 0;
  background: #fff;
  color: #222;
  border: 1px solid #d9dbe2;
  border-left: none;
  border-top: none;
}

.default .left-page,
.default .right-page {
  color: #d7d8dc;
  background: #15171e;
  border: 1px solid #000;
}

.left-div {
  padding-left: 6px;
}

.input-div {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.max-qty-div {
  padding-left: 66px;
  font-size: 12px;
}

.input-div > span {
  margin-right: 10px;
}

.input-div .el-input {
  width: 170px;
}

.input-bottom {
  margin-left: 68px;
  font-size: 12px;
}

.submkttype-name {
  font-size: 12px;
  margin-left: 10px;
  color: #4a90e2;
}

.minus-plus-input {
  width: 170px;
  box-sizing: border-box;
  border-radius: 2px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
  border: 1px solid #d9dbe2;
  background: #fff;
}

.minus-plus-input .el-input__inner {
  width: 114px;
  height: 24px;
  border: none;
}

.minus-plus-input .el-input__inner:hover {
  border-color: #fff !important;
}

.default .minus-plus-input .el-input__inner:hover {
  border-color: #2e333d !important;
}

.minus-plus-input .el-input.is-disabled .el-input__inner {
  background-color: #fff;
  border-color: #fff;
  color: #97a0b0;
}

.default .minus-plus-input .el-input.is-disabled .el-input__inner {
  background-color: #2e333d;
  border-color: #2e333d;
  color: #97a0b0;
}

.default .el-input__inner {
  color: #fff;
  background: #2e333d;
  border: 1px solid #2e333d;
}

.default .el-select-dropdown {
  background-color: #2e323c;
  border-color: #000;
  color: #fff;
}

.default .el-select-dropdown__item {
  color: #c0c1c5;
  background: #2f333e;
}

.default .el-select-dropdown__item.hover,
.default .el-select-dropdown__item.selected {
  color: #fff;
  background-color: #285cad;
}

.default .minus-plus-input {
  border: 1px solid #2e333d;
  background: #2e333d;
}

.minus-plus-input:hover {
  border-color: #3096ff;
}

.focus-border {
  border-color: #3096ff;
}

.default .minus-plus-input:hover {
  border-color: #4a90e2;
}

.default .focus-border {
  border-color: #4a90e2;
}

.minus-plus-input .el-input {
  width: 120px;
}

.minus-plus-input span {
  width: 28px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 13px;
  color: #97a0b0;
}

.minus-plus-input span i {
  font-weight: bold;
}

.minus {
  border-right: 1px solid #d9dbe2;
}

.plus {
  border-left: 1px solid #d9dbe2;
}

.default .minus {
  border-right: 1px solid #000;
}

.default .plus {
  border-left: 1px solid #000;
}

.num-input-box {
  position: relative;
  margin-top: 2px;
}

.num-input {
  width: 170px;
}

.order-price {
  width: 148px;
  height: 26px;
  line-height: 26px;
  border-radius: 2px;
  text-indent: 0.2em;
}

.order-price:hover {
  border-color: #4a90e2 !important;
}

/* 卖出比例 */

.sell-ratio {
  position: absolute;
  top: 28px;
  left: 66px;
}

.sell-ratio ul {
  width: 170px;
  display: flex;
  justify-content: space-between;
}

.sell-ratio ul li:first-child {
  width: 32px;
}

.sell-ratio ul li {
  width: 31px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 12px;
  border-radius: 2px;
  cursor: pointer;
  color: #222;
  border: 1px solid #d9dbe2;
  background: #fff;
}

.default .sell-ratio ul li {
  color: #fff;
  background: #2e333d;
  border: 1px solid #2e333d;
}

.percent-active {
  color: #222;
  background-color: #d2e8ff !important;
}

.default .percent-active {
  color: #fff;
  background-color: #285cad !important;
}

.operate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-right: 60px;
}

.rewrite {
  width: 48px;
  text-align: right;
  padding-left: 9px;
  margin-right: 20px;
}

.rewrite span {
  color: #4a90e2;
}

.rewrite span:hover,
.refresh-btn:hover {
  cursor: default;
  text-decoration: underline;
}

.submit-style {
  color: #fff !important;
  background: #ca383e !important;
  border-color: #ca383e !important;
}

.p-section {
  font-size: 13px;
  margin-top: 6px;
}

.p-section:first-of-type {
  margin-top: 20px;
}

/* 按钮 */

.el-button {
  padding: 5px 56px;
  color: #fff;
  background: #3096ff;
  border-color: #3096ff;
}

.el-button:hover {
  color: #fff;
  background: #54a8ff;
  border-color: #54a8ff;
}

.el-button:active,
.el-button:focus {
  color: #fff;
  background: #147ce9;
  border-color: #147ce9;
}

/* 还款规则 */

.repay-box {
  width: 600px;
  height: 500px;
}

.repay-box .dialog-body {
  padding: 0 0 0 6px;
  height: 473px;
}

iframe {
  width: 100%;
  height: 473px;
}

/* 右侧表格 */

.right-page {
  width: calc(100% - 310px);
  max-height: 400px;
  background: #fff;
  color: #222;
  border: 1px solid #d9dbe2;
  border-top: none;
}

.right-bar {
  box-sizing: border-box;
  min-width: 390px;
}

.export,
.print {
  position: relative;
  cursor: default;
}

.refresh-btn,
.export img,
.print img {
  vertical-align: middle;
}

.export:hover::after,
.print:hover::after {
  content: attr(data-title);
  display: inline-block;
  width: 36px;
  height: 20px;
  line-height: 20px;
  color: #000;
  background: #ddd;
  border: 1px solid #ddd;
  border-radius: 2px;
  position: absolute;
  top: 20px;
  left: -16px;
  z-index: 9999;
  text-align: center;
}

.right-table {
  max-height: 400px;
}

.right-table .el-table {
  max-height: 372px;
}

.right-table .el-table th,
.right-table .el-table td {
  text-align: right;
}

.right-table .el-table td {
  padding: 2px 0;
  height: 28px;
  box-sizing: border-box;
}

.right-table .el-table::before {
  height: 1px;
}

.default .right-table .el-table th {
  color: #989ca7;
  background: #1a1d26;
}

.default .right-table .el-table td {
  color: #c2c4cd;
  background: #15171e;
}

.right-table .el-table .cell,
.right-table .el-table th div,
.right-table .el-table--border td:first-child .cell,
.right-table .el-table--border th:first-child .cell {
  padding-left: 2px;
}

body .right-table .el-table th.gutter {
  display: table-cell !important;
}

.el-table th.gutter,
.el-table colgroup.gutter {
  display: block !important;
  width: 8px !important;
}

.right-table .el-table .cell {
  padding: 0 2px;
}

.el-table__empty-block {
  text-align: left;
}

.default .right-table .el-table__empty-block {
  background: #15171e;
}

.default .el-table__body-wrapper {
  background: #15171e;
}

.default .el-table--border td,
.default .el-table--border th,
.default
  .el-table__body-wrapper
  .el-table--border.is-scrolling-left
  ~ .el-table__fixed {
  border-right: 1px solid #1e2129;
}

.default .el-table--enable-row-hover .el-table__body tr:hover > td,
.default .el-table__body tr.hover-row > td {
  background: #15171e;
  border-bottom: 1px solid #4a90e2;
}

.default .el-table td {
  border-bottom: 1px solid #1e2129;
}

.default .el-table th.is-leaf {
  border-bottom: 1px solid #1e2129;
}

.el-table__body-wrapper {
  z-index: 999;
}
