// 全屏显示
html,
body,
div,
article,
section,
aside {
  height: 100%;
}

.auto {
  height: auto;
}

.full {
  height: 100%;
}

.flex {
  display: flex;
  flex-direction: column;
}

.span {
  flex-grow: 1;
  height: 100%;
  overflow-x: hidden;
}

.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}
.over {
  overflow-y: auto;
}

.tablelock1 thead {
  display:block;
  width: 200px;
}

//票据打印样式
// 字体大小  font-size
.fs17{
  font-size: 1.1em;
}
.fs19{
  font-size: 1.2em;
}
.fs24{
  font-size: 1.5em;
}
.fs26{
  font-size: 1.6em;
}
// 加粗  bold
.b {
  font-weight: bold;
}
// 单元格居中 cell-center
.cc {
  text-align: center;
}
// 单元格居左 cell-left
.cl {
  text-align: left;
}
// 单元格居右 cell-right
.cr {
  text-align: right;
}
// 单元格边框
.cb {
  border: 1px solid black;
}
// 单元格边框加粗
.cbb {
  border: 2px solid black;
}

.tablelock1 tbody {
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  display:block;
  width: 200px;
  height: 200px;
}

.tablelock1 th,
.tablelock1 td
{
  width: 50px;
}

.tableprint {
  font-size:15px;
  border-width: 2px solid black;
	border-collapse: collapse;
  td {
    border: 1px solid #cccbcb;
    border-collapse:collapse;
  }
}
.tdright{
  text-align: right;
}
.tdcenter{
  text-align: center;
}

// 为报表的查询单独做的样式
.reporttable{
width: 100%;
font-size:15px;
text-align: center;
  > thead,
  > tbody,
  > tfoot{
    > tr {
      >th,
      >td {
        border: 1px solid black;
        text-align: center;
      }
    }
  }
}
// .reporttable th {
//   border: 1px solid black;
//   text-align: center;
// }
// .reporttable td {
// border: 1px solid black;
// text-align: center;
// }
// 查询调整界面左右分割距离
.divide{
  width: 20px;
  height: 100%;
}
// 列表有按钮时，取消按钮元素的padding
.nopadding {
  padding: 0px !important;
}
// 消除图表数据提示信息的高度问题
#charts  div {
  height: auto;
}
  /* 滚动条整体样式 */
/*---滚动条默认显示样式--*/
::-webkit-scrollbar-thumb{
  //  display: none;
   background-color:rgba(0,0,0,0.15);
   height:50px;
   outline-offset:-2px;
   /*outline:2px solid #fff;*/
   -webkit-border-radius:4px;
   position: relative;
   left: 8px;
   /*border: 2px solid #fff;*/
}

/*---鼠标点击滚动条显示样式--*/
::-webkit-scrollbar-thumb:hover{
  //  display: inherit;
   background-color:rgba(0,0,0,0.4);
   height:50px;
   -webkit-border-radius:4px;
}
/*---滚动条大小--*/
::-webkit-scrollbar{
   width:8px;
   height:8px;
}
/*---滚动框背景样式--*/
::-webkit-scrollbar-track-piece{
  /* 全透明，不显示 */
   background-color:rgba(255,255,255,0);
   -webkit-border-radius:0;
}
/* checkbox和radio的样式 */
.magic-radio,
.magic-checkbox {
  position: absolute;
  display: none;
}

.magic-radio[disabled],
.magic-checkbox[disabled] {
  cursor: not-allowed;
}

.magic-radio + label,
.magic-checkbox + label {
  position: relative;
  display: block;
  padding-left: 30px;
  cursor: pointer;
  vertical-align: middle;
  text-align: left;
}

.magic-radio + label:hover:before,
.magic-checkbox + label:hover:before {
  animation-duration: 0.4s;
  animation-fill-mode: both;
  animation-name: hover-color;
}

.magic-radio + label:before,
.magic-checkbox + label:before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  content: '';
  border: 1px solid #c0c0c0;
}

.magic-radio + label:after,
.magic-checkbox + label:after {
  position: absolute;
  display: none;
  content: '';
}

.magic-radio[disabled] + label,
.magic-checkbox[disabled] + label {
  cursor: not-allowed;
  color: #e4e4e4;
}

.magic-radio[disabled] + label:hover, .magic-radio[disabled] + label:before, .magic-radio[disabled] + label:after,
.magic-checkbox[disabled] + label:hover,
.magic-checkbox[disabled] + label:before,
.magic-checkbox[disabled] + label:after {
  cursor: not-allowed;
}

.magic-radio[disabled] + label:hover:before,
.magic-checkbox[disabled] + label:hover:before {
  border: 1px solid #e4e4e4;
  animation-name: none;
}

.magic-radio[disabled] + label:before,
.magic-checkbox[disabled] + label:before {
  border-color: #e4e4e4;
}

.magic-radio:checked + label:before,
.magic-checkbox:checked + label:before {
  animation-name: none;
}

.magic-radio:checked + label:after,
.magic-checkbox:checked + label:after {
  display: block;
}

.magic-radio + label:before {
  border-radius: 50%;
}

.magic-radio + label:after {
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #98CFEE;
}

.magic-radio:checked + label:before {
  border: 2px solid #98CFEE;
}

.magic-radio:checked[disabled] + label:before {
  border: 2px solid #c9e2f9;
}

/*.magic-radio:checked[disabled] + label:after {
background: #c9e2f9; }*/

.magic-checkbox + label:before {
  border-radius: 3px;
}

.magic-checkbox + label:after {
  top: 2px;
  left: 7px;
  box-sizing: border-box;
  width: 6px;
  height: 12px;
  transform: rotate(45deg);
  border-width: 2px;
  border-style: solid;
  border-color: #fff;
  border-top: 0;
  border-left: 0;
}

.magic-checkbox:checked + label:before {
  border: #98CFEE;
  background: #98CFEE;
}

.magic-checkbox:checked[disabled] + label:before {
  border: #c9e2f9;
  background: #c9e2f9;
}

#panel-footer {
  display: flex;
  button {
      flex: 1;
  line-height: 30px;
  background: #efefef;
  opacity: 0.6;
  text-align: center;
  cursor: pointer;
  font-weight: normal;
  border: none;
  color: #333;
      &:hover {
        color: blue;
    background: #d9edf7;
      }
  &:focus {
    outline: none;
  }
  }
button + button {
  border-left: 2px solid #ccc;
}
}
#panel-footer .panel {
  #panel-footer .panel-body {
    span {
      display:block;
    }
  }
  #panel-footer .panel-title {
    h2,
    h3,
    h4,
    h5{
      display:inline-block;
      margin-top: 0px;
      margin-bottom: 0px;
    }
  }
}
