/*公共样式*/

html,
body {
  height: 100%;
}

body,
div,
ul,
ol,
dl,
dt,
dd,
li,
dl,
h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
}

ol,
ul,
li {
  list-style: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clar {
  clear: both;
}

/*滚动条样式*/

/*滚动条整体部分，其中的属性有width,height,background,border（就和一个块级元素一样）等*/

body::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
}

/*滚动条两端的按钮。可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果*/

body::-webkit-scrollbar-button {
  background-color: #acc5c7 !important;
  display: none !important;
}

/*外层轨道。可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果*/

body::-webkit-scrollbar-track {
  background: #eee !important;
}

/*滚动条里面可以拖动的那部分*/

body::-webkit-scrollbar-thumb {
  background: #acc5c7 !important;
  border-radius: 4px !important;
}

/*边角*/

body::-webkit-scrollbar-corner {
  /*background: #82AFFF!important;*/
  display: none !important;
}

/*定义右下角拖动块的样式*/

body::-webkit-resizer {
  /*background: #FF0BEE!important;*/
  display: none !important;
}

/*滚动条样式*/

/*滚动条整体部分，其中的属性有width,height,background,border（就和一个块级元素一样）等*/

.scroll::-webkit-scrollbar {
  width: 10px !important;
  height: 0px !important;
}

/*滚动条两端的按钮。可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果*/

.scroll::-webkit-scrollbar-button {
  background-color: #acc5c7 !important;
  display: none !important;
}

/*外层轨道。可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果*/

.scroll::-webkit-scrollbar-track {
  background: #eee !important;
}

/*滚动条里面可以拖动的那部分*/

.scroll::-webkit-scrollbar-thumb {
  background: #acc5c7 !important;
  border-radius: 4px !important;
}

/*边角*/

.scroll::-webkit-scrollbar-corner {
  /*background: #82AFFF!important;*/
  display: none !important;
}

/*定义右下角拖动块的样式*/

.scroll::-webkit-resizer {
  /*background: #FF0BEE!important;*/
  display: none !important;
}

/*超出隐藏加...*/

.ellipsis {
  /*超出部分隐藏*/
  /*overflow: hidden;*/
  /* 超出部分显示省略号 */
  text-overflow: ellipsis;
  /*规定段落中的文本不进行换行 */
  white-space: nowrap;
}

/*手机页面头部*/

.com-mobile {
  /* padding-top: 25px; */
  width: 100%;
  height: 100%;
  background: none;
  overflow: hidden;
  box-sizing: border-box;
}

.com-mobile .com-box {
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow-y: hidden;
  overflow-x: hidden;
  position: relative;
}

.com-mobile .com-box .com-header {
  height: 40px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  color: #ffffff;
  background: #009688;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  background-color: white !important;
  background: white;
  color: black !important;
}

.com-mobile .com-box .com-header .com-back {
  width: 40px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.com-mobile .com-box .com-header .com-config {
  width: 40px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

.com-mobile .com-box .com-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  bottom: 0;
  overflow: auto;
  background: url(../../images/form-bg.png) no-repeat;
  background-size: 100% 100%;
}

/*如果需要最面没加按钮*/

.com-body .centend {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 40px;
  padding: 10px 5px 0;
  overflow: auto;
}

.com-body .foot {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 999999;
}

.layui-disabled,
.layui-disabled:hover {
  color: #000000 !important;
}
/*禁用div*/
.laydisable {
  pointer-events: none;
  cursor: no-drop;
}
.layui-table-cell .layui-btn {
  height: 22px;
  line-height: 22px;
  font-size: 13px;
}
.layui-table-view .layui-table[lay-size="sm"] .layui-table-cell {
  font-size: 13px;
}
.layui-icont-saoma::before {
  background: url("../../images/saoma.jpg") no-repeat;
  background-size: 28px;
  width: 30px;
  height: 30px;
  content: " ";
  display: inline-block;
}
.layui-icont-clear::before {
  background: url(../../images/close.png) no-repeat;
  background-size: 20px;
  width: 20px;
  height: 20px;
  content: " ";
  display: inline-block;
}
.showbox-icon {
  color: black;
  position: absolute;
  right: 10px;
  top: 25%;
  cursor: pointer;
  transition: all 0.3s;
}
#oneform .layui-form-label {
  width: 120px !important;
  padding: 8px 5px !important;
}

#oneform .layui-input-block {
  margin-left: 120px !important;
}
.redspan {
  color: red;
  font-family: fangsong;
  font-size: 20px;
  line-height: 0px;
}
/*.layui-form-select dl::-webkit-scrollbar {
    width: 7px;
}*/
i.layui-icon.layui-icon-close.shanchu {
  color: black;
  background: #eee;
  font-size: 18px;
}
.operate-btns {
  position: absolute;
  top: 0;
  right: 0;
}
.img_disabled .operate-btns {
  display: none;
}
.layui-table-box .layui-btn {
  padding: 0 10px !important;
}
/* 隐藏所有浏览器的增减箭头 */
input[type="number"] {
  /* 针对Firefox */
  -moz-appearance: textfield;
}

/* 针对Chrome、Safari、Edge等WebKit浏览器 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
